Enum Class SwtKey

java.lang.Object
java.lang.Enum<SwtKey>
com.ardor3d.input.swt.SwtKey
All Implemented Interfaces:
Serializable, Comparable<SwtKey>, Constable

public enum SwtKey extends Enum<SwtKey>
Enumeration for use in converting between SWT key codes and Ardor3d Keys.
  • Enum Constant Details

    • SWT_ESCAPE

      public static final SwtKey SWT_ESCAPE
    • SWT_1

      public static final SwtKey SWT_1
    • SWT_2

      public static final SwtKey SWT_2
    • SWT_3

      public static final SwtKey SWT_3
    • SWT_4

      public static final SwtKey SWT_4
    • SWT_5

      public static final SwtKey SWT_5
    • SWT_6

      public static final SwtKey SWT_6
    • SWT_7

      public static final SwtKey SWT_7
    • SWT_8

      public static final SwtKey SWT_8
    • SWT_9

      public static final SwtKey SWT_9
    • SWT_0

      public static final SwtKey SWT_0
    • SWT_MINUS

      public static final SwtKey SWT_MINUS
    • SWT_EQUALS

      public static final SwtKey SWT_EQUALS
    • SWT_BACK

      public static final SwtKey SWT_BACK
    • SWT_TAB

      public static final SwtKey SWT_TAB
    • SWT_Q

      public static final SwtKey SWT_Q
    • SWT_W

      public static final SwtKey SWT_W
    • SWT_E

      public static final SwtKey SWT_E
    • SWT_R

      public static final SwtKey SWT_R
    • SWT_T

      public static final SwtKey SWT_T
    • SWT_Y

      public static final SwtKey SWT_Y
    • SWT_U

      public static final SwtKey SWT_U
    • SWT_I

      public static final SwtKey SWT_I
    • SWT_O

      public static final SwtKey SWT_O
    • SWT_P

      public static final SwtKey SWT_P
    • SWT_LBRACKET

      public static final SwtKey SWT_LBRACKET
    • SWT_RBRACKET

      public static final SwtKey SWT_RBRACKET
    • SWT_RETURN

      public static final SwtKey SWT_RETURN
    • SWT_LCONTROL

      public static final SwtKey SWT_LCONTROL
    • SWT_A

      public static final SwtKey SWT_A
    • SWT_S

      public static final SwtKey SWT_S
    • SWT_D

      public static final SwtKey SWT_D
    • SWT_F

      public static final SwtKey SWT_F
    • SWT_G

      public static final SwtKey SWT_G
    • SWT_H

      public static final SwtKey SWT_H
    • SWT_J

      public static final SwtKey SWT_J
    • SWT_K

      public static final SwtKey SWT_K
    • SWT_L

      public static final SwtKey SWT_L
    • SWT_SEMICOLON

      public static final SwtKey SWT_SEMICOLON
    • SWT_APOSTROPHE

      public static final SwtKey SWT_APOSTROPHE
    • SWT_GRAVE

      public static final SwtKey SWT_GRAVE
    • SWT_LSHIFT

      public static final SwtKey SWT_LSHIFT
    • SWT_BACKSLASH

      public static final SwtKey SWT_BACKSLASH
    • SWT_Z

      public static final SwtKey SWT_Z
    • SWT_X

      public static final SwtKey SWT_X
    • SWT_C

      public static final SwtKey SWT_C
    • SWT_V

      public static final SwtKey SWT_V
    • SWT_B

      public static final SwtKey SWT_B
    • SWT_N

      public static final SwtKey SWT_N
    • SWT_M

      public static final SwtKey SWT_M
    • SWT_COMMA

      public static final SwtKey SWT_COMMA
    • SWT_PERIOD

      public static final SwtKey SWT_PERIOD
    • SWT_SLASH

      public static final SwtKey SWT_SLASH
    • SWT_MULTIPLY

      public static final SwtKey SWT_MULTIPLY
    • SWT_SPACE

      public static final SwtKey SWT_SPACE
    • SWT_CAPITAL

      public static final SwtKey SWT_CAPITAL
    • SWT_F1

      public static final SwtKey SWT_F1
    • SWT_F2

      public static final SwtKey SWT_F2
    • SWT_F3

      public static final SwtKey SWT_F3
    • SWT_F4

      public static final SwtKey SWT_F4
    • SWT_F5

      public static final SwtKey SWT_F5
    • SWT_F6

      public static final SwtKey SWT_F6
    • SWT_F7

      public static final SwtKey SWT_F7
    • SWT_F8

      public static final SwtKey SWT_F8
    • SWT_F9

      public static final SwtKey SWT_F9
    • SWT_F10

      public static final SwtKey SWT_F10
    • SWT_NUMLOCK

      public static final SwtKey SWT_NUMLOCK
    • SWT_SCROLL

      public static final SwtKey SWT_SCROLL
    • SWT_NUMPAD7

      public static final SwtKey SWT_NUMPAD7
    • SWT_NUMPAD8

      public static final SwtKey SWT_NUMPAD8
    • SWT_NUMPAD9

      public static final SwtKey SWT_NUMPAD9
    • SWT_NUMPAD4

      public static final SwtKey SWT_NUMPAD4
    • SWT_NUMPAD5

      public static final SwtKey SWT_NUMPAD5
    • SWT_NUMPAD6

      public static final SwtKey SWT_NUMPAD6
    • SWT_ADD

      public static final SwtKey SWT_ADD
    • SWT_NUMPAD1

      public static final SwtKey SWT_NUMPAD1
    • SWT_NUMPAD2

      public static final SwtKey SWT_NUMPAD2
    • SWT_NUMPAD3

      public static final SwtKey SWT_NUMPAD3
    • SWT_NUMPAD0

      public static final SwtKey SWT_NUMPAD0
    • SWT_DECIMAL

      public static final SwtKey SWT_DECIMAL
    • SWT_F11

      public static final SwtKey SWT_F11
    • SWT_F12

      public static final SwtKey SWT_F12
    • SWT_F13

      public static final SwtKey SWT_F13
    • SWT_F14

      public static final SwtKey SWT_F14
    • SWT_F15

      public static final SwtKey SWT_F15
    • SWT_AT

      public static final SwtKey SWT_AT
    • SWT_COLON

      public static final SwtKey SWT_COLON
    • SWT_UNDERLINE

      public static final SwtKey SWT_UNDERLINE
    • SWT_DIVIDE

      public static final SwtKey SWT_DIVIDE
    • SWT_PAUSE

      public static final SwtKey SWT_PAUSE
    • SWT_HOME

      public static final SwtKey SWT_HOME
    • SWT_UP

      public static final SwtKey SWT_UP
    • SWT_PAGEUP_PRIOR

      public static final SwtKey SWT_PAGEUP_PRIOR
    • SWT_LEFT

      public static final SwtKey SWT_LEFT
    • SWT_RIGHT

      public static final SwtKey SWT_RIGHT
    • SWT_END

      public static final SwtKey SWT_END
    • SWT_DOWN

      public static final SwtKey SWT_DOWN
    • SWT_PAGEDOWN_NEXT

      public static final SwtKey SWT_PAGEDOWN_NEXT
    • SWT_INSERT

      public static final SwtKey SWT_INSERT
    • SWT_DELETE

      public static final SwtKey SWT_DELETE
    • SWT_NUMPADADD

      public static final SwtKey SWT_NUMPADADD
    • SWT_NUMPADSUB

      public static final SwtKey SWT_NUMPADSUB
    • SWT_NUMPADMULTIPLY

      public static final SwtKey SWT_NUMPADMULTIPLY
    • SWT_NUMPADDIVIDE

      public static final SwtKey SWT_NUMPADDIVIDE
    • SWT_NUMPADENTER

      public static final SwtKey SWT_NUMPADENTER
    • SWT_LMENU

      public static final SwtKey SWT_LMENU
    • SWT_COMMAND

      public static final SwtKey SWT_COMMAND
    • SWT_SYSRQ

      public static final SwtKey SWT_SYSRQ
  • Method Details

    • values

      public static SwtKey[] 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 SwtKey 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
    • findByCode

      public static Key findByCode(int swtCode)