public static class extends
, , SequenceEdit.ROIRemoveEdit, SequenceEdit.ROIRemovesEdit
Modifier and Type | Method and Description |
---|---|
void |
()
Sets
alive to false. |
|
()
This default implementation returns "".
|
<> |
() |
void |
()
Throws
CannotRedoException if canRedo returns false. |
void |
()
Throws
CannotUndoException if canUndo returns false . |
, , canUndo, getIcon, getRedoPresentationName, getSource, getUndoPresentationName, isSignificant, replaceEdit, toString
public <> getROIs()
public void () throws
CannotUndoException
if canUndo
returns false
.
Sets hasBeenDone
to false
. Subclasses should override to undo the
operation represented by this edit. Override should begin with
a call to super.
in interface
in class
- if canUndo
returns false
public void () throws
CannotRedoException
if canRedo
returns false. Sets
hasBeenDone
to true
.
Subclasses should override to redo the operation represented by
this edit. Override should begin with a call to super.
in interface
in class
- if canRedo
returns false
public void ()
alive
to false. Note that this
is a one way operation; dead edits cannot be resurrected.
Sending 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
.
in interface
in class
public ()
getUndoPresentationName
and
getRedoPresentationName
to
construct the strings they return. Subclasses should override to
return an appropriate description of the operation this edit
represents.
in interface
in class