|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Graphical representation of a message. Important is the moveForward-method.
Field Summary |
Fields inherited from interface fdda.graphics.Component |
SEL_ALL, SEL_EQUALS, SEL_MOVABLES, SEL_NOTHING |
Method Summary | |
boolean |
doesMoveInLineDirection()
Returns whether the message moves in the direction of the line |
Color |
getColor()
Returns the color of the message |
Line |
getLine()
Returns the line on which the message moves |
Message |
getRealMessage()
Returns the underlying message of the algorithm |
void |
moveForward()
Moves the message forward, towards its destination |
void |
setColor(Color color)
Sets the color of the message |
void |
setRealMessage(Message message)
Sets the underlying message of the algorithm |
Methods inherited from interface fdda.graphics.Component |
clone, deselect, getGraphicalSystem, getShape, getX, getY, isMovable, isSelected, move, recalculateShape, select, selectableWith, setGraphicalSystem, setXY, visit |
Method Detail |
public Message getRealMessage()
public void setRealMessage(Message message)
message
- the real messagepublic void moveForward()
public Line getLine()
public boolean doesMoveInLineDirection()
public Color getColor()
public void setColor(Color color)
color
- the color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |