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 |
|
方法摘要 |
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. |
| 从类 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