Package qupath.lib.gui.viewer
Enum Class OverlayOptions.DetectionDisplayMode
java.lang.Object
java.lang.Enum<OverlayOptions.DetectionDisplayMode>
qupath.lib.gui.viewer.OverlayOptions.DetectionDisplayMode
- All Implemented Interfaces:
Serializable
,Comparable<OverlayOptions.DetectionDisplayMode>
,Constable
- Enclosing class:
OverlayOptions
public static enum OverlayOptions.DetectionDisplayMode
extends Enum<OverlayOptions.DetectionDisplayMode>
Display modes for cells and other detections.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionShow only cell boundaries.Show only detection centroids, not boundaries.Show both cell boundaries and cell nuclei, where available.Show only cell nuclei. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OverlayOptions.DetectionDisplayMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOUNDARIES_ONLY
Show only cell boundaries. -
NUCLEI_ONLY
Show only cell nuclei. -
NUCLEI_AND_BOUNDARIES
Show both cell boundaries and cell nuclei, where available. -
CENTROIDS
Show only detection centroids, not boundaries.
-
-
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
-