Package com.jbstrap.ui.bootstrap
Enum Class Border
- All Implemented Interfaces:
StyleElement
,Serializable
,Comparable<Border>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDisplays the border on all sides of the component.Displays the border on the lower side of the component.Displays the border on the left side of the component.Displays the border on the right side of the component.Displays the border on the upper side of the component.Sets the component’s border color to the theme’s “danger” color.Sets the component’s border color to the theme’s dark color.Makes the border disappear from the component.Makes the border disappear from the lower side of the component.Makes the border disappear from the left side of the component.Makes the border disappear from the right side of the component.Makes the border disappear from the upper side of the component.Sets the component’s border color to the theme’s “info” color.Sets the component’s border color to the theme’s light color.Straightens out the component border.Sets the component’s border color to the theme’s primary color.Rounds the component’s borders.Rounds the component’s bottom border.Rounds the component’s border by 50%.Increases the component border’s rounding radius.Rounds the component’s left border.Changes the component border to pill-shaped.Rounds the component’s right border.Decreases the component border’s rounding radius.Rounds the component’s top border.Sets the component’s border color to the theme’s secondary color.Sets the component’s border color to the theme’s “successful” color.Sets the component’s border color to the theme’s “warning” color.Sets the component’s border color to white. -
Method Summary
-
Enum Constant Details
-
BORDER
Displays the border on all sides of the component. -
BORDER_TOP
Displays the border on the upper side of the component. -
BORDER_RIGHT
Displays the border on the right side of the component. -
BORDER_BOTTOM
Displays the border on the lower side of the component. -
BORDER_LEFT
Displays the border on the left side of the component. -
HIDE_BORDER
Makes the border disappear from the component. -
HIDE_BORDER_TOP
Makes the border disappear from the upper side of the component. -
HIDE_BORDER_RIGHT
Makes the border disappear from the right side of the component. -
HIDE_BORDER_BOTTOM
Makes the border disappear from the lower side of the component. -
HIDE_BORDER_LEFT
Makes the border disappear from the left side of the component. -
PRIMARY
Sets the component’s border color to the theme’s primary color. -
SECONDARY
Sets the component’s border color to the theme’s secondary color. -
SUCCESS
Sets the component’s border color to the theme’s “successful” color. -
DANGER
Sets the component’s border color to the theme’s “danger” color. -
WARNING
Sets the component’s border color to the theme’s “warning” color. -
INFO
Sets the component’s border color to the theme’s “info” color. -
LIGHT
Sets the component’s border color to the theme’s light color. -
DARK
Sets the component’s border color to the theme’s dark color. -
WHITE
Sets the component’s border color to white. -
ROUNDED
Rounds the component’s borders. -
ROUNDED_TOP
Rounds the component’s top border. -
ROUNDED_RIGHT
Rounds the component’s right border. -
ROUNDED_BOTTOM
Rounds the component’s bottom border. -
ROUNDED_LEFT
Rounds the component’s left border. -
ROUNDED_CIRCLE
Rounds the component’s border by 50%. If the component width and height are equal, the component is displayed as equally round. -
ROUNDED_PILL
Changes the component border to pill-shaped. -
NOT_ROUNDED
Straightens out the component border. -
ROUNDED_SMALL
Decreases the component border’s rounding radius. -
ROUNDED_LARGE
Increases the component border’s rounding radius.
-
-
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
-
apply
- Specified by:
apply
in interfaceStyleElement
- Parameters:
component
- The component
-
remove
- Specified by:
remove
in interfaceStyleElement
- Parameters:
component
- The component
-
getStyleClassName
- Specified by:
getStyleClassName
in interfaceStyleElement
- Returns:
- The style class name or
null
if is not style class for the style settings
-