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