All Packages Class Hierarchy This Package Previous Next Index
Class javax.media.StartEvent
java.lang.Object
|
+----javax.media.ControllerEvent
|
+----javax.media.TransitionEvent
|
+----javax.media.StartEvent
- 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.
- Version:
- 1.31, 97/08/23
- See Also:
- Controller, ControllerListener
-
StartEvent(Controller, int, int, int, Time, Time)
- Construct a new
StartEvent.
-
getMediaTime()
- Get the clock time (media time) when the
Controller started.
-
getTimeBaseTime()
- Get the time-base time that started the
Controller.
StartEvent
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
- Parameters:
- from - The
Controller that has Started.
- mediaTime - The media time when the
Controller Started.
- tbTime - The time-base time when the
Controller Started.
getMediaTime
public Time getMediaTime()
- Get the clock time (media time) when the
Controller started.
- Returns:
- The
Controller's media time when it started.
getTimeBaseTime
public Time getTimeBaseTime()
- Get the time-base time that started the
Controller.
- Returns:
- The time-base time associated with the
Controller when it started.
All Packages Class Hierarchy This Package Previous Next Index