|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.dialog.java2d.Java2DMessageControl
Message control implementation for the java2d component. One instance for each graphical system. An actual repaint is made only at the end of each cycle; the necessary clipping areas are collected while in the cycle.
Constructor Summary | |
Java2DMessageControl(GraphicHolder graphicHolder)
Constructor |
Method Summary | |
void |
addMessage(Message message)
Adds a message to the graphics |
void |
cycleDone()
Indicates that a cycle of the demo has finished. |
void |
moveMessages(Set messages)
Moves the given messages forward. |
void |
removeAllMessages()
Removes all messages from the graphics |
void |
removeMessage(Message message)
Removes a message from the graphics |
void |
startCycle()
Indicates that a new cycle of the demo has begun. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Java2DMessageControl(GraphicHolder graphicHolder)
graphicHolder
- the graphics holder for the projectMethod Detail |
public void startCycle()
MessageControl
startCycle
in interface MessageControl
public void moveMessages(Set messages)
MessageControl
moveMessages
in interface MessageControl
messages
- the messagespublic void addMessage(Message message)
MessageControl
addMessage
in interface MessageControl
message
- the messagepublic void removeMessage(Message message)
MessageControl
removeMessage
in interface MessageControl
message
- the messagepublic void removeAllMessages()
MessageControl
removeAllMessages
in interface MessageControl
public void cycleDone()
MessageControl
cycleDone
in interface MessageControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |