|
|||||||||
| Home >> All >> javax >> [ swing overview ] | PREV NEXT | ||||||||
Uses of Interface
javax.swing.Action
| Uses of Action in javax.swing |
| Classes in javax.swing that implement Action | |
class |
AbstractAction
A base class for implementing the Action interface. |
private static class |
JComponent.ActionListenerProxy
|
(package private) static class |
TransferHandler.TransferAction
|
| Fields in javax.swing declared as Action | |
(package private) Action |
AbstractButton.action
The action taken when the button is clicked. |
protected Action |
JRootPane.defaultPressAction
Deprecated. since JDK1.3 |
protected Action |
JRootPane.defaultReleaseAction
Deprecated. since JDK1.3 |
private Action |
JComboBox.action
The action taken when new item is selected in the JComboBox |
private static Action |
TransferHandler.copyAction
|
private static Action |
TransferHandler.cutAction
|
private static Action |
TransferHandler.pasteAction
|
private static Action[] |
JTextField.actions
|
private Action |
JTextField.action
|
| Methods in javax.swing that return Action | |
Action |
AbstractButton.getAction()
Get the value of the "action" property. |
Action |
ActionMap.get(java.lang.Object key)
Returns an action associated with an object. |
Action |
JComboBox.getAction()
This method returns Action that is invoked when selected item is changed in the JComboBox. |
static Action |
TransferHandler.getCopyAction()
|
static Action |
TransferHandler.getCutAction()
|
static Action |
TransferHandler.getPasteAction()
|
Action[] |
JTextField.getActions()
Returns the set of Actions that are commands for the editor. |
Action |
JTextField.getAction()
|
Action[] |
JFormattedTextField.getActions()
Gets the command list supplied by the UI augmented by the specific Actions for JFormattedTextField. |
protected Action[] |
JFormattedTextField.AbstractFormatter.getActions()
Returns a custom set of Actions that this formatter supports. |
| Methods in javax.swing with parameters of type Action | |
static boolean |
SwingUtilities.notifyAction(Action action,
KeyStroke ks,
java.awt.event.KeyEvent event,
java.lang.Object sender,
int modifiers)
|
void |
AbstractButton.setAction(Action a)
Set the button's "action" property, subscribing the new action to the button, as an ActionListener, if it is not already subscribed. |
protected void |
AbstractButton.configurePropertiesFromAction(Action a)
Configure various properties of the button by reading properties of an Action. |
protected java.beans.PropertyChangeListener |
AbstractButton.createActionPropertyChangeListener(Action a)
A factory method which should return a java.beans.PropertyChangeListener that accepts changes to the specified Action and reconfigure the AbstractButton, by default using the AbstractButton.configurePropertiesFromAction(javax.swing.Action) 55 method. |
protected void |
JMenuItem.configurePropertiesFromAction(Action action)
Configures menu items' properties from properties of the specified action. |
protected java.beans.PropertyChangeListener |
JMenuItem.createActionPropertyChangeListener(Action action)
Creates PropertyChangeListener to listen for the changes in action properties. |
JMenuItem |
JMenu.add(Action action)
Adds JMenuItem constructed using properties from specified action. |
JMenuItem |
JMenu.insert(Action action,
int index)
Creates JMenuItem with the associated action and inserts it to the menu at the specified index. |
protected JMenuItem |
JMenu.createActionComponent(Action action)
Creates and returns JMenuItem associated with the given action |
protected void |
JButton.configurePropertiesFromAction(Action a)
|
JButton |
JToolBar.add(Action action)
This method adds a new JButton that performs the given Action to the JToolBar. |
protected JButton |
JToolBar.createActionComponent(Action action)
This method is used to create JButtons which can be added to the JToolBar for the given action. |
void |
ActionMap.put(java.lang.Object key,
Action action)
Puts a new Action into the ActionMap. |
JMenuItem |
JPopupMenu.add(Action action)
Constructs menu item associated with the specified action and adds it to the popup menu |
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 |
protected JMenuItem |
JPopupMenu.createActionComponent(Action action)
Creates new menu item associated with a given action. |
void |
JComboBox.setAction(Action a)
setAction |
protected void |
JComboBox.configurePropertiesFromAction(Action a)
Configure properties of the JComboBox by reading properties of specified action. |
protected java.beans.PropertyChangeListener |
JComboBox.createActionPropertyChangeListener(Action action)
Creates PropertyChangeListener to listen for the changes in comboBox's action properties. |
void |
JTextField.setAction(Action newAction)
|
protected java.beans.PropertyChangeListener |
JTextField.createActionPropertyChangeListener(Action action)
|
protected void |
JTextField.configurePropertiesFromAction(Action action)
|
| Constructors in javax.swing with parameters of type Action | |
JMenuItem(Action action)
Creates a new JMenuItem associated with the specified action. |
|
JMenu(Action action)
Creates a new JMenu object. |
|
JCheckBoxMenuItem(Action action)
Creates a new JCheckBoxMenuItem using given action |
|
JButton(Action a)
Creates a new button from the specified action. |
|
JToggleButton(Action a)
Constructs a toggle button using the labelling, state and icon specified by the supplied action. |
|
JRadioButton(Action a)
Constructs a radio button using the labelling, state and icon specified by the supplied action. |
|
JCheckBox(Action action)
|
|
JRadioButtonMenuItem(Action action)
Creates a new JRadioButtonMenuItem using specified action |
|
|
|||||||||
| Home >> All >> javax >> [ swing overview ] | PREV NEXT | ||||||||