|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<Event>
jasi.sim.basic.event.AbstractEventBean
jasi.sim.basic.event.AbstractRepeatingEvent
jasi.sim.user.model.move.NextLocationEvent
public class NextLocationEvent
Change the movement of a simulation element.
Field Summary |
---|
Fields inherited from interface jasi.sim.basic.event.Event |
---|
COMPARATOR, DEFAULT_PRIORITY |
Constructor Summary | |
---|---|
NextLocationEvent(Movable element,
Time time)
Constructor of a next location element. |
|
NextLocationEvent(Movable element,
Time time,
int priority)
Constructor of a next location element. |
|
NextLocationEvent(Time time,
int priority)
Constructor of a next location element for archive. |
Method Summary | |
---|---|
Id |
getElement()
Get the event's element. |
void |
repeat()
Repeat this event. |
void |
setElement(Id element)
Set the event's element. |
java.lang.String |
toString()
Returns a string representation of this object. |
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 |
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 |
---|
public NextLocationEvent(Time time, int priority)
time
- The time for the first track point.priority
- The event's priority.public NextLocationEvent(Movable element, Time time, int priority)
element
- The moving element.time
- The time for the first track point.priority
- The event's priority.public NextLocationEvent(Movable element, Time time)
element
- The moving element.time
- The time for the first track point.Method Detail |
---|
public Id getElement()
public void setElement(Id element)
element
- The event element.public void repeat()
repeat
in class AbstractRepeatingEvent
AbstractRepeatingEvent.repeat()
public java.lang.String toString()
toString
in class AbstractEventBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |