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
-
Method Summary
Modifier and TypeMethodDescriptiondefault char
keyChar()
Returns the character corresponding to the typed key.default KeyCode
keyCode()
Returns the code of the key.default KeyLocation
Returns the location of the key on the keyboard.default KeyModifiers
Returns the keyboard modifiers applied.static KeyTyped.Builder
newBuilder
(KeyCode keyCode) Creates a newKeyTyped
builder with the given required parameters.
-
Method Details
-
newBuilder
Creates a newKeyTyped
builder with the given required parameters.- Parameters:
keyCode
- the code of the key- Returns:
- a new
KeyTyped.Builder
instance
-
keyCode
Description copied from interface:KeyEvent
Returns the code of the key. -
keyModifiers
Description copied from interface:KeyEvent
Returns the keyboard modifiers applied.- Specified by:
keyModifiers
in interfaceKeyEvent
-
keyLocation
Description copied from interface:KeyEvent
Returns the location of the key on the keyboard.- Specified by:
keyLocation
in interfaceKeyEvent
-
keyChar
default char keyChar()Returns the character corresponding to the typed key.
-