Package com.jbstrap.ui.bootstrap
Class ColumnSize
java.lang.Object
com.jbstrap.ui.bootstrap.ColumnSize
Supported column width settings.
- Since:
- 4.0
- Author:
- JBStrap
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static ColumnSize
AUTO()
Column width is automatically calculated so that all columns in a row would be of uniform size.static ColumnSize
AUTO
(ScreenSize screenSize) Column width is automatically calculated for the specified and all screen sizes so that all columns in a row would be of uniform size.static ColumnSize
The column width fits the column’s content for all screen sizes.static ColumnSize
CONTENT_WIDTH
(ScreenSize screenSize) Column width fits the column’s content for the specified and bigger screen sizes.static ColumnSize
Column width is 8/12 for all screen sizes.static ColumnSize
EIGHT_TWELFTH
(ScreenSize screenSize) Column width is 8/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 11/12 for all screen sizes.static ColumnSize
ELEVEN_TWELFTH
(ScreenSize screenSize) Column width is 11/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 5/12 for all screen sizes.static ColumnSize
FIVE_TWELFTH
(ScreenSize screenSize) Column width is 5/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 4/12 for all screen sizes.static ColumnSize
FOUR_TWELFTH
(ScreenSize screenSize) Column width is 4/12 for the specified and bigger screen sizes.static ColumnSize
Column width is full width for all screen sizes.static ColumnSize
FULL_WIDTH
(ScreenSize screenSize) Column width is full width for the specified and bigger screen sizes.static ColumnSize
Column width is 9/12 for all screen sizes.static ColumnSize
NINE_TWELFTH
(ScreenSize screenSize) Column width is 9/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 1/12 for all screen sizes.static ColumnSize
ONE_TWELFTH
(ScreenSize screenSize) Column width is 1/12 for the specified and bigger screen sizes.void
static void
removeAllColumnSizeSettings
(Component<?> component) Removes all column width settings from the specified column.static ColumnSize
Column width is 7/12 for all screen sizes.static ColumnSize
SEVEN_TWELFTH
(ScreenSize screenSize) Column width is 7/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 6/12 for all screen sizes.static ColumnSize
SIX_TWELFTH
(ScreenSize screenSize) Column width is 6/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 10/12 for all screen sizes.static ColumnSize
TEN_TWELFTH
(ScreenSize screenSize) Column width is 10/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 3/12 for all screen sizes.static ColumnSize
THREE_TWELFTH
(ScreenSize screenSize) Column width is 3/12 for the specified and bigger screen sizes.static ColumnSize
Column width is 2/12 for all screen sizes.static ColumnSize
TWO_TWELFTH
(ScreenSize screenSize) Column width is 2/12 for the specified and bigger screen sizes.
-
Method Details
-
AUTO
Column width is automatically calculated so that all columns in a row would be of uniform size. The settings applies to all screen sizes.- Returns:
- Column width
-
AUTO
Column width is automatically calculated for the specified and all screen sizes so that all columns in a row would be of uniform size. The settings applies to all screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
ONE_TWELFTH
Column width is 1/12 for all screen sizes.- Returns:
- Column width
-
ONE_TWELFTH
Column width is 1/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
TWO_TWELFTH
Column width is 2/12 for all screen sizes.- Returns:
- Column width
-
TWO_TWELFTH
Column width is 2/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
THREE_TWELFTH
Column width is 3/12 for all screen sizes.- Returns:
- Column width
-
THREE_TWELFTH
Column width is 3/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
FOUR_TWELFTH
Column width is 4/12 for all screen sizes.- Returns:
- Column width
-
FOUR_TWELFTH
Column width is 4/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
FIVE_TWELFTH
Column width is 5/12 for all screen sizes.- Returns:
- Column width
-
FIVE_TWELFTH
Column width is 5/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
SIX_TWELFTH
Column width is 6/12 for all screen sizes.- Returns:
- Column width
-
SIX_TWELFTH
Column width is 6/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
SEVEN_TWELFTH
Column width is 7/12 for all screen sizes.- Returns:
- Column width
-
SEVEN_TWELFTH
Column width is 7/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
EIGHT_TWELFTH
Column width is 8/12 for all screen sizes.- Returns:
- Column width
-
EIGHT_TWELFTH
Column width is 8/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
NINE_TWELFTH
Column width is 9/12 for all screen sizes.- Returns:
- Column width
-
NINE_TWELFTH
Column width is 9/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
TEN_TWELFTH
Column width is 10/12 for all screen sizes.- Returns:
- Column width
-
TEN_TWELFTH
Column width is 10/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
ELEVEN_TWELFTH
Column width is 11/12 for all screen sizes.- Returns:
- Column width
-
ELEVEN_TWELFTH
Column width is 11/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
FULL_WIDTH
Column width is full width for all screen sizes.- Returns:
- Column width
-
FULL_WIDTH
Column width is full width for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
CONTENT_WIDTH
The column width fits the column’s content for all screen sizes.- Returns:
- Column width
-
CONTENT_WIDTH
Column width fits the column’s content for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column width
-
apply
- Parameters:
component
- The component
-
Remove
- Parameters:
component
- The component
-
removeAllColumnSizeSettings
Removes all column width settings from the specified column.- Parameters:
component
- Column instance
-