Interface KeyEvent
- All Superinterfaces:
BooleanEvent, DeviceEvent, HasModifiers, InputEvent
- All Known Implementing Classes:
InputEvent.KeyPressed, InputEvent.KeyReleased, InputEvent.KeyRepeated
public sealed interface KeyEvent
extends BooleanEvent, HasModifiers
permits InputEvent.KeyPressed, InputEvent.KeyReleased, InputEvent.KeyRepeated
-
Nested Class Summary
Nested classes/interfaces inherited from interface InputEvent
InputEvent.CharTyped, InputEvent.CursorMoved, InputEvent.DeviceConnectionChanged, InputEvent.GamepadAxisMoved, InputEvent.GamepadPressed, InputEvent.GamepadReleased, InputEvent.KeyPressed, InputEvent.KeyReleased, InputEvent.KeyRepeated, InputEvent.MousePressed, InputEvent.MouseReleased, InputEvent.Scrolled -
Method Summary
Methods inherited from interface BooleanEvent
pressedMethods inherited from interface DeviceEvent
deviceMethods inherited from interface HasModifiers
modifiersMethods inherited from interface InputEvent
time
-
Method Details
-
keyCode
KeyCode keyCode() -
scanCode
ScanCode scanCode() -
source
- Specified by:
sourcein interfaceBooleanEvent
-