Package org.apache.pivot.wtk
Interface Application.UnprocessedKeyHandler
-
- All Known Subinterfaces:
ApplicationWithProperties.UnprocessedKeyHandler
- All Known Implementing Classes:
Application.UnprocessedKeyHandler.Adapter
- Enclosing interface:
- Application
public static interface Application.UnprocessedKeyHandler
Optional interface that allows an application to handle unprocessed key events (keystrokes that are processed when no component has the input focus).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Application.UnprocessedKeyHandler.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
keyPressed(int keyCode, Keyboard.KeyLocation keyLocation)
default void
keyReleased(int keyCode, Keyboard.KeyLocation keyLocation)
default void
keyTyped(char character)
-
-
-
Method Detail
-
keyTyped
default void keyTyped(char character)
-
keyPressed
default void keyPressed(int keyCode, Keyboard.KeyLocation keyLocation)
-
keyReleased
default void keyReleased(int keyCode, Keyboard.KeyLocation keyLocation)
-
-