jmetest.ui
Class TestUI

java.lang.Object
  extended bycom.jme.app.AbstractGame
      extended bycom.jme.app.BaseGame
          extended byjmetest.ui.TestUI

public class TestUI
extends BaseGame

Author:
schustej

Field Summary
protected  InputHandler bufferedInput
           
protected  Camera cam
           
protected  Node debugNode
           
static java.lang.String fontLocation
           
protected  Text fpsText
           
protected  InputHandler input
           
protected  LightState lightState
           
protected  AbsoluteMouse mouse
           
protected  Node mouseNode
           
protected  Text mouseText
           
protected  Node rootNode
           
protected  boolean showBounds
           
protected  Timer timer
           
protected  float tpf
           
protected  Node uiNode
           
protected  WireframeState wireState
           
 
Fields inherited from class com.jme.app.AbstractGame
ALWAYS_SHOW_PROPS_DIALOG, display, finished, FIRSTRUN_OR_NOCONFIGFILE_SHOW_PROPS_DIALOG, NEVER_SHOW_PROPS_DIALOG, properties
 
Constructor Summary
TestUI()
           
 
Method Summary
protected  void cleanup()
          cleanup cleans up any created objects before exiting the application.
protected  void initGame()
          initializes the scene
protected  void initSystem()
          initializes the display and camera.
static void main(java.lang.String[] args)
          Entry point for the test,
protected  void reinit()
          not used.
protected  void render(float interpolation)
          draws the scene graph
protected  void update(float interpolation)
          Not used.
 
Methods inherited from class com.jme.app.BaseGame
quit, start
 
Methods inherited from class com.jme.app.AbstractGame
assertDisplayCreated, finish, getAttributes, getVersion, setDialogBehaviour, setDialogBehaviour, setDialogBehaviour
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cam

protected Camera cam

rootNode

protected Node rootNode

input

protected InputHandler input

bufferedInput

protected InputHandler bufferedInput

wireState

protected WireframeState wireState

lightState

protected LightState lightState

showBounds

protected boolean showBounds

debugNode

protected Node debugNode

timer

protected Timer timer

fpsText

protected Text fpsText

tpf

protected float tpf

mouseText

protected Text mouseText

mouseNode

protected Node mouseNode

mouse

protected AbsoluteMouse mouse

uiNode

protected Node uiNode

fontLocation

public static java.lang.String fontLocation
Constructor Detail

TestUI

public TestUI()
Method Detail

initSystem

protected void initSystem()
initializes the display and camera.

Specified by:
initSystem in class BaseGame
See Also:
AbstractGame.initSystem()

initGame

protected void initGame()
initializes the scene

Specified by:
initGame in class BaseGame
See Also:
SimpleGame.initGame()

update

protected final void update(float interpolation)
Not used.

Specified by:
update in class BaseGame
Parameters:
interpolation - unused in this implementation
See Also:
com.jme.app.SimpleGame#update()

render

protected void render(float interpolation)
draws the scene graph

Specified by:
render in class BaseGame
Parameters:
interpolation - unused in this implementation
See Also:
com.jme.app.SimpleGame#render()

reinit

protected void reinit()
not used.

Specified by:
reinit in class BaseGame
See Also:
SimpleGame.reinit()

cleanup

protected void cleanup()
Description copied from class: AbstractGame
cleanup cleans up any created objects before exiting the application. It is called once after finish is called.

Specified by:
cleanup in class BaseGame
See Also:
SimpleGame.cleanup()

main

public static void main(java.lang.String[] args)
Entry point for the test,

Parameters:
args -