javax.media
Class DurationUpdateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.ControllerEvent
          extended by javax.media.DurationUpdateEvent
All Implemented Interfaces:
Serializable, MediaEvent

public class DurationUpdateEvent
extends ControllerEvent

DurationUpdateEvent is posted by a Controller when its duration changes.

Version:
1.10, 97/08/23.
See Also:
Controller, ControllerListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DurationUpdateEvent(Controller from, Time newDuration)
           
 
Method Summary
 Time getDuration()
          Get the duration of the media that this Controller is using.
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DurationUpdateEvent

public DurationUpdateEvent(Controller from,
                           Time newDuration)
Method Detail

getDuration

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

Returns:
The duration of this Controller's media.


Copyright © 2011. All Rights Reserved.