StartEventpublic 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 . |
Fields Summary |
---|
private Time | mediaTime | private Time | timeBaseTime |
Constructors Summary |
---|
public StartEvent(Controller from, int previous, int current, int target, Time mediaTime, Time tbTime)Construct a new 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 Controller
super(from, previous, current, target);
this.mediaTime = mediaTime;
this.timeBaseTime = tbTime;
|
Methods Summary |
---|
public javax.media.Time | getMediaTime()Get the clock time (media time) when the Controller started.
return mediaTime;
| public javax.media.Time | getTimeBaseTime()Get the time-base time that started the Controller .
return timeBaseTime;
| public java.lang.String | toString()Returns the String representation of this event's values.
return getClass().getName() + "[source=" + eventSrc +
",previous=" + stateName(previousState) +
",current=" + stateName(currentState) +
",target=" + stateName(targetState) +
",mediaTime=" + mediaTime +
",timeBaseTime=" + timeBaseTime +
"]";
|
|