public class KeyBindingMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.EnumMap<KeyModifier,IntHashMap<java.util.Collection<KeyBinding>>> |
map |
Constructor and Description |
---|
KeyBindingMap() |
Modifier and Type | Method and Description |
---|---|
void |
addKey(int keyCode,
KeyBinding keyBinding) |
void |
clearMap() |
private KeyBinding |
getBinding(int keyCode,
KeyModifier keyModifier) |
KeyBinding |
lookupActive(int keyCode) |
java.util.List<KeyBinding> |
lookupAll(int keyCode) |
void |
removeKey(KeyBinding keyBinding) |
private static final java.util.EnumMap<KeyModifier,IntHashMap<java.util.Collection<KeyBinding>>> map
@Nullable public KeyBinding lookupActive(int keyCode)
@Nullable private KeyBinding getBinding(int keyCode, KeyModifier keyModifier)
public java.util.List<KeyBinding> lookupAll(int keyCode)
public void addKey(int keyCode, KeyBinding keyBinding)
public void removeKey(KeyBinding keyBinding)
public void clearMap()