Class ControllerEvent

Direct Known Subclasses:
AudioDeviceUnavailableEvent, CachingControlEvent, ControllerClosedEvent, DurationUpdateEvent, FormatChangeEvent, MediaTimeSetEvent, RateChangeEvent, StopTimeChangeEvent, TransitionEvent

public class ControllerEvent
extends MediaEvent

ControllerEvent is the base class for events generated by a Controller. These events are used by ControllerListener.

See Also:
Controller, ControllerListener, MediaEvent, Serialized Form

Fields inherited from class java.util.EventObject
Constructor Summary
ControllerEvent(Controller from)
Method Summary
 java.lang.Object getSource()
 Controller getSourceController()
          Get the Controller that posted this event.
 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

Constructor Detail


public ControllerEvent(Controller from)
Method Detail


public Controller getSourceController()
Get the Controller that posted this event. The returned Controller has at least one active listener. (The addListener method has been called on the Controller).
The Controller that posted this event.


public java.lang.Object getSource()
getSource in class java.util.EventObject


public java.lang.String toString()
Returns the String representation of this event's values.
toString in class java.util.EventObject

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.