Eclipse Platform
Release 3.6

org.eclipse.swt.browser
Class ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.swt.internal.SWTEventObject
          extended by org.eclipse.swt.events.TypedEvent
              extended by org.eclipse.swt.browser.ProgressEvent
All Implemented Interfaces:
Serializable

public class ProgressEvent
extends TypedEvent

A ProgressEvent is sent by a Browser to ProgressListener'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
 int current
          current value
 int 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
ProgressEvent(Widget widget)
          Constructs a new instance of this class.
 
Method Summary
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
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
 

Field Detail

current

public int current
current value


total

public int total
total value

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 class TypedEvent
Returns:
a string representation of the event

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.