| Enum Constant and Description |
|---|
BLUE
Blue color.
|
GREEN
Green color.
|
NONE
None.
|
PINK
Pink color.
|
WHITE
White color.
|
YELLOW
Yellow color.
|
| Modifier and Type | Method and Description |
|---|---|
static NoteColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NoteColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoteColor BLUE
public static final NoteColor GREEN
public static final NoteColor PINK
public static final NoteColor YELLOW
public static final NoteColor WHITE
public static final NoteColor NONE
public static NoteColor[] values()
for (NoteColor c : NoteColor.values()) System.out.println(c);
public static NoteColor 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 null