Class FigureDeleteEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
com.bc.ceres.swing.figure.support.FigureDeleteEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorsConstructorDescriptionFigureDeleteEdit
(FigureEditor figureEditor, boolean performDelete, Figure... figuresToDelete) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
FigureDeleteEdit
public FigureDeleteEdit(FigureEditor figureEditor, boolean performDelete, Figure... figuresToDelete)
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
die
public void die()- Specified by:
die
in interfaceUndoableEdit
- Overrides:
die
in classAbstractUndoableEdit
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotRedoException
-