public interface NiftyInputConsumer
| Modifier and Type | Method and Description |
|---|---|
boolean |
processKeyboardEvent(KeyboardInputEvent keyEvent)
Process the given keyboard event.
|
boolean |
processMouseEvent(int mouseX,
int mouseY,
int mouseWheel,
int button,
boolean buttonDown)
Send the given mouse event to Nifty for processing.
|
boolean processMouseEvent(int mouseX,
int mouseY,
int mouseWheel,
int button,
boolean buttonDown)
mouseX - the mouse x position when the event occurredmouseY - the mouse y position when the event occurredmouseWheel - the mouse wheel eventbutton - the button that has been pressed with -1 = no button, 0 = first button, 1 = second button and so onbuttonDown - the button was pressed down (true) or has been released (false)boolean processKeyboardEvent(KeyboardInputEvent keyEvent)
keyEvent - the keyboard event to processCopyright © 2013. All Rights Reserved.