com.jme.input.mouse
Class MouseInputHandlerDevice
java.lang.Object
com.jme.input.InputHandlerDevice
com.jme.input.mouse.MouseInputHandlerDevice
public class MouseInputHandlerDevice
- extends InputHandlerDevice
Creates InputHandler triggers for mouse support.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MouseInputHandlerDevice
public MouseInputHandlerDevice()
getMouseListener
public TriggersMouseInputListener getMouseListener()
createTriggers
protected void createTriggers(InputActionInterface action,
int axis,
int button,
boolean allowRepeats,
InputHandler inputHandler)
- Description copied from class:
InputHandlerDevice
- Creates device specific trigger(s) for specified axes and buttons (the triggers register themselves at the
inputHandler).
- Specified by:
createTriggers in class InputHandlerDevice
- Parameters:
action - action that will be invoked upon trigger activationaxis - axis this trigger is responsible forbutton - button this trigger is responsible forallowRepeats - true to allow repeatsinputHandler - input handler for the triggers
Copyright 2003-2009 jMonkeyEngine