API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. ComponentInputMapUIResource View Source
Author(s)
Scott Violet
Since
1.3
Version
1.8 04/07/06
Serial
Hierarchy
 Object
      InputMap
          ComponentInputMap
              ComponentInputMapUIResource
Implements
 UIResource
Subclasses
Description
public class ComponentInputMapUIResource
  A subclass of javax.swing.ComponentInputMap that implements UIResource.
See also:   
Constructors
public ComponentInputMapUIResource (JComponent component)
Methods
Hide/Show inherited methods
public KeyStroke allKeys () [Inherited From InputMap]
  Returns an array of the KeyStrokes defined in this InputMap and its parent.
public void clear () [Inherited From ComponentInputMap]
Removes all the mappings from this object.
public Object get (KeyStroke keyStroke) [Inherited From InputMap]
Returns the binding for keyStroke, messaging the parent InputMap if the binding is not locally defined.
public JComponent getComponent () [Inherited From ComponentInputMap]
Returns the component the InputMap was created for.
public InputMap getParent () [Inherited From InputMap]
  Gets this InputMap's parent.
public KeyStroke keys () [Inherited From InputMap]
Returns the KeyStrokes that are bound in this InputMap.
public void put (KeyStroke keyStroke, Object actionMapKey) [Inherited From ComponentInputMap]
  Adds a binding for keyStroke to actionMapKey.
public void remove (KeyStroke key) [Inherited From ComponentInputMap]
Removes the binding for key from this object.
public void setParent (InputMap map) [Inherited From ComponentInputMap]
  Sets the parent, which must be a ComponentInputMap associated with the same component as this ComponentInputMap.
public int size () [Inherited From InputMap]
Returns the number of KeyStroke bindings.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar