public final class MultiInputMap
extends javax.swing.InputMap
| Modifier and Type | Field and Description |
|---|---|
static javax.swing.Action |
NULL_ACTION |
static java.lang.Object |
NULL_ACTION_BIND |
| Constructor and Description |
|---|
MultiInputMap() |
MultiInputMap(boolean bTerminator) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.lang.Object |
get(javax.swing.KeyStroke keyStroke) |
static boolean |
isInKeySequence()
Returns true if the user typed the start of a valid KeyStroke sequence.
|
javax.swing.KeyStroke[] |
keys() |
void |
put(javax.swing.KeyStroke keyStroke,
java.lang.Object actionMapKey) |
void |
put(KeyStrokes keyStrokes,
java.lang.Object actionMapKey)
Same as InputMap.put(KeyStroke,Object) except this one takes
KeyStrokes
|
void |
remove(javax.swing.KeyStroke key) |
int |
size() |
public static final javax.swing.Action NULL_ACTION
public static final java.lang.Object NULL_ACTION_BIND
public MultiInputMap()
public MultiInputMap(boolean bTerminator)
public static boolean isInKeySequence()
public java.lang.Object get(javax.swing.KeyStroke keyStroke)
get in class javax.swing.InputMappublic void put(KeyStrokes keyStrokes, java.lang.Object actionMapKey)
public void put(javax.swing.KeyStroke keyStroke,
java.lang.Object actionMapKey)
put in class javax.swing.InputMappublic void remove(javax.swing.KeyStroke key)
remove in class javax.swing.InputMappublic void clear()
clear in class javax.swing.InputMappublic javax.swing.KeyStroke[] keys()
keys in class javax.swing.InputMappublic int size()
size in class javax.swing.InputMap