Package com.openinventor.inventor.events
Enum Class SoKeyboardEvent.Keys
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<SoKeyboardEvent.Keys>
,Constable
- Enclosing class:
SoKeyboardEvent
public static enum SoKeyboardEvent.Keys
extends Enum<SoKeyboardEvent.Keys>
implements IntegerValuedEnum
The keyboard keys.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA.Special constant for any key.Apostrophe.B.Back slash.Backspace.Bracket left.Bracket right.C.Caps lock.Comma.D.Down.E.End.Enter.Equal.Escape.F.F1.F10.F11.F12.F2.F3.F4.F5.F6.F7.F8.F9.G.Grave.H.Home.I.Insert.J.K.Delete.L.Left alt.Left.Left control.Left Windows Logo key also known as Super_L.Left shift.M.Minus.N.Next.Num lock.0123456789O.P.Pad 0.Pad 1.Pad 2.Pad 3.Pad 4.Pad 5.Pad 6.Pad 7.Pad 8.Pad 9.Pad add.Pad delete.Pad divide.Pad enter.Pad F1.Pad F2.Pad F3.Pad F4.Pad insert.Pad multiply.Pad period.Pad space.Pad substract.Pad tab.Page down.Page up.Pause.Period.Print.Prior.Q.R.Return.Right alt.Right.Right control.Right Windows Logo key also known as Super_R.Right shift.S.Scroll lock.Semicolon.Shift lock.Slash.Space.T.Tab.Tilde key.Power of two key.U.Up.V.W.X.Y.Z. -
Method Summary
Modifier and TypeMethodDescriptionint
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
Returns the enum constant of this class with the specified name.static SoKeyboardEvent.Keys[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ANY
Special constant for any key. -
LEFT_SHIFT
Left shift. -
RIGHT_SHIFT
Right shift. -
LEFT_CONTROL
Left control. -
RIGHT_CONTROL
Right control. -
LEFT_ALT
Left alt. -
RIGHT_ALT
Right alt. -
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
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
0 -
NUMBER_1
1 -
NUMBER_2
2 -
NUMBER_3
3 -
NUMBER_4
4 -
NUMBER_5
5 -
NUMBER_6
6 -
NUMBER_7
7 -
NUMBER_8
8 -
NUMBER_9
9 -
A
A. -
B
B. -
C
C. -
D
D. -
E
E. -
F
F. -
G
G. -
H
H. -
I
I. -
J
J. -
K
K. -
L
L. -
M
M. -
N
N. -
O
O. -
P
P. -
Q
Q. -
R
R. -
S
S. -
T
T. -
U
U. -
V
V. -
W
W. -
X
X. -
Y
Y. -
Z
Z. -
HOME
Home. -
LEFT_ARROW
Left. -
UP_ARROW
Up. -
RIGHT_ARROW
Right. -
DOWN_ARROW
Down. -
PAGE_UP
Page up. -
PAGE_DOWN
Page down. -
PRIOR
Prior. -
NEXT
Next. -
END
End. -
PAD_ENTER
Pad enter. -
PAD_F1
Pad F1. -
PAD_F2
Pad F2. -
PAD_F3
Pad F3. -
PAD_F4
Pad F4. -
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_SUBTRACT
Pad substract. -
PAD_MULTIPLY
Pad multiply. -
PAD_DIVIDE
Pad divide. -
PAD_SPACE
Pad space. -
PAD_TAB
Pad tab. -
PAD_INSERT
Pad insert. -
PAD_DELETE
Pad delete. -
PAD_PERIOD
Pad period. -
F1
F1. -
F2
F2. -
F3
F3. -
F4
F4. -
F5
F5. -
F6
F6. -
F7
F7. -
F8
F8. -
F9
F9. -
F10
F10. -
F11
F11. -
F12
F12. -
BACKSPACE
Backspace. -
TAB
Tab. -
RETURN
Return. -
ENTER
Enter. -
PAUSE
Pause. -
SCROLL_LOCK
Scroll lock. -
ESCAPE
Escape. -
KEY_DELETE
Delete. -
PRINT
Print. -
INSERT
Insert. -
NUM_LOCK
Num lock. -
CAPS_LOCK
Caps lock. -
SHIFT_LOCK
Shift lock. -
SPACE
Space. -
APOSTROPHE
Apostrophe. -
COMMA
Comma. -
MINUS
Minus. -
PERIOD
Period. -
SLASH
Slash. -
SEMICOLON
Semicolon. -
EQUAL
Equal. -
BRACKETLEFT
Bracket left. -
BACKSLASH
Back slash. -
BRACKETRIGHT
Bracket right. -
GRAVE
Grave. -
TWO_SUPERIOR
Power of two key. -
TILDE
Tilde key.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
valueOf
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.
-