Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Nested Class Summary
`static class` | `BatchEvent.BatchEventType`

Field Summary
`static BatchEvent.BatchEventType` | `BATCH_FINISHED`
`static BatchEvent.BatchEventType` | `RUN_ENDED`
`static BatchEvent.BatchEventType` | `TICK_CHANGED`

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`BatchEvent(java.lang.Object source, BatchEvent.BatchEventType type)`
`BatchEvent(java.lang.Object source, BatchEvent.BatchEventType type, double tick)`

Method Summary
`double` | `getTick()`
`BatchEvent.BatchEventType` | `getType()`
`void` | `setTick(double tick)`
`void` | `setType(BatchEvent.BatchEventType type)`

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

### 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

Constructor Detail

### BatchEvent

    public BatchEvent(java.lang.Object source,
                      BatchEvent.BatchEventType type)

### BatchEvent

    public BatchEvent(java.lang.Object source,
                      BatchEvent.BatchEventType type,
                      double tick)

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD