javax.media
Class StopEvent
java.lang.Object
|
+--java.util.EventObject
|
+--javax.media.MediaEvent
|
+--javax.media.ControllerEvent
|
+--javax.media.TransitionEvent
|
+--javax.media.StopEvent
- Direct Known Subclasses:
- DataStarvedEvent, DeallocateEvent, EndOfMediaEvent, RestartingEvent, StopAtTimeEvent, StopByRequestEvent
- public class StopEvent
- extends TransitionEvent
StopEvent
is a ControllerEvent
that indicates that a Controller
has stopped.
- See Also:
Controller
,
ControllerListener
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
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. |
Methods inherited from class 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)
- Parameters:
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.
- Returns:
- The mediaTime at which the
Controller
stopped.
toString
public java.lang.String toString()
- Returns the String representation of this event's values.
- Overrides:
- toString in class TransitionEvent
Submit a bug or feature
Copyright 1994-2004 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.