public static enum Bar.Color extends Enum<Bar.Color> implements Style
Bar
Enum Constant and Description |
---|
DANGER
DANGER Color
|
DEFAULT
DEFAULT Color
|
INFO
INFO Color
|
SUCCESS
SUCCESS Color
|
WARNING
WARNING Color
|
Modifier and Type | Method and Description |
---|---|
String |
get()
Gets the CSS class name (or a part thereof) associated with this
constant.
|
static Bar.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bar.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Bar.Color[] values()
for (Bar.Color c : Bar.Color.values()) System.out.println(c);
public static Bar.Color 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 © 2012-2014 gwtbootstrap. All Rights Reserved.