Package | Description |
---|---|
com.googlecode.lanterna.gui | |
com.googlecode.lanterna.gui.component | |
com.googlecode.lanterna.gui.util | |
com.googlecode.lanterna.input |
Modifier and Type | Method and Description |
---|---|
void |
InteractableContainer.addShortcut(Key.Kind key,
Action action)
Adds a keyboard shortcut to be invoked when the
Interactable component in focus
within this container didn't handle the keyboard event and the event matches the supplied
Key.Kind . |
Modifier and Type | Method and Description |
---|---|
void |
Table.addShortcut(Key.Kind key,
Action action) |
void |
AbstractContainer.addShortcut(Key.Kind key,
Action action) |
Modifier and Type | Method and Description |
---|---|
void |
ShortcutHelper.addShortcut(Key.Kind kindOfKey,
Action action) |
Modifier and Type | Method and Description |
---|---|
Key.Kind |
Key.getKind() |
static Key.Kind |
Key.Kind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key.Kind[] |
Key.Kind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Key(Key.Kind kind) |
Key(Key.Kind kind,
boolean ctrlPressed,
boolean altPressed) |
Copyright © 2014. All Rights Reserved.