public class KeyEventArgs extends RoutedEventArgs
EMPTY
Constructor and Description |
---|
KeyEventArgs(KeyEvent event) |
Modifier and Type | Method and Description |
---|---|
KeyCode |
getKey() |
KeyEvent |
getKeyEvent()
The key event.
|
ModifierKeys |
getModifiers()
Gets the modifiers.
|
boolean |
isAltDown() |
boolean |
isControlDown() |
boolean |
isShiftDown() |
boolean |
isShortcutDown() |
getOriginalSource, isHandled, setHandled
public KeyEventArgs(KeyEvent event)
public final KeyCode getKey()
public KeyEvent getKeyEvent()
public final ModifierKeys getModifiers()
public final boolean isAltDown()
public final boolean isControlDown()
public final boolean isShiftDown()
public final boolean isShortcutDown()