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