Class CefKeyboardHandler.CefKeyEvent

  • Enclosing interface:
    CefKeyboardHandler

    public static final class CefKeyboardHandler.CefKeyEvent
    extends java.lang.Object
    Structure representing keyboard event information.
    • Field Detail

      • 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.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object