anl.aida.bubble
Enum Bubble.State
java.lang.Object
java.lang.Enum<Bubble.State>
anl.aida.bubble.Bubble.State
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Bubble.State>
- Enclosing class:
- Bubble
public static enum Bubble.State
- extends java.lang.Enum<Bubble.State>
Method Summary |
static Bubble.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Bubble.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SELECTED
public static final Bubble.State SELECTED
UNSELECTED
public static final Bubble.State UNSELECTED
NEUTRAL
public static final Bubble.State NEUTRAL
values
public static Bubble.State[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Bubble.State c : Bubble.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Bubble.State valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null