Uses of Class
javax.swing.InputMap
Packages that use InputMap
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
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.swingModifier and TypeClassDescriptionclassAComponentInputMapis anInputMapassociated with a particularJComponent.Methods in javax.swing that return InputMapModifier and TypeMethodDescriptionJComponent.getInputMap()Returns theInputMapthat is used when the component has focus.JComponent.getInputMap(int condition)Returns theInputMapthat is used duringcondition.InputMap.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 InputMapModifier and TypeMethodDescriptionstatic 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.voidSets the parent, which must be aComponentInputMapassociated with the same component as thisComponentInputMap.voidSets thisInputMap's parent. -
Uses of InputMap in javax.swing.plaf
Subclasses of InputMap in javax.swing.plafModifier and TypeClassDescriptionclassA subclass of javax.swing.ComponentInputMap that implements UIResource.classA subclass of javax.swing.InputMap that implements UIResource.