JHotDraw 6.0b1

org.jhotdraw.figures
Class ConnectedTextTool.DeleteUndoActivity

java.lang.Object
  extended by org.jhotdraw.util.UndoableAdapter
      extended by org.jhotdraw.standard.DeleteCommand.UndoActivity
          extended by org.jhotdraw.figures.ConnectedTextTool.DeleteUndoActivity
All Implemented Interfaces:
Undoable
Enclosing class:
ConnectedTextTool

public static class ConnectedTextTool.DeleteUndoActivity
extends DeleteCommand.UndoActivity

This class


Constructor Summary
ConnectedTextTool.DeleteUndoActivity(FigureTransferCommand cmd, Figure newConnectedFigure)
           
 
Method Summary
 Figure getConnectedFigure()
           
 boolean redo()
          Redo the activity
 void setConnectedFigure(Figure newConnectedFigure)
           
 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

ConnectedTextTool.DeleteUndoActivity

public ConnectedTextTool.DeleteUndoActivity(FigureTransferCommand cmd,
                                            Figure newConnectedFigure)
Method Detail

undo

public boolean undo()
Description copied from class: UndoableAdapter
Undo the activity

Specified by:
undo in interface Undoable
Overrides:
undo in class DeleteCommand.UndoActivity
Returns:
true if the activity could be undone, false otherwise
See Also:
Undoable.undo()

redo

public boolean redo()
Description copied from class: UndoableAdapter
Redo the activity

Specified by:
redo in interface Undoable
Overrides:
redo in class DeleteCommand.UndoActivity
Returns:
true if the activity could be redone, false otherwise
See Also:
Undoable.redo()

setConnectedFigure

public void setConnectedFigure(Figure newConnectedFigure)

getConnectedFigure

public Figure getConnectedFigure()

JHotDraw 6.0b1