fi.hut.tml.xsmiles.mlfc.smil.viewer.havi
Class BrowserViewer

java.lang.Object
  extended byHScene
      extended byfi.hut.tml.xsmiles.mlfc.smil.viewer.havi.SMILViewer
          extended byfi.hut.tml.xsmiles.mlfc.smil.viewer.havi.BrowserViewer
All Implemented Interfaces:
java.util.EventListener, FocusableLinkHandler, Viewer, java.awt.event.WindowListener

public class BrowserViewer
extends SMILViewer
implements Viewer

This is a sample class that shows how to view a smil document and play it using HAVi.

NOTE: THIS VIEWER IS NOT COMPLETE AND WON'T WORK CORRECTLY.

See Also:
Serialized Form

Nested Class Summary
 class BrowserViewer.GUIListener
           
 
Nested classes inherited from class fi.hut.tml.xsmiles.mlfc.smil.viewer.havi.SMILViewer
SMILViewer.AA, SMILViewer.BB
 
Field Summary
protected  BrowserWindow browserWindow
           
protected  java.awt.Container contentArea
           
protected  BrowserViewer.GUIListener guiListener
           
protected  java.lang.String starturl
           
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.smil.viewer.havi.SMILViewer
docPath, focusManager, guiback, guiexit, guistart, guistop, guitest, guiurl, history, iconHeight, initMem, initTime, jmfAvailable, rootContainer, rootlayoutContainer, screenDepth, screenHeight, screenWidth, smilDoc, statusText
 
Constructor Summary
BrowserViewer(java.lang.String start)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Playback buttons.
protected  void createContentArea()
           
static void main(java.lang.String[] args)
           
protected  void openURL(java.lang.String url, java.lang.String errormsg)
          Open ERROR doc at url, if errormsg != null.
 void Quit()
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.smil.viewer.havi.SMILViewer
addFocusableLink, addTimePoint, caretMoved, createGUI, displayError, displayStatusText, getBaseURL, getContentPane, getDecorator, getNewBrushHandler, getNewDrawingArea, getNewForeignHandler, getNewLinkHandler, getNewMediaHandler, getPlayAudio, getPlayImage, getPlayVideo, getSMILDoc, getSystemAudioDesc, getSystemBitrate, getSystemCaptions, getSystemComponent, getSystemCPU, getSystemLanguage, getSystemOperatingSystem, getSystemOverdubOrCaption, getSystemOverdubOrSubtitle, getSystemRequired, getSystemScreenDepth, getSystemScreenHeight, getSystemScreenWidth, getTitle, getWindowHeight, getWindowWidth, gotoExternalLink, gotoExternalLinkNewWindow, gotoExternalLinkTarget, init, initViewer, isHost, isJMFAvailable, loadImage, openURL, removeFocusableLink, setDocumentBaseURI, setTitle, start, stop, textChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
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
addTimePoint, displayStatusText, getBaseURL, getDecorator, getNewBrushHandler, getNewDrawingArea, getNewForeignHandler, getNewLinkHandler, getNewMediaHandler, getPlayAudio, getPlayImage, getPlayVideo, getSMILDoc, getSystemAudioDesc, getSystemBitrate, getSystemCaptions, getSystemComponent, getSystemCPU, getSystemLanguage, getSystemOperatingSystem, getSystemOverdubOrCaption, getSystemOverdubOrSubtitle, getSystemRequired, getSystemScreenDepth, getSystemScreenHeight, getSystemScreenWidth, getTitle, getWindowHeight, getWindowWidth, gotoExternalLink, gotoExternalLinkNewWindow, gotoExternalLinkTarget, isHost, setDocumentBaseURI, setTitle
 

Field Detail

browserWindow

protected BrowserWindow browserWindow

contentArea

protected java.awt.Container contentArea

starturl

protected java.lang.String starturl

guiListener

protected BrowserViewer.GUIListener guiListener
Constructor Detail

BrowserViewer

public BrowserViewer(java.lang.String start)
Method Detail

createContentArea

protected void createContentArea()

main

public static void main(java.lang.String[] args)

Quit

public void Quit()
Overrides:
Quit in class SMILViewer

openURL

protected void openURL(java.lang.String url,
                       java.lang.String errormsg)
Open ERROR doc at url, if errormsg != null.

Overrides:
openURL in class SMILViewer

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Playback buttons.

Overrides:
actionPerformed in class SMILViewer


X-Smiles 1.2