com.teamdev.jxbrowser.event
Class ProgressEvent
java.lang.Object
java.util.EventObject
com.teamdev.jxbrowser.event.WebBrowserEvent
com.teamdev.jxbrowser.event.RequestEvent
com.teamdev.jxbrowser.event.ProgressEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ProgressEvent
- extends RequestEvent
An event indicating that progress has been made in loading current document.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ProgressEvent(WebBrowser source,
org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long curSelfProgress,
long maxSelfProgress,
long curTotalProgress,
long maxTotalProgress)
|
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 |
ProgressEvent
public ProgressEvent(WebBrowser source,
org.mozilla.interfaces.nsIWebProgress webProgress,
org.mozilla.interfaces.nsIRequest request,
long curSelfProgress,
long maxSelfProgress,
long curTotalProgress,
long maxTotalProgress)
getCurSelfProgress
public long getCurSelfProgress()
- Returns the current progress for the current request.
- Returns:
- current progress for the current request
getCurTotalProgress
public long getCurTotalProgress()
- Returns the current progress for all requests.
- Returns:
- current progress for all requests
getMaxSelfProgress
public long getMaxSelfProgress()
- Returns the maximum progress for the current request.
- Returns:
- maximum progress for the current request
getMaxTotalProgress
public long getMaxTotalProgress()
- Returns the maximum progress for all requests.
- Returns:
- maximum progress for all requests
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject