com.teamdev.jxbrowser.event
Class ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.teamdev.jxbrowser.event.WebBrowserEvent
          extended by com.teamdev.jxbrowser.event.RequestEvent
              extended by 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

Field Summary
 
Fields inherited from class com.teamdev.jxbrowser.event.RequestEvent
_request
 
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)
           
 
Method Summary
 long getCurSelfProgress()
          Returns the current progress for the current request.
 long getCurTotalProgress()
          Returns the current progress for all requests.
 long getMaxSelfProgress()
          Returns the maximum progress for the current request.
 long getMaxTotalProgress()
          Returns the maximum progress for all requests.
 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

ProgressEvent

public ProgressEvent(WebBrowser source,
                     org.mozilla.interfaces.nsIWebProgress webProgress,
                     org.mozilla.interfaces.nsIRequest request,
                     long curSelfProgress,
                     long maxSelfProgress,
                     long curTotalProgress,
                     long maxTotalProgress)
Method Detail

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