public class ControllerEvent extends EventObject implements MediaEvent
ControllerEvent is the base class for events generated by
a Controller.
These events are used by ControllerListener.
Controller,
ControllerListener,
MediaEvent,
Serialized Formsource| Constructor and Description |
|---|
ControllerEvent(Controller from) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getSource() |
Controller |
getSourceController()
Get the
Controller that posted this event. |
String |
toString()
Returns the String representation of this event's values.
|
public ControllerEvent(Controller from)
public Controller getSourceController()
Controller that posted this event.
The returned Controller has at least one active
listener. (The
addListener method has been called on
the Controller).Controller that posted this event.public Object getSource()
getSource in interface MediaEventgetSource in class EventObjectpublic String toString()
toString in class EventObjectCopyright © 2012 code4tv.com. All Rights Reserved.