javax.media
类 StartEvent

java.lang.Object
  继承者 java.util.EventObject
      继承者 javax.media.MediaEvent
          继承者 javax.media.ControllerEvent
              继承者 javax.media.TransitionEvent
                  继承者 javax.media.StartEvent
所有已实现的接口:
java.io.Serializable

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, 序列化表格

字段摘要
 
从类 java.util.EventObject 继承的字段
source
 
构造方法摘要
StartEvent(Controller from, int previous, int current, int target, Time mediaTime, Time tbTime)
          Construct a new StartEvent.
 
方法摘要
 Time getMediaTime()
          Get the clock time (media time) when the Controller started.
 Time getTimeBaseTime()
          Get the time-base time that started the Controller.
 java.lang.String toString()
          Returns the String representation of this event's values.
 
从类 javax.media.TransitionEvent 继承的方法
getCurrentState, getPreviousState, getTargetState
 
从类 javax.media.ControllerEvent 继承的方法
getSource, getSourceController
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

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

参数:
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.

返回:
The Controller's media time when it started.

getTimeBaseTime

public Time getTimeBaseTime()
Get the time-base time that started the Controller.

返回:
The time-base time associated with the Controller when it started.

toString

public java.lang.String toString()
Returns the String representation of this event's values.

覆盖:
TransitionEvent 中的 toString