org.dvb.media
Class SubtitleSelectedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.dvb.media.SubtitleSelectedEvent
All Implemented Interfaces:
java.io.Serializable

public class SubtitleSelectedEvent
extends java.util.EventObject

Report that subtitles are now selected. If subtitles are also available then they will be presented. This event is generated when the combination of end user control of subtitles through the navigator and application control of subtitles through SubtitlingLanguageControl.setSubtitling changes whether subtitles are to be presented if they are available. It is not generated for changes in the underlying availability of subtitles even if those cause changes in whether subtitles are presented or not.

See Also:
Serialized Form

Constructor Summary
SubtitleSelectedEvent(java.lang.Object source)
          Constructor
 
Method Summary
 java.lang.Object getSource()
          Return the source of the event
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubtitleSelectedEvent

public SubtitleSelectedEvent(java.lang.Object source)
Constructor

Parameters:
source - the source of the event. The platform shall always pass in the JMF player presenting the subtitles.
Method Detail

getSource

public java.lang.Object getSource()
Return the source of the event

Overrides:
getSource in class java.util.EventObject
Returns:
the source of the event. This shall be the JMF player passed in to the constructor of the event.