Package ome.xml.model.enums
Enum ContrastMethod
- java.lang.Object
-
- java.lang.Enum<ContrastMethod>
-
- ome.xml.model.enums.ContrastMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<ContrastMethod>
,Enumeration
public enum ContrastMethod extends Enum<ContrastMethod> implements Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRIGHTFIELD
DARKFIELD
DIC
FLUORESCENCE
HOFFMANMODULATION
OBLIQUEILLUMINATION
OTHER
PHASE
POLARIZEDLIGHT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContrastMethod
fromString(String value)
String
getValue()
String
toString()
static ContrastMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContrastMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BRIGHTFIELD
public static final ContrastMethod BRIGHTFIELD
-
PHASE
public static final ContrastMethod PHASE
-
DIC
public static final ContrastMethod DIC
-
HOFFMANMODULATION
public static final ContrastMethod HOFFMANMODULATION
-
OBLIQUEILLUMINATION
public static final ContrastMethod OBLIQUEILLUMINATION
-
POLARIZEDLIGHT
public static final ContrastMethod POLARIZEDLIGHT
-
DARKFIELD
public static final ContrastMethod DARKFIELD
-
FLUORESCENCE
public static final ContrastMethod FLUORESCENCE
-
OTHER
public static final ContrastMethod OTHER
-
-
Method Detail
-
values
public static ContrastMethod[] 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 (ContrastMethod c : ContrastMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContrastMethod 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
-
fromString
public static ContrastMethod fromString(String value) throws EnumerationException
- Throws:
EnumerationException
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ContrastMethod>
-
-