|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to provide control for "Subtitles" and "Closed Captioning". This generic interface allows to manipulate and request status information about the two types of overlay or superimposed text. It shall be available when the OverlayText informations is present in the media.
Method Summary | |
void |
addOverlayTextListener(OverlayTextListener overlayTextListener)
Add a overlay text listener interface. |
boolean |
isTextAvailable()
Request if overlay text are available in the medium. |
boolean |
isTextOn()
Returns the current state of the presentation of the OverlayText. |
void |
removeOverlayTextListener(OverlayTextListener overlayTextListener)
Removes a overlay text listener interface. |
void |
switchTextOff()
Switches overlay text off. |
void |
switchTextOn()
Switches the overlay text on. |
Methods inherited from interface com.sun.dtv.media.language.LanguageControl |
getDefaultLanguage, getLanguage, getSupportedLanguages, setLanguage |
Methods inherited from interface javax.media.Control |
getControlComponent |
Method Detail |
public void switchTextOn()
public void switchTextOff()
public boolean isTextAvailable()
public boolean isTextOn()
public void addOverlayTextListener(OverlayTextListener overlayTextListener)
overlayTextListener
- the interface that will receive all the overlay text events.removeOverlayTextListener(com.sun.dtv.media.text.OverlayTextListener)
public void removeOverlayTextListener(OverlayTextListener overlayTextListener)
overlayTextListener
- overlay text listener to remove.addOverlayTextListener(com.sun.dtv.media.text.OverlayTextListener)
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |