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.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
Modifier and Type | Method | Description |
---|---|---|
ActionMap |
JComponent.getActionMap() |
Returns the
ActionMap used to determine what
Action to fire for particular KeyStroke
binding. |
ActionMap |
ActionMap.getParent() |
Returns this
ActionMap 's parent. |
static ActionMap |
SwingUtilities.getUIActionMap(JComponent component) |
Returns the ActionMap provided by the UI
in component
component . |
Modifier and Type | Method | Description |
---|---|---|
static void |
SwingUtilities.replaceUIActionMap(JComponent component,
ActionMap uiActionMap) |
Convenience method to change the UI ActionMap for
component
to uiActionMap . |
void |
JComponent.setActionMap(ActionMap am) |
Sets the
ActionMap to am . |
void |
ActionMap.setParent(ActionMap map) |
Sets this
ActionMap 's parent. |
Modifier and Type | Class | Description |
---|---|---|
class |
ActionMapUIResource |
A subclass of javax.swing.ActionMap that implements UIResource.
|
Modifier and Type | Method | Description |
---|---|---|
protected ActionMap |
BasicLookAndFeel.getAudioActionMap() |
Returns an
ActionMap containing the audio actions
for this look and feel. |
Modifier and Type | Method | Description |
---|---|---|
protected ActionMap |
MetalFileChooserUI.createActionMap() |
Constructs an instance of
ActionMap . |
protected ActionMap |
MetalFileChooserUI.getActionMap() |
Returns an instance of
ActionMap . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps