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

java.lang.Object
  extended byHScene
      extended byfi.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

Nested Class Summary
 class ComponentTest.TestComponent
           
 class ComponentTest.TestComponent2
           
 class ComponentTest.TestComponent3
           
 class ComponentTest.TestComponent4
           
 class ComponentTest.TestComponent5
           
 
Field Summary
static HaviFocusManager focusManager
           
static int iconHeight
           
protected  java.awt.Container rootContainer
           
protected  java.awt.Container rootlayoutContainer
           
static int screenDepth
           
static int screenHeight
           
static int screenWidth
           
 
Constructor Summary
ComponentTest()
           
 
Method Summary
protected  void createGUI()
           
 java.awt.Container getContentPane()
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 java.awt.Image loadImage(java.lang.String s)
           
static void main(java.lang.String[] args)
           
 void Quit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ComponentTest

public ComponentTest()
Method Detail

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