class ScriptProgressListener
extends java.lang.Object
implements org.mozilla.interfaces.nsIWebProgressListener
NS_IWEBPROGRESSLISTENER_IID, STATE_IDENTITY_EV_TOPLEVEL, STATE_IS_BROKEN, STATE_IS_DOCUMENT, STATE_IS_INSECURE, STATE_IS_NETWORK, STATE_IS_REQUEST, STATE_IS_SECURE, STATE_IS_WINDOW, STATE_NEGOTIATING, STATE_REDIRECTING, STATE_RESTORING, STATE_SECURE_HIGH, STATE_SECURE_LOW, STATE_SECURE_MED, STATE_START, STATE_STOP, STATE_TRANSFERRING
Constructor and Description |
---|
ScriptProgressListener(ScreenScraperWebBrowser browser) |
Modifier and Type | Method and Description |
---|---|
void |
onLocationChange(org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
org.mozilla.interfaces.nsIURI location)
Loads the default javascript files into the new page
|
void |
onProgressChange(org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
int curSelfProgress,
int maxSelfProgress,
int curTotalProgress,
int maxTotalProgress) |
void |
onSecurityChange(org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long state) |
void |
onStateChange(org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long stateFlags,
long status) |
void |
onStatusChange(org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long status,
java.lang.String message) |
org.mozilla.interfaces.nsISupports |
queryInterface(java.lang.String uuid) |
public ScriptProgressListener(ScreenScraperWebBrowser browser)
public void onLocationChange(org.mozilla.interfaces.nsIWebProgress webProgress, org.mozilla.interfaces.nsIRequest request, org.mozilla.interfaces.nsIURI location)
onLocationChange
in interface org.mozilla.interfaces.nsIWebProgressListener
public void onProgressChange(org.mozilla.interfaces.nsIWebProgress webProgress, org.mozilla.interfaces.nsIRequest request, int curSelfProgress, int maxSelfProgress, int curTotalProgress, int maxTotalProgress)
onProgressChange
in interface org.mozilla.interfaces.nsIWebProgressListener
public void onSecurityChange(org.mozilla.interfaces.nsIWebProgress webProgress, org.mozilla.interfaces.nsIRequest request, long state)
onSecurityChange
in interface org.mozilla.interfaces.nsIWebProgressListener
public void onStateChange(org.mozilla.interfaces.nsIWebProgress webProgress, org.mozilla.interfaces.nsIRequest request, long stateFlags, long status)
onStateChange
in interface org.mozilla.interfaces.nsIWebProgressListener
public void onStatusChange(org.mozilla.interfaces.nsIWebProgress webProgress, org.mozilla.interfaces.nsIRequest request, long status, java.lang.String message)
onStatusChange
in interface org.mozilla.interfaces.nsIWebProgressListener
public org.mozilla.interfaces.nsISupports queryInterface(java.lang.String uuid)
queryInterface
in interface org.mozilla.interfaces.nsISupports