|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.util.UndoableAdapter
org.jhotdraw.standard.DeleteCommand.UndoActivity
public static class DeleteCommand.UndoActivity
Constructor Summary | |
---|---|
DeleteCommand.UndoActivity(FigureTransferCommand newCommand)
Constructor for UndoActivity . |
Method Summary | |
---|---|
boolean |
redo()
Redo the activity |
boolean |
undo()
Undo the activity |
Methods inherited from class org.jhotdraw.util.UndoableAdapter |
---|
getAffectedFigures, getAffectedFiguresCount, getAffectedFiguresReversed, getDrawingView, isRedoable, isUndoable, release, setAffectedFigures, setRedoable, setUndoable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteCommand.UndoActivity(FigureTransferCommand newCommand)
UndoActivity
.
newCommand
- parent commandMethod Detail |
---|
public boolean undo()
UndoableAdapter
undo
in interface Undoable
undo
in class UndoableAdapter
Undoable.undo()
public boolean redo()
UndoableAdapter
redo
in interface Undoable
redo
in class UndoableAdapter
Undoable.redo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |