-
@Immutable() public final class BlockStylePer-block styling: background, border, shadow, padding, margin, opacity.
SPEC-070-A J.10 —
@Immutable: every field is a primitive / nullable primitive / nested fully-immutable holder; no iterables to migrate.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringbackground_colorprivate final BlockGradientStylebackground_gradientprivate final Stringborder_colorprivate final Doubleborder_widthprivate final Stringborder_styleprivate final Doubleborder_radiusprivate final BlockShadowStyleshadowprivate final Doublepadding_topprivate final Doublepadding_rightprivate final Doublepadding_bottomprivate final Doublepadding_leftprivate final Doublemargin_topprivate final Doublemargin_bottomprivate final Doublemargin_leftprivate final Doublemargin_rightprivate final Doubleopacity
-
Constructor Summary
Constructors Constructor Description BlockStyle(String background_color, BlockGradientStyle background_gradient, String border_color, Double border_width, String border_style, Double border_radius, BlockShadowStyle shadow, Double padding_top, Double padding_right, Double padding_bottom, Double padding_left, Double margin_top, Double margin_bottom, Double margin_left, Double margin_right, Double opacity)
-
Method Summary
Modifier and Type Method Description final StringgetBackground_color()final BlockGradientStylegetBackground_gradient()final StringgetBorder_color()final DoublegetBorder_width()final StringgetBorder_style()final DoublegetBorder_radius()final BlockShadowStylegetShadow()final DoublegetPadding_top()final DoublegetPadding_right()final DoublegetPadding_bottom()final DoublegetPadding_left()final DoublegetMargin_top()final DoublegetMargin_bottom()final DoublegetMargin_left()final DoublegetMargin_right()final DoublegetOpacity()-
-
Constructor Detail
-
BlockStyle
BlockStyle(String background_color, BlockGradientStyle background_gradient, String border_color, Double border_width, String border_style, Double border_radius, BlockShadowStyle shadow, Double padding_top, Double padding_right, Double padding_bottom, Double padding_left, Double margin_top, Double margin_bottom, Double margin_left, Double margin_right, Double opacity)
-
-
Method Detail
-
getBackground_color
final String getBackground_color()
-
getBackground_gradient
final BlockGradientStyle getBackground_gradient()
-
getBorder_color
final String getBorder_color()
-
getBorder_width
final Double getBorder_width()
-
getBorder_style
final String getBorder_style()
-
getBorder_radius
final Double getBorder_radius()
-
getShadow
final BlockShadowStyle getShadow()
-
getPadding_top
final Double getPadding_top()
-
getPadding_right
final Double getPadding_right()
-
getPadding_bottom
final Double getPadding_bottom()
-
getPadding_left
final Double getPadding_left()
-
getMargin_top
final Double getMargin_top()
-
getMargin_bottom
final Double getMargin_bottom()
-
getMargin_left
final Double getMargin_left()
-
getMargin_right
final Double getMargin_right()
-
getOpacity
final Double getOpacity()
-
-
-
-