-
public final class TextContainerStyleRepresents the styling for the text component.
-
-
Field Summary
Fields Modifier and Type Field Description private final ComponentSizesizeprivate final ComponentPaddingpaddingprivate final ColorbackgroundColorprivate final TextStyletextStyle
-
Constructor Summary
Constructors Constructor Description TextContainerStyle(ComponentSize size, ComponentPadding padding, Color backgroundColor, TextStyle textStyle)
-
Method Summary
Modifier and Type Method Description final ComponentSizegetSize()final ComponentPaddinggetPadding()final ColorgetBackgroundColor()final TextStylegetTextStyle()-
-
Constructor Detail
-
TextContainerStyle
TextContainerStyle(ComponentSize size, ComponentPadding padding, Color backgroundColor, TextStyle textStyle)
- Parameters:
size- The size of the component.padding- The padding of the component.backgroundColor- The background color of the component.textStyle- The text style of the component.
-
-
Method Detail
-
getSize
final ComponentSize getSize()
-
getPadding
final ComponentPadding getPadding()
-
getBackgroundColor
final Color getBackgroundColor()
-
getTextStyle
final TextStyle getTextStyle()
-
-
-
-