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 and 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 and 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 and Description |
---|---|
class |
ActionMapUIResource
A subclass of javax.swing.ActionMap that implements UIResource.
|
Modifier and Type | Method and Description |
---|---|
protected ActionMap |
BasicLookAndFeel.getAudioActionMap()
Returns an
ActionMap containing the audio actions
for this look and feel. |
Modifier and Type | Method and Description |
---|---|
protected ActionMap |
MetalFileChooserUI.createActionMap() |
protected ActionMap |
MetalFileChooserUI.getActionMap() |
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, 2012, Oracle and/or its affiliates. All rights reserved.