Package io.guise.framework.event
Interface KeyboardEvent
-
- All Superinterfaces:
com.globalmentor.event.Event
,FocusedInputEvent
,GestureInputEvent
,GuiseEvent
,InputEvent
- All Known Implementing Classes:
AbstractKeyboardEvent
,KeyPressEvent
,KeyReleaseEvent
public interface KeyboardEvent extends GestureInputEvent, FocusedInputEvent
An event providing information on input from a keyboard.- Author:
- Garret Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeystrokeInput
getInput()
Key
getKey()
-
Methods inherited from interface io.guise.framework.event.GestureInputEvent
getKeys, hasAltKey, hasControlKey, hasShiftKey
-
Methods inherited from interface io.guise.framework.event.GuiseEvent
getSession
-
Methods inherited from interface io.guise.framework.event.InputEvent
consume, isConsumed
-
-
-
-
Method Detail
-
getKey
Key getKey()
- Returns:
- The key that was pressed.
-
getInput
KeystrokeInput getInput()
- Specified by:
getInput
in interfaceGestureInputEvent
- Specified by:
getInput
in interfaceInputEvent
- Returns:
- The input associated with this event, or
null
if there is no input associated with this event.
-
-