|
||||||||||
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.AlignCommand.UndoActivity
public static class AlignCommand.UndoActivity
Constructor Summary | |
---|---|
AlignCommand.UndoActivity(DrawingView newView,
AlignCommand.Alignment newAlignment)
|
Method Summary | |
---|---|
void |
alignAffectedFigures(AlignCommand.Alignment applyAlignment)
|
AlignCommand.Alignment |
getAppliedAlignment()
|
java.awt.Point |
getOriginalPoint(Figure f)
|
boolean |
redo()
Redo the activity |
void |
setAffectedFigures(FigureEnumeration fe)
|
boolean |
undo()
Undo the activity |
Methods inherited from class org.jhotdraw.util.UndoableAdapter |
---|
getAffectedFigures, getAffectedFiguresCount, getAffectedFiguresReversed, getDrawingView, isRedoable, isUndoable, release, setRedoable, setUndoable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlignCommand.UndoActivity(DrawingView newView, AlignCommand.Alignment newAlignment)
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 AlignCommand.Alignment getAppliedAlignment()
public java.awt.Point getOriginalPoint(Figure f)
public void alignAffectedFigures(AlignCommand.Alignment applyAlignment)
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 |