|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.teamdev.jxbrowser.event.WebBrowserEvent
com.teamdev.jxbrowser.event.RequestEvent
com.teamdev.jxbrowser.event.StateEvent
public class StateEvent
Indicates that browser state has changed.
Field Summary |
---|
Fields inherited from class com.teamdev.jxbrowser.event.RequestEvent |
---|
_request |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
StateEvent(WebBrowser source,
org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long stateFlags,
long status)
|
Method Summary | |
---|---|
long |
getStateFlags()
Returns flags indicating the new state. |
long |
getStatus()
Returns an error status code associated with the state change. |
boolean |
isBroken()
This flag indicates an unknown security state. |
boolean |
isDocument()
This flag indicates that the state transition is for a document request. |
boolean |
isInsecure()
This flag indicates that the data corresponding to the request was received over an insecure channel. |
boolean |
isLoadingCompleted()
Indicates that one navigation request is completed. |
boolean |
isNegotiating()
Deprecated. |
boolean |
isNetwork()
This flag indicates that the state transition corresponds to the start or stop of activity in the indicated nsIWebProgress instance. |
boolean |
isRedirecting()
This flag indicates that a request is being redirected. |
boolean |
isRequest()
This flag indicates that the state transition is for a request, which includes but is not limited to document requests. |
boolean |
isRestoring()
This flag indicates that the state transition corresponds to the start or stop of activity for restoring a previously-rendered presentation. |
boolean |
isSecure()
This flag indicates that the data corresponding to the request was received over a secure channel. |
boolean |
isSecureHigh()
This flag indicates a high degree of security |
boolean |
isSecureLow()
This flag indicates a low degree of security |
boolean |
isSecureMed()
This flag indicates a medium degree of security |
boolean |
isStarted()
This flag indicates the start of a request. |
boolean |
isStoped()
This flag indicates the completion of a request. |
boolean |
isTransferring()
This flag indicates that data for a request is being transferred to an end consumer |
boolean |
isWindow()
This flag indicates that the state transition corresponds to the start or stop of activity in the indicated nsIWebProgress instance. |
java.lang.String |
toString()
|
Methods inherited from class com.teamdev.jxbrowser.event.RequestEvent |
---|
getRequestUrlName, isLoadBackground, isLoadByPassCache, isLoadFromCache, isLoadingDocument, isLoadInhibitCaching, isLoadInhibitPersistenCaching, isLoadNormal, isRequestPending |
Methods inherited from class com.teamdev.jxbrowser.event.WebBrowserEvent |
---|
getWebBrowser |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StateEvent(WebBrowser source, org.mozilla.interfaces.nsIWebProgress webProgress, org.mozilla.interfaces.nsIRequest request, long stateFlags, long status)
Method Detail |
---|
public long getStateFlags()
RequestListener.STATE_START
,
RequestListener.STATE_REDIRECTING
,
RequestListener.STATE_TRANSFERRING
,
RequestListener.STATE_NEGOTIATING
,
RequestListener.STATE_STOP
public long getStatus()
RequestListener.STATE_STOP
bit. The
status code indicates success or failure of the request associated with
the state change. NOTE: status may be a success code even for server
generated errors, such as the HTTP 404 error. In such cases, the request
itself should be queried for extended error information.
public boolean isStarted()
public boolean isRedirecting()
public boolean isTransferring()
@Deprecated public boolean isNegotiating()
public boolean isStoped()
public boolean isRequest()
public boolean isDocument()
public boolean isNetwork()
public boolean isWindow()
public boolean isRestoring()
public boolean isInsecure()
public boolean isBroken()
public boolean isSecure()
public boolean isSecureHigh()
public boolean isSecureMed()
public boolean isSecureLow()
public boolean isLoadingCompleted()
WebBrowser.navigate(String)
method is loaded fully, but it's also
can identify some redirection or some sub-request competition.WebBrowser.navigate(String)
you need to
check that this flag gained for the root request.
public java.lang.String toString()
toString
in class java.util.EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |