javax.media
类 StopEvent

java.lang.Object
  继承者 java.util.EventObject
      继承者 javax.media.MediaEvent
          继承者 javax.media.ControllerEvent
              继承者 javax.media.TransitionEvent
                  继承者 javax.media.StopEvent
所有已实现的接口:
java.io.Serializable
直接已知子类:
DataStarvedEvent, DeallocateEvent, EndOfMediaEvent, RestartingEvent, SeekFailedEvent, StopAtTimeEvent, StopByRequestEvent

public class StopEvent
extends TransitionEvent

StopEvent is a ControllerEvent that indicates that a Controller has stopped.

另请参见:
Controller, ControllerListener, 序列化表格

字段摘要
 
从类 java.util.EventObject 继承的字段
source
 
构造方法摘要
StopEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
 
方法摘要
 Time getMediaTime()
          Get the clock time (media time) that was passed into the constructor.
 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
 

构造方法详细信息

StopEvent

public StopEvent(Controller from,
                 int previous,
                 int current,
                 int target,
                 Time mediaTime)
参数:
from - The Controller that generated this event.
mediaTime - The media time at which the Controller stopped.
方法详细信息

getMediaTime

public Time getMediaTime()
Get the clock time (media time) that was passed into the constructor.

返回:
The mediaTime at which the Controller stopped.

toString

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

覆盖:
TransitionEvent 中的 toString