org.crosswire.common.progress
Class WorkEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.crosswire.common.progress.WorkEvent
All Implemented Interfaces:
Serializable

public class WorkEvent
extends EventObject

A WorkEvent happens whenever a task makes some progress in doing measurable work.

Author:
Joe Walker
See Also:
The GNU Lesser General Public License for details., Serialized Form

Field Summary
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WorkEvent(Progress source)
          Initialize a WorkEvent
 
Method Summary
 Progress getJob()
          Accessor for the Job
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

WorkEvent

public WorkEvent(Progress source)
Initialize a WorkEvent

Parameters:
source - the job that has made progress
Method Detail

getJob

public Progress getJob()
Accessor for the Job

Returns:
the job that has made progress

Copyright ยจ 2003-2015