public enum ThemeColor extends Enum<ThemeColor>
Enum Constant and Description |
---|
AQUAMARINE |
BLACK |
BLUE |
GREEN |
KHAKI |
LIME |
MAGENTA |
ORANGE |
PINK |
RED |
SILVER |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static ThemeColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThemeColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThemeColor AQUAMARINE
public static final ThemeColor BLACK
public static final ThemeColor BLUE
public static final ThemeColor GREEN
public static final ThemeColor KHAKI
public static final ThemeColor LIME
public static final ThemeColor MAGENTA
public static final ThemeColor ORANGE
public static final ThemeColor PINK
public static final ThemeColor RED
public static final ThemeColor SILVER
public static final ThemeColor YELLOW
public static ThemeColor[] values()
for (ThemeColor c : ThemeColor.values()) System.out.println(c);
public static ThemeColor 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 nullCopyright © 2015. All Rights Reserved.