Class FigureInsertEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- com.bc.ceres.swing.figure.support.FigureInsertEdit
-
- All Implemented Interfaces:
Serializable,UndoableEdit
public class FigureInsertEdit extends AbstractUndoableEdit
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
-
Constructor Summary
Constructors Constructor Description FigureInsertEdit(FigureEditor figureEditor, boolean performInsert, Figure... figuresToInsert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddie()StringgetPresentationName()voidredo()voidundo()-
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
-
-
-
Constructor Detail
-
FigureInsertEdit
public FigureInsertEdit(FigureEditor figureEditor, boolean performInsert, Figure... figuresToInsert)
-
-
Method Detail
-
getPresentationName
public String getPresentationName()
- Specified by:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein classAbstractUndoableEdit
-
die
public void die()
- Specified by:
diein interfaceUndoableEdit- Overrides:
diein classAbstractUndoableEdit
-
undo
public void undo() throws CannotUndoException- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
redo
public void redo() throws CannotRedoException- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit- Throws:
CannotRedoException
-
-