Package com.bc.ceres.swing.actions
Class UndoAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.bc.ceres.swing.actions.AbstractSystemAction
-
- com.bc.ceres.swing.actions.AbstractUndoAction
-
- com.bc.ceres.swing.actions.UndoAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,UndoableEditListener
public class UndoAction extends AbstractUndoAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
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 Summary
Constructors Constructor Description UndoAction(UndoContext undoContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
boolean
isExecutable()
-
Methods inherited from class com.bc.ceres.swing.actions.AbstractUndoAction
getUndoContext, undoableEditHappened
-
Methods inherited from class com.bc.ceres.swing.actions.AbstractSystemAction
actionPerformed, loadIcon, updateState
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
UndoAction
public UndoAction(UndoContext undoContext)
-
-
Method Detail
-
isExecutable
public boolean isExecutable()
- Specified by:
isExecutable
in classAbstractSystemAction
-
execute
public void execute()
- Specified by:
execute
in classAbstractSystemAction
-
-