public enum BadgeType extends Enum<BadgeType> 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 BadgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BadgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BadgeType DEFAULT
public static final BadgeType SUCCESS
public static final BadgeType WARNING
public static final BadgeType IMPORTANT
public static final BadgeType INFO
public static final BadgeType INVERSE
public static BadgeType[] values()
for (BadgeType c : BadgeType.values()) System.out.println(c);
public static BadgeType 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.