Module wicket.bootstrap.core
Enum Class ColorBehavior.Color
java.lang.Object
java.lang.Enum<ColorBehavior.Color>
de.agilecoders.wicket.core.markup.html.bootstrap.utilities.ColorBehavior.Color
- All Implemented Interfaces:
ICssClassNameProvider,Serializable,Comparable<ColorBehavior.Color>,Constable,IClusterable
- Enclosing class:
- ColorBehavior
public static enum ColorBehavior.Color
extends Enum<ColorBehavior.Color>
implements ICssClassNameProvider
Enum of available text colors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionCss class associated with this color.static ColorBehavior.ColorReturns the enum constant of this class with the specified name.static ColorBehavior.Color[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Primary
-
Primary_emphasis
-
Secondary
-
Secondary_emphasis
-
Success
-
Success_emphasis
-
Danger
-
Danger_emphasis
-
Warning
-
Warning_emphasis
-
Info
-
Info_emphasis
-
Light
-
Light_emphasis
-
Dark
-
Dark_emphasis
-
Body
-
Body_emphasis
-
Body_secondary
-
Body_tertiary
-
White
-
Black
-
Black50
-
White50
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
cssClassName
Css class associated with this color.- Specified by:
cssClassNamein interfaceICssClassNameProvider- Returns:
- Css class associated with this color.
-