|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The listener interface for receiving browser network events (documents loading/finished, progress changes).
The class that is interested in processing a network event either
implements this interface (and all the methods it contains) or extends the
abstract NetworkAdapter
class (overriding only the methods of
interest).
The listener object created from that class is then registered with an
IBrowserCanvas
using the addNetworkListener method.
Method Summary | |
void |
onDocumentComplete(NetworkEvent e)
Invoked when a document stops loading in a browser. |
void |
onDocumentLoad(NetworkEvent e)
Invoked when a document starts loading in a browser. |
void |
onHTTPInterceptHeaders(NetworkEvent e)
Invoked from an IBrowserCanvas before an HTTP request is sent. |
void |
onHTTPResponse(NetworkEvent e)
Invoked from an IMozillaBrowserCanvas when Http Response data is sent back from a request. |
void |
onNetworkError(NetworkEvent e)
Invoked when an error occurs on the network. |
void |
onNetworkStatus(NetworkEvent e)
Invoked when the status of the network has changed. |
void |
onProgressChange(NetworkEvent e)
Invoked when the progress of a document download changes. |
Method Detail |
public void onProgressChange(NetworkEvent e)
public void onDocumentLoad(NetworkEvent e)
public void onDocumentComplete(NetworkEvent e)
public void onNetworkStatus(NetworkEvent e)
public void onNetworkError(NetworkEvent e)
public void onHTTPResponse(NetworkEvent e)
IMozillaBrowserCanvas
when Http Response data is sent back from a request.
IIEBrowserCanvas
(an IBrowserCanvas created from BrowserFactory.spawnInternetExplorer)
public void onHTTPInterceptHeaders(NetworkEvent e)
IBrowserCanvas
before an HTTP request is sent.
Using this event you can modify the HTTP Request Headers before the request is sent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |