Package com.jme3.input
Class RawInputListenerAdapter
java.lang.Object
com.jme3.input.RawInputListenerAdapter
- All Implemented Interfaces:
- RawInputListener
An abstract adapter class for 
RawInputListener.
 This class provides empty implementations for all methods in the
 RawInputListener interface, making it easier to create custom
 listeners by extending this class and overriding only the methods of
 interest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled before a batch of input will be sent to thisRawInputListener.voidendInput()Called after a batch of input was sent to thisRawInputListener.voidInvoked on joystick axis events.voidInvoked on joystick button presses.voidonKeyEvent(KeyInputEvent evt) Invoked on keyboard key press or release events.voidInvoked on mouse button events.voidInvoked on mouse movement/motion events.voidonTouchEvent(TouchEvent evt) Invoked on touchscreen touch events.
- 
Constructor Details- 
RawInputListenerAdapterpublic RawInputListenerAdapter()
 
- 
- 
Method Details- 
beginInputpublic void beginInput()Description copied from interface:RawInputListenerCalled before a batch of input will be sent to thisRawInputListener.- Specified by:
- beginInputin interface- RawInputListener
 
- 
endInputpublic void endInput()Description copied from interface:RawInputListenerCalled after a batch of input was sent to thisRawInputListener. The listener should set theconsumed flagon any events that have been consumed either at this call or previous calls.- Specified by:
- endInputin interface- RawInputListener
 
- 
onJoyAxisEventDescription copied from interface:RawInputListenerInvoked on joystick axis events.- Specified by:
- onJoyAxisEventin interface- RawInputListener
- Parameters:
- evt- information about the event
 
- 
onJoyButtonEventDescription copied from interface:RawInputListenerInvoked on joystick button presses.- Specified by:
- onJoyButtonEventin interface- RawInputListener
- Parameters:
- evt- information about the event
 
- 
onMouseMotionEventDescription copied from interface:RawInputListenerInvoked on mouse movement/motion events.- Specified by:
- onMouseMotionEventin interface- RawInputListener
- Parameters:
- evt- information about the event
 
- 
onMouseButtonEventDescription copied from interface:RawInputListenerInvoked on mouse button events.- Specified by:
- onMouseButtonEventin interface- RawInputListener
- Parameters:
- evt- information about the event
 
- 
onKeyEventDescription copied from interface:RawInputListenerInvoked on keyboard key press or release events.- Specified by:
- onKeyEventin interface- RawInputListener
- Parameters:
- evt- information about the event
 
- 
onTouchEventDescription copied from interface:RawInputListenerInvoked on touchscreen touch events.- Specified by:
- onTouchEventin interface- RawInputListener
- Parameters:
- evt- information about the event
 
 
-