public class StartEvent extends TransitionEvent
StartEvent is a TransitionEvent that indicates that
a Controller has entered the Started state.
Entering the Started state implies that
syncStart has been invoked, providing a new
media time to time-base time mapping.
StartEvent provides the time-base time
and the media-time that Started this Controller.Controller,
ControllerListener,
Serialized Formsource| Constructor and Description |
|---|
StartEvent(Controller from,
int previous,
int current,
int target,
Time mediaTime,
Time tbTime)
Construct a new
StartEvent. |
| Modifier and Type | Method and Description |
|---|---|
Time |
getMediaTime()
Get the clock time (media time) when the
Controller started. |
Time |
getTimeBaseTime()
Get the time-base time that started the
Controller. |
String |
toString()
Returns the String representation of this event's values.
|
getCurrentState, getPreviousState, getTargetStategetSource, getSourceControllerpublic StartEvent(Controller from, int previous, int current, int target, Time mediaTime, Time tbTime)
StartEvent.
The from argument identifies the Controller that
is generating this event.
The mediaTime and the tbTime identify the media-time to
time-base-time mapping that Started the Controllerfrom - The Controller that has Started.mediaTime - The media time when the Controller Started.tbTime - The time-base time when the Controller Started.public Time getMediaTime()
Controller started.Controller's media time when it started.public Time getTimeBaseTime()
Controller.Controller when it started.public String toString()
toString in class TransitionEventCopyright © 2012 code4tv.com. All Rights Reserved.