fi.hut.tml.xsmiles.mlfc.smil.viewer.havi
Class ComponentTest
java.lang.Object
HScene
fi.hut.tml.xsmiles.mlfc.smil.viewer.havi.ComponentTest
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.KeyListener
- public class ComponentTest
- extends HScene
- implements java.awt.event.KeyListener
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
screenWidth
public static final int screenWidth
- See Also:
- Constant Field Values
screenHeight
public static final int screenHeight
- See Also:
- Constant Field Values
screenDepth
public static final int screenDepth
- See Also:
- Constant Field Values
iconHeight
public static final int iconHeight
- See Also:
- Constant Field Values
focusManager
public static HaviFocusManager focusManager
rootContainer
protected java.awt.Container rootContainer
rootlayoutContainer
protected java.awt.Container rootlayoutContainer
ComponentTest
public ComponentTest()
main
public static void main(java.lang.String[] args)
getContentPane
public java.awt.Container getContentPane()
createGUI
protected void createGUI()
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped in interface java.awt.event.KeyListener
Quit
public void Quit()
loadImage
public java.awt.Image loadImage(java.lang.String s)
X-Smiles 1.2