API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. ActionMap View Source
Author(s)
Scott Violet
Since
1.3
Version
1.16 04/07/06
Serial
Hierarchy
 Object
      ActionMap
Implements
 Serializable
Subclasses
Description
public class ActionMap
  ActionMap provides mappings from Objects (called keys or Action names) to Actions.
See also:    InputMap
Constructors
public ActionMap ()
Creates an ActionMap with no parent and no mappings.
Methods
Hide/Show inherited methods
public Object allKeys ()
  Returns an array of the keys defined in this ActionMap and its parent.
public void clear ()
Removes all the mappings from this ActionMap.
public Action get (Object key)
Returns the binding for key, messaging the parent ActionMap if the binding is not locally defined.
public ActionMap getParent ()
  Returns this ActionMap's parent.
public Object keys ()
Returns the Action names that are bound in this ActionMap.
public void put (Object key, Action action)
  Adds a binding for key to action.
public void remove (Object key)
Removes the binding for key from this ActionMap.
public void setParent (ActionMap map)
  Sets this ActionMap's parent.
public int size ()
Returns the number of KeyStroke bindings.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar