com.teamdev.jxbrowser.event
Class StatusEvent
java.lang.Object
java.util.EventObject
com.teamdev.jxbrowser.event.WebBrowserEvent
com.teamdev.jxbrowser.event.RequestEvent
com.teamdev.jxbrowser.event.StatusEvent
- All Implemented Interfaces:
- java.io.Serializable
public class StatusEvent
- extends RequestEvent
Notification that the status of a request has changed. The status message is
intended to be displayed to the user (e.g., in the status bar of the
browser).
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
StatusEvent(WebBrowser source,
org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long status,
java.lang.String message)
|
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 |
StatusEvent
public StatusEvent(WebBrowser source,
org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long status,
java.lang.String message)
getStatus
public long getStatus()
- Returns a numeric value that indicates the current status of the request.
This value is not an error code. Instead, it is a numeric value that
indicates the current status of the request. This interface does not
define the set of possible status codes. NOTE: Some status values are
defined by nsITransport and nsISocketTransport.
- Returns:
- numeric value that indicates the current status of the request
getMessage
public java.lang.String getMessage()
- Returns a localized text corresponding to status.
- Returns:
- localized text corresponding to status
isStatusTimeOutConnect
public boolean isStatusTimeOutConnect()
isStatusTimeOutReadWrite
public boolean isStatusTimeOutReadWrite()
isStatusResolving
public boolean isStatusResolving()
isStatusConnectingTo
public boolean isStatusConnectingTo()
isStatusConnectedTo
public boolean isStatusConnectedTo()
isStatusSendingTo
public boolean isStatusSendingTo()
isStatusWaitingFor
public boolean isStatusWaitingFor()
isStatusReceivingFrom
public boolean isStatusReceivingFrom()
isStatusReading
public boolean isStatusReading()
isStatusWriting
public boolean isStatusWriting()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject