Package qupath.lib.gui.prefs
Enum Class PathPrefs.ImageTypeSetting
- All Implemented Interfaces:
Serializable
,Comparable<PathPrefs.ImageTypeSetting>
,Constable
- Enclosing class:
PathPrefs
Enum defining how setting the image type should be handled for new images.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAutomatically estimate the image typeDo not set the image typePrompt the user to specified the image type -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static PathPrefs.ImageTypeSetting
Returns the enum constant of this class with the specified name.static PathPrefs.ImageTypeSetting[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO_ESTIMATE
Automatically estimate the image type -
PROMPT
Prompt the user to specified the image type -
NONE
Do not set the image type
-
-
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
- Overrides:
toString
in classEnum<PathPrefs.ImageTypeSetting>
-