Package com.jbstrap.ui.bootstrap
Class ColumnOffset
java.lang.Object
com.jbstrap.ui.bootstrap.ColumnOffset
JBStrap’s supported column offsets.
- Since:
- 4.0
- Author:
- JBStrap
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static ColumnOffset
The column offset is 8/12 on all screens.static ColumnOffset
EIGHT_TWELFTH
(ScreenSize screenSize) Column offset is 8/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 11/12 on all screens.static ColumnOffset
ELEVEN_TWELFTH
(ScreenSize screenSize) Column offset is 11/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 5/12 on all screens.static ColumnOffset
FIVE_TWELFTH
(ScreenSize screenSize) Column offset is 5/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 4/12 on all screens.static ColumnOffset
FOUR_TWELFTH
(ScreenSize screenSize) Column offset is 4/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 9/12 on all screens.static ColumnOffset
NINE_TWELFTH
(ScreenSize screenSize) Column offset is 9/12 for the specified and bigger screen sizes.static ColumnOffset
NONE()
The column has no offset on any screen.static ColumnOffset
NONE
(ScreenSize screenSize) The column has no offset on any screen.static ColumnOffset
The column offset is 1/12 on all screens.static ColumnOffset
ONE_TWELFTH
(ScreenSize screenSize) Column offset is 1/12 for the specified and bigger screen sizes.void
static void
removeAllColumnOffsetSettings
(Component<?> component) Removes all column offset.static ColumnOffset
The column offset is 7/12 on all screens.static ColumnOffset
SEVEN_TWELFTH
(ScreenSize screenSize) Column offset is 7/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 6/12 on all screens.static ColumnOffset
SIX_TWELFTH
(ScreenSize screenSize) Column offset is 6/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 10/12 on all screens.static ColumnOffset
TEN_TWELFTH
(ScreenSize screenSize) Column offset is 10/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 3/12 on all screens.static ColumnOffset
THREE_TWELFTH
(ScreenSize screenSize) Column offset is 3/12 for the specified and bigger screen sizes.static ColumnOffset
The column offset is 2/12 on all screens.static ColumnOffset
TWO_TWELFTH
(ScreenSize screenSize) Column offset is 2/12 for the specified and bigger screen sizes.
-
Method Details
-
NONE
The column has no offset on any screen.- Returns:
- Column offset
-
NONE
The column has no offset on any screen.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
ONE_TWELFTH
The column offset is 1/12 on all screens.- Returns:
- Column offset
-
ONE_TWELFTH
Column offset is 1/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
TWO_TWELFTH
The column offset is 2/12 on all screens.- Returns:
- Column offset
-
TWO_TWELFTH
Column offset is 2/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
THREE_TWELFTH
The column offset is 3/12 on all screens.- Returns:
- Column offset
-
THREE_TWELFTH
Column offset is 3/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
FOUR_TWELFTH
The column offset is 4/12 on all screens.- Returns:
- Column offset
-
FOUR_TWELFTH
Column offset is 4/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
FIVE_TWELFTH
The column offset is 5/12 on all screens.- Returns:
- Column offset
-
FIVE_TWELFTH
Column offset is 5/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
SIX_TWELFTH
The column offset is 6/12 on all screens.- Returns:
- Column offset
-
SIX_TWELFTH
Column offset is 6/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
SEVEN_TWELFTH
The column offset is 7/12 on all screens.- Returns:
- Column offset
-
SEVEN_TWELFTH
Column offset is 7/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
EIGHT_TWELFTH
The column offset is 8/12 on all screens.- Returns:
- Column offset
-
EIGHT_TWELFTH
Column offset is 8/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
NINE_TWELFTH
The column offset is 9/12 on all screens.- Returns:
- Column offset
-
NINE_TWELFTH
Column offset is 9/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
TEN_TWELFTH
The column offset is 10/12 on all screens.- Returns:
- Column offset
-
TEN_TWELFTH
Column offset is 10/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
ELEVEN_TWELFTH
The column offset is 11/12 on all screens.- Returns:
- Column offset
-
ELEVEN_TWELFTH
Column offset is 11/12 for the specified and bigger screen sizes.- Parameters:
screenSize
- Screen size Available screen sizes are listed in theScreenSize
enum.- Returns:
- Column offset
-
apply
- Parameters:
component
- The component
-
Remove
- Parameters:
component
- The component
-
removeAllColumnOffsetSettings
Removes all column offset.- Parameters:
component
- Column component instance
-