protected class CommandStackDialog.UndoRedoAction extends javax.swing.AbstractAction implements CommandStackDialog.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() |
private CommandStackDialog.UndoRedoType type
private 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()
updateEnabledState in interface CommandStackDialog.IEnabledStateUpdating