| 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
Returns the ActionMap provided by the UI in component
component.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SwingUtilities.replaceUIActionMap(JComponent
Convenience method to change the UI ActionMap for
component to
uiActionMap.
|
void |
JComponent.setActionMap(ActionMap
Sets the
ActionMap to
am.
|
void |
ActionMap.setParent(ActionMap
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()
|