public class MaskUndoableEdit
extends javax.swing.undo.AbstractUndoableEdit
ImagePlusImageProcessor before mask was appliedImageProcessor once mask applied, which is, in fact,
the current ImageProcessor of the ImagePlus| Constructor and Description |
|---|
MaskUndoableEdit(ij.ImagePlus concernedImage,
ij.process.ImageProcessor undoProcessor)
Standard Contructor
|
MaskUndoableEdit(ij.ImagePlus concernedImage,
ij.process.ImageProcessor undoProcessor,
java.lang.String presentation)
Advanced Contructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo() |
boolean |
canUndo() |
void |
die() |
java.lang.String |
getPresentationName() |
void |
redo() |
void |
undo() |
public MaskUndoableEdit(ij.ImagePlus concernedImage,
ij.process.ImageProcessor undoProcessor)
concernedImage - the concerned ImagePlusundoProcessor - the ImageProcessor before mask was applied#MaskUndoableEdit(ImagePlus, ImageProcessor, ImageProcessor, String)public MaskUndoableEdit(ij.ImagePlus concernedImage,
ij.process.ImageProcessor undoProcessor,
java.lang.String presentation)
concernedImage - the concerned ImagePlusundoProcessor - the ImageProcessor before mask was appliedpresentation - the presentation String - default: "Mask"public boolean canUndo()
canUndo in interface javax.swing.undo.UndoableEditcanUndo in class javax.swing.undo.AbstractUndoableEditpublic boolean canRedo()
canRedo in interface javax.swing.undo.UndoableEditcanRedo in class javax.swing.undo.AbstractUndoableEditpublic void undo()
throws javax.swing.undo.CannotUndoException
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic void redo()
throws javax.swing.undo.CannotRedoException
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotRedoExceptionpublic java.lang.String getPresentationName()
getPresentationName in interface javax.swing.undo.UndoableEditgetPresentationName in class javax.swing.undo.AbstractUndoableEditpublic void die()
die in interface javax.swing.undo.UndoableEditdie in class javax.swing.undo.AbstractUndoableEdit