|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScenarioItem
An interface for all scenario items stored in the animation sequence. Each item should store an individual copy (clone, if necessary) of the settings it needs.
NOTE: The implementing class itself is responsible for creating the necessary clones of objects passed to it.
Method Summary | |
---|---|
void |
doAction(MainFrame mainFrame,
boolean inRecordingMode)
Performs the action stored in this scenario item. |
java.lang.String |
getPlaylistText()
Returns a short text representation of the scenario item for presentation in the playlist. |
boolean |
getShowable()
Should return true if the item will set the main frame to some reasonable state and false otherwise. |
boolean |
recordEnd(float nowTime)
|
Method Detail |
---|
void doAction(MainFrame mainFrame, boolean inRecordingMode)
mainFrame
- A reference to a MainFrame instance in order to be able to carry out
necessary mode changes.inRecordingMode
- Tells the item if the AnimationSequence is in recording mode or not.
If true, the item should refraing from any potentially confusing mode changes, like
automatically putting AnimationTimeState in play mode.java.lang.String getPlaylistText()
boolean recordEnd(float nowTime)
boolean getShowable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |