org.dvb.media
Class NoComponentSelectedEvent
java.lang.Object
java.util.EventObject
javax.media.ControllerEvent
javax.media.TransitionEvent
javax.media.StopEvent
org.dvb.media.NoComponentSelectedEvent
- All Implemented Interfaces:
- MediaEvent, java.io.Serializable
- public class NoComponentSelectedEvent
- extends StopEvent
This event is generated whenever presentation of a stream stops because there
are no selected components to present. One example of this would be use of the
javax.tv.media.MediaSelectControl.remove
method to remove all components
of a service.
Generation of this event informs the application that the Player is no longer
presenting any content.
- Since:
- MHP 1.0.1
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NoComponentSelectedEvent
public NoComponentSelectedEvent(Controller source,
int previous,
int current,
int target,
MediaLocator stream)
- Construct an event.
- Parameters:
source
- the controller which was presenting the servicestream
- the locator of the stream whose presentation has stoppedprevious
- the previous state of the controllercurrent
- the current state of the controllertarget
- the target state of the controller
getStream
public MediaLocator getStream()
- This method returns the stream whose presentation has stopped
- Returns:
- the locator for the stream concerned