javax.media
类 DurationUpdateEvent

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

public class DurationUpdateEvent
extends ControllerEvent

DurationUpdateEvent is posted by a Controller when its duration changes.

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

字段摘要
 
从类 java.util.EventObject 继承的字段
source
 
构造方法摘要
DurationUpdateEvent(Controller from, Time newDuration)
           
 
方法摘要
 Time getDuration()
          Get the duration of the media that this Controller is using.
 java.lang.String toString()
          Returns the String representation of this event's values.
 
从类 javax.media.ControllerEvent 继承的方法
getSource, getSourceController
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

DurationUpdateEvent

public DurationUpdateEvent(Controller from,
                           Time newDuration)
方法详细信息

getDuration

public Time getDuration()
Get the duration of the media that this Controller is using.

返回:
The duration of this Controller's media.

toString

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

覆盖:
ControllerEvent 中的 toString