|
||||||||||
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.ConnectionTool.UndoActivity
Constructor Summary | |
ConnectionTool.UndoActivity(DrawingView newDrawingView,
ConnectionFigure newConnection)
|
Method Summary | |
protected ConnectionFigure |
getConnection()
Gets the currently created figure |
boolean |
redo()
Redo the activity |
protected void |
setConnection(ConnectionFigure newConnection)
|
boolean |
undo()
Undo the activity |
Methods inherited from class org.jhotdraw.util.UndoableAdapter |
duplicateAffectedFigures, getAffectedFigures, getAffectedFiguresCount, getAffectedFiguresReversed, getDrawingView, isRedoable, isUndoable, release, rememberFigures, setAffectedFigures, setDrawingView, setRedoable, setUndoable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionTool.UndoActivity(DrawingView newDrawingView, ConnectionFigure newConnection)
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
protected void setConnection(ConnectionFigure newConnection)
protected ConnectionFigure getConnection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |