org.argouml.ui
Class UndoableAction
java.lang.Object
javax.swing.AbstractAction
org.argouml.ui.UndoableAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public abstract class UndoableAction
- extends javax.swing.AbstractAction
A base class for all undoable Actions. Any action that acts as the start
of a user interaction should extend this and call actionPerformed before
calling any mutable undoable methods.
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UndoableAction
public UndoableAction()
UndoableAction
public UndoableAction(java.lang.String name)
UndoableAction
public UndoableAction(java.lang.String name,
javax.swing.Icon icon)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)