Enum Key

    • Enum Constant Detail

      • A

        public static final Key A
      • B

        public static final Key B
      • C

        public static final Key C
      • D

        public static final Key D
      • E

        public static final Key E
      • F

        public static final Key F
      • G

        public static final Key G
      • H

        public static final Key H
      • I

        public static final Key I
      • J

        public static final Key J
      • K

        public static final Key K
      • L

        public static final Key L
      • M

        public static final Key M
      • N

        public static final Key N
      • O

        public static final Key O
      • P

        public static final Key P
      • Q

        public static final Key Q
      • R

        public static final Key R
      • S

        public static final Key S
      • T

        public static final Key T
      • U

        public static final Key U
      • V

        public static final Key V
      • W

        public static final Key W
      • X

        public static final Key X
      • Y

        public static final Key Y
      • Z

        public static final Key Z
      • AE

        public static final Key AE
      • OE

        public static final Key OE
      • UE

        public static final Key UE
      • NUMBER_0

        public static final Key NUMBER_0
      • NUMBER_1

        public static final Key NUMBER_1
      • NUMBER_2

        public static final Key NUMBER_2
      • NUMBER_3

        public static final Key NUMBER_3
      • NUMBER_4

        public static final Key NUMBER_4
      • NUMBER_5

        public static final Key NUMBER_5
      • NUMBER_6

        public static final Key NUMBER_6
      • NUMBER_7

        public static final Key NUMBER_7
      • NUMBER_8

        public static final Key NUMBER_8
      • NUMBER_9

        public static final Key NUMBER_9
      • NUMBERPAD_0

        public static final Key NUMBERPAD_0
      • NUMBERPAD_1

        public static final Key NUMBERPAD_1
      • NUMBERPAD_2

        public static final Key NUMBERPAD_2
      • NUMBERPAD_3

        public static final Key NUMBERPAD_3
      • NUMBERPAD_4

        public static final Key NUMBERPAD_4
      • NUMBERPAD_5

        public static final Key NUMBERPAD_5
      • NUMBERPAD_6

        public static final Key NUMBERPAD_6
      • NUMBERPAD_7

        public static final Key NUMBERPAD_7
      • NUMBERPAD_8

        public static final Key NUMBERPAD_8
      • NUMBERPAD_9

        public static final Key NUMBERPAD_9
      • F1

        public static final Key F1
      • F2

        public static final Key F2
      • F3

        public static final Key F3
      • F4

        public static final Key F4
      • F5

        public static final Key F5
      • F6

        public static final Key F6
      • F7

        public static final Key F7
      • F8

        public static final Key F8
      • F9

        public static final Key F9
      • F10

        public static final Key F10
      • F11

        public static final Key F11
      • F12

        public static final Key F12
      • ARROW_UP

        public static final Key ARROW_UP
      • ARROW_DOWN

        public static final Key ARROW_DOWN
      • ARROW_LEFT

        public static final Key ARROW_LEFT
      • ARROW_RIGHT

        public static final Key ARROW_RIGHT
      • ALTERNATIVE

        public static final Key ALTERNATIVE
      • BACKSPACE

        public static final Key BACKSPACE
      • BREAK

        public static final Key BREAK
      • CAPS_LOCK

        public static final Key CAPS_LOCK
      • COMMA

        public static final Key COMMA
      • CONTROL

        public static final Key CONTROL
      • DELETE

        public static final Key DELETE
      • DOLLAR_SYMBOL

        public static final Key DOLLAR_SYMBOL
      • DOT

        public static final Key DOT
      • END

        public static final Key END
      • ENTER

        public static final Key ENTER
      • ESCAPE

        public static final Key ESCAPE
      • EXCLAMATION_MARK

        public static final Key EXCLAMATION_MARK
      • GRADE_SYMBOL

        public static final Key GRADE_SYMBOL
      • GRAVIS

        public static final Key GRAVIS
      • HOME

        public static final Key HOME
      • HYPHEN

        public static final Key HYPHEN
      • INSERT

        public static final Key INSERT
      • MENU

        public static final Key MENU
      • NUMBER_LOCK

        public static final Key NUMBER_LOCK
      • PAGE_DOWN

        public static final Key PAGE_DOWN
      • PAGE_UP

        public static final Key PAGE_UP
      • PRINT_SCREEN

        public static final Key PRINT_SCREEN
      • QUESTION_MARK

        public static final Key QUESTION_MARK
      • RELATIONS

        public static final Key RELATIONS
      • SCROLL_LOCK

        public static final Key SCROLL_LOCK
      • SHIFT

        public static final Key SHIFT
      • SPACE

        public static final Key SPACE
      • TABULATOR

        public static final Key TABULATOR
      • WINDOWS

        public static final Key WINDOWS
    • Method Detail

      • values

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

        public static Key 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
      • fromAWTKeyEvent

        public static Key fromAWTKeyEvent​(java.awt.event.KeyEvent keyEvent)
      • fromCharacter

        public static Key fromCharacter​(char character)
      • fromSpecification

        public static Key fromSpecification​(BaseNode specification)
      • isCharacter

        public boolean isCharacter()
      • isLetter

        public boolean isLetter()
      • isNumber

        public boolean isNumber()
      • isOnNumberPad

        public boolean isOnNumberPad()
      • toLowerCaseChar

        public char toLowerCaseChar()
      • toUpperCaseChar

        public char toUpperCaseChar()