|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.sim.basic.value.AbstractSimValueType jasi.sim.basic.value.AbstractComparableObject<Element> jasi.sim.basic.element.AbstractElementBean jasi.simple.defi.SimpleMovingElementHandler
public abstract class SimpleMovingElementHandler
The container of a simple moving element's attributes.
Field Summary |
---|
Fields inherited from interface jasi.sim.basic.element.Element |
---|
COMPARATOR |
Constructor Summary | |
---|---|
protected |
SimpleMovingElementHandler()
Construct container of a simple element's attributes. |
protected |
SimpleMovingElementHandler(Id id)
Construct container of a simple element's attributes. |
Method Summary | |
---|---|
LinearMove |
getMove()
Get the move attribute. |
Speed |
getSpeed()
Get the speed attribute. |
SpaceVec[] |
getTrack()
Get the track attribute. |
SpaceVec |
getTrack(int index)
Get an indexed item of this element's track. |
void |
setMove(LinearMove move)
Set the move attribute. |
void |
setSpeed(Speed speed)
Set the speed attribute. |
void |
setTrack(int index,
SpaceVec item)
Set an indexed item of this element's track. |
void |
setTrack(SpaceVec[] track)
Set the track attribute. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class jasi.sim.basic.element.AbstractElementBean |
---|
acceptDelete, compareTo, delete, elements, equals, get, getId, getKey, hashCode, isDeleted, registered, set, setId, setKey |
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.user.model.move.Movable |
---|
moving, start, stop, timeToNextLocation, updateMove |
Methods inherited from interface jasi.sim.basic.element.Element |
---|
delete, getKey, isDeleted, registered, setKey |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface jasi.sim.basic.id.SimObject |
---|
getId, setId |
Constructor Detail |
---|
protected SimpleMovingElementHandler()
protected SimpleMovingElementHandler(Id id)
id
- The simulation element's ID.Method Detail |
---|
public java.lang.String toString()
toString
in class AbstractElementBean
public final void setMove(LinearMove move)
move
- The new value of the attribute.public final LinearMove getMove()
public final void setSpeed(Speed speed)
speed
- The new value of the attribute.public final Speed getSpeed()
public final SpaceVec getTrack(int index)
index
- The index.
public final void setTrack(int index, SpaceVec item)
index
- The index.item
- The item.public final SpaceVec[] getTrack()
public final void setTrack(SpaceVec[] track)
track
- The new value of the attribute.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |