|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InputMap | |
---|---|
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
Uses of InputMap in javax.swing |
---|
Subclasses of InputMap in javax.swing | |
---|---|
class |
ComponentInputMap
A ComponentInputMap is an InputMap
associated with a particular JComponent . |
Methods in javax.swing that return InputMap | |
---|---|
InputMap |
JComponent.getInputMap()
Returns the InputMap that is used when the
component has focus. |
InputMap |
JComponent.getInputMap(int condition)
Returns the InputMap that is used during
condition . |
InputMap |
InputMap.getParent()
Gets this InputMap 's parent. |
static InputMap |
SwingUtilities.getUIInputMap(JComponent component,
int condition)
Returns the InputMap provided by the UI for condition condition in component component . |
static InputMap |
LookAndFeel.makeInputMap(Object[] keys)
Creates a InputMap from keys . |
Methods in javax.swing with parameters of type InputMap | |
---|---|
static void |
LookAndFeel.loadKeyBindings(InputMap retMap,
Object[] keys)
Loads the bindings in keys into retMap . |
static void |
SwingUtilities.replaceUIInputMap(JComponent component,
int type,
InputMap uiInputMap)
Convenience method to change the UI InputMap for component
to uiInputMap . |
void |
JComponent.setInputMap(int condition,
InputMap map)
Sets the InputMap to use under the condition
condition to
map . |
void |
ComponentInputMap.setParent(InputMap map)
Sets the parent, which must be a ComponentInputMap
associated with the same component as this
ComponentInputMap . |
void |
InputMap.setParent(InputMap map)
Sets this InputMap 's parent. |
Uses of InputMap in javax.swing.plaf |
---|
Subclasses of InputMap in javax.swing.plaf | |
---|---|
class |
ComponentInputMapUIResource
A subclass of javax.swing.ComponentInputMap that implements UIResource. |
class |
InputMapUIResource
A subclass of javax.swing.InputMap that implements UIResource. |
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.