javax.media
Class MediaTimeSetEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.media.MediaEvent
              |
              +--javax.media.ControllerEvent
                    |
                    +--javax.media.MediaTimeSetEvent

public class MediaTimeSetEvent
extends ControllerEvent

A MediaTimeSetEvent is posted by a Controller when its media-time has been set with the setMediaTime method.

See Also:
Controller, ControllerListener, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MediaTimeSetEvent(Controller from, Time newMediaTime)
           
 
Method Summary
 Time getMediaTime()
          Get the new media time of the Controller that generated this event.
 java.lang.String toString()
          Returns the String representation of this event's values.
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaTimeSetEvent

public MediaTimeSetEvent(Controller from,
                         Time newMediaTime)
Method Detail

getMediaTime

public Time getMediaTime()
Get the new media time of the Controller that generated this event.
Returns:
The Controller's new media time.

toString

public java.lang.String toString()
Returns the String representation of this event's values.
Overrides:
toString in class ControllerEvent