|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.helsinki.dacopan.animseq.ScenarioItemMSC
public class ScenarioItemMSC
A list item for an MSC animation.
An MSC item in the list contains a SettingsMSC instance that in turn contains all information necessary for presenting the MSC animation. Particularly, unlike in explore mode, now the SettingsMSC object will also store a start time and an end time for this scenario item.
Constructor Summary | |
---|---|
ScenarioItemMSC(SettingsMSC settings,
float startTime)
Creates a new instance of ScenarioItemMSC. |
Method Summary | |
---|---|
void |
doAction(MainFrame mainFrame,
boolean inRecordingMode)
Instructs the MainFrame instance to display the MSC animation. |
java.lang.String |
getPlaylistText()
Returns a short text representation of the scenario item for presentation in the playlist. |
boolean |
getShowable()
Always returns true. |
boolean |
recordEnd(float nowTime)
Tries to record an end time and returns the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScenarioItemMSC(SettingsMSC settings, float startTime)
NOTE: The ScenarioItemMSC will store a clone of the original settings object.
Method Detail |
---|
public void doAction(MainFrame mainFrame, boolean inRecordingMode)
doAction
in interface ScenarioItem
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.public java.lang.String getPlaylistText()
ScenarioItem
getPlaylistText
in interface ScenarioItem
public boolean recordEnd(float nowTime)
recordEnd
in interface ScenarioItem
public boolean getShowable()
getShowable
in interface ScenarioItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |