protected class CommandStackDialog.UndoRedoAction extends javax.swing.AbstractAction implements IEnabledStateUpdating
| Modifier and Type | Field and Description |
|---|---|
private javax.swing.JTree |
tree |
private CommandStackDialog.UndoRedoType |
type |
| Constructor and Description |
|---|
UndoRedoAction(CommandStackDialog.UndoRedoType type)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
updateEnabledState()
Called after the layer model has changed.
|
private final CommandStackDialog.UndoRedoType type
private final javax.swing.JTree tree
public UndoRedoAction(CommandStackDialog.UndoRedoType type)
type - decide whether it is an undo action or a redo actionpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void updateEnabledState()
IEnabledStateUpdatingupdateEnabledState in interface IEnabledStateUpdating