edu.utep.cs.et.gui.editor
Class DefaultEditor.RedoAction
java.lang.Object
javax.swing.AbstractAction
edu.utep.cs.et.gui.editor.DefaultEditor.RedoAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- DefaultEditor
private class DefaultEditor.RedoAction
- extends AbstractAction
A class representing redo actions.
| 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 |
|
Method Summary |
void |
actionPerformed(ActionEvent e)
Performs an redo action on the undo manager
undoManager and also update the status of this
and the undo action actRedo. |
void |
updateRedoState()
Updates the status of this action. |
DefaultEditor.RedoAction
public DefaultEditor.RedoAction()
- Creates a new instance. The action is initially disabled.
actionPerformed
public void actionPerformed(ActionEvent e)
- Performs an redo action on the undo manager
undoManager and also update the status of this
and the undo action actRedo.
also
assignable undoManager;
updateRedoState
public void updateRedoState()
- Updates the status of this action. If the undo manager
undoManager can perform a redo action, then
enable this action; otherwise, disable it.
JET is Copyright (C) 2005-2007 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.