protected class CommandStackDialog.UndoRedoAction extends AbstractAction implements CommandStackDialog.IEnabledStateUpdating
| Modifier and Type | Field and Description |
|---|---|
private JTree |
tree |
private CommandStackDialog.UndoRedoType |
type |
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 and Description |
|---|
UndoRedoAction(CommandStackDialog.UndoRedoType type)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
updateEnabledState() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprivate final CommandStackDialog.UndoRedoType type
public UndoRedoAction(CommandStackDialog.UndoRedoType type)
type - decide whether it is an undo action or a redo actionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void updateEnabledState()
updateEnabledState in interface CommandStackDialog.IEnabledStateUpdating