Enum KeyboardEditingKey

    • Enum Constant Detail

      • BACKSPACE

        public static final KeyboardEditingKey BACKSPACE
        The Backspace key. This key is labeled Delete onMac keyboards.
      • CLEAR

        public static final KeyboardEditingKey CLEAR
        The Clear key. Removes the currently selected input.
      • COPY

        public static final KeyboardEditingKey COPY
        The Copy key (on certain extended keyboards).
      • CURSOR_SELECT

        public static final KeyboardEditingKey CURSOR_SELECT
        The Cursor Select key, CrSel.
      • CUT

        public static final KeyboardEditingKey CUT
        The Cut key (on certain extended keyboards).
      • ERASE_EOF

        public static final KeyboardEditingKey ERASE_EOF
        Erase to End of Field. Deletes all characters from the current cursor position to the end of the current field.
      • EXTEND_SELECTION

        public static final KeyboardEditingKey EXTEND_SELECTION
        The ExSel (Extend Selection) key.
      • INSERT

        public static final KeyboardEditingKey INSERT
        The Insert key, Ins. Toggles between inserting and overwriting text.
    • Method Detail

      • values

        public static KeyboardEditingKey[] 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 (KeyboardEditingKey c : KeyboardEditingKey.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeyboardEditingKey valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property