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 MutableBook makes some progress in generating a new Bible.

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: WorkEvent.java,v 1.5 2005/03/06 20:21:59 dmsmith Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence, Serialized Form

Field Summary
private  boolean predicted
          Is this a predicted or actual progress report?
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WorkEvent(Job source, boolean predicted)
          Initialize a WorkEvent
 
Method Summary
 Job getJob()
          Accessor for the Job
 boolean isPredicted()
          Is this a predicted or actual progress report?
 
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

predicted

private boolean predicted
Is this a predicted or actual progress report?


serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

WorkEvent

public WorkEvent(Job source,
                 boolean predicted)
Initialize a WorkEvent

Method Detail

getJob

public Job getJob()
Accessor for the Job


isPredicted

public boolean isPredicted()
Is this a predicted or actual progress report?


Copyright ? 2003-2004