|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.smil.viewer.swing.JSMILPlayerCore
This is the hidden functionality of the SMILComponent class, which is a wrapper to hide all public methods in this class.
| Constructor Summary | |
protected |
JSMILPlayerCore()
|
| Method Summary | |
void |
addTimePoint(java.lang.String elementId)
Called from the SMILDocument, when a new time point is found during prefetching. |
void |
destroy()
Clears all resources and frees memory. |
void |
displayStatusText(java.lang.String txt)
Displays a status text, SMILDocument calls this. |
java.net.URL |
getBaseURL()
Return the base URL of the document. |
Decorator |
getDecorator()
|
BrushHandler |
getNewBrushHandler()
Returns a new BrushHandler for SMIL core logic. |
DrawingArea |
getNewDrawingArea(int type,
boolean block)
Creates a new DrawingArea. |
MediaHandler |
getNewForeignHandler(org.w3c.dom.Element e)
Returns a new ForeignHandler for SMIL core logic. |
LinkHandler |
getNewLinkHandler()
Creates a new LinkHandler. |
MediaHandler |
getNewMediaHandler()
Creates a new MediaHandler. |
boolean |
getPlayAudio()
Returns true if audio should be played. |
boolean |
getPlayImage()
Returns true if images should be played. |
boolean |
getPlayVideo()
Returns true if video should be played. |
SMILDocument |
getSMILDoc()
Get the SMILDocument. |
java.lang.String |
getSystemAudioDesc()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getSystemBitrate()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getSystemCaptions()
Returns a system attribute for the SMILDocument. |
boolean |
getSystemComponent(java.lang.String component)
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemCPU()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getSystemLanguage()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getSystemOperatingSystem()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getSystemOverdubOrCaption()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getSystemOverdubOrSubtitle()
Returns a system attribute for the SMILDocument. |
boolean |
getSystemRequired(java.lang.String prefix)
Returns the value of systemAttribute for the SMIL core logic. |
int |
getSystemScreenDepth()
Returns a system attribute for the SMILDocument. |
int |
getSystemScreenHeight()
Returns a system attribute for the SMILDocument. |
int |
getSystemScreenWidth()
Returns a system attribute for the SMILDocument. |
java.lang.String |
getTitle()
Get the title of the presentation. |
int |
getWindowHeight()
Returns window height for the SMILDocument. |
int |
getWindowWidth()
Returns window width for the SMILDocument. |
void |
gotoExternalLink(java.lang.String url)
Called from SMILDocument when an external link is activated. |
void |
gotoExternalLinkNewWindow(java.lang.String url)
Open external link in a new window |
void |
gotoExternalLinkTarget(java.lang.String url,
java.lang.String target)
Open external link replacing/opening new target |
protected boolean |
init(java.awt.Container c,
java.io.Reader reader,
java.lang.String path)
Initializes the SMIL presentation for playing. |
boolean |
isHost()
SMILDoc requires this from the SMILMLFC, which may return true or false. |
void |
setDocumentBaseURI(java.lang.String base)
|
void |
setTitle(java.lang.String title)
Set the title for the presentation. |
void |
start()
Start the presentation. |
void |
stop()
Stop the presentation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected JSMILPlayerCore()
| Method Detail |
protected boolean init(java.awt.Container c,
java.io.Reader reader,
java.lang.String path)
c - Root-layout containerreader - Reader, where the presentation is loaded frompath - Path to the file (can be a URL)public void start()
public void stop()
public void destroy()
public java.net.URL getBaseURL()
getBaseURL in interface Viewerpublic void gotoExternalLink(java.lang.String url)
gotoExternalLink in interface Viewerurl - Link destination
public void gotoExternalLinkTarget(java.lang.String url,
java.lang.String target)
gotoExternalLinkTarget in interface Viewerurl - URL to opentarget - target frame/windowpublic void gotoExternalLinkNewWindow(java.lang.String url)
gotoExternalLinkNewWindow in interface Viewerurl - URL to openpublic void displayStatusText(java.lang.String txt)
displayStatusText in interface Viewerpublic void addTimePoint(java.lang.String elementId)
addTimePoint in interface Viewerpublic SMILDocument getSMILDoc()
getSMILDoc in interface Viewerpublic void setDocumentBaseURI(java.lang.String base)
setDocumentBaseURI in interface Viewerpublic MediaHandler getNewMediaHandler()
getNewMediaHandler in interface Viewerpublic BrushHandler getNewBrushHandler()
getNewBrushHandler in interface Viewerpublic LinkHandler getNewLinkHandler()
getNewLinkHandler in interface Viewer
public DrawingArea getNewDrawingArea(int type,
boolean block)
getNewDrawingArea in interface Viewerpublic MediaHandler getNewForeignHandler(org.w3c.dom.Element e)
getNewForeignHandler in interface Viewerpublic int getWindowWidth()
getWindowWidth in interface Viewerpublic int getWindowHeight()
getWindowHeight in interface Viewerpublic java.lang.String getSystemBitrate()
getSystemBitrate in interface Viewerpublic java.lang.String getSystemCaptions()
getSystemCaptions in interface Viewerpublic java.lang.String getSystemLanguage()
getSystemLanguage in interface Viewerpublic java.lang.String getSystemOverdubOrCaption()
getSystemOverdubOrCaption in interface Viewerpublic boolean getSystemRequired(java.lang.String prefix)
getSystemRequired in interface Viewerpublic int getSystemScreenWidth()
getSystemScreenWidth in interface Viewerpublic int getSystemScreenHeight()
getSystemScreenHeight in interface Viewerpublic int getSystemScreenDepth()
getSystemScreenDepth in interface Viewerpublic java.lang.String getSystemOverdubOrSubtitle()
getSystemOverdubOrSubtitle in interface Viewerpublic java.lang.String getSystemAudioDesc()
getSystemAudioDesc in interface Viewerpublic java.lang.String getSystemOperatingSystem()
getSystemOperatingSystem in interface Viewerpublic java.lang.String getSystemCPU()
getSystemCPU in interface Viewerpublic boolean getSystemComponent(java.lang.String component)
getSystemComponent in interface Viewerpublic boolean getPlayImage()
getPlayImage in interface Viewerpublic boolean getPlayAudio()
getPlayAudio in interface Viewerpublic boolean getPlayVideo()
getPlayVideo in interface Viewerpublic java.lang.String getTitle()
getTitle in interface Viewerpublic void setTitle(java.lang.String title)
setTitle in interface Viewertitle - Title for the presentationpublic boolean isHost()
Viewer
isHost in interface Viewerpublic Decorator getDecorator()
getDecorator in interface Viewer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||