public enum PonderPalette extends java.lang.Enum<PonderPalette>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
FAST |
GREEN |
INPUT |
MEDIUM |
OUTPUT |
RED |
SLOW |
WHITE |
| Modifier and Type | Method and Description |
|---|---|
int |
getColor() |
Color |
getColorObject() |
static PonderPalette |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PonderPalette[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PonderPalette WHITE
public static final PonderPalette BLACK
public static final PonderPalette RED
public static final PonderPalette GREEN
public static final PonderPalette BLUE
public static final PonderPalette SLOW
public static final PonderPalette MEDIUM
public static final PonderPalette FAST
public static final PonderPalette INPUT
public static final PonderPalette OUTPUT
public static PonderPalette[] values()
for (PonderPalette c : PonderPalette.values()) System.out.println(c);
public static PonderPalette 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 int getColor()
public Color getColorObject()