Package org.eclipse.swt.browser
Class ProgressEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.swt.events.TypedEvent
-
- org.eclipse.swt.browser.ProgressEvent
-
- All Implemented Interfaces:
Serializable
public class ProgressEvent extends TypedEvent
AProgressEvent
is sent by aBrowser
toProgressListener
's when a progress is made during the loading of the current URL or when the loading of the current URL has been completed.- Since:
- 3.0
- See Also:
- Sample code and further information, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
current
current valueint
total
total value-
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ProgressEvent(Widget widget)
Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Returns a string containing a concise, human-readable description of the receiver.-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Constructor Detail
-
ProgressEvent
public ProgressEvent(Widget widget)
Constructs a new instance of this class.- Parameters:
widget
- the widget that fired the event- Since:
- 3.5
-
-
Method Detail
-
toString
public String toString()
Returns a string containing a concise, human-readable description of the receiver.- Overrides:
toString
in classTypedEvent
- Returns:
- a string representation of the event
-
-