uchicago.src.sim.engine
Class BatchEvent
java.lang.Object
java.util.EventObject
uchicago.src.sim.engine.BatchEvent
- All Implemented Interfaces:
- java.io.Serializable
public class BatchEvent
- extends java.util.EventObject
Events used in the BatchEventListener events.
- Since:
- 3.0
- Version:
- $Revision: 1.4 $ $Date: 2005/08/12 16:13:29 $
- Author:
- Jerry Vos
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| 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 |
RUN_ENDED
public static final BatchEvent.BatchEventType RUN_ENDED
BATCH_FINISHED
public static final BatchEvent.BatchEventType BATCH_FINISHED
TICK_CHANGED
public static final BatchEvent.BatchEventType TICK_CHANGED
BatchEvent
public BatchEvent(java.lang.Object source,
BatchEvent.BatchEventType type)
BatchEvent
public BatchEvent(java.lang.Object source,
BatchEvent.BatchEventType type,
double tick)
getType
public BatchEvent.BatchEventType getType()
setType
public void setType(BatchEvent.BatchEventType type)
getTick
public double getTick()
- Returns:
- the current tick (only guaranteed to be valid in a TICK_CHANGED event)
setTick
public void setTick(double tick)