Uses of Class
javax.swing.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
Modifier and TypeClassDescriptionclass
AComponentInputMap
is anInputMap
associated with a particularJComponent
.Modifier and TypeMethodDescriptionfinal InputMap
JComponent.getInputMap()
Returns theInputMap
that is used when the component has focus.final InputMap
JComponent.getInputMap
(int condition) Returns theInputMap
that is used duringcondition
.InputMap.getParent()
Gets thisInputMap
's parent.static InputMap
SwingUtilities.getUIInputMap
(JComponent component, int condition) Returns the InputMap provided by the UI for conditioncondition
in componentcomponent
.static InputMap
LookAndFeel.makeInputMap
(Object[] keys) Creates anInputMapUIResource
fromkeys
.Modifier and TypeMethodDescriptionstatic void
LookAndFeel.loadKeyBindings
(InputMap retMap, Object[] keys) Populates anInputMap
with the specified bindings.static void
SwingUtilities.replaceUIInputMap
(JComponent component, int type, InputMap uiInputMap) Convenience method to change the UI InputMap forcomponent
touiInputMap
.final void
JComponent.setInputMap
(int condition, InputMap map) Sets theInputMap
to use under the conditioncondition
tomap
.void
Sets the parent, which must be aComponentInputMap
associated with the same component as thisComponentInputMap
.void
Sets thisInputMap
's parent. -
Uses of InputMap in javax.swing.plaf
Modifier and TypeClassDescriptionclass
A subclass of javax.swing.ComponentInputMap that implements UIResource.class
A subclass of javax.swing.InputMap that implements UIResource.