javax.media
Class StopEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.ControllerEvent
          extended by javax.media.TransitionEvent
              extended by javax.media.StopEvent
All Implemented Interfaces:
Serializable, MediaEvent
Direct Known Subclasses:
CAStopEvent, DataStarvedEvent, DeallocateEvent, EndOfMediaEvent, NoComponentSelectedEvent, RestartingEvent, ServiceRemovedEvent, StopAtTimeEvent, StopByRequestEvent, StopByResourceLossEvent

public class StopEvent
extends TransitionEvent

StopEvent is a ControllerEvent that indicates that a Controller has stopped.

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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StopEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
 
Method Summary
 Time getMediaTime()
          Get the clock time (media time) that was passed into the constructor.
 
Methods inherited from class javax.media.TransitionEvent
getCurrentState, getPreviousState, getTargetState
 
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

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.
Method Detail

getMediaTime

public Time getMediaTime()
Get the clock time (media time) that was passed into the constructor.

Returns:
The mediaTime at which the Controller stopped.


Copyright © 2011. All Rights Reserved.