com.nwoods.jgo
Class AbstractUndoableEdit
java.lang.Object
com.nwoods.jgo.AbstractUndoableEdit
- All Implemented Interfaces:
- java.io.Serializable, UndoableEdit
- Direct Known Subclasses:
- CompoundEdit, JGoDocumentChangedEdit
- public class AbstractUndoableEdit
- extends java.lang.Object
- implements UndoableEdit, java.io.Serializable
This exists for compatibility with javax.swing.undo.AbstractUndoableEdit.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUndoableEdit
public AbstractUndoableEdit()
die
public void die()
- Specified by:
die
in interface UndoableEdit
undo
public void undo()
throws CannotUndoException
- Specified by:
undo
in interface UndoableEdit
- Throws:
CannotUndoException
canUndo
public boolean canUndo()
- Specified by:
canUndo
in interface UndoableEdit
redo
public void redo()
throws CannotRedoException
- Specified by:
redo
in interface UndoableEdit
- Throws:
CannotRedoException
canRedo
public boolean canRedo()
- Specified by:
canRedo
in interface UndoableEdit
addEdit
public boolean addEdit(UndoableEdit anEdit)
- Specified by:
addEdit
in interface UndoableEdit
getPresentationName
public java.lang.String getPresentationName()
- Specified by:
getPresentationName
in interface UndoableEdit
getUndoPresentationName
public java.lang.String getUndoPresentationName()
- Specified by:
getUndoPresentationName
in interface UndoableEdit
getRedoPresentationName
public java.lang.String getRedoPresentationName()
- Specified by:
getRedoPresentationName
in interface UndoableEdit