public enum Pulse extends java.lang.Enum<Pulse> implements Enumeration
Enum Constant and Description |
---|
CW |
MODELOCKED |
OTHER |
QSWITCHED |
REPETITIVE |
SINGLE |
Modifier and Type | Method and Description |
---|---|
static Pulse |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static Pulse |
valueOf(java.lang.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
public static Pulse[] values()
for (Pulse c : Pulse.values()) System.out.println(c);
public static Pulse 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 Pulse fromString(java.lang.String value) throws EnumerationException
EnumerationException
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Pulse>
Copyright © 2014 Open Microscopy Environment