Enum SegmentationPanel.LayerVisibility
- java.lang.Object
-
- java.lang.Enum<SegmentationPanel.LayerVisibility>
-
- adams.gui.visualization.segmentation.SegmentationPanel.LayerVisibility
-
- All Implemented Interfaces:
Serializable
,Comparable<SegmentationPanel.LayerVisibility>
- Enclosing class:
- SegmentationPanel
public static enum SegmentationPanel.LayerVisibility extends Enum<SegmentationPanel.LayerVisibility>
What layers should be selected.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
NONE
PREVIOUSLY_VISIBLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SegmentationPanel.LayerVisibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static SegmentationPanel.LayerVisibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final SegmentationPanel.LayerVisibility ALL
-
NONE
public static final SegmentationPanel.LayerVisibility NONE
-
PREVIOUSLY_VISIBLE
public static final SegmentationPanel.LayerVisibility PREVIOUSLY_VISIBLE
-
-
Method Detail
-
values
public static SegmentationPanel.LayerVisibility[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SegmentationPanel.LayerVisibility c : SegmentationPanel.LayerVisibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentationPanel.LayerVisibility valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-