java.lang.Object | +--javax.swing.InputMap
Unsafe:
private javax.swing.AbstractAction.ArrayTable
arrayTable
KeyStroke[]
allKeys()
KeyStrokes defined in this
InputMap and its parent.
Object
get(KeyStroke keyStroke)
keyStroke, messaging the
parent InputMap if the binding is not locally defined.
void
put(KeyStroke keyStroke,
Object actionMapKey)
keyStroke to actionMapKey.
private transient javax.swing.AbstractAction.ArrayTable arrayTable
private InputMap parent
public InputMap()
InputMap with no parent and no mappings.
public void setParent(InputMap map)
InputMap's parent.
map - the InputMap that is the parent of this onepublic InputMap getParent()
InputMap's parent.
InputMap that is the parent of this one,
or null if this InputMap has no parentpublic void put(KeyStroke keyStroke, Object actionMapKey)
keyStroke to actionMapKey.
If actionMapKey is null, this removes the current binding
for keyStroke.
public Object get(KeyStroke keyStroke)
keyStroke, messaging the
parent InputMap if the binding is not locally defined.
public void remove(KeyStroke key)
key from this
InputMap.
public void clear()
InputMap.
public KeyStroke[] keys()
KeyStrokes that are bound in this InputMap.
public int size()
KeyStroke bindings.
public KeyStroke[] allKeys()
KeyStrokes defined in this
InputMap and its parent. This differs from keys() in that
this method includes the keys defined in the parent.
private void writeObject(ObjectOutputStream s) throws IOException
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException