Package com.xinapse.multisliceimage.roi
Enum Class ROIEditAction
- All Implemented Interfaces:
Serializable
,Comparable<ROIEditAction>
,Constable
An enumeration of the different types of (undoable) actions that can be performed on an ROI.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdd an ROI.Cut an ROI to the clipboard.Delete an ROI.Edit an ROI's outline.Erase points from an ROI.Flip an ROI.Group ROIs.Join ROIs.Do a logical operation (union, andNot, union, intersect, XOR) on a set of ROIs.Make a hollow ROI.Do a morphological operation (erode/dilate) on an ROI.Move an ROI.Paint pixels in a region.Paste an ROI from the clipboard.Rotate an ROI.Smooth an ROI. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a String describing the edit action.static ROIEditAction
Returns the enum constant of this class with the specified name.static ROIEditAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
Add an ROI. -
DELETE
Delete an ROI. -
CUT
Cut an ROI to the clipboard. -
PASTE
Paste an ROI from the clipboard. -
MOVE
Move an ROI. -
ROTATE
Rotate an ROI. -
FLIP
Flip an ROI. -
MORPHOLOGICAL_OP
Do a morphological operation (erode/dilate) on an ROI. -
LOGICAL_OP
Do a logical operation (union, andNot, union, intersect, XOR) on a set of ROIs. -
EDIT_OUTLINE
Edit an ROI's outline. -
ERASE
Erase points from an ROI. -
JOIN
Join ROIs. -
GROUP
Group ROIs. -
MAKE_HOLLOW
Make a hollow ROI. -
SMOOTH
Smooth an ROI. -
PAINT
Paint pixels in a region.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Returns a String describing the edit action.- Overrides:
toString
in classEnum<ROIEditAction>
- Returns:
- a String describing this ROIEditAction.
-