public enum Palette extends Enum<Palette>
Enum Constant and Description |
---|
ADWAITA_BLU |
AZUREUS |
BLACK |
CLEAN_BLU |
DARK_BLUE |
DARK_GRAY |
DIRTY_CYAN |
DROID_BLACK |
DROID_GRAY |
EARL_GRAY |
EGYPTIAN_BLUE |
ELEGANT_BLACK |
ELEGANT_CYAN |
GRANITA_ORANGE |
GRAY |
GREEN |
LIGHT_GRAY |
PALE_GRAY |
PALE_RED |
POMP_AND_POWER_VIOLET |
PRUSSIAN_BLUE |
RED |
ROYAL_BLACK |
ROYAL_BLUE |
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 WHITE
public static final Palette LIGHT_GRAY
public static final Palette PALE_GRAY
public static final Palette GRAY
public static final Palette DARK_GRAY
public static final Palette EARL_GRAY
public static final Palette ELEGANT_BLACK
public static final Palette ROYAL_BLACK
public static final Palette DROID_GRAY
public static final Palette DROID_BLACK
public static final Palette DARK_BLUE
public static final Palette BLACK
public static final Palette PALE_RED
public static final Palette THERMOSTAT_RED
public static final Palette RED
public static final Palette GRANITA_ORANGE
public static final Palette GREEN
public static final Palette TUNDRA_GREEN
public static final Palette AZUREUS
public static final Palette DIRTY_CYAN
public static final Palette ELEGANT_CYAN
public static final Palette CLEAN_BLU
public static final Palette EGYPTIAN_BLUE
public static final Palette ADWAITA_BLU
public static final Palette SKY_BLUE
public static final Palette THERMOSTAT_BLU
public static final Palette PRUSSIAN_BLUE
public static final Palette ROYAL_BLUE
public static final Palette VIOLET
public static final Palette POMP_AND_POWER_VIOLET
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 © 2017. All Rights Reserved.