public abstract class AbstractUndoableEdit extends Object implements UndoableEdit, Serializable
| Constructor and Description |
|---|
AbstractUndoableEdit() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addEdit(UndoableEdit anEdit) |
boolean |
canRedo() |
boolean |
canUndo() |
void |
die() |
protected void |
doRedo() |
protected void |
doUndo() |
String |
getPresentationName() |
String |
getRedoPresentationName() |
String |
getUndoPresentationName() |
boolean |
isAlive() |
boolean |
isHasBeenDone() |
boolean |
isSignificant() |
void |
redo() |
boolean |
replaceEdit(UndoableEdit anEdit) |
protected void |
setHasBeenDone(boolean hasBeenDone) |
String |
toString() |
void |
undo() |
public boolean addEdit(UndoableEdit anEdit)
addEdit in interface UndoableEditpublic boolean canRedo()
canRedo in interface UndoableEditpublic boolean canUndo()
canUndo in interface UndoableEditpublic void die()
die in interface UndoableEditprotected void doRedo()
protected void doUndo()
public String getPresentationName()
getPresentationName in interface UndoableEditpublic String getRedoPresentationName()
getRedoPresentationName in interface UndoableEditpublic String getUndoPresentationName()
getUndoPresentationName in interface UndoableEditpublic boolean isAlive()
public boolean isHasBeenDone()
public boolean isSignificant()
isSignificant in interface UndoableEditpublic final void redo()
throws CannotRedoException
redo in interface UndoableEditCannotRedoExceptionpublic boolean replaceEdit(UndoableEdit anEdit)
replaceEdit in interface UndoableEditprotected void setHasBeenDone(boolean hasBeenDone)
public final void undo()
throws CannotUndoException
undo in interface UndoableEditCannotUndoExceptionCopyright © 2015 Revolution Systems Inc.. All rights reserved.