Interface KeyDownHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidonKeyDown(KeyDownEvent event) Executed when a key is pressed on a focusable widget (canFocus: true).
-
Method Details
-
onKeyDown
Executed when a key is pressed on a focusable widget (canFocus: true).Use
EventHandler.getKey()to find out the String of the key that was pressed, and useEventHandler.shiftKeyDown()and related functions to determine whether modifier keys were down.- Parameters:
event- the event
-