Package org.cef.handler
Class CefKeyboardHandler.CefKeyEvent
- java.lang.Object
-
- org.cef.handler.CefKeyboardHandler.CefKeyEvent
-
- Enclosing interface:
- CefKeyboardHandler
public static final class CefKeyboardHandler.CefKeyEvent extends java.lang.Object
Structure representing keyboard event information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CefKeyboardHandler.CefKeyEvent.EventType
Key event types.
-
Field Summary
Fields Modifier and Type Field Description char
character
The character generated by the keystroke.boolean
focus_on_editable_field
True if the focus is currently on an editable field on the page.boolean
is_system_key
Indicates whether the event is considered a "system key" event (see http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details).int
modifiers
Bit flags describing any pressed modifier keys.int
native_key_code
The actual key code genenerated by the platform.CefKeyboardHandler.CefKeyEvent.EventType
type
The type of keyboard event.char
unmodified_character
Same as character but unmodified by any concurrently-held modifiers (except shift).int
windows_key_code
The Windows key code for the key event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
type
public final CefKeyboardHandler.CefKeyEvent.EventType type
The type of keyboard event.
-
modifiers
public final int modifiers
Bit flags describing any pressed modifier keys.- See Also:
for values.
-
windows_key_code
public final int windows_key_code
The Windows key code for the key event. This value is used by the DOM specification. Sometimes it comes directly from the event (i.e. on Windows) and sometimes it's determined using a mapping function. See WebCore/platform/chromium/KeyboardCodes.h for the list of values.
-
native_key_code
public final int native_key_code
The actual key code genenerated by the platform.
-
is_system_key
public final boolean is_system_key
Indicates whether the event is considered a "system key" event (see http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details). This value will always be false on non-Windows platforms.
-
character
public final char character
The character generated by the keystroke.
-
unmodified_character
public final char unmodified_character
Same as character but unmodified by any concurrently-held modifiers (except shift). This is useful for working out shortcut keys.
-
focus_on_editable_field
public final boolean focus_on_editable_field
True if the focus is currently on an editable field on the page. This is useful for determining if standard key events should be intercepted.
-
-