|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NiftyInputConsumer
NiftyInputConsumer consumes InputEvents from the InputSystem.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||