public class SimpleAction extends AbstractAction
Runnable
.changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
SimpleAction(SerializableRunnable runnable)
Creates a SimpleAction.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public SimpleAction(SerializableRunnable runnable)
runnable
- Runnable to call in case of actionPerformed(ActionEvent)
.public void actionPerformed(ActionEvent e)
Copyright © 2016 Nelkinda Software Craft Pvt Ltd. All rights reserved.