javax.media
Class TransitionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.MediaEvent
          extended by javax.media.ControllerEvent
              extended by javax.media.TransitionEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigureCompleteEvent, PrefetchCompleteEvent, RealizeCompleteEvent, StartEvent, StopEvent

public class TransitionEvent
extends ControllerEvent

Standard JMF class -- see this class in the JMF Javadoc. Complete.

Author:
Ken Larson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TransitionEvent(Controller from, int previousState, int currentState, int targetState)
           
 
Method Summary
 int getCurrentState()
           
 int getPreviousState()
           
 int getTargetState()
           
 java.lang.String toString()
           
 
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

TransitionEvent

public TransitionEvent(Controller from,
                       int previousState,
                       int currentState,
                       int targetState)
Method Detail

getPreviousState

public int getPreviousState()

getCurrentState

public int getCurrentState()

getTargetState

public int getTargetState()

toString

public java.lang.String toString()
Overrides:
toString in class ControllerEvent