|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
org.openstreetmap.josm.gui.dialogs.CommandStackDialog.UndoRedoAction
protected class CommandStackDialog.UndoRedoAction
Action to undo or redo all commands up to (and including) the seleced item.
| Field Summary | |
|---|---|
private javax.swing.JTree |
tree
|
private CommandStackDialog.UndoRedoType |
type
|
| 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 | |
|---|---|
CommandStackDialog.UndoRedoAction(CommandStackDialog.UndoRedoType type)
constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
updateEnabledState()
|
| 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 |
| Field Detail |
|---|
private CommandStackDialog.UndoRedoType type
private javax.swing.JTree tree
| Constructor Detail |
|---|
public CommandStackDialog.UndoRedoAction(CommandStackDialog.UndoRedoType type)
type - decide whether it is an undo action or a redo action| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void updateEnabledState()
updateEnabledState in interface CommandStackDialog.IEnabledStateUpdating
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||