public enum Palette extends Enum<Palette>
Enum Constant and Description |
---|
AZUREUS |
BLACK |
DARK_GRAY |
DIRTY_CYAN |
EARL_GRAY |
EGYPTIAN_BLUE |
GRANITA_ORANGE |
GRAY |
GREEN |
LIGHT_GRAY |
PALE_RED |
POMP_AND_POWER_VIOLET |
PRUSSIAN_BLUE |
RED |
SKY_BLUE |
THERMOSTAT_BLU |
THERMOSTAT_RED |
TUNDRA_GREEN |
VIOLET |
WHITE |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
static Palette |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Palette[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Palette THERMOSTAT_BLU
public static final Palette THERMOSTAT_RED
public static final Palette RED
public static final Palette PALE_RED
public static final Palette SKY_BLUE
public static final Palette AZUREUS
public static final Palette EGYPTIAN_BLUE
public static final Palette DIRTY_CYAN
public static final Palette PRUSSIAN_BLUE
public static final Palette GREEN
public static final Palette TUNDRA_GREEN
public static final Palette POMP_AND_POWER_VIOLET
public static final Palette VIOLET
public static final Palette EARL_GRAY
public static final Palette LIGHT_GRAY
public static final Palette GRAY
public static final Palette DARK_GRAY
public static final Palette GRANITA_ORANGE
public static final Palette BLACK
public static final Palette WHITE
public static Palette[] values()
for (Palette c : Palette.values()) System.out.println(c);
public static Palette 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 Color getColor()
Copyright © 2013. All Rights Reserved.