apps.mt3dmaps.orbittest
Class InputManager

java.lang.Object
  extended by com.jme.input.InputHandler
      extended by apps.mt3dmaps.orbittest.InputManager

public class InputManager
extends com.jme.input.InputHandler

A special input handler for using the camera Orbit action and the Camera Focus action.

Author:
Andrew Carter

Field Summary
 
Fields inherited from class com.jme.input.InputHandler
AXIS_ALL, AXIS_NONE, BUTTON_ALL, BUTTON_NONE, DEVICE_ALL, DEVICE_KEYBOARD, DEVICE_MOUSE
 
Constructor Summary
InputManager()
           
 
Method Summary
 CameraFocusInputAction getCameraFocus()
          Gets the camera focus.
 OrbitAction getOrbit()
          Gets the orbit.
 void setup(com.jme.renderer.Camera camera)
          Sets the up.
 void update(float time)
           
 
Methods inherited from class com.jme.input.InputHandler
addAction, addAction, addAction, addAction, addAction, addAction, addDevice, addToAttachedHandlers, clearActions, getBooleanProp, getDevices, getFloatProp, getFromAttachedHandlers, getIntProp, getObjectProp, getParent, isEnabled, removeAction, removeAction, removeAllActions, removeAllFromAttachedHandlers, removeFromAttachedHandlers, setActionSpeed, setActionSpeed, setEnabled, setEnabledOfAttachedHandlers, sizeOfAttachedHandlers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputManager

public InputManager()
Method Detail

getCameraFocus

public CameraFocusInputAction getCameraFocus()
Gets the camera focus.

Returns:
the camera focus

getOrbit

public OrbitAction getOrbit()
Gets the orbit.

Returns:
the orbit

setup

public void setup(com.jme.renderer.Camera camera)
Sets the up.

Parameters:
camera - the new up

update

public void update(float time)
Overrides:
update in class com.jme.input.InputHandler