org.dvb.media
Class SubtitleAvailableEvent
java.lang.Object
java.util.EventObject
org.dvb.media.SubtitleAvailableEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SubtitleAvailableEvent
- extends java.util.EventObject
Report that subtitles are available to be presented having been unavailable.
This event is not generated on service selection or other forms of 'zapping'.
Its generation is restricted to changes in the composition of the subtitle
aspects of the same broadcast stream.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
getSource()
Return the JMF player which is 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 |
SubtitleAvailableEvent
public SubtitleAvailableEvent(java.lang.Object source)
- Constructor.
- Parameters:
source
- the source of the event. The platform shall always pass
in the JMF player presenting the subtitles.
getSource
public java.lang.Object getSource()
- Return the JMF player which is 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.