public static enum Enumhta.BarColor extends Enum<Enumhta.BarColor>
Enum Constant and Description |
---|
BLUE |
GREEN |
PINK |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static Enumhta.BarColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Enumhta.BarColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enumhta.BarColor PINK
public static final Enumhta.BarColor BLUE
public static final Enumhta.BarColor RED
public static final Enumhta.BarColor GREEN
public static final Enumhta.BarColor YELLOW
public static final Enumhta.BarColor PURPLE
public static final Enumhta.BarColor WHITE
public static Enumhta.BarColor[] values()
for (Enumhta.BarColor c : Enumhta.BarColor.values()) System.out.println(c);
public static Enumhta.BarColor 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 © 2019. All rights reserved.