Example usage for Java javax.swing InputMap fields, constructors, methods, implement or subclass
The text is from its open source code.
InputMap() Creates an InputMap with no parent and no mappings. |
KeyStroke[] | allKeys() Returns an array of the KeyStroke s defined in this InputMap and its parent. |
void | clear() Removes all the mappings from this InputMap . |
Object | get(KeyStroke keyStroke) Returns the binding for keyStroke , messaging the parent InputMap if the binding is not locally defined. |
InputMap | getParent() Gets this InputMap 's parent. |
KeyStroke[] | keys() Returns the KeyStroke s that are bound in this InputMap . |
void | put(KeyStroke keyStroke, Object actionMapKey) Adds a binding for keyStroke to actionMapKey . |
void | remove(KeyStroke key) Removes the binding for key from this InputMap . |
void | setParent(InputMap map) Sets this InputMap 's parent. |
int | size() Returns the number of KeyStroke bindings. |