FileDocCategorySizeDatePackage
StartEvent.javaAPI DocJMF 2.1.1e2526Mon May 12 12:20:38 BST 2003javax.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.
see
Controller
see
ControllerListener
version
1.2, 02/08/21

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

param
from The Controller that has Started.
param
mediaTime The media time when the Controller Started.
param
tbTime The time-base time when the Controller Started.

	super(from, previous, current, target);
	this.mediaTime = mediaTime;
	this.timeBaseTime = tbTime;
    
Methods Summary
public javax.media.TimegetMediaTime()
Get the clock time (media time) when the Controller started.

return
The Controller's media time when it started.

	return mediaTime;
    
public javax.media.TimegetTimeBaseTime()
Get the time-base time that started the Controller.

return
The time-base time associated with the Controller when it started.

	return timeBaseTime;
    
public java.lang.StringtoString()
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 +
	    "]";