Enum Class Keys

java.lang.Object
java.lang.Enum<Keys>
com.levigo.jadice.web.client.util.action.Keys
All Implemented Interfaces:
Key, Serializable, Comparable<Keys>, Constable

public enum Keys extends Enum<Keys> implements Key
Provides access to a large number of predefined Keys. Please note that this collection contains even more Keys than provided in KeyCodes.
  • Enum Constant Details

    • ACCENT

      public static final Keys ACCENT
    • BACKSPACE

      public static final Keys BACKSPACE
    • CAPS_LOCK

      public static final Keys CAPS_LOCK
    • CIRCUMFLEX

      public static final Keys CIRCUMFLEX
    • COMMA

      public static final Keys COMMA
    • MINUS

      public static final Keys MINUS
    • DELETE

      public static final Keys DELETE
    • DOT

      public static final Keys DOT
    • DOWN

      public static final Keys DOWN
    • END

      public static final Keys END
    • ENTER

      public static final Keys ENTER
    • ESCAPE

      public static final Keys ESCAPE
    • GREATER

      public static final Keys GREATER
    • HASH

      public static final Keys HASH
    • HOME

      public static final Keys HOME
    • INSERT

      public static final Keys INSERT
    • LEFT

      public static final Keys LEFT
    • NUMLOCK

      public static final Keys NUMLOCK
    • NUM_ZERO

      public static final Keys NUM_ZERO
    • NUM_ONE

      public static final Keys NUM_ONE
    • NUM_TWO

      public static final Keys NUM_TWO
    • NUM_THREE

      public static final Keys NUM_THREE
    • NUM_FOUR

      public static final Keys NUM_FOUR
    • NUM_FIVE

      public static final Keys NUM_FIVE
    • NUM_SIX

      public static final Keys NUM_SIX
    • NUM_SEVEN

      public static final Keys NUM_SEVEN
    • NUM_EIGHT

      public static final Keys NUM_EIGHT
    • NUM_NINE

      public static final Keys NUM_NINE
    • NUM_DIVISION

      public static final Keys NUM_DIVISION
    • NUM_MULTIPLY

      public static final Keys NUM_MULTIPLY
    • NUMCOMMA

      public static final Keys NUMCOMMA
    • NUM_PLUS

      public static final Keys NUM_PLUS
    • NUM_MINUS

      public static final Keys NUM_MINUS
    • PAGEDOWN

      public static final Keys PAGEDOWN
    • PAGEUP

      public static final Keys PAGEUP
    • PAUSE

      public static final Keys PAUSE
    • PLUS

      public static final Keys PLUS
    • QUESTIONMARK

      public static final Keys QUESTIONMARK
    • SCROLL_LOCK

      public static final Keys SCROLL_LOCK
    • SPACE

      public static final Keys SPACE
    • TAB

      public static final Keys TAB
    • UP

      public static final Keys UP
    • WIN_KEY_RIGHT

      public static final Keys WIN_KEY_RIGHT
    • WIN_KEY_LEFT_META

      public static final Keys WIN_KEY_LEFT_META
    • F1

      public static final Keys F1
    • F2

      public static final Keys F2
    • F3

      public static final Keys F3
    • F4

      public static final Keys F4
    • F5

      public static final Keys F5
    • F6

      public static final Keys F6
    • F7

      public static final Keys F7
    • F8

      public static final Keys F8
    • F9

      public static final Keys F9
    • F10

      public static final Keys F10
    • F11

      public static final Keys F11
    • F12

      public static final Keys F12
    • ZERO

      public static final Keys ZERO
    • ONE

      public static final Keys ONE
    • TWO

      public static final Keys TWO
    • THREE

      public static final Keys THREE
    • FOUR

      public static final Keys FOUR
    • FIVE

      public static final Keys FIVE
    • SIX

      public static final Keys SIX
    • SEVEN

      public static final Keys SEVEN
    • EIGHT

      public static final Keys EIGHT
    • NINE

      public static final Keys NINE
    • A

      public static final Keys A
    • B

      public static final Keys B
    • C

      public static final Keys C
    • D

      public static final Keys D
    • E

      public static final Keys E
    • F

      public static final Keys F
    • G

      public static final Keys G
    • H

      public static final Keys H
    • I

      public static final Keys I
    • J

      public static final Keys J
    • K

      public static final Keys K
    • L

      public static final Keys L
    • M

      public static final Keys M
    • N

      public static final Keys N
    • O

      public static final Keys O
    • P

      public static final Keys P
    • Q

      public static final Keys Q
    • R

      public static final Keys R
    • S

      public static final Keys S
    • T

      public static final Keys T
    • U

      public static final Keys U
    • V

      public static final Keys V
    • W

      public static final Keys W
    • X

      public static final Keys X
    • Y

      public static final Keys Y
    • Z

      public static final Keys Z
  • Method Details

    • values

      public static Keys[] 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 Keys 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
    • getStringRepresentaition

      public String getStringRepresentaition()
      Description copied from interface: Key
      Returns the string representation of the key.
      Specified by:
      getStringRepresentaition in interface Key
      Returns:
      the string representation
    • getKeys

      public static Keys getKeys(String name)
    • getKeyByKeycode

      public static Keys getKeyByKeycode(int keyCode)
    • getNativeKeyCode

      public int getNativeKeyCode()
      Description copied from interface: Key
      Returns the native key code of the key
      Specified by:
      getNativeKeyCode in interface Key
      Returns:
      the native key code