Enum CefKeyboardHandler.CefKeyEvent.EventType

    • Enum Constant Detail

      • KEYEVENT_KEYDOWN

        public static final CefKeyboardHandler.CefKeyEvent.EventType KEYEVENT_KEYDOWN
        Notification that a key was pressed. This does not necessarily correspond to a character depending on the key and language. Use KEYEVENT_CHAR for character input.
      • KEYEVENT_CHAR

        public static final CefKeyboardHandler.CefKeyEvent.EventType KEYEVENT_CHAR
        Notification that a character was typed. Use this for text input. Key down events may generate 0, 1, or more than one character event depending on the key, locale, and operating system.
    • Method Detail

      • values

        public static CefKeyboardHandler.CefKeyEvent.EventType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CefKeyboardHandler.CefKeyEvent.EventType c : CefKeyboardHandler.CefKeyEvent.EventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CefKeyboardHandler.CefKeyEvent.EventType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null