Package com.jbstrap.ui.bootstrap
Enum Class ContainerType
- All Implemented Interfaces:
StyleElement
,Serializable
,Comparable<ContainerType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDefault containerDefault containerExtra large containerFluid container - The container width always 100% width on any deviceLarge containerMedium containerSmall container -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static ContainerType
Returns the enum constant of this class with the specified name.static ContainerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default container
- On extra small device (<576 pixel) the container width is 100%
- On small device (>= 576px) the container width is 540px
- On medium device (>= 768px) the container width is 720px
- On large device (>= 992px) the container width is 960px
- On extra large device (>= 1200px) the container is 1140px
-
SMALL
Small container
- On extra small device (<576 pixel) the container width is 100%
- On small device (>= 576px) the container width is 540px
- On medium device (>= 768px) the container width is 720px
- On large device (>= 992px) the container width is 960px
- On extra large device (>= 1200px) the container is 1140px
-
MEDIUM
Medium container
- On extra small device (<576 pixel) the container width is 100%
- On small device (>= 576px) the container width is 100%
- On medium device (>= 768px) the container width is 720px
- On large device (>= 992px) the container width is 960px
- On extra large device (>= 1200px) the container is 1140px
-
LARGE
Large container
- On extra small device (<576 pixel) the container width is 100%
- On small device (>= 576px) the container width is 100%
- On medium device (>= 768px) the container width is 100%
- On large device (>= 992px) the container width is 960px
- On extra large device (>= 1200px) the container is 1140px
-
EXTRA_LARGE
Extra large container
- On extra small device (<576 pixel) the container width is 100%
- On small device (>= 576px) the container width is 100%
- On medium device (>= 768px) the container width is 100%
- On large device (>= 992px) the container width is 100%
- On extra large device (>= 1200px) the container is 1140px
-
EXTRA_EXTRA_LARGE
Default container
- On extra small device (<576 pixel) the container width is 100%
- On small device (>= 576px) the container width is 100%
- On medium device (>= 768px) the container width is 100%
- On large device (>= 992px) the container width is 100%
- On extra large device (>= 1200px) the container is 1330pixel
-
FLUID
Fluid container - The container width always 100% width on any device
-
-
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
-