Side of Software
Wizard Library 1.6

sos.wizard
Class ProgressEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--sos.wizard.ProgressEvent
All Implemented Interfaces:
java.io.Serializable

public class ProgressEvent
extends java.util.EventObject

An event that indicates that the progress of an ongoing task has changed.

Since:
1.0
See Also:
ProgressListener

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProgressEvent(java.lang.Object source, double value)
          Creates a ProgressEvent with the specified task and percentage of completion.
 
Method Summary
 double getValue()
          Returns the percentage of completion.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProgressEvent

public ProgressEvent(java.lang.Object source,
                     double value)
Creates a ProgressEvent with the specified task and percentage of completion.

Parameters:
source - task whose progress has changed
value - the percentage of the progress
Method Detail

getValue

public double getValue()
Returns the percentage of completion.

Returns:
a value between 0 and 100, indicating the task's current progress

Side of Software
Wizard Library 1.6

Copyright 2004-07 Side of Software (SOS). All rights reserved.