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


Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.