Uses of Class
javax.swing.InputMap
| Package | Description |
|---|---|
| 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 Modifier and Type Class Description classComponentInputMapAComponentInputMapis anInputMapassociated with a particularJComponent.Methods in javax.swing that return InputMap Modifier and Type Method Description InputMapJComponent. getInputMap()Returns theInputMapthat is used when the component has focus.InputMapJComponent. getInputMap(int condition)Returns theInputMapthat is used duringcondition.InputMapInputMap. getParent()Gets thisInputMap's parent.static InputMapSwingUtilities. getUIInputMap(JComponent component, int condition)Returns the InputMap provided by the UI for conditionconditionin componentcomponent.static InputMapLookAndFeel. makeInputMap(Object[] keys)Creates anInputMapUIResourcefromkeys.Methods in javax.swing with parameters of type InputMap Modifier and Type Method Description static voidLookAndFeel. loadKeyBindings(InputMap retMap, Object[] keys)Populates anInputMapwith the specified bindings.static voidSwingUtilities. replaceUIInputMap(JComponent component, int type, InputMap uiInputMap)Convenience method to change the UI InputMap forcomponenttouiInputMap.voidJComponent. setInputMap(int condition, InputMap map)Sets theInputMapto use under the conditionconditiontomap.voidComponentInputMap. setParent(InputMap map)Sets the parent, which must be aComponentInputMapassociated with the same component as thisComponentInputMap.voidInputMap. setParent(InputMap map)Sets thisInputMap's parent. -
Uses of InputMap in javax.swing.plaf
Subclasses of InputMap in javax.swing.plaf Modifier and Type Class Description classComponentInputMapUIResourceA subclass of javax.swing.ComponentInputMap that implements UIResource.classInputMapUIResourceA subclass of javax.swing.InputMap that implements UIResource.