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