java.lang.Object
java.lang.Enum<Key>
org.highlife.api.input.event.impl.keyboard.awt.Key
All Implemented Interfaces:
Serializable, Comparable<Key>, Constable

public enum Key extends Enum<Key>
  • Enum Constant Details

    • 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
    • ONE

      public static final Key ONE
    • TWO

      public static final Key TWO
    • THREE

      public static final Key THREE
    • FOUR

      public static final Key FOUR
    • FIVE

      public static final Key FIVE
    • SIX

      public static final Key SIX
    • SEVEN

      public static final Key SEVEN
    • EIGHT

      public static final Key EIGHT
    • NINE

      public static final Key NINE
    • ZERO

      public static final Key ZERO
    • ESC

      public static final Key ESC
    • TAB

      public static final Key TAB
    • CAPS

      public static final Key CAPS
    • WINDOWS

      public static final Key WINDOWS
    • CTRL

      public static final Key CTRL
    • ALT

      public static final Key ALT
    • SHIFT

      public static final Key SHIFT
    • SPACE

      public static final Key SPACE
    • BACKSPACE

      public static final Key BACKSPACE
    • ENTER

      public static final Key ENTER
    • DELETE

      public static final Key DELETE
    • MINUS

      public static final Key MINUS
    • EQUALS

      public static final Key EQUALS
    • BACK_QUOTE

      public static final Key BACK_QUOTE
    • OPEN_BRACKET

      public static final Key OPEN_BRACKET
    • CLOSE_BRACKET

      public static final Key CLOSE_BRACKET
    • BACK_SLASH

      public static final Key BACK_SLASH
    • COMMA

      public static final Key COMMA
    • PERIOD

      public static final Key PERIOD
    • FORWARD_SLASH

      public static final Key FORWARD_SLASH
    • SEMICOLON

      public static final Key SEMICOLON
    • SINGLE_QUOTE

      public static final Key SINGLE_QUOTE
    • LEFT

      public static final Key LEFT
    • UP

      public static final Key UP
    • DOWN

      public static final Key DOWN
    • 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
    • TILDE

      public static final Key TILDE
    • EXCLAMATION

      public static final Key EXCLAMATION
    • AT

      public static final Key AT
    • POUND

      public static final Key POUND
    • DOLLAR

      public static final Key DOLLAR
    • PERCENT

      public static final Key PERCENT
    • CARET

      public static final Key CARET
    • AND

      public static final Key AND
    • ASTERISK

      public static final Key ASTERISK
    • LEFT_PAREN

      public static final Key LEFT_PAREN
    • RIGHT_PAREN

      public static final Key RIGHT_PAREN
    • UNDERSCORE

      public static final Key UNDERSCORE
    • PLUS

      public static final Key PLUS
    • OPEN_CURLY_BRACKET

      public static final Key OPEN_CURLY_BRACKET
    • CLOSE_CURLY_BRACKET

      public static final Key CLOSE_CURLY_BRACKET
    • PIPE

      public static final Key PIPE
    • LESS_THAN

      public static final Key LESS_THAN
    • GREATER_THAN

      public static final Key GREATER_THAN
    • QUESTION_MARK

      public static final Key QUESTION_MARK
    • COLON

      public static final Key COLON
    • DOUBLE_QUOTES

      public static final Key DOUBLE_QUOTES
  • 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
    • requiresTyped

      public boolean requiresTyped()
    • isPressed

      public boolean isPressed()
    • markReleased

      public void markReleased()
    • markPressed

      public void markPressed()
    • setLastPressedLocation

      public void setLastPressedLocation(KeyLocation location)
    • getChar

      public char getChar()
    • getForCode

      public static Key getForCode(int code)
    • getForChar

      public static Key getForChar(char character)
    • getKeyCode

      public int getKeyCode()
    • getKeyChar

      public int getKeyChar()
    • getDefaultModifiers

      public int getDefaultModifiers()
    • getDefaultLocation

      public KeyLocation getDefaultLocation()
    • getRawCode

      public int getRawCode()
    • getPrimaryLevelUnicode

      public int getPrimaryLevelUnicode()
    • getExtendedKeyCode

      public int getExtendedKeyCode()
    • getScanCode

      public int getScanCode()
    • getLastPressedLocation

      public KeyLocation getLastPressedLocation()