|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.j2s.ajax.XHRCallbackSWTAdapter
This adapter class provides a default implementation of IXHRCallback. This adapter class wraps current thread scope for those swtOnXXXX method.
| Constructor Summary | |
XHRCallbackSWTAdapter()
|
|
| Method Summary | |
void |
onComplete()
Call #swtOnComplete when all responses are received. |
void |
onInteractive()
Call #swtOnInteractive when the request is sending and the reponse comes. |
void |
onLoaded()
Call #swtOnLoaded when the HTTP connection is setup. |
void |
onLoading()
Call #swtOnLoading when HttPRequest#open is called. |
void |
swtOnComplete()
Method will be called when XMLHttpRequest receives all reponses. |
void |
swtOnInteractive()
Method will be called when XMLHttpRequest is transforming request and receiving response. |
void |
swtOnLoaded()
Method will be called when XMLHttpRequest already setup HTTP connection. |
void |
swtOnLoading()
Method will be called when XMLHttpRequest is loading. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XHRCallbackSWTAdapter()
| Method Detail |
public void swtOnComplete()
public void swtOnInteractive()
public void swtOnLoaded()
public void swtOnLoading()
public void onComplete()
#swtOnComplete when all responses are received.
onComplete in interface IXHRCallbackpublic void onInteractive()
#swtOnInteractive when the request is sending and the reponse comes.
onInteractive in interface IXHRCallbackpublic void onLoaded()
#swtOnLoaded when the HTTP connection is setup.
onLoaded in interface IXHRCallbackpublic void onLoading()
#swtOnLoading when HttPRequest#open is called.
onLoading in interface IXHRCallback
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||