Package com.openinventor.inventor.events
Enum SoKeyboardEvent.Keys
- java.lang.Object
-
- java.lang.Enum<SoKeyboardEvent.Keys>
-
- com.openinventor.inventor.events.SoKeyboardEvent.Keys
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoKeyboardEvent.Keys>
- Enclosing class:
- SoKeyboardEvent
public static enum SoKeyboardEvent.Keys extends java.lang.Enum<SoKeyboardEvent.Keys> implements IntegerValuedEnum
The keyboard keys.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A
A.ANY
Special constant for any key.APOSTROPHE
Apostrophe.B
B.BACKSLASH
Back slash.BACKSPACE
Backspace.BRACKETLEFT
Bracket left.BRACKETRIGHT
Bracket right.C
C.CAPS_LOCK
Caps lock.COMMA
Comma.D
D.DOWN_ARROW
Down.E
E.END
End.ENTER
Enter.EQUAL
Equal.ESCAPE
Escape.F
F.F1
F1.F10
F10.F11
F11.F12
F12.F2
F2.F3
F3.F4
F4.F5
F5.F6
F6.F7
F7.F8
F8.F9
F9.G
G.GRAVE
Grave.H
H.HOME
Home.I
I.INSERT
Insert.J
J.K
K.KEY_DELETE
Delete.L
L.LEFT_ALT
Left alt.LEFT_ARROW
Left.LEFT_CONTROL
Left control.LEFT_META
Left Windows Logo key also known as Super_L.LEFT_SHIFT
Left shift.M
M.MINUS
Minus.N
N.NEXT
Next.NUM_LOCK
Num lock.NUMBER_0
0NUMBER_1
1NUMBER_2
2NUMBER_3
3NUMBER_4
4NUMBER_5
5NUMBER_6
6NUMBER_7
7NUMBER_8
8NUMBER_9
9O
O.P
P.PAD_0
Pad 0.PAD_1
Pad 1.PAD_2
Pad 2.PAD_3
Pad 3.PAD_4
Pad 4.PAD_5
Pad 5.PAD_6
Pad 6.PAD_7
Pad 7.PAD_8
Pad 8.PAD_9
Pad 9.PAD_ADD
Pad add.PAD_DELETE
Pad delete.PAD_DIVIDE
Pad divide.PAD_ENTER
Pad enter.PAD_F1
Pad F1.PAD_F2
Pad F2.PAD_F3
Pad F3.PAD_F4
Pad F4.PAD_INSERT
Pad insert.PAD_MULTIPLY
Pad multiply.PAD_PERIOD
Pad period.PAD_SPACE
Pad space.PAD_SUBTRACT
Pad substract.PAD_TAB
Pad tab.PAGE_DOWN
Page down.PAGE_UP
Page up.PAUSE
Pause.PERIOD
Period.PRINT
Print.PRIOR
Prior.Q
Q.R
R.RETURN
Return.RIGHT_ALT
Right alt.RIGHT_ARROW
Right.RIGHT_CONTROL
Right control.RIGHT_META
Right Windows Logo key also known as Super_R.RIGHT_SHIFT
Right shift.S
S.SCROLL_LOCK
Scroll lock.SEMICOLON
Semicolon.SHIFT_LOCK
Shift lock.SLASH
Slash.SPACE
Space.T
T.TAB
Tab.TILDE
Tilde key.TWO_SUPERIOR
Power of two key.U
U.UP_ARROW
Up.V
V.W
W.X
X.Y
Y.Z
Z.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoKeyboardEvent.Keys
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoKeyboardEvent.Keys
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoKeyboardEvent.Keys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final SoKeyboardEvent.Keys ANY
Special constant for any key.
-
LEFT_SHIFT
public static final SoKeyboardEvent.Keys LEFT_SHIFT
Left shift.
-
RIGHT_SHIFT
public static final SoKeyboardEvent.Keys RIGHT_SHIFT
Right shift.
-
LEFT_CONTROL
public static final SoKeyboardEvent.Keys LEFT_CONTROL
Left control.
-
RIGHT_CONTROL
public static final SoKeyboardEvent.Keys RIGHT_CONTROL
Right control.
-
LEFT_ALT
public static final SoKeyboardEvent.Keys LEFT_ALT
Left alt.
-
RIGHT_ALT
public static final SoKeyboardEvent.Keys RIGHT_ALT
Right alt.
-
LEFT_META
public static final SoKeyboardEvent.Keys LEFT_META
Left Windows Logo key also known as Super_L. On Mac OSX, it is mapped to the Left Control key. On Windows, it is mapped to the Left Windows key.
-
RIGHT_META
public static final SoKeyboardEvent.Keys RIGHT_META
Right Windows Logo key also known as Super_R. On Mac OSX, it is mapped to the Right Control key. On Windows, it is mapped to the Right Windows key. Using Qt, this value cannot be obtained (because Qt produces the same code for left and right keys).
-
NUMBER_0
public static final SoKeyboardEvent.Keys NUMBER_0
0
-
NUMBER_1
public static final SoKeyboardEvent.Keys NUMBER_1
1
-
NUMBER_2
public static final SoKeyboardEvent.Keys NUMBER_2
2
-
NUMBER_3
public static final SoKeyboardEvent.Keys NUMBER_3
3
-
NUMBER_4
public static final SoKeyboardEvent.Keys NUMBER_4
4
-
NUMBER_5
public static final SoKeyboardEvent.Keys NUMBER_5
5
-
NUMBER_6
public static final SoKeyboardEvent.Keys NUMBER_6
6
-
NUMBER_7
public static final SoKeyboardEvent.Keys NUMBER_7
7
-
NUMBER_8
public static final SoKeyboardEvent.Keys NUMBER_8
8
-
NUMBER_9
public static final SoKeyboardEvent.Keys NUMBER_9
9
-
A
public static final SoKeyboardEvent.Keys A
A.
-
B
public static final SoKeyboardEvent.Keys B
B.
-
C
public static final SoKeyboardEvent.Keys C
C.
-
D
public static final SoKeyboardEvent.Keys D
D.
-
E
public static final SoKeyboardEvent.Keys E
E.
-
F
public static final SoKeyboardEvent.Keys F
F.
-
G
public static final SoKeyboardEvent.Keys G
G.
-
H
public static final SoKeyboardEvent.Keys H
H.
-
I
public static final SoKeyboardEvent.Keys I
I.
-
J
public static final SoKeyboardEvent.Keys J
J.
-
K
public static final SoKeyboardEvent.Keys K
K.
-
L
public static final SoKeyboardEvent.Keys L
L.
-
M
public static final SoKeyboardEvent.Keys M
M.
-
N
public static final SoKeyboardEvent.Keys N
N.
-
O
public static final SoKeyboardEvent.Keys O
O.
-
P
public static final SoKeyboardEvent.Keys P
P.
-
Q
public static final SoKeyboardEvent.Keys Q
Q.
-
R
public static final SoKeyboardEvent.Keys R
R.
-
S
public static final SoKeyboardEvent.Keys S
S.
-
T
public static final SoKeyboardEvent.Keys T
T.
-
U
public static final SoKeyboardEvent.Keys U
U.
-
V
public static final SoKeyboardEvent.Keys V
V.
-
W
public static final SoKeyboardEvent.Keys W
W.
-
X
public static final SoKeyboardEvent.Keys X
X.
-
Y
public static final SoKeyboardEvent.Keys Y
Y.
-
Z
public static final SoKeyboardEvent.Keys Z
Z.
-
HOME
public static final SoKeyboardEvent.Keys HOME
Home.
-
LEFT_ARROW
public static final SoKeyboardEvent.Keys LEFT_ARROW
Left.
-
UP_ARROW
public static final SoKeyboardEvent.Keys UP_ARROW
Up.
-
RIGHT_ARROW
public static final SoKeyboardEvent.Keys RIGHT_ARROW
Right.
-
DOWN_ARROW
public static final SoKeyboardEvent.Keys DOWN_ARROW
Down.
-
PAGE_UP
public static final SoKeyboardEvent.Keys PAGE_UP
Page up.
-
PAGE_DOWN
public static final SoKeyboardEvent.Keys PAGE_DOWN
Page down.
-
PRIOR
public static final SoKeyboardEvent.Keys PRIOR
Prior.
-
NEXT
public static final SoKeyboardEvent.Keys NEXT
Next.
-
END
public static final SoKeyboardEvent.Keys END
End.
-
PAD_ENTER
public static final SoKeyboardEvent.Keys PAD_ENTER
Pad enter.
-
PAD_F1
public static final SoKeyboardEvent.Keys PAD_F1
Pad F1.
-
PAD_F2
public static final SoKeyboardEvent.Keys PAD_F2
Pad F2.
-
PAD_F3
public static final SoKeyboardEvent.Keys PAD_F3
Pad F3.
-
PAD_F4
public static final SoKeyboardEvent.Keys PAD_F4
Pad F4.
-
PAD_0
public static final SoKeyboardEvent.Keys PAD_0
Pad 0.
-
PAD_1
public static final SoKeyboardEvent.Keys PAD_1
Pad 1.
-
PAD_2
public static final SoKeyboardEvent.Keys PAD_2
Pad 2.
-
PAD_3
public static final SoKeyboardEvent.Keys PAD_3
Pad 3.
-
PAD_4
public static final SoKeyboardEvent.Keys PAD_4
Pad 4.
-
PAD_5
public static final SoKeyboardEvent.Keys PAD_5
Pad 5.
-
PAD_6
public static final SoKeyboardEvent.Keys PAD_6
Pad 6.
-
PAD_7
public static final SoKeyboardEvent.Keys PAD_7
Pad 7.
-
PAD_8
public static final SoKeyboardEvent.Keys PAD_8
Pad 8.
-
PAD_9
public static final SoKeyboardEvent.Keys PAD_9
Pad 9.
-
PAD_ADD
public static final SoKeyboardEvent.Keys PAD_ADD
Pad add.
-
PAD_SUBTRACT
public static final SoKeyboardEvent.Keys PAD_SUBTRACT
Pad substract.
-
PAD_MULTIPLY
public static final SoKeyboardEvent.Keys PAD_MULTIPLY
Pad multiply.
-
PAD_DIVIDE
public static final SoKeyboardEvent.Keys PAD_DIVIDE
Pad divide.
-
PAD_SPACE
public static final SoKeyboardEvent.Keys PAD_SPACE
Pad space.
-
PAD_TAB
public static final SoKeyboardEvent.Keys PAD_TAB
Pad tab.
-
PAD_INSERT
public static final SoKeyboardEvent.Keys PAD_INSERT
Pad insert.
-
PAD_DELETE
public static final SoKeyboardEvent.Keys PAD_DELETE
Pad delete.
-
PAD_PERIOD
public static final SoKeyboardEvent.Keys PAD_PERIOD
Pad period.
-
F1
public static final SoKeyboardEvent.Keys F1
F1.
-
F2
public static final SoKeyboardEvent.Keys F2
F2.
-
F3
public static final SoKeyboardEvent.Keys F3
F3.
-
F4
public static final SoKeyboardEvent.Keys F4
F4.
-
F5
public static final SoKeyboardEvent.Keys F5
F5.
-
F6
public static final SoKeyboardEvent.Keys F6
F6.
-
F7
public static final SoKeyboardEvent.Keys F7
F7.
-
F8
public static final SoKeyboardEvent.Keys F8
F8.
-
F9
public static final SoKeyboardEvent.Keys F9
F9.
-
F10
public static final SoKeyboardEvent.Keys F10
F10.
-
F11
public static final SoKeyboardEvent.Keys F11
F11.
-
F12
public static final SoKeyboardEvent.Keys F12
F12.
-
BACKSPACE
public static final SoKeyboardEvent.Keys BACKSPACE
Backspace.
-
TAB
public static final SoKeyboardEvent.Keys TAB
Tab.
-
RETURN
public static final SoKeyboardEvent.Keys RETURN
Return.
-
ENTER
public static final SoKeyboardEvent.Keys ENTER
Enter.
-
PAUSE
public static final SoKeyboardEvent.Keys PAUSE
Pause.
-
SCROLL_LOCK
public static final SoKeyboardEvent.Keys SCROLL_LOCK
Scroll lock.
-
ESCAPE
public static final SoKeyboardEvent.Keys ESCAPE
Escape.
-
KEY_DELETE
public static final SoKeyboardEvent.Keys KEY_DELETE
Delete.
-
PRINT
public static final SoKeyboardEvent.Keys PRINT
Print.
-
INSERT
public static final SoKeyboardEvent.Keys INSERT
Insert.
-
NUM_LOCK
public static final SoKeyboardEvent.Keys NUM_LOCK
Num lock.
-
CAPS_LOCK
public static final SoKeyboardEvent.Keys CAPS_LOCK
Caps lock.
-
SHIFT_LOCK
public static final SoKeyboardEvent.Keys SHIFT_LOCK
Shift lock.
-
SPACE
public static final SoKeyboardEvent.Keys SPACE
Space.
-
APOSTROPHE
public static final SoKeyboardEvent.Keys APOSTROPHE
Apostrophe.
-
COMMA
public static final SoKeyboardEvent.Keys COMMA
Comma.
-
MINUS
public static final SoKeyboardEvent.Keys MINUS
Minus.
-
PERIOD
public static final SoKeyboardEvent.Keys PERIOD
Period.
-
SLASH
public static final SoKeyboardEvent.Keys SLASH
Slash.
-
SEMICOLON
public static final SoKeyboardEvent.Keys SEMICOLON
Semicolon.
-
EQUAL
public static final SoKeyboardEvent.Keys EQUAL
Equal.
-
BRACKETLEFT
public static final SoKeyboardEvent.Keys BRACKETLEFT
Bracket left.
-
BACKSLASH
public static final SoKeyboardEvent.Keys BACKSLASH
Back slash.
-
BRACKETRIGHT
public static final SoKeyboardEvent.Keys BRACKETRIGHT
Bracket right.
-
GRAVE
public static final SoKeyboardEvent.Keys GRAVE
Grave.
-
TWO_SUPERIOR
public static final SoKeyboardEvent.Keys TWO_SUPERIOR
Power of two key.
-
TILDE
public static final SoKeyboardEvent.Keys TILDE
Tilde key.
-
-
Method Detail
-
values
public static SoKeyboardEvent.Keys[] 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 (SoKeyboardEvent.Keys c : SoKeyboardEvent.Keys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoKeyboardEvent.Keys 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 namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoKeyboardEvent.Keys valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-