public enum FilamentType extends Enum<FilamentType> implements Enumeration
| Enum Constant and Description |
|---|
HALOGEN |
INCANDESCENT |
OTHER |
| Modifier and Type | Method and Description |
|---|---|
static FilamentType |
fromString(String value) |
String |
getValue() |
String |
toString() |
static FilamentType |
valueOf(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
private final String value
public static FilamentType[] values()
for (FilamentType c : FilamentType.values()) System.out.println(c);
public static FilamentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static FilamentType fromString(String value) throws EnumerationException
EnumerationExceptionpublic String getValue()
public String toString()
toString in class Enum<FilamentType>Copyright © 2015 Open Microscopy Environment