ActionListener, Serializable, Cloneable, EventListener, Actionpublic class DefaultAction extends AbstractAction
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor | Description |
|---|---|
DefaultAction() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(ActionEvent event) |
|
Closure |
getClosure() |
|
void |
setClosure(Closure closure) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic void actionPerformed(ActionEvent event)
public Closure getClosure()
public void setClosure(Closure closure)