net.sf.j2s.ajax
Class XHRCallbackAdapter

java.lang.Object
  extended bynet.sf.j2s.ajax.XHRCallbackAdapter
All Implemented Interfaces:
IXHRCallback

public class XHRCallbackAdapter
extends java.lang.Object
implements IXHRCallback

This adapter provides a default implementation of IXHRCallback.

Author:
josson smith 2006-2-11

Constructor Summary
XHRCallbackAdapter()
           
 
Method Summary
 void onComplete()
          Will be called when all responses are received.
 void onInteractive()
          Will be called when the request is sending and the reponse comes.
 void onLoaded()
          Will be called when the HTTP connection is setup.
 void onLoading()
          Will be called when HttPRequest#open is called.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHRCallbackAdapter

public XHRCallbackAdapter()
Method Detail

onComplete

public void onComplete()
Will be called when all responses are received.

Specified by:
onComplete in interface IXHRCallback

onInteractive

public void onInteractive()
Will be called when the request is sending and the reponse comes.

Specified by:
onInteractive in interface IXHRCallback

onLoaded

public void onLoaded()
Will be called when the HTTP connection is setup.

Specified by:
onLoaded in interface IXHRCallback

onLoading

public void onLoading()
Will be called when HttPRequest#open is called.

Specified by:
onLoading in interface IXHRCallback