public enum LabelType extends Enum<LabelType> implements ICssClassNameProvider, ICssClassNameModifier
| Enum Constant and Description |
|---|
Default |
Important |
Info |
Inverse |
Success |
Warning |
| Modifier and Type | Method and Description |
|---|---|
String |
cssClassName() |
String |
cssClassName(String prefix) |
CssClassNameAppender |
newCssClassNameModifier() |
CssClassNameAppender |
newCssClassNameModifier(String prefix) |
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 nullpublic String cssClassName()
cssClassName in interface ICssClassNameProviderpublic CssClassNameAppender newCssClassNameModifier()
newCssClassNameModifier in interface ICssClassNameModifierAttributeModifier which contains
the css class namepublic CssClassNameAppender newCssClassNameModifier(String prefix)
Copyright © 2013 agilecoders.de. All Rights Reserved.