Module wicket.bootstrap.core
Enum Class BackgroundColorBehavior.Color
java.lang.Object
java.lang.Enum<BackgroundColorBehavior.Color>
de.agilecoders.wicket.core.markup.html.bootstrap.utilities.BackgroundColorBehavior.Color
- All Implemented Interfaces:
ICssClassNameProvider,Serializable,Comparable<BackgroundColorBehavior.Color>,Constable,IClusterable
- Enclosing class:
- BackgroundColorBehavior
public static enum BackgroundColorBehavior.Color
extends Enum<BackgroundColorBehavior.Color>
implements ICssClassNameProvider
Enumeration of all possible background colors.
https://getbootstrap.com/docs/5.3/utilities/background/
-
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 background color.Returns the enum constant of this class with the specified name.static BackgroundColorBehavior.Color[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Primary
-
Primary_subtle
-
Secondary
-
Secondary_subtle
-
Success
-
Success_subtle
-
Danger
-
Danger_subtle
-
Warning
-
Warning_subtle
-
Info
-
Info_subtle
-
Light
-
Light_subtle
-
Dark
-
Dark_subtle
-
Body_secondary
-
Body_tertiary
-
Body
-
Black
-
White
-
Transparent
-
-
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 background color.- Specified by:
cssClassNamein interfaceICssClassNameProvider- Returns:
- Css class associated with this background color.
-