Package codedraw

Enum Class Key

All Implemented Interfaces:
Serializable, Comparable<Key>, Constable

public enum Key extends Enum<Key>
Represents various keys on the keyboard. The number keys have the prefix N. The numpad keys have the NUMPAD prefix. If the key is not found or unknown the key value UNDEFINED will be used.
  • Enum Constant Details

    • UNDEFINED

      public static final Key UNDEFINED
    • ENTER

      public static final Key ENTER
    • BACK_SPACE

      public static final Key BACK_SPACE
    • TAB

      public static final Key TAB
    • CANCEL

      public static final Key CANCEL
    • CLEAR

      public static final Key CLEAR
    • SHIFT

      public static final Key SHIFT
    • CONTROL

      public static final Key CONTROL
    • ALT

      public static final Key ALT
    • PAUSE

      public static final Key PAUSE
    • CAPS_LOCK

      public static final Key CAPS_LOCK
    • ESCAPE

      public static final Key ESCAPE
    • SPACE

      public static final Key SPACE
    • PAGE_UP

      public static final Key PAGE_UP
    • PAGE_DOWN

      public static final Key PAGE_DOWN
    • END

      public static final Key END
    • HOME

      public static final Key HOME
    • LEFT

      public static final Key LEFT
    • UP

      public static final Key UP
    • DOWN

      public static final Key DOWN
    • COMMA

      public static final Key COMMA
    • MINUS

      public static final Key MINUS
    • PERIOD

      public static final Key PERIOD
    • SLASH

      public static final Key SLASH
    • N0

      public static final Key N0
    • N1

      public static final Key N1
    • N2

      public static final Key N2
    • N3

      public static final Key N3
    • N4

      public static final Key N4
    • N5

      public static final Key N5
    • N6

      public static final Key N6
    • N7

      public static final Key N7
    • N8

      public static final Key N8
    • N9

      public static final Key N9
    • SEMICOLON

      public static final Key SEMICOLON
    • EQUALS

      public static final Key EQUALS
    • 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
    • OPEN_BRACKET

      public static final Key OPEN_BRACKET
    • BACK_SLASH

      public static final Key BACK_SLASH
    • CLOSE_BRACKET

      public static final Key CLOSE_BRACKET
    • NUMPAD0

      public static final Key NUMPAD0
    • NUMPAD1

      public static final Key NUMPAD1
    • NUMPAD2

      public static final Key NUMPAD2
    • NUMPAD3

      public static final Key NUMPAD3
    • NUMPAD4

      public static final Key NUMPAD4
    • NUMPAD5

      public static final Key NUMPAD5
    • NUMPAD6

      public static final Key NUMPAD6
    • NUMPAD7

      public static final Key NUMPAD7
    • NUMPAD8

      public static final Key NUMPAD8
    • NUMPAD9

      public static final Key NUMPAD9
    • MULTIPLY

      public static final Key MULTIPLY
    • ADD

      public static final Key ADD
    • SEPARATOR

      public static final Key SEPARATOR
    • SUBTRACT

      public static final Key SUBTRACT
    • DECIMAL

      public static final Key DECIMAL
    • DIVIDE

      public static final Key DIVIDE
    • DELETE

      public static final Key DELETE
    • NUM_LOCK

      public static final Key NUM_LOCK
    • SCROLL_LOCK

      public static final Key SCROLL_LOCK
    • 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
    • F13

      public static final Key F13
    • F14

      public static final Key F14
    • F15

      public static final Key F15
    • F16

      public static final Key F16
    • F17

      public static final Key F17
    • F18

      public static final Key F18
    • F19

      public static final Key F19
    • F20

      public static final Key F20
    • F21

      public static final Key F21
    • F22

      public static final Key F22
    • F23

      public static final Key F23
    • F24

      public static final Key F24
    • INSERT

      public static final Key INSERT
    • HELP

      public static final Key HELP
    • META

      public static final Key META
    • BACK_QUOTE

      public static final Key BACK_QUOTE
    • QUOTE

      public static final Key QUOTE
    • NUMPAD_UP

      public static final Key NUMPAD_UP
    • NUMPAD_DOWN

      public static final Key NUMPAD_DOWN
    • NUMPAD_LEFT

      public static final Key NUMPAD_LEFT
    • NUMPAD_RIGHT

      public static final Key NUMPAD_RIGHT
    • DEAD_GRAVE

      public static final Key DEAD_GRAVE
    • DEAD_ACUTE

      public static final Key DEAD_ACUTE
    • DEAD_CIRCUMFLEX

      public static final Key DEAD_CIRCUMFLEX
    • DEAD_TILDE

      public static final Key DEAD_TILDE
    • DEAD_MACRON

      public static final Key DEAD_MACRON
    • DEAD_BREVE

      public static final Key DEAD_BREVE
    • DEAD_ABOVE_DOT

      public static final Key DEAD_ABOVE_DOT
    • DEAD_DIAERESIS

      public static final Key DEAD_DIAERESIS
    • DEAD_ABOVE_RING

      public static final Key DEAD_ABOVE_RING
    • DEAD_DOUBLE_ACUTE

      public static final Key DEAD_DOUBLE_ACUTE
    • DEAD_CARON

      public static final Key DEAD_CARON
    • DEAD_CEDILLA

      public static final Key DEAD_CEDILLA
    • DEAD_OGONEK

      public static final Key DEAD_OGONEK
    • DEAD_IOTA

      public static final Key DEAD_IOTA
    • DEAD_VOICED_SOUND

      public static final Key DEAD_VOICED_SOUND
    • DEAD_SEMI_VOICED_SOUND

      public static final Key DEAD_SEMI_VOICED_SOUND
    • AMPERSAND

      public static final Key AMPERSAND
    • ASTERISK

      public static final Key ASTERISK
    • QUOTE_DBL

      public static final Key QUOTE_DBL
    • LESS

      public static final Key LESS
    • GREATER

      public static final Key GREATER
    • BRACE_LEFT

      public static final Key BRACE_LEFT
    • BRACE_RIGHT

      public static final Key BRACE_RIGHT
    • AT

      public static final Key AT
    • COLON

      public static final Key COLON
    • CIRCUMFLEX

      public static final Key CIRCUMFLEX
    • DOLLAR

      public static final Key DOLLAR
    • EURO_SIGN

      public static final Key EURO_SIGN
    • EXCLAMATION_MARK

      public static final Key EXCLAMATION_MARK
    • INVERTED_EXCLAMATION_MARK

      public static final Key INVERTED_EXCLAMATION_MARK
    • LEFT_PARENTHESIS

      public static final Key LEFT_PARENTHESIS
    • NUMBER_SIGN

      public static final Key NUMBER_SIGN
    • PLUS

      public static final Key PLUS
    • RIGHT_PARENTHESIS

      public static final Key RIGHT_PARENTHESIS
    • UNDERSCORE

      public static final Key UNDERSCORE
    • WINDOWS

      public static final Key WINDOWS
    • CONTEXT_MENU

      public static final Key CONTEXT_MENU
    • FINAL

      public static final Key FINAL
    • CONVERT

      public static final Key CONVERT
    • NON_CONVERT

      public static final Key NON_CONVERT
    • ACCEPT

      public static final Key ACCEPT
    • MODE_CHANGE

      public static final Key MODE_CHANGE
    • KANA

      public static final Key KANA
    • KANJI

      public static final Key KANJI
    • ALPHANUMERIC

      public static final Key ALPHANUMERIC
    • KATAKANA

      public static final Key KATAKANA
    • HIRAGANA

      public static final Key HIRAGANA
    • FULL_WIDTH

      public static final Key FULL_WIDTH
    • HALF_WIDTH

      public static final Key HALF_WIDTH
    • ROMAN_CHARACTERS

      public static final Key ROMAN_CHARACTERS
    • ALL_CANDIDATES

      public static final Key ALL_CANDIDATES
    • PREVIOUS_CANDIDATE

      public static final Key PREVIOUS_CANDIDATE
    • CODE_INPUT

      public static final Key CODE_INPUT
    • JAPANESE_KATAKANA

      public static final Key JAPANESE_KATAKANA
    • JAPANESE_HIRAGANA

      public static final Key JAPANESE_HIRAGANA
    • JAPANESE_ROMAN

      public static final Key JAPANESE_ROMAN
    • KANA_LOCK

      public static final Key KANA_LOCK
    • INPUT_METHOD_ON_OFF

      public static final Key INPUT_METHOD_ON_OFF
    • CUT

      public static final Key CUT
    • COPY

      public static final Key COPY
    • PASTE

      public static final Key PASTE
    • UNDO

      public static final Key UNDO
    • AGAIN

      public static final Key AGAIN
    • FIND

      public static final Key FIND
    • PROPS

      public static final Key PROPS
    • STOP

      public static final Key STOP
    • COMPOSE

      public static final Key COMPOSE
    • ALT_GRAPH

      public static final Key ALT_GRAPH
    • BEGIN

      public static final Key BEGIN
  • Method Details

    • values

      public static Key[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Key valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null