public enum Medium extends Enum<Medium> implements Enumeration
| Modifier and Type | Method and Description | 
|---|---|
static Medium | 
fromString(String value)  | 
String | 
getValue()  | 
String | 
toString()  | 
static Medium | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Medium[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Medium AIR
public static final Medium OIL
public static final Medium WATER
public static final Medium GLYCEROL
public static final Medium OTHER
public static Medium[] values()
for (Medium c : Medium.values()) System.out.println(c);
public static Medium 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 Medium fromString(String value) throws EnumerationException
EnumerationExceptionpublic String getValue()
Copyright © 2014 Open Microscopy Environment