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 TypeMethodDescriptionvoidstatic PaddingFor all screen types, padding is removed from all sides of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 1 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 2 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 3 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 4 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 5 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, there is no padding set for the lower side of the component.static PaddingPADDING_BOTTOM_0(ScreenSize screenSize) For the specified screen size, there is no padding set for the lower side of the component.static PaddingFor all screen sizes, a 1 unit thick padding is set on the lower side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 2 unit thick padding is set on the lower side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 3 unit thick padding is set on the lower side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 4 unit thick padding is set on the lower side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 5 unit thick padding is set on the lower side of the component.static PaddingPADDING_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 PaddingOn the right and left sides of the component, no padding is set for all screen sizes.static PaddingPADDING_HORIZONTAL_0(ScreenSize screenSize) On the right and left sides of the component, no padding is set for the specified screen size.static PaddingA 1 unit thick padding is set on the right and left sides of the component for all screen sizes.static PaddingPADDING_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 PaddingA 2 unit thick padding is set on the right and left sides of the component for all screen sizes.static PaddingPADDING_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 PaddingA 3 unit thick padding is set on the right and left sides of the component for all screen sizes.static PaddingPADDING_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 PaddingA 4 unit thick padding is set on the right and left sides of the component for all screen sizes.static PaddingPADDING_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 PaddingA 5 unit thick padding is set on the right and left sides of the component for all screen sizes.static PaddingPADDING_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 PaddingFor all screen sizes, there is no padding set for the left side of the component.static PaddingPADDING_LEFT_0(ScreenSize screenSize) For the specified screen size, there is no padding set for the left side of the component.static PaddingFor all screen sizes, a 1 unit thick padding is set on the left side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 2 unit thick padding is set on the left side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 3 unit thick padding is set on the left side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 4 unit thick padding is set on the left side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 5 unit thick padding is set on the left side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, there is no padding set for the right side of the component.static PaddingPADDING_RIGHT_0(ScreenSize screenSize) For the specified screen size, there is no padding set for the right side of the component.static PaddingFor all screen sizes, a 1 unit thick padding is set on the right side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 2 unit thick padding is set on the right side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 3 unit thick padding is set on the right side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 4 unit thick padding is set on the right side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 5 unit thick padding is set on the right side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, there is no padding set for the upper side of the component.static PaddingPADDING_TOP_0(ScreenSize screenSize) For the specified screen size, there is no padding set for the upper side of the component.static PaddingFor all screen sizes, a 1 unit thick padding is set on the top of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 2 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 3 unit thick padding is set on every side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 4 unit thick padding is set on the upper side of the component.static PaddingPADDING_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 PaddingFor all screen sizes, a 5 unit thick padding is set on the upper side of the component.static PaddingPADDING_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 PaddingOn the lower and upper sides of the component, no padding is set for all screen sizes.static PaddingPADDING_VERTICAL_0(ScreenSize screenSize) On the lower and upper sides of the component, no padding is set for the specified screen size.static PaddingOn the lower and upper sides of the component, a 1 unit thick padding is set for all screen sizes.static PaddingPADDING_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 PaddingOn the lower and upper sides of the component, a 2 unit thick padding is set for all screen sizes.static PaddingPADDING_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 PaddingOn the lower and upper sides of the component, a 3 unit thick padding is set for all screen sizes.static PaddingPADDING_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 PaddingOn the lower and upper sides of the component, a 4 unit thick padding is set for all screen sizes.static PaddingPADDING_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 PaddingOn the lower and upper sides of the component, a 5 unit thick padding is set for all screen sizes.static PaddingPADDING_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.voidstatic voidremoveAllPaddingSettings(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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- 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 theScreenSizeenum.- Returns:
- Padding class
-
apply
- Specified by:
applyin interfaceStyleElement- Parameters:
component- The component
-
remove
- Specified by:
removein interfaceStyleElement- Parameters:
component- The component
-
getStyleClassName
- Specified by:
getStyleClassNamein interfaceStyleElement- Returns:
- The style class name or
nullif is not style class for the style settings
-
removeAllPaddingSettings
-