smacs.xngr.browser.editor
Class UndoAction
java.lang.Object
javax.swing.AbstractAction
smacs.xngr.browser.editor.UndoAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class UndoAction
- extends AbstractAction
An action that can be used to undo additions and removals
in the Xml Editor.
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
|
Constructor Summary |
UndoAction(Editor editor)
The constructor for the action which allows for undoing
additions and removals in the Xml Editor content. |
UndoAction
public UndoAction(Editor editor)
- The constructor for the action which allows for undoing
additions and removals in the Xml Editor content.
- Parameters:
editor - the Editor
actionPerformed
public void actionPerformed(ActionEvent event)
- The implementation of the undo action, called
after a user action.
- Parameters:
event - the action event.