org.dvb.media.SubtitleSelectedEvent Maven / Gradle / Ivy
The newest version!
package org.dvb.media;
import org.davic.media.SubtitlingLanguageControl;
/**
* 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.
*/
public class SubtitleSelectedEvent
extends java.util.EventObject {
/**
* Constructor
*
* @param source the source of the event. The platform shall always pass
* in the JMF player presenting the subtitles.
*/
public SubtitleSelectedEvent(Object source)
{
super( source );
}
/**
* Return the source of the event
*
* @return the source of the event. This shall be the JMF player passed
* in to the constructor of the event.
*/
public java.lang.Object getSource()
{
return null;
}
}