public abstract class MediaSelectEvent extends EventObject
MediaSelectEvent
is the base class of events sent to
MediaSelectListener
instances.MediaSelectListener
,
Serialized Formsource
Constructor and Description |
---|
MediaSelectEvent(Controller controller,
Locator[] selection)
Creates a new
MediaSelectEvent . |
Modifier and Type | Method and Description |
---|---|
Controller |
getController()
Reports the Controller that generated this event.
|
Locator[] |
getSelection()
Reports the selection that caused this event.
|
getSource, toString
public MediaSelectEvent(Controller controller, Locator[] selection)
MediaSelectEvent
.controller
- The Controller that generated this event.selection
- The Locator
instances on which
selection was attempted.public Controller getController()
public Locator[] getSelection()
MediaSelectControl
methods
add(Locator)
,
remove(Locator)
,
select(Locator)
and
select(Locator[])
,
and the paramter toComponent
of the method
replace(fromComponent, toComponent)
.MediaSelectControl
Copyright © 2013 CableLabs. All Rights Reserved.