Uses of Interface javax.swing.Action

Uses in package javax.swing

Classes implementing javax.swing.Action

class
A base class for implementing the Action interface.

Constructors with parameter type javax.swing.Action

Creates a new button from the specified action.
Constructs a toggle button using the labelling, state and icon specified by the supplied action.
Creates a new JCheckBoxMenuItem using given action
JMenu.JMenu(Action action)
Creates a new JMenu object.
Creates a new JMenuItem associated with the specified action.
Constructs a radio button using the labelling, state and icon specified by the supplied action.
Creates a new JRadioButtonMenuItem using specified action
Constructs a toggle button using the labelling, state and icon specified by the supplied action.

Fields of type javax.swing.Action

Action
This field is unused since JDK1.3.
Action
This field is unused since JDK1.3.

Methods with parameter type javax.swing.Action

JMenuItem
JMenu.add(Action action)
Adds JMenuItem constructed using properties from specified action.
JMenuItem
Constructs menu item associated with the specified action and adds it to the popup menu
JButton
This method adds a new JButton that performs the given Action to the JToolBar.
void
Configure various properties of the button by reading properties of an Action.
void
Configure various properties of the button by reading properties of an Action.
void
Configure properties of the JComboBox by reading properties of specified action.
void
Configures menu items' properties from properties of the specified action.
void
JMenuItem
Creates and returns JMenuItem associated with the given action
JMenuItem
Creates new menu item associated with a given action.
JButton
This method is used to create JButtons which can be added to the JToolBar for the given action.
PropertyChangeListener
A factory method which should return a PropertyChangeListener that accepts changes to the specified Action and reconfigure the AbstractButton, by default using the configurePropertiesFromAction(Action) method.

The button calls this method whenever a new Action is assigned to the button's "action" property, via setAction(Action), and stores the resulting PropertyChangeListener in its actionPropertyChangeListener member field.

PropertyChangeListener
Creates PropertyChangeListener to listen for the changes in comboBox's action properties.
PropertyChangeListener
Creates PropertyChangeListener to listen for the changes in action properties.
PropertyChangeListener
JMenuItem
JMenu.insert(Action action, int index)
Creates JMenuItem with the associated action and inserts it to the menu at the specified index.
void
JPopupMenu.insert(Action action, int index)
Create menu item associated with the given action and inserts it into the popup menu at the specified index
boolean
SwingUtilities.notifyAction(Action action, KeyStroke ks, KeyEvent event, Object sender, int modifiers)
void
ActionMap.put(Object key, Action action)
Puts a new Action into the ActionMap.
void
Set the button's "action" property, subscribing the new action to the button, as an ActionListener, if it is not already subscribed.
void
setAction
void

Methods with return type javax.swing.Action

Action
Returns an action associated with an object.
Action
Get the value of the "action" property.
Action
This method returns Action that is invoked when selected item is changed in the JComboBox.
Action
Action[]
Gets the command list supplied by the UI augmented by the specific Actions for JFormattedTextField.
Action[]
Returns a custom set of Actions that this formatter supports.
Action[]
Returns the set of Actions that are commands for the editor.
Action
Action
Action

Uses in package javax.swing.text.html

Classes implementing javax.swing.Action

class
Abstract Action class that helps inserting HTML into an existing document.
class
This class is used to insert a string of HTML into an existing document.

Methods with return type javax.swing.Action

Action[]
Gets the action list.

Uses in package javax.swing.plaf.metal

Classes implementing javax.swing.Action

class
Handles changes to the selection in the directory combo box.

Uses in package javax.swing.plaf.basic

Classes implementing javax.swing.Action

class
This helper class is used to handle key events that cause JInternalFrames to be closed.
class
This helper class is used to handle key events that cause JInternalFrames to be maximized.
class
This helper class is used to handle key events that cause JInternalFrames to be minimized.
class
This helper class is used to handle key events that pass the SELECTED property to the next JInternalFrame in the JDesktopPane's list of children.
class
This helper class is used to restore the JInternalFrame to its original size before maximizing or iconifying.
class
Handles a user action to approve the dialog selection.
class
Handles an action to cancel the file chooser.
class
An action to handle changes to the parent directory (for example, via a click on the "up folder" button).
class
An action that changes the file chooser to display the user's home directory.
class
An action that handles the creation of a new folder/directory.
class
DOCUMENT ME!
class
The Action responsible for closing the JInternalFrame.
class
This Action is responsible for iconifying the JInternalFrame.
class
This Action is responsible for maximizing the JInternalFrame.
class
This Action is responsible for dragging the JInternalFrame.
class
This Action is responsible for restoring the JInternalFrame.
class
This action is responsible for sizing the JInternalFrame.
class
This class is no longer used as of JDK1.3.
class
The action to cancel editing on this tree.
class
TreeHomeAction is used to handle end/home actions.
class
TreeIncrementAction is used to handle up/down actions.
class
TreePageAction handles page up and page down events.
class
For the first selected row expandedness will be toggled.
class
TreeTraverseAction is the action used for left/right keys.

Fields of type javax.swing.Action

Action
The action associated with closing the JInternalFrame.
Action
The action associated with iconifying the JInternalFrame.
Action
The action associated with maximizing the JInternalFrame.
Action
The action associated with moving the JInternalFrame.
Action
Key code that is being generated for.
Action
The action associated with restoring the JInternalFrame.
Action
The action associated with resizing the JInternalFrame.

Methods with parameter type javax.swing.Action

void
Plays the sound of the action if it is listed in AuditoryCues.playList.

Methods with return type javax.swing.Action

Action
Creates an Action that can play an auditory cue specified by the key.
Action
Returns the action that handles events for the "approve" button.
Action
Returns the action that handles events for the "cancel" button.
Action
Returns the action that handles events for the "up folder" control button.
Action
Creates and returns a new action that will be used with the "home folder" button.
Action
Creates and returns a new action that will be used with the "new folder" button.
Action
Returns the update action (an instance of BasicFileChooserUI.UpdateAction).

Uses in package javax.swing.text

Classes implementing javax.swing.Action

class
Creates a beep on the PC speaker.
class
Copies the selected content into the system clipboard.
class
Copies the selected content into the system clipboard and deletes the selection.
class
This action is executed as default action when a KEY_TYPED event is received and no keymap entry exists for that.
class
This action inserts a newline character into the document of the text component.
class
Places content into the associated editor.
class
Inserts a TAB character into the text editor.
class
Copies content from the system clipboard into the editor.
class
Sets the alignment attribute on the selected text.
class
Toggles the bold attribute for the selected text.
class
Sets the font family attribute on the selected text.
class
Sets the font size attribute on the selected text.
class
Sets the foreground color attribute on the selected text.
class
Toggles the italic attribute for the selected text.
class
The abstract superclass of all styled TextActions.
class
Toggles the underline attribute for the selected text.
class
TextAction

Methods with parameter type javax.swing.Action

void
Action[]
TextAction.augmentList(Action[] list1, Action[] list2)
Creates a new array of Action containing both given arrays.
KeyStroke[]
void
Resolves a set of bindings against a set of actions and inserts the results into a Keymap.
void

Methods with return type javax.swing.Action

Action[]
TextAction.augmentList(Action[] list1, Action[] list2)
Creates a new array of Action containing both given arrays.
Action
Action[]
Returns the Actions supported by this EditorKit.
Action[]
Action[]
Returns the Actions that are supported by this Formatter.
Action[]
Returns the set of available Actions this component's associated editor can run.
Action[]
Returns the Actions supported by this EditorKit.
Action[]
Action