java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.jhotdraw8.draw.undo.RecreateHandlesEdit
- All Implemented Interfaces:
Serializable,UndoableEdit
This undoable edit can be used to recreate handles of a drawing view
as part of an undo/redo operation.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddEdit(UndoableEdit anEdit) booleanvoidredo()voidundo()Methods inherited from class javax.swing.undo.AbstractUndoableEdit
canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, replaceEdit, toString
-
Constructor Details
-
RecreateHandlesEdit
-
-
Method Details
-
isSignificant
public boolean isSignificant()- Specified by:
isSignificantin interfaceUndoableEdit- Overrides:
isSignificantin classAbstractUndoableEdit
-
addEdit
- Specified by:
addEditin interfaceUndoableEdit- Overrides:
addEditin classAbstractUndoableEdit
-
redo
public void redo()- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit
-
undo
public void undo()- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit
-