public class AbstractPoint2DROIEdit extends AbstractROIEdit
Constructor and Description |
---|
AbstractPoint2DROIEdit(ROI2DShape roi,
Anchor2D point) |
AbstractPoint2DROIEdit(ROI2DShape roi,
Anchor2D point,
java.awt.Image icon) |
AbstractPoint2DROIEdit(ROI2DShape roi,
Anchor2D point,
java.lang.String name) |
AbstractPoint2DROIEdit(ROI2DShape roi,
Anchor2D point,
java.lang.String name,
java.awt.Image icon) |
Modifier and Type | Method and Description |
---|---|
void |
die()
Sets
alive to false. |
Anchor2D |
getPoint() |
ROI2DShape |
getROI2DShape() |
getROI
addEdit, canRedo, canUndo, getIcon, getPresentationName, getRedoPresentationName, getSource, getUndoPresentationName, isMergeable, isSignificant, redo, replaceEdit, setMergeable, toString, undo
public AbstractPoint2DROIEdit(ROI2DShape roi, Anchor2D point, java.lang.String name, java.awt.Image icon)
public AbstractPoint2DROIEdit(ROI2DShape roi, Anchor2D point, java.lang.String name)
public AbstractPoint2DROIEdit(ROI2DShape roi, Anchor2D point, java.awt.Image icon)
public AbstractPoint2DROIEdit(ROI2DShape roi, Anchor2D point)
public ROI2DShape getROI2DShape()
public void die()
AbstractIcyUndoableEdit
alive
to false. Note that this is a one way operation; dead edits cannot be
resurrected.undo
or redo
to a dead edit results in an exception being
thrown.
Typically an edit is killed when it is consolidated by another edit's addEdit
or
replaceEdit
method, or when it is dequeued from an UndoManager
.
die
in interface javax.swing.undo.UndoableEdit
die
in class AbstractIcyUndoableEdit