public class AbstractROIsSequenceEdit extends AbstractSequenceEdit
Constructor and Description |
---|
AbstractROIsSequenceEdit(Sequence sequence,
java.util.Collection<ROI> rois) |
AbstractROIsSequenceEdit(Sequence sequence,
java.util.Collection<ROI> rois,
java.lang.String name) |
AbstractROIsSequenceEdit(Sequence sequence,
java.util.Collection<ROI> rois,
java.lang.String name,
java.awt.Image icon) |
Modifier and Type | Method and Description |
---|---|
void |
die()
Sets
alive to false. |
java.util.List<ROI> |
getROIs() |
getSequence
addEdit, canRedo, canUndo, getIcon, getPresentationName, getRedoPresentationName, getSource, getUndoPresentationName, isMergeable, isSignificant, redo, replaceEdit, setMergeable, toString, undo
public AbstractROIsSequenceEdit(Sequence sequence, java.util.Collection<ROI> rois, java.lang.String name, java.awt.Image icon)
public AbstractROIsSequenceEdit(Sequence sequence, java.util.Collection<ROI> rois, java.lang.String name)
public AbstractROIsSequenceEdit(Sequence sequence, java.util.Collection<ROI> rois)
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