|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.util.UndoableAdapter
org.jhotdraw.contrib.dnd.JHDDropTargetListener.AddUndoActivity
public static class JHDDropTargetListener.AddUndoActivity
Constructor Summary | |
---|---|
JHDDropTargetListener.AddUndoActivity(DrawingView newDrawingView)
|
Method Summary | |
---|---|
boolean |
redo()
Redo the activity |
void |
release()
Since this is an add operation, figures can only be released if it has been undone. |
boolean |
undo()
Undo the activity |
Methods inherited from class org.jhotdraw.util.UndoableAdapter |
---|
getAffectedFigures, getAffectedFiguresCount, getAffectedFiguresReversed, getDrawingView, isRedoable, isUndoable, setAffectedFigures, setRedoable, setUndoable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JHDDropTargetListener.AddUndoActivity(DrawingView newDrawingView)
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 void release()
release
in interface Undoable
release
in class UndoableAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |