jasi.sim.user.model.sense
Class TimeStepEvent

java.lang.Object
  extended by jasi.sim.basic.value.AbstractSimValueType
      extended by jasi.sim.basic.value.AbstractComparableObject<Event>
          extended by jasi.sim.basic.event.AbstractEventBean
              extended by jasi.sim.basic.event.AbstractRepeatingEvent
                  extended by jasi.sim.user.model.sense.TimeStepEvent
All Implemented Interfaces:
Event, SimObject, ExtendedComparable<Event>, SimValue, java.io.Serializable, java.lang.Comparable<Event>

public class TimeStepEvent
extends AbstractRepeatingEvent

Change the movement of a simulation element.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface jasi.sim.basic.event.Event
COMPARATOR, DEFAULT_PRIORITY
 
Constructor Summary
TimeStepEvent(Time time, int priority)
          Constructor of a next location element for archive.
TimeStepEvent(Time step, Time time)
          Constructor of a next location element.
 
Method Summary
 void repeat()
          Repeat this event.
 
Methods inherited from class jasi.sim.basic.event.AbstractRepeatingEvent
finish, getEndTime, getInterval, popped, setEndTime, setInterval
 
Methods inherited from class jasi.sim.basic.event.AbstractEventBean
addEventListener, calendar, compareTo, equals, getEventListeners, getId, getPriority, getTime, hashCode, imported, inform, isInitialized, isPopped, isPushed, pushed, removeEventListener, setId, setPriority, setTime, toString
 
Methods inherited from class jasi.sim.basic.value.AbstractComparableObject
isEQ, isGE, isGT, isLE, isLT, isNE
 
Methods inherited from class jasi.sim.basic.value.AbstractSimValueType
getContent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jasi.sim.basic.value.ExtendedComparable
isEQ, isGE, isGT, isLE, isLT, isNE
 

Constructor Detail

TimeStepEvent

public TimeStepEvent(Time time,
                     int priority)
Constructor of a next location element for archive.

Parameters:
time - The time for the first track point.
priority - The event's priority.

TimeStepEvent

public TimeStepEvent(Time step,
                     Time time)
Constructor of a next location element.

Parameters:
step - The event's time step
time - The time for the first track point.
Method Detail

repeat

public void repeat()
Repeat this event. The time to the next location is calculated and the event listener has to be added again.

Specified by:
repeat in class AbstractRepeatingEvent
See Also:
AbstractRepeatingEvent.repeat()