Package com.teamdev.jxbrowser.ui.event
Interface KeyTyped
- All Superinterfaces:
KeyEvent
An event indicating that a keyboard character key has been typed.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault charkeyChar()Returns the character corresponding to the typed key.default KeyCodekeyCode()Returns the code of the key.default KeyLocationReturns the location of the key on the keyboard.default KeyModifiersReturns the keyboard modifiers applied.static KeyTyped.BuildernewBuilder(KeyCode keyCode) Creates a newKeyTypedbuilder with the given required parameters.
-
Method Details
-
newBuilder
Creates a newKeyTypedbuilder with the given required parameters.- Parameters:
keyCode- the code of the key- Returns:
- a new
KeyTyped.Builderinstance
-
keyCode
Description copied from interface:KeyEventReturns the code of the key. -
keyModifiers
Description copied from interface:KeyEventReturns the keyboard modifiers applied.- Specified by:
keyModifiersin interfaceKeyEvent
-
keyLocation
Description copied from interface:KeyEventReturns the location of the key on the keyboard.- Specified by:
keyLocationin interfaceKeyEvent
-
keyChar
default char keyChar()Returns the character corresponding to the typed key.
-