org.jhotdraw.draw.event
Class CompositeFigureEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- javax.swing.undo.CompoundEdit
-
- org.jhotdraw.undo.CompositeEdit
-
- org.jhotdraw.draw.event.CompositeFigureEdit
-
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.undo.UndoableEdit
public class CompositeFigureEdit extends CompositeEdit
ACompositeEditwhich invokesfigure.willChangeandfigure.changedwhen undoing or redoing a change.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description CompositeFigureEdit(Figure figure)Creates a newCompositeFigureEditwhich uses CompoundEdit.getPresentatioName and is significant.CompositeFigureEdit(Figure figure, boolean isSignificant)Creates new CompositeFigureEdit which uses the specified significance.CompositeFigureEdit(Figure figure, java.lang.String presentationName)Creates new CompositeFigureEdit which uses the specified presentation name.CompositeFigureEdit(Figure figure, java.lang.String presentationName, boolean isSignificant)Creates new CompositeEdit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidredo()voidundo()-
Methods inherited from class org.jhotdraw.undo.CompositeEdit
addEdit, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, setSignificant, setVerbose
-
-
-
-
Constructor Detail
-
CompositeFigureEdit
public CompositeFigureEdit(Figure figure)
Creates a newCompositeFigureEditwhich uses CompoundEdit.getPresentatioName and is significant.- See Also:
CompoundEdit.getPresentationName()
-
CompositeFigureEdit
public CompositeFigureEdit(Figure figure, boolean isSignificant)
Creates new CompositeFigureEdit which uses the specified significance.- See Also:
CompoundEdit.getPresentationName()
-
CompositeFigureEdit
public CompositeFigureEdit(Figure figure, java.lang.String presentationName)
Creates new CompositeFigureEdit which uses the specified presentation name.- See Also:
CompoundEdit.getPresentationName()
-
CompositeFigureEdit
public CompositeFigureEdit(Figure figure, java.lang.String presentationName, boolean isSignificant)
Creates new CompositeEdit. Which uses the given presentation name. If the presentation name is null, then CompoundEdit.getPresentatioName is used.- See Also:
CompoundEdit.getPresentationName()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG