|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControlSignalsListener
Describes the events related to the time state of the animation
that all animation panels should react to by changing their
visible state. In any view mode, there is exactly one
AnimationTimeState
instance that manages the
time state and sends related events to all visible animation
panels.
It is the responsibility of the MainFrame
to register all visible animation panels as listeners to the
AnimationTimeState
AnimationTimeState
,
MainFrame
Method Summary | |
---|---|
void |
advance(float step,
float nowTime)
Signals the listener that it should visualise the network exchange data at the nowTime point in time,
possibly as an incremental change to previous state. |
void |
stepTo(float nowTime)
Signals the listener that it should visualise the network exchange data at the nowTime point in time. |
void |
toPauseMode()
Signals the listener that the animation has moved to PAUSE mode. |
void |
toPlayMode()
Signals the listener that the animation has moved to PLAY mode. |
Method Detail |
---|
void advance(float step, float nowTime)
nowTime
point in time,
possibly as an incremental change to previous state. The
change is given as step
parameter.
The listener is free to implement the advance
signal as if it was the same thing as receiving a stepTo
signal.
It is the responsibility of the listening object to call
repaint()
on itself as a result of receiving
this signal.
step
- The incremental time step from the previous state.nowTime
- The point of time in network exchange data
the listener should visualize.void stepTo(float nowTime)
nowTime
point in time.
It is the responsibility of the listening object to call
repaint()
on itself as a result of receiving
this signal.
nowTime
- The point of time in network exchange data
the listener should visualize.void toPlayMode()
void toPauseMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |