public class SoKeyboardEvent extends SoButtonEvent
SoKeyboardEvent
represents keyboard key press and release events in the Open Inventor event model.
Add an SoEventCallback
node to the scene graph to handle Open Inventor events.
See also:
SoEvent
, SoButtonEvent
, SoLocation2Event
, SoMotion3Event
, SoMouseButtonEvent
, SoSpaceballButtonEvent
, SoHandleEventAction
, SoEventCallback
, SoSelection
, SoInteraction, SoWinDevice
Modifier and Type | Class and Description |
---|---|
static class |
SoKeyboardEvent.Keys
The keyboard keys.
|
SoButtonEvent.States
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
A
Deprecated.
Use
SoKeyboardEvent.Keys.A instead. |
static int |
ANY
Deprecated.
Use
SoKeyboardEvent.Keys.ANY instead. |
static int |
APOSTROPHE
Deprecated.
Use
SoKeyboardEvent.Keys.APOSTROPHE instead. |
static int |
B
Deprecated.
Use
SoKeyboardEvent.Keys.B instead. |
static int |
BACKSLASH
Deprecated.
Use
SoKeyboardEvent.Keys.BACKSLASH instead. |
static int |
BACKSPACE
Deprecated.
Use
SoKeyboardEvent.Keys.BACKSPACE instead. |
static int |
BRACKETLEFT
Deprecated.
Use
SoKeyboardEvent.Keys.BRACKETLEFT instead. |
static int |
BRACKETRIGHT
Deprecated.
Use
SoKeyboardEvent.Keys.BRACKETRIGHT instead. |
static int |
C
Deprecated.
Use
SoKeyboardEvent.Keys.C instead. |
static int |
CAPS_LOCK
Deprecated.
Use
SoKeyboardEvent.Keys.CAPS_LOCK instead. |
static int |
COMMA
Deprecated.
Use
SoKeyboardEvent.Keys.COMMA instead. |
static int |
D
Deprecated.
Use
SoKeyboardEvent.Keys.D instead. |
static int |
DOWN_ARROW
Deprecated.
Use
SoKeyboardEvent.Keys.DOWN_ARROW instead. |
static int |
E
Deprecated.
Use
SoKeyboardEvent.Keys.E instead. |
static int |
END
Deprecated.
Use
SoKeyboardEvent.Keys.END instead. |
static int |
ENTER
Deprecated.
Use
SoKeyboardEvent.Keys.ENTER instead. |
static int |
EQUAL
Deprecated.
Use
SoKeyboardEvent.Keys.EQUAL instead. |
static int |
ESCAPE
Deprecated.
Use
SoKeyboardEvent.Keys.ESCAPE instead. |
static int |
F
Deprecated.
Use
SoKeyboardEvent.Keys.F instead. |
static int |
F1
Deprecated.
Use
SoKeyboardEvent.Keys.F1 instead. |
static int |
F10
Deprecated.
Use
SoKeyboardEvent.Keys.F10 instead. |
static int |
F11
Deprecated.
Use
SoKeyboardEvent.Keys.F11 instead. |
static int |
F12
Deprecated.
Use
SoKeyboardEvent.Keys.F12 instead. |
static int |
F2
Deprecated.
Use
SoKeyboardEvent.Keys.F2 instead. |
static int |
F3
Deprecated.
Use
SoKeyboardEvent.Keys.F3 instead. |
static int |
F4
Deprecated.
Use
SoKeyboardEvent.Keys.F4 instead. |
static int |
F5
Deprecated.
Use
SoKeyboardEvent.Keys.F5 instead. |
static int |
F6
Deprecated.
Use
SoKeyboardEvent.Keys.F6 instead. |
static int |
F7
Deprecated.
Use
SoKeyboardEvent.Keys.F7 instead. |
static int |
F8
Deprecated.
Use
SoKeyboardEvent.Keys.F8 instead. |
static int |
F9
Deprecated.
Use
SoKeyboardEvent.Keys.F9 instead. |
static int |
G
Deprecated.
Use
SoKeyboardEvent.Keys.G instead. |
static int |
GRAVE
Deprecated.
Use
SoKeyboardEvent.Keys.GRAVE instead. |
static int |
H
Deprecated.
Use
SoKeyboardEvent.Keys.H instead. |
static int |
HOME
Deprecated.
Use
SoKeyboardEvent.Keys.HOME instead. |
static int |
I
Deprecated.
Use
SoKeyboardEvent.Keys.I instead. |
static int |
INSERT
Deprecated.
Use
SoKeyboardEvent.Keys.INSERT instead. |
static int |
J
Deprecated.
Use
SoKeyboardEvent.Keys.J instead. |
static int |
K
Deprecated.
Use
SoKeyboardEvent.Keys.K instead. |
static int |
KEY_DELETE
Deprecated.
Use
SoKeyboardEvent.Keys.KEY_DELETE instead. |
static int |
L
Deprecated.
Use
SoKeyboardEvent.Keys.L instead. |
static int |
LEFT_ALT
Deprecated.
Use
SoKeyboardEvent.Keys.LEFT_ALT instead. |
static int |
LEFT_ARROW
Deprecated.
Use
SoKeyboardEvent.Keys.LEFT_ARROW instead. |
static int |
LEFT_CONTROL
Deprecated.
Use
SoKeyboardEvent.Keys.LEFT_CONTROL instead. |
static int |
LEFT_META
Deprecated.
Use
SoKeyboardEvent.Keys.LEFT_META instead. |
static int |
LEFT_SHIFT
Deprecated.
Use
SoKeyboardEvent.Keys.LEFT_SHIFT instead. |
static int |
M
Deprecated.
Use
SoKeyboardEvent.Keys.M instead. |
static int |
MINUS
Deprecated.
Use
SoKeyboardEvent.Keys.MINUS instead. |
static int |
N
Deprecated.
Use
SoKeyboardEvent.Keys.N instead. |
static int |
NEXT
Deprecated.
Use
SoKeyboardEvent.Keys.NEXT instead. |
static int |
NUM_LOCK
Deprecated.
Use
SoKeyboardEvent.Keys.NUM_LOCK instead. |
static int |
NUMBER_0
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_0 instead. |
static int |
NUMBER_1
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_1 instead. |
static int |
NUMBER_2
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_2 instead. |
static int |
NUMBER_3
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_3 instead. |
static int |
NUMBER_4
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_4 instead. |
static int |
NUMBER_5
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_5 instead. |
static int |
NUMBER_6
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_6 instead. |
static int |
NUMBER_7
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_7 instead. |
static int |
NUMBER_8
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_8 instead. |
static int |
NUMBER_9
Deprecated.
Use
SoKeyboardEvent.Keys.NUMBER_9 instead. |
static int |
O
Deprecated.
Use
SoKeyboardEvent.Keys.O instead. |
static int |
P
Deprecated.
Use
SoKeyboardEvent.Keys.P instead. |
static int |
PAD_0
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_0 instead. |
static int |
PAD_1
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_1 instead. |
static int |
PAD_2
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_2 instead. |
static int |
PAD_3
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_3 instead. |
static int |
PAD_4
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_4 instead. |
static int |
PAD_5
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_5 instead. |
static int |
PAD_6
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_6 instead. |
static int |
PAD_7
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_7 instead. |
static int |
PAD_8
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_8 instead. |
static int |
PAD_9
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_9 instead. |
static int |
PAD_ADD
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_ADD instead. |
static int |
PAD_DELETE
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_DELETE instead. |
static int |
PAD_DIVIDE
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_DIVIDE instead. |
static int |
PAD_ENTER
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_ENTER instead. |
static int |
PAD_F1
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_F1 instead. |
static int |
PAD_F2
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_F2 instead. |
static int |
PAD_F3
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_F3 instead. |
static int |
PAD_F4
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_F4 instead. |
static int |
PAD_INSERT
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_INSERT instead. |
static int |
PAD_MULTIPLY
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_MULTIPLY instead. |
static int |
PAD_PERIOD
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_PERIOD instead. |
static int |
PAD_SPACE
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_SPACE instead. |
static int |
PAD_SUBTRACT
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_SUBTRACT instead. |
static int |
PAD_TAB
Deprecated.
Use
SoKeyboardEvent.Keys.PAD_TAB instead. |
static int |
PAGE_DOWN
Deprecated.
Use
SoKeyboardEvent.Keys.PAGE_DOWN instead. |
static int |
PAGE_UP
Deprecated.
Use
SoKeyboardEvent.Keys.PAGE_UP instead. |
static int |
PAUSE
Deprecated.
Use
SoKeyboardEvent.Keys.PAUSE instead. |
static int |
PERIOD
Deprecated.
Use
SoKeyboardEvent.Keys.PERIOD instead. |
static int |
PRINT
Deprecated.
Use
SoKeyboardEvent.Keys.PRINT instead. |
static int |
PRIOR
Deprecated.
Use
SoKeyboardEvent.Keys.PRIOR instead. |
static int |
Q
Deprecated.
Use
SoKeyboardEvent.Keys.Q instead. |
static int |
R
Deprecated.
Use
SoKeyboardEvent.Keys.R instead. |
static int |
RETURN
Deprecated.
Use
SoKeyboardEvent.Keys.RETURN instead. |
static int |
RIGHT_ALT
Deprecated.
Use
SoKeyboardEvent.Keys.RIGHT_ALT instead. |
static int |
RIGHT_ARROW
Deprecated.
Use
SoKeyboardEvent.Keys.RIGHT_ARROW instead. |
static int |
RIGHT_CONTROL
Deprecated.
Use
SoKeyboardEvent.Keys.RIGHT_CONTROL instead. |
static int |
RIGHT_META
Deprecated.
Use
SoKeyboardEvent.Keys.RIGHT_META instead. |
static int |
RIGHT_SHIFT
Deprecated.
Use
SoKeyboardEvent.Keys.RIGHT_SHIFT instead. |
static int |
S
Deprecated.
Use
SoKeyboardEvent.Keys.S instead. |
static int |
SCROLL_LOCK
Deprecated.
Use
SoKeyboardEvent.Keys.SCROLL_LOCK instead. |
static int |
SEMICOLON
Deprecated.
Use
SoKeyboardEvent.Keys.SEMICOLON instead. |
static int |
SHIFT_LOCK
Deprecated.
Use
SoKeyboardEvent.Keys.SHIFT_LOCK instead. |
static int |
SLASH
Deprecated.
Use
SoKeyboardEvent.Keys.SLASH instead. |
static int |
SPACE
Deprecated.
Use
SoKeyboardEvent.Keys.SPACE instead. |
static int |
T
Deprecated.
Use
SoKeyboardEvent.Keys.T instead. |
static int |
TAB
Deprecated.
Use
SoKeyboardEvent.Keys.TAB instead. |
static int |
U
Deprecated.
Use
SoKeyboardEvent.Keys.U instead. |
static int |
UP_ARROW
Deprecated.
Use
SoKeyboardEvent.Keys.UP_ARROW instead. |
static int |
V
Deprecated.
Use
SoKeyboardEvent.Keys.V instead. |
static int |
W
Deprecated.
Use
SoKeyboardEvent.Keys.W instead. |
static int |
X
Deprecated.
Use
SoKeyboardEvent.Keys.X instead. |
static int |
Y
Deprecated.
Use
SoKeyboardEvent.Keys.Y instead. |
static int |
Z
Deprecated.
Use
SoKeyboardEvent.Keys.Z instead. |
DBCLK, DOWN, UNKNOWN, UP
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoKeyboardEvent()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SoKeyboardEvent.Keys |
getKey()
Gets which key generated the event.
|
static SoKeyboardEvent.Keys |
getKeySym(int key) |
byte |
getPrintableCharacter()
Convenience routine that returns the character representing the key, if it's printable.
|
static boolean |
isKeyPressEvent(SoEvent e,
SoKeyboardEvent.Keys whichKey)
Returns whether the passed event is a keyboard press event of the passed key.
|
static boolean |
isKeyReleaseEvent(SoEvent e,
SoKeyboardEvent.Keys whichKey)
Returns whether the passed event is a keyboard release event of the passed key.
|
void |
setKey(SoKeyboardEvent.Keys whichKey)
Sets which key generated the event.
|
getState, setState
getNormalizedPosition, getPosition, getPosition, getPositionFloat, getPositionFloat, getTime, setAltDown, setButton1Down, setCtrlDown, setPosition, setPosition, setShiftDown, setTime, wasAltDown, wasButton1Down, wasCtrlDown, wasShiftDown
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int ANY
SoKeyboardEvent.Keys.ANY
instead.@Deprecated public static final int LEFT_SHIFT
SoKeyboardEvent.Keys.LEFT_SHIFT
instead.@Deprecated public static final int RIGHT_SHIFT
SoKeyboardEvent.Keys.RIGHT_SHIFT
instead.@Deprecated public static final int LEFT_CONTROL
SoKeyboardEvent.Keys.LEFT_CONTROL
instead.@Deprecated public static final int RIGHT_CONTROL
SoKeyboardEvent.Keys.RIGHT_CONTROL
instead.@Deprecated public static final int LEFT_ALT
SoKeyboardEvent.Keys.LEFT_ALT
instead.@Deprecated public static final int RIGHT_ALT
SoKeyboardEvent.Keys.RIGHT_ALT
instead.@Deprecated public static final int LEFT_META
SoKeyboardEvent.Keys.LEFT_META
instead.@Deprecated public static final int RIGHT_META
SoKeyboardEvent.Keys.RIGHT_META
instead.@Deprecated public static final int NUMBER_0
SoKeyboardEvent.Keys.NUMBER_0
instead.@Deprecated public static final int NUMBER_1
SoKeyboardEvent.Keys.NUMBER_1
instead.@Deprecated public static final int NUMBER_2
SoKeyboardEvent.Keys.NUMBER_2
instead.@Deprecated public static final int NUMBER_3
SoKeyboardEvent.Keys.NUMBER_3
instead.@Deprecated public static final int NUMBER_4
SoKeyboardEvent.Keys.NUMBER_4
instead.@Deprecated public static final int NUMBER_5
SoKeyboardEvent.Keys.NUMBER_5
instead.@Deprecated public static final int NUMBER_6
SoKeyboardEvent.Keys.NUMBER_6
instead.@Deprecated public static final int NUMBER_7
SoKeyboardEvent.Keys.NUMBER_7
instead.@Deprecated public static final int NUMBER_8
SoKeyboardEvent.Keys.NUMBER_8
instead.@Deprecated public static final int NUMBER_9
SoKeyboardEvent.Keys.NUMBER_9
instead.@Deprecated public static final int A
SoKeyboardEvent.Keys.A
instead.@Deprecated public static final int B
SoKeyboardEvent.Keys.B
instead.@Deprecated public static final int C
SoKeyboardEvent.Keys.C
instead.@Deprecated public static final int D
SoKeyboardEvent.Keys.D
instead.@Deprecated public static final int E
SoKeyboardEvent.Keys.E
instead.@Deprecated public static final int F
SoKeyboardEvent.Keys.F
instead.@Deprecated public static final int G
SoKeyboardEvent.Keys.G
instead.@Deprecated public static final int H
SoKeyboardEvent.Keys.H
instead.@Deprecated public static final int I
SoKeyboardEvent.Keys.I
instead.@Deprecated public static final int J
SoKeyboardEvent.Keys.J
instead.@Deprecated public static final int K
SoKeyboardEvent.Keys.K
instead.@Deprecated public static final int L
SoKeyboardEvent.Keys.L
instead.@Deprecated public static final int M
SoKeyboardEvent.Keys.M
instead.@Deprecated public static final int N
SoKeyboardEvent.Keys.N
instead.@Deprecated public static final int O
SoKeyboardEvent.Keys.O
instead.@Deprecated public static final int P
SoKeyboardEvent.Keys.P
instead.@Deprecated public static final int Q
SoKeyboardEvent.Keys.Q
instead.@Deprecated public static final int R
SoKeyboardEvent.Keys.R
instead.@Deprecated public static final int S
SoKeyboardEvent.Keys.S
instead.@Deprecated public static final int T
SoKeyboardEvent.Keys.T
instead.@Deprecated public static final int U
SoKeyboardEvent.Keys.U
instead.@Deprecated public static final int V
SoKeyboardEvent.Keys.V
instead.@Deprecated public static final int W
SoKeyboardEvent.Keys.W
instead.@Deprecated public static final int X
SoKeyboardEvent.Keys.X
instead.@Deprecated public static final int Y
SoKeyboardEvent.Keys.Y
instead.@Deprecated public static final int Z
SoKeyboardEvent.Keys.Z
instead.@Deprecated public static final int HOME
SoKeyboardEvent.Keys.HOME
instead.@Deprecated public static final int LEFT_ARROW
SoKeyboardEvent.Keys.LEFT_ARROW
instead.@Deprecated public static final int UP_ARROW
SoKeyboardEvent.Keys.UP_ARROW
instead.@Deprecated public static final int RIGHT_ARROW
SoKeyboardEvent.Keys.RIGHT_ARROW
instead.@Deprecated public static final int DOWN_ARROW
SoKeyboardEvent.Keys.DOWN_ARROW
instead.@Deprecated public static final int PAGE_UP
SoKeyboardEvent.Keys.PAGE_UP
instead.@Deprecated public static final int PAGE_DOWN
SoKeyboardEvent.Keys.PAGE_DOWN
instead.@Deprecated public static final int PRIOR
SoKeyboardEvent.Keys.PRIOR
instead.@Deprecated public static final int NEXT
SoKeyboardEvent.Keys.NEXT
instead.@Deprecated public static final int END
SoKeyboardEvent.Keys.END
instead.@Deprecated public static final int PAD_ENTER
SoKeyboardEvent.Keys.PAD_ENTER
instead.@Deprecated public static final int PAD_F1
SoKeyboardEvent.Keys.PAD_F1
instead.@Deprecated public static final int PAD_F2
SoKeyboardEvent.Keys.PAD_F2
instead.@Deprecated public static final int PAD_F3
SoKeyboardEvent.Keys.PAD_F3
instead.@Deprecated public static final int PAD_F4
SoKeyboardEvent.Keys.PAD_F4
instead.@Deprecated public static final int PAD_0
SoKeyboardEvent.Keys.PAD_0
instead.@Deprecated public static final int PAD_1
SoKeyboardEvent.Keys.PAD_1
instead.@Deprecated public static final int PAD_2
SoKeyboardEvent.Keys.PAD_2
instead.@Deprecated public static final int PAD_3
SoKeyboardEvent.Keys.PAD_3
instead.@Deprecated public static final int PAD_4
SoKeyboardEvent.Keys.PAD_4
instead.@Deprecated public static final int PAD_5
SoKeyboardEvent.Keys.PAD_5
instead.@Deprecated public static final int PAD_6
SoKeyboardEvent.Keys.PAD_6
instead.@Deprecated public static final int PAD_7
SoKeyboardEvent.Keys.PAD_7
instead.@Deprecated public static final int PAD_8
SoKeyboardEvent.Keys.PAD_8
instead.@Deprecated public static final int PAD_9
SoKeyboardEvent.Keys.PAD_9
instead.@Deprecated public static final int PAD_ADD
SoKeyboardEvent.Keys.PAD_ADD
instead.@Deprecated public static final int PAD_SUBTRACT
SoKeyboardEvent.Keys.PAD_SUBTRACT
instead.@Deprecated public static final int PAD_MULTIPLY
SoKeyboardEvent.Keys.PAD_MULTIPLY
instead.@Deprecated public static final int PAD_DIVIDE
SoKeyboardEvent.Keys.PAD_DIVIDE
instead.@Deprecated public static final int PAD_SPACE
SoKeyboardEvent.Keys.PAD_SPACE
instead.@Deprecated public static final int PAD_TAB
SoKeyboardEvent.Keys.PAD_TAB
instead.@Deprecated public static final int PAD_INSERT
SoKeyboardEvent.Keys.PAD_INSERT
instead.@Deprecated public static final int PAD_DELETE
SoKeyboardEvent.Keys.PAD_DELETE
instead.@Deprecated public static final int PAD_PERIOD
SoKeyboardEvent.Keys.PAD_PERIOD
instead.@Deprecated public static final int F1
SoKeyboardEvent.Keys.F1
instead.@Deprecated public static final int F2
SoKeyboardEvent.Keys.F2
instead.@Deprecated public static final int F3
SoKeyboardEvent.Keys.F3
instead.@Deprecated public static final int F4
SoKeyboardEvent.Keys.F4
instead.@Deprecated public static final int F5
SoKeyboardEvent.Keys.F5
instead.@Deprecated public static final int F6
SoKeyboardEvent.Keys.F6
instead.@Deprecated public static final int F7
SoKeyboardEvent.Keys.F7
instead.@Deprecated public static final int F8
SoKeyboardEvent.Keys.F8
instead.@Deprecated public static final int F9
SoKeyboardEvent.Keys.F9
instead.@Deprecated public static final int F10
SoKeyboardEvent.Keys.F10
instead.@Deprecated public static final int F11
SoKeyboardEvent.Keys.F11
instead.@Deprecated public static final int F12
SoKeyboardEvent.Keys.F12
instead.@Deprecated public static final int BACKSPACE
SoKeyboardEvent.Keys.BACKSPACE
instead.@Deprecated public static final int TAB
SoKeyboardEvent.Keys.TAB
instead.@Deprecated public static final int RETURN
SoKeyboardEvent.Keys.RETURN
instead.@Deprecated public static final int ENTER
SoKeyboardEvent.Keys.ENTER
instead.@Deprecated public static final int PAUSE
SoKeyboardEvent.Keys.PAUSE
instead.@Deprecated public static final int SCROLL_LOCK
SoKeyboardEvent.Keys.SCROLL_LOCK
instead.@Deprecated public static final int ESCAPE
SoKeyboardEvent.Keys.ESCAPE
instead.@Deprecated public static final int KEY_DELETE
SoKeyboardEvent.Keys.KEY_DELETE
instead.@Deprecated public static final int PRINT
SoKeyboardEvent.Keys.PRINT
instead.@Deprecated public static final int INSERT
SoKeyboardEvent.Keys.INSERT
instead.@Deprecated public static final int NUM_LOCK
SoKeyboardEvent.Keys.NUM_LOCK
instead.@Deprecated public static final int CAPS_LOCK
SoKeyboardEvent.Keys.CAPS_LOCK
instead.@Deprecated public static final int SHIFT_LOCK
SoKeyboardEvent.Keys.SHIFT_LOCK
instead.@Deprecated public static final int SPACE
SoKeyboardEvent.Keys.SPACE
instead.@Deprecated public static final int APOSTROPHE
SoKeyboardEvent.Keys.APOSTROPHE
instead.@Deprecated public static final int COMMA
SoKeyboardEvent.Keys.COMMA
instead.@Deprecated public static final int MINUS
SoKeyboardEvent.Keys.MINUS
instead.@Deprecated public static final int PERIOD
SoKeyboardEvent.Keys.PERIOD
instead.@Deprecated public static final int SLASH
SoKeyboardEvent.Keys.SLASH
instead.@Deprecated public static final int SEMICOLON
SoKeyboardEvent.Keys.SEMICOLON
instead.@Deprecated public static final int EQUAL
SoKeyboardEvent.Keys.EQUAL
instead.@Deprecated public static final int BRACKETLEFT
SoKeyboardEvent.Keys.BRACKETLEFT
instead.@Deprecated public static final int BACKSLASH
SoKeyboardEvent.Keys.BACKSLASH
instead.@Deprecated public static final int BRACKETRIGHT
SoKeyboardEvent.Keys.BRACKETRIGHT
instead.@Deprecated public static final int GRAVE
SoKeyboardEvent.Keys.GRAVE
instead.public static SoKeyboardEvent.Keys getKeySym(int key)
public void setKey(SoKeyboardEvent.Keys whichKey)
public static boolean isKeyReleaseEvent(SoEvent e, SoKeyboardEvent.Keys whichKey)
SoKeyboardEvent.ANY
is passed, this returns true if the event represents a keyboard release of any key.public SoKeyboardEvent.Keys getKey()
public byte getPrintableCharacter()
public static boolean isKeyPressEvent(SoEvent e, SoKeyboardEvent.Keys whichKey)
SoKeyboardEvent.ANY
is passed, this returns true if the event represents a keyboard press of any key.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com