Module org.htmlunit

Interface Keyboard.KeyAction

All Known Implementing Classes:
Keyboard.CharKeyAction, Keyboard.KeyCodeAction, Keyboard.KeyCodeKeyAction, Keyboard.TypedChar
Enclosing class:
Keyboard

public static sealed interface Keyboard.KeyAction permits Keyboard.TypedChar, Keyboard.KeyCodeAction, Keyboard.CharKeyAction, Keyboard.KeyCodeKeyAction
Represents a single keyboard input action.

A KeyAction is either a typed character (Keyboard.TypedChar), a key-code press or release (Keyboard.KeyCodeAction) or a single key down or key up of a character (Keyboard.CharKeyAction) or a key code (Keyboard.KeyCodeKeyAction).