Package com.jbstrap.ui.bootstrap
Class Padding
java.lang.Object
com.jbstrap.ui.bootstrap.Padding
- All Implemented Interfaces:
StyleElement
Available paddings
The paddings listed here are included in Bootstrap and can be used in any combination.
- Since:
- 4.0
- Author:
- JBStrap
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Padding
For all screen types, padding is removed from all sides of the component.static Padding
PADDING_0
(ScreenSize screenSize) No padding is set on one side of the component in case of the specified screen size or a bigger screen size.static Padding
For all screen sizes, a 1 unit thick padding is set on every side of the component.static Padding
PADDING_1
(ScreenSize screenSize) On all sides of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 2 unit thick padding is set on every side of the component.static Padding
PADDING_2
(ScreenSize screenSize) On all sides of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 3 unit thick padding is set on every side of the component.static Padding
PADDING_3
(ScreenSize screenSize) On all sides of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 4 unit thick padding is set on every side of the component.static Padding
PADDING_4
(ScreenSize screenSize) On all sides of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 5 unit thick padding is set on every side of the component.static Padding
PADDING_5
(ScreenSize screenSize) On all sides of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, there is no padding set for the lower side of the component.static Padding
PADDING_BOTTOM_0
(ScreenSize screenSize) For the specified screen size, there is no padding set for the lower side of the component.static Padding
For all screen sizes, a 1 unit thick padding is set on the lower side of the component.static Padding
PADDING_BOTTOM_1
(ScreenSize screenSize) On the lower side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 2 unit thick padding is set on the lower side of the component.static Padding
PADDING_BOTTOM_2
(ScreenSize screenSize) On the lower side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 3 unit thick padding is set on the lower side of the component.static Padding
PADDING_BOTTOM_3
(ScreenSize screenSize) On the lower side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 4 unit thick padding is set on the lower side of the component.static Padding
PADDING_BOTTOM_4
(ScreenSize screenSize) On the lower side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 5 unit thick padding is set on the lower side of the component.static Padding
PADDING_BOTTOM_5
(ScreenSize screenSize) On the lower side of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.static Padding
On the right and left sides of the component, no padding is set for all screen sizes.static Padding
PADDING_HORIZONTAL_0
(ScreenSize screenSize) On the right and left sides of the component, no padding is set for the specified screen size.static Padding
A 1 unit thick padding is set on the right and left sides of the component for all screen sizes.static Padding
PADDING_HORIZONTAL_1
(ScreenSize screenSize) On the right and left sides of the component, a 1 unit thick padding is set for the specified or bigger screen sizes.static Padding
A 2 unit thick padding is set on the right and left sides of the component for all screen sizes.static Padding
PADDING_HORIZONTAL_2
(ScreenSize screenSize) On the right and left sides of the component, a 2 unit thick padding is set for the specified or bigger screen sizes.static Padding
A 3 unit thick padding is set on the right and left sides of the component for all screen sizes.static Padding
PADDING_HORIZONTAL_3
(ScreenSize screenSize) On the right and left sides of the component, a 3 unit thick padding is set for the specified or bigger screen sizes.static Padding
A 4 unit thick padding is set on the right and left sides of the component for all screen sizes.static Padding
PADDING_HORIZONTAL_4
(ScreenSize screenSize) On the right and left sides of the component, a 4 unit thick padding is set for the specified or bigger screen sizes.static Padding
A 5 unit thick padding is set on the right and left sides of the component for all screen sizes.static Padding
PADDING_HORIZONTAL_5
(ScreenSize screenSize) On the right and left sides of the component, a 5 unit thick padding is set for the specified or bigger screen sizes.static Padding
For all screen sizes, there is no padding set for the left side of the component.static Padding
PADDING_LEFT_0
(ScreenSize screenSize) For the specified screen size, there is no padding set for the left side of the component.static Padding
For all screen sizes, a 1 unit thick padding is set on the left side of the component.static Padding
PADDING_LEFT_1
(ScreenSize screenSize) On the left side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 2 unit thick padding is set on the left side of the component.static Padding
PADDING_LEFT_2
(ScreenSize screenSize) On the left side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 3 unit thick padding is set on the left side of the component.static Padding
PADDING_LEFT_3
(ScreenSize screenSize) On the left side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 4 unit thick padding is set on the left side of the component.static Padding
PADDING_LEFT_4
(ScreenSize screenSize) On the left side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 5 unit thick padding is set on the left side of the component.static Padding
PADDING_LEFT_5
(ScreenSize screenSize) On the left side of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, there is no padding set for the right side of the component.static Padding
PADDING_RIGHT_0
(ScreenSize screenSize) For the specified screen size, there is no padding set for the right side of the component.static Padding
For all screen sizes, a 1 unit thick padding is set on the right side of the component.static Padding
PADDING_RIGHT_1
(ScreenSize screenSize) On the right side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 2 unit thick padding is set on the right side of the component.static Padding
PADDING_RIGHT_2
(ScreenSize screenSize) On the right side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 3 unit thick padding is set on the right side of the component.static Padding
PADDING_RIGHT_3
(ScreenSize screenSize) On the right side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 4 unit thick padding is set on the right side of the component.static Padding
PADDING_RIGHT_4
(ScreenSize screenSize) On the right side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 5 unit thick padding is set on the right side of the component.static Padding
PADDING_RIGHT_5
(ScreenSize screenSize) On the right side of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, there is no padding set for the upper side of the component.static Padding
PADDING_TOP_0
(ScreenSize screenSize) For the specified screen size, there is no padding set for the upper side of the component.static Padding
For all screen sizes, a 1 unit thick padding is set on the top of the component.static Padding
PADDING_TOP_1
(ScreenSize screenSize) On the upper side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 2 unit thick padding is set on every side of the component.static Padding
PADDING_TOP_2
(ScreenSize screenSize) On the upper side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 3 unit thick padding is set on every side of the component.static Padding
PADDING_TOP_3
(ScreenSize screenSize) On the upper side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 4 unit thick padding is set on the upper side of the component.static Padding
PADDING_TOP_4
(ScreenSize screenSize) On the upper side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.static Padding
For all screen sizes, a 5 unit thick padding is set on the upper side of the component.static Padding
PADDING_TOP_5
(ScreenSize screenSize) On the upper side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.static Padding
On the lower and upper sides of the component, no padding is set for all screen sizes.static Padding
PADDING_VERTICAL_0
(ScreenSize screenSize) On the lower and upper sides of the component, no padding is set for the specified screen size.static Padding
On the lower and upper sides of the component, a 1 unit thick padding is set for all screen sizes.static Padding
PADDING_VERTICAL_1
(ScreenSize screenSize) On the lower and upper sides of the component, a 1 unit thick padding is set for the specified or bigger screen sizes.static Padding
On the lower and upper sides of the component, a 2 unit thick padding is set for all screen sizes.static Padding
PADDING_VERTICAL_2
(ScreenSize screenSize) On the lower and upper sides of the component, a 2 unit thick padding is set for the specified or bigger screen sizes.static Padding
On the lower and upper sides of the component, a 3 unit thick padding is set for all screen sizes.static Padding
PADDING_VERTICAL_3
(ScreenSize screenSize) On the lower and upper sides of the component, a 3 unit thick padding is set for the specified or bigger screen sizes.static Padding
On the lower and upper sides of the component, a 4 unit thick padding is set for all screen sizes.static Padding
PADDING_VERTICAL_4
(ScreenSize screenSize) On the lower and upper sides of the component, a 4 unit thick padding is set for the specified or bigger screen sizes.static Padding
On the lower and upper sides of the component, a 5 unit thick padding is set for all screen sizes.static Padding
PADDING_VERTICAL_5
(ScreenSize screenSize) On the lower and upper sides of the component, a 5 unit thick padding is set for the specified or bigger screen sizes.void
static void
removeAllPaddingSettings
(Component<?> component)
-
Method Details
-
PADDING_0
For all screen types, padding is removed from all sides of the component.- Returns:
- Padding class
-
PADDING_0
No padding is set on one side of the component in case of the specified screen size or a bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_1
For all screen sizes, a 1 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_1
On all sides of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_2
For all screen sizes, a 2 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_2
On all sides of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_3
For all screen sizes, a 3 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_3
On all sides of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_4
For all screen sizes, a 4 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_4
On all sides of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_5
For all screen sizes, a 5 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_5
On all sides of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_TOP_0
For all screen sizes, there is no padding set for the upper side of the component.- Returns:
- Padding class
-
PADDING_TOP_0
For the specified screen size, there is no padding set for the upper side of the component.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_TOP_1
For all screen sizes, a 1 unit thick padding is set on the top of the component.- Returns:
- Padding class
-
PADDING_TOP_1
On the upper side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_TOP_2
For all screen sizes, a 2 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_TOP_2
On the upper side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_TOP_3
For all screen sizes, a 3 unit thick padding is set on every side of the component.- Returns:
- Padding class
-
PADDING_TOP_3
On the upper side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_TOP_4
For all screen sizes, a 4 unit thick padding is set on the upper side of the component.- Returns:
- Padding class
-
PADDING_TOP_4
On the upper side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_TOP_5
For all screen sizes, a 5 unit thick padding is set on the upper side of the component.- Returns:
- Padding class
-
PADDING_TOP_5
On the upper side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_BOTTOM_0
For all screen sizes, there is no padding set for the lower side of the component.- Returns:
- Padding class
-
PADDING_BOTTOM_0
For the specified screen size, there is no padding set for the lower side of the component.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_BOTTOM_1
For all screen sizes, a 1 unit thick padding is set on the lower side of the component.- Returns:
- Padding class
-
PADDING_BOTTOM_1
On the lower side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_BOTTOM_2
For all screen sizes, a 2 unit thick padding is set on the lower side of the component.- Returns:
- Padding class
-
PADDING_BOTTOM_2
On the lower side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_BOTTOM_3
For all screen sizes, a 3 unit thick padding is set on the lower side of the component.- Returns:
- Padding class
-
PADDING_BOTTOM_3
On the lower side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_BOTTOM_4
For all screen sizes, a 4 unit thick padding is set on the lower side of the component.- Returns:
- Padding class
-
PADDING_BOTTOM_4
On the lower side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_BOTTOM_5
For all screen sizes, a 5 unit thick padding is set on the lower side of the component.- Returns:
- Padding class
-
PADDING_BOTTOM_5
On the lower side of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_LEFT_0
For all screen sizes, there is no padding set for the left side of the component.- Returns:
- Padding class
-
PADDING_LEFT_0
For the specified screen size, there is no padding set for the left side of the component.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_LEFT_1
For all screen sizes, a 1 unit thick padding is set on the left side of the component.- Returns:
- Padding class
-
PADDING_LEFT_1
On the left side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_LEFT_2
For all screen sizes, a 2 unit thick padding is set on the left side of the component.- Returns:
- Padding class
-
PADDING_LEFT_2
On the left side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_LEFT_3
For all screen sizes, a 3 unit thick padding is set on the left side of the component.- Returns:
- Padding class
-
PADDING_LEFT_3
On the left side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_LEFT_4
For all screen sizes, a 4 unit thick padding is set on the left side of the component.- Returns:
- Padding class
-
PADDING_LEFT_4
On the left side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_LEFT_5
For all screen sizes, a 5 unit thick padding is set on the left side of the component.- Returns:
- Padding class
-
PADDING_LEFT_5
On the left side of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_RIGHT_0
For all screen sizes, there is no padding set for the right side of the component.- Returns:
- Padding class
-
PADDING_RIGHT_0
For the specified screen size, there is no padding set for the right side of the component.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_RIGHT_1
For all screen sizes, a 1 unit thick padding is set on the right side of the component.- Returns:
- Padding class
-
PADDING_RIGHT_1
On the right side of the component, a 1 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_RIGHT_2
For all screen sizes, a 2 unit thick padding is set on the right side of the component.- Returns:
- Padding class
-
PADDING_RIGHT_2
On the right side of the component, a 2 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_RIGHT_3
For all screen sizes, a 3 unit thick padding is set on the right side of the component.- Returns:
- Padding class
-
PADDING_RIGHT_3
On the right side of the component, a 3 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_RIGHT_4
For all screen sizes, a 4 unit thick padding is set on the right side of the component.- Returns:
- Padding class
-
PADDING_RIGHT_4
On the right side of the component, a 4 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_RIGHT_5
For all screen sizes, a 5 unit thick padding is set on the right side of the component.- Returns:
- Padding class
-
PADDING_RIGHT_5
On the right side of the component, a 5 unit thick padding is set in case of the specified or bigger screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_HORIZONTAL_0
On the right and left sides of the component, no padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_HORIZONTAL_0
On the right and left sides of the component, no padding is set for the specified screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_HORIZONTAL_1
A 1 unit thick padding is set on the right and left sides of the component for all screen sizes.- Returns:
- Padding class
-
PADDING_HORIZONTAL_1
On the right and left sides of the component, a 1 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_HORIZONTAL_2
A 2 unit thick padding is set on the right and left sides of the component for all screen sizes.- Returns:
- Padding class
-
PADDING_HORIZONTAL_2
On the right and left sides of the component, a 2 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_HORIZONTAL_3
A 3 unit thick padding is set on the right and left sides of the component for all screen sizes.- Returns:
- Padding class
-
PADDING_HORIZONTAL_3
On the right and left sides of the component, a 3 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_HORIZONTAL_4
A 4 unit thick padding is set on the right and left sides of the component for all screen sizes.- Returns:
- Padding class
-
PADDING_HORIZONTAL_4
On the right and left sides of the component, a 4 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_HORIZONTAL_5
A 5 unit thick padding is set on the right and left sides of the component for all screen sizes.- Returns:
- Padding class
-
PADDING_HORIZONTAL_5
On the right and left sides of the component, a 5 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_VERTICAL_0
On the lower and upper sides of the component, no padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_VERTICAL_0
On the lower and upper sides of the component, no padding is set for the specified screen size.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_VERTICAL_1
On the lower and upper sides of the component, a 1 unit thick padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_VERTICAL_1
On the lower and upper sides of the component, a 1 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_VERTICAL_2
On the lower and upper sides of the component, a 2 unit thick padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_VERTICAL_2
On the lower and upper sides of the component, a 2 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_VERTICAL_3
On the lower and upper sides of the component, a 3 unit thick padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_VERTICAL_3
On the lower and upper sides of the component, a 3 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_VERTICAL_4
On the lower and upper sides of the component, a 4 unit thick padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_VERTICAL_4
On the lower and upper sides of the component, a 4 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
PADDING_VERTICAL_5
On the lower and upper sides of the component, a 5 unit thick padding is set for all screen sizes.- Returns:
- Padding class
-
PADDING_VERTICAL_5
On the lower and upper sides of the component, a 5 unit thick padding is set for the specified or bigger screen sizes.- Parameters:
screenSize
- Screen size for the padding setting Available screen sizes are listed in theScreenSize
enum.- Returns:
- Padding class
-
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
-
removeAllPaddingSettings
-