|
||||||||||
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.ChangeAttributeCommand.UndoActivity
public static class ChangeAttributeCommand.UndoActivity
Constructor Summary | |
---|---|
ChangeAttributeCommand.UndoActivity(DrawingView newDrawingView,
FigureAttributeConstant newUndoAttribute,
java.lang.Object newUndoValue)
|
Method Summary | |
---|---|
FigureAttributeConstant |
getAttribute()
|
java.lang.Object |
getBackupValue()
|
boolean |
redo()
Redo the activity |
void |
release()
Releases all resources related to an undoable activity |
void |
setAffectedFigures(FigureEnumeration fe)
|
boolean |
undo()
Undo the activity |
Methods inherited from class org.jhotdraw.util.UndoableAdapter |
---|
getAffectedFigures, getAffectedFiguresCount, getAffectedFiguresReversed, getDrawingView, isRedoable, isUndoable, setRedoable, setUndoable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeAttributeCommand.UndoActivity(DrawingView newDrawingView, FigureAttributeConstant newUndoAttribute, java.lang.Object newUndoValue)
Method Detail |
---|
public boolean undo()
UndoableAdapter
undo
in interface Undoable
undo
in class UndoableAdapter
public boolean redo()
UndoableAdapter
redo
in interface Undoable
redo
in class UndoableAdapter
public FigureAttributeConstant getAttribute()
public java.lang.Object getBackupValue()
public void release()
UndoableAdapter
release
in interface Undoable
release
in class UndoableAdapter
public void setAffectedFigures(FigureEnumeration fe)
setAffectedFigures
in interface Undoable
setAffectedFigures
in class UndoableAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |