|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.MLFC
fi.hut.tml.xsmiles.mlfc.smil.SMILMLFC
SMILMLFC is the SMIL Viewer for X-Smiles browser. It controls the SMIL core functionality and handles the data exchange between the SMIL player and the broswer. This is also a factory for MLFC specific MediaHandlers, LinkHandlers and DrawingAreas.
| Field Summary | |
protected Decorator |
decorator
|
static java.lang.String |
decorClassName
the decorator class name, this is changed e.g. |
static long |
initMem
|
static long |
initTime
|
static long |
startMem
|
static long |
startTime
|
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.MLFC |
contentHandler, controlsShown, title |
| Constructor Summary | |
SMILMLFC()
Constructor. |
|
| Method Summary | |
void |
addTimePoint(java.lang.String elementId)
Adds a timepoint, which can be used to jump to some specific location in the presentation. |
protected void |
createDecorator()
|
org.w3c.dom.Element |
createElementNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String URI,
java.lang.String tagname)
Create a DOM element. |
java.net.URL |
createURL(java.lang.String partURL)
Append the given URL to be a full URL. |
void |
displayStatusText(java.lang.String url)
Display status text in the broswer. |
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)
Returns a new DrawingArea for SMIL core logic. |
MediaHandler |
getNewForeignHandler(org.w3c.dom.Element e)
Returns a new ForeignHandler for SMIL core logic. |
LinkHandler |
getNewLinkHandler()
Returns a new LinkHandler for SMIL core logic. |
MediaHandler |
getNewMediaHandler()
Returns a new MediaHandler for SMIL core logic. |
boolean |
getPlayAudio()
Tests if audio should be played. |
boolean |
getPlayImage()
Tests if images should be shown. |
boolean |
getPlayVideo()
Tests if video should be played. |
SMILDocument |
getSMILDoc()
Returns the SMILDocument (SMIL-DOM). |
java.lang.String |
getSystemAudioDesc()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemBitrate()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemCaptions()
Returns the value of systemAttribute for the SMIL core logic. |
boolean |
getSystemComponent(java.lang.String component)
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemCPU()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemLanguage()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemOperatingSystem()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemOverdubOrCaption()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getSystemOverdubOrSubtitle()
Returns the value of systemAttribute for the SMIL core logic. |
boolean |
getSystemRequired(java.lang.String url)
Returns the value of systemAttribute for the SMIL core logic. |
int |
getSystemScreenDepth()
Returns the value of systemAttribute for the SMIL core logic. |
int |
getSystemScreenHeight()
Returns the value of systemAttribute for the SMIL core logic. |
int |
getSystemScreenWidth()
Returns the value of systemAttribute for the SMIL core logic. |
java.lang.String |
getTitle()
Get the title of this presentation. |
java.lang.String |
getVersion()
Get the version of the MLFC. |
int |
getWindowHeight()
Returns the visible container height. |
int |
getWindowWidth()
Returns the visible container width. |
void |
gotoExternalLink(java.lang.String url)
Called from the LinkHandler - this method asks the browser to go to this external link. |
void |
gotoExternalLinkNewWindow(java.lang.String url)
Open external link in a new window - this method asks the browser to go to this external link. |
void |
gotoExternalLinkTarget(java.lang.String url,
java.lang.String target)
Open external link replacing/opening new target - this method asks the browser to go to this external link. |
void |
refresh()
|
void |
setDocumentBaseURI(java.lang.String base)
|
void |
setTitle(java.lang.String title)
Set the title for the presentation. |
void |
showLinkPopup(java.lang.String urlStr,
java.awt.event.MouseEvent e)
open a link popup |
void |
start()
Displays the presentation. |
void |
startup(XMLDocument doc)
Common starter for primary and secondary MLFC. |
void |
stop()
Deactivate the MLFC. |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.MLFC |
commitUpdateTransaction, createAttributeNS, get, getContainer, getContentHandler, getLocalname, getMLFCController, getMLFCListener, getMLFCParameters, getResourceReferencer, getXMLDocument, init, initMLFC, isHost, isPrimary, pause, rollbackUpdateTransaction, setContainer, setContentHandler, setHost, setMLFCListener, setMLFCParameters, setXMLDocument, setZoom, startMLFC, startUpdateTransaction, stopMLFC |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.mlfc.smil.viewer.Viewer |
isHost |
| Field Detail |
public static long initTime
public static long initMem
public static long startTime
public static long startMem
protected Decorator decorator
public static java.lang.String decorClassName
| Constructor Detail |
public SMILMLFC()
| Method Detail |
protected void createDecorator()
public final java.lang.String getVersion()
getVersion in class MLFC
public org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String URI,
java.lang.String tagname)
createElementNS in class MLFCpublic void start()
start in class MLFCpublic Decorator getDecorator()
getDecorator in interface Viewerpublic void startup(XMLDocument doc)
public void stop()
stop in class MLFCpublic void setDocumentBaseURI(java.lang.String base)
setDocumentBaseURI in interface Viewerpublic java.net.URL createURL(java.lang.String partURL)
partURL - Partial URL, e.g. fanfaari.wav
public java.net.URL getBaseURL()
getBaseURL in interface Viewer
public void showLinkPopup(java.lang.String urlStr,
java.awt.event.MouseEvent e)
public void gotoExternalLink(java.lang.String url)
gotoExternalLink in interface Viewerurl - URL to jump to.
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 url)
displayStatusText in interface Viewerpublic int getWindowWidth()
getWindowWidth in interface Viewerpublic int getWindowHeight()
getWindowHeight 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 Viewertype - ROOTLAYOUT for the broswer container, TOPLAYOUT for a new frame.block - CSS: used to create a JBlockPanel (true) instead of JPanel (false)public MediaHandler getNewForeignHandler(org.w3c.dom.Element e)
getNewForeignHandler in interface Viewerpublic SMILDocument getSMILDoc()
getSMILDoc in interface Viewerpublic void addTimePoint(java.lang.String elementId)
addTimePoint in interface ViewerelementId - TImepoint, actually the id of the elementpublic 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 url)
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 void setTitle(java.lang.String title)
setTitle in interface ViewersetTitle in class MLFCtitle - Title for the presentationpublic java.lang.String getTitle()
getTitle in interface ViewergetTitle in class MLFCpublic void refresh()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||