public enum FilamentType extends java.lang.Enum<FilamentType> implements Enumeration
Enum Constant and Description |
---|
HALOGEN |
INCANDESCENT |
OTHER |
Modifier and Type | Method and Description |
---|---|
static FilamentType |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static FilamentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FilamentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilamentType INCANDESCENT
public static final FilamentType HALOGEN
public static final FilamentType OTHER
public static FilamentType[] values()
for (FilamentType c : FilamentType.values()) System.out.println(c);
public static FilamentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static FilamentType fromString(java.lang.String value) throws EnumerationException
EnumerationException
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<FilamentType>
Copyright © 2014 Open Microscopy Environment