GuiEventManagerEventBubblingDispatcherpublic interface WindowInputListener
| Modifier and Type | Method | Description |
|---|---|---|
default void |
keyboardArrowPressed(ArrowKey key) |
Keyboard arrow key has been pressed.
|
default void |
keyboardDeleteKeyPressed() |
Keyboard delete key has been pressed.
|
default void |
keyboardEnterKeyPressed() |
Keyboard enter key has been pressed.
|
default void |
keyboardKeyPressed(char character) |
Dispatch key from the keyboard to all listeners in the current Widget.
|
default void |
keyboardNumberPressed(int number) |
Keyboard numeric pad number has been pressed.
|
default void |
keyReleased(int keyCode) |
A keyboard key has been released.
|
default void |
mouseDoubleClick(MousePosition position) |
Dispatch a left double click from the mouse to all listeners in the current Widget.
|
default void |
mouseDragLeft(MousePosition position,
MousePosition delta) |
Dispatch a drag from the mouse with the left button to all listeners in the current Widget.
|
default void |
mouseDragRight(MousePosition position,
MousePosition delta) |
Dispatch a drag from the mouse with the right button to all listeners in the current Widget.
|
default void |
mouseDragWheel(MousePosition position,
MousePosition delta) |
Dispatch a drag from the mouse with the middle button to all listeners in the current Widget.
|
default void |
mouseLeftClick(MousePosition position) |
Dispatch a left click from the mouse to all listeners in the current Widget.
|
default void |
mouseLeftReleased(MousePosition position) |
Dispatch a left button release from the mouse to all listeners in the current Widget.
|
default void |
mouseMove(MousePosition cursorPosition) |
Dispatch a move from the mouse to all listeners in the current Widget.
|
default void |
mouseRightClick(MousePosition position) |
Dispatch a right click from the mouse to all listeners in the current Widget.
|
default void |
mouseRightReleased(MousePosition position) |
Dispatch a right button release from the mouse to all listeners in the current Widget.
|
default void |
mouseWheel(MousePosition cursorPosition,
int count) |
Dispatch a roll from the mouse wheel to all listeners in the current Widget.
|
default void |
specialKeyPressed(SpecialKey key) |
Dispatch special key from the keyboard to all listeners in the current Widget.
|
default void keyboardKeyPressed(char character)
character - Key pressed.default void keyboardEnterKeyPressed()
default void specialKeyPressed(SpecialKey key)
key - Key pressed.default void keyboardNumberPressed(int number)
number - Number pressed.default void keyboardDeleteKeyPressed()
default void keyboardArrowPressed(ArrowKey key)
key - Enum value to get witch arrow has been pressed.default void keyReleased(int keyCode)
keyCode - Code of the key released.default void mouseLeftReleased(MousePosition position)
position - Current mouse position.default void mouseRightReleased(MousePosition position)
position - Current mouse position.default void mouseLeftClick(MousePosition position)
position - Current mouse position.default void mouseRightClick(MousePosition position)
position - Current mouse position.default void mouseDoubleClick(MousePosition position)
position - Current mouse positiondefault void mouseDragRight(MousePosition position, MousePosition delta)
position - Current mouse position.delta - Delta with the former mouse position.default void mouseDragLeft(MousePosition position, MousePosition delta)
position - Current mouse position.delta - Delta with the former mouse position.default void mouseDragWheel(MousePosition position, MousePosition delta)
position - Current mouse position.delta - Delta with the former mouse position.default void mouseMove(MousePosition cursorPosition)
cursorPosition - Current mouse position.default void mouseWheel(MousePosition cursorPosition, int count)
cursorPosition - Current mouse position.count - Number of wheel roll.Copyright © 2014–2018. All rights reserved.