synergynetframework.jme.sysutils
Class InputUtility

java.lang.Object
  extended by synergynetframework.jme.sysutils.InputUtility

public class InputUtility
extends java.lang.Object

The Class InputUtility.


Field Summary
static boolean pause
          The pause.
static boolean shouldFinish
          The should finish.
static boolean showBounds
          The show bounds.
static boolean showDepth
          The show depth.
static boolean showNormals
          The show normals.
static boolean useLighting
          The use lighting.
static boolean wireframeMode
          The wireframe mode.
 
Constructor Summary
InputUtility()
           
 
Method Summary
static void checkKeys(java.util.logging.Logger logger, com.jme.renderer.Camera cam)
          Check keys.
static com.jme.input.InputHandler getInputHandler(com.jme.renderer.Camera cam)
          Gets the input handler.
static com.jme.input.InputHandler getKeyboardLookingHandler(com.jme.renderer.Camera cam)
          Gets the keyboard looking handler.
static void setupKeys()
          Setup keys.
static void setupMouseInput()
          Setup mouse input.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pause

public static boolean pause
The pause.


shouldFinish

public static boolean shouldFinish
The should finish.


showBounds

public static boolean showBounds
The show bounds.


showDepth

public static boolean showDepth
The show depth.


showNormals

public static boolean showNormals
The show normals.


useLighting

public static boolean useLighting
The use lighting.


wireframeMode

public static boolean wireframeMode
The wireframe mode.

Constructor Detail

InputUtility

public InputUtility()
Method Detail

checkKeys

public static void checkKeys(java.util.logging.Logger logger,
                             com.jme.renderer.Camera cam)
Check keys.

Parameters:
logger - the logger
cam - the cam

getInputHandler

public static com.jme.input.InputHandler getInputHandler(com.jme.renderer.Camera cam)
Gets the input handler.

Parameters:
cam - the cam
Returns:
the input handler

getKeyboardLookingHandler

public static com.jme.input.InputHandler getKeyboardLookingHandler(com.jme.renderer.Camera cam)
Gets the keyboard looking handler.

Parameters:
cam - the cam
Returns:
the keyboard looking handler

setupKeys

public static void setupKeys()
Setup keys.


setupMouseInput

public static void setupMouseInput()
Setup mouse input.