org.dvb.media
Class NoComponentSelectedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.media.ControllerEvent
          extended byjavax.media.TransitionEvent
              extended byjavax.media.StopEvent
                  extended byorg.dvb.media.NoComponentSelectedEvent
All Implemented Interfaces:
javax.media.MediaEvent, java.io.Serializable

public class NoComponentSelectedEvent
extends javax.media.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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NoComponentSelectedEvent(javax.media.Controller source, int previous, int current, int target, javax.media.MediaLocator stream)
          Construct an event.
 
Method Summary
 javax.media.MediaLocator getStream()
          This method returns the stream whose presentation has stopped
 
Methods inherited from class javax.media.StopEvent
getMediaTime, toString
 
Methods inherited from class javax.media.TransitionEvent
getCurrentState, getPreviousState, getTargetState
 
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

NoComponentSelectedEvent

public NoComponentSelectedEvent(javax.media.Controller source,
                                int previous,
                                int current,
                                int target,
                                javax.media.MediaLocator stream)
Construct an event.

Parameters:
source - the controller which was presenting the service
stream - the locator of the stream whose presentation has stopped
previous - the previous state of the controller
current - the current state of the controller
target - the target state of the controller
Method Detail

getStream

public javax.media.MediaLocator getStream()
This method returns the stream whose presentation has stopped

Returns:
the locator for the stream concerned