Package | Description |
---|---|
org.scijava.display.event.input | |
org.scijava.input |
Modifier and Type | Method and Description |
---|---|
KeyCode |
KyEvent.getCode() |
Constructor and Description |
---|
KyEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
KyPressedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
KyReleasedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
KyTypedEvent(Display<?> display,
InputModifiers modifiers,
int x,
int y,
char character,
KeyCode code) |
Modifier and Type | Method and Description |
---|---|
static KeyCode |
KeyCode.get(int code)
Gets the KeyCode corresponding to the given numeric code, or
UNDEFINED if no such code. |
static KeyCode |
KeyCode.get(String name)
Gets the KeyCode with the given name, or
UNDEFINED if no such
code. |
KeyCode |
Accelerator.getKeyCode() |
static KeyCode |
KeyCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyCode[] |
KeyCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InputService.isKeyDown(KeyCode code) |
boolean |
DefaultInputService.isKeyDown(KeyCode code) |
Constructor and Description |
---|
Accelerator(KeyCode keyCode,
InputModifiers modifiers) |
Copyright © 2015–2022 SciJava. All rights reserved.