Interface StyleProperties

All Superinterfaces:
StylePropertiesReadonly

public interface StyleProperties extends StylePropertiesReadonly
Modifiable map of style properties
  • Method Details

    • setColor

      StyleProperties setColor(@Nullable String value)
      Set the color property.
      Parameters:
      value - Value
      Returns:
      this
    • setColor

      StyleProperties setColor(@Nullable Color value)
      Set the color property.
      Parameters:
      value - Value
      Returns:
      this
    • setBackgroundColor

      StyleProperties setBackgroundColor(@Nullable String value)
      Set the background-color property.
      Parameters:
      value - Value
      Returns:
      this
    • setBackgroundColor

      StyleProperties setBackgroundColor(@Nullable Color value)
      Set the background-color property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderColor

      StyleProperties setBorderColor(@Nullable String value)
      Set the border-color property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderColor

      StyleProperties setBorderColor(@Nullable Color value)
      Set the border-color property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineColor

      StyleProperties setOutlineColor(@Nullable String value)
      Set the outline-color property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineColor

      StyleProperties setOutlineColor(@Nullable Color value)
      Set the outline-color property.
      Parameters:
      value - Value
      Returns:
      this
    • setTextShadow

      StyleProperties setTextShadow(@Nullable String value)
      Set the text-shadow property.
      Parameters:
      value - Value
      Returns:
      this
    • setTextShadow

      StyleProperties setTextShadow(@Nullable Boolean value)
      Set the text-shadow property.
      Parameters:
      value - Value
      Returns:
      this
    • setBold

      StyleProperties setBold(@Nullable String value)
      Set the bold property.
      Parameters:
      value - Value
      Returns:
      this
    • setBold

      StyleProperties setBold(@Nullable Boolean value)
      Set the bold property.
      Parameters:
      value - Value
      Returns:
      this
    • setItalic

      StyleProperties setItalic(@Nullable String value)
      Set the italic property.
      Parameters:
      value - Value
      Returns:
      this
    • setItalic

      StyleProperties setItalic(@Nullable Boolean value)
      Set the italic property.
      Parameters:
      value - Value
      Returns:
      this
    • setUnderlined

      StyleProperties setUnderlined(@Nullable String value)
      Set the underlined property.
      Parameters:
      value - Value
      Returns:
      this
    • setUnderlined

      StyleProperties setUnderlined(@Nullable Boolean value)
      Set the underlined property.
      Parameters:
      value - Value
      Returns:
      this
    • setStrikethrough

      StyleProperties setStrikethrough(@Nullable String value)
      Set the strikethrough property.
      Parameters:
      value - Value
      Returns:
      this
    • setStrikethrough

      StyleProperties setStrikethrough(@Nullable Boolean value)
      Set the strikethrough property.
      Parameters:
      value - Value
      Returns:
      this
    • setObfuscated

      StyleProperties setObfuscated(@Nullable String value)
      Set the obfuscated property.
      Parameters:
      value - Value
      Returns:
      this
    • setObfuscated

      StyleProperties setObfuscated(@Nullable Boolean value)
      Set the obfuscated property.
      Parameters:
      value - Value
      Returns:
      this
    • setDisplay

      StyleProperties setDisplay(@Nullable String value)
      Set the display property.
      Parameters:
      value - Value
      Returns:
      this
    • setDisplay

      StyleProperties setDisplay(@Nullable DisplayType value)
      Set the display property.
      Parameters:
      value - Value
      Returns:
      this
    • setFontSize

      StyleProperties setFontSize(@Nullable String value)
      Set the scale property.
      Parameters:
      value - Value
      Returns:
      this
    • setFontSize

      StyleProperties setFontSize(@Nullable Primitive value)
      Set the scale property.
      Parameters:
      value - Value
      Returns:
      this
    • setWidth

      StyleProperties setWidth(@Nullable String value)
      Set the width property.
      Parameters:
      value - Value
      Returns:
      this
    • setWidth

      StyleProperties setWidth(@Nullable Primitive value)
      Set the width property.
      Parameters:
      value - Value
      Returns:
      this
    • setHeight

      StyleProperties setHeight(@Nullable String value)
      Set the height property.
      Parameters:
      value - Value
      Returns:
      this
    • setHeight

      StyleProperties setHeight(@Nullable Primitive value)
      Set the height property.
      Parameters:
      value - Value
      Returns:
      this
    • setMaxWidth

      StyleProperties setMaxWidth(@Nullable String value)
      Set the max-width property.
      Parameters:
      value - Value
      Returns:
      this
    • setMaxWidth

      StyleProperties setMaxWidth(@Nullable Primitive value)
      Set the max-width property.
      Parameters:
      value - Value
      Returns:
      this
    • setMinWidth

      StyleProperties setMinWidth(@Nullable String value)
      Set the min-width property.
      Parameters:
      value - Value
      Returns:
      this
    • setMinWidth

      StyleProperties setMinWidth(@Nullable Primitive value)
      Set the min-width property.
      Parameters:
      value - Value
      Returns:
      this
    • setMaxHeight

      StyleProperties setMaxHeight(@Nullable String value)
      Set the max-height property.
      Parameters:
      value - Value
      Returns:
      this
    • setMaxHeight

      StyleProperties setMaxHeight(@Nullable Primitive value)
      Set the max-height property.
      Parameters:
      value - Value
      Returns:
      this
    • setMinHeight

      StyleProperties setMinHeight(@Nullable String value)
      Set the min-height property.
      Parameters:
      value - Value
      Returns:
      this
    • setMinHeight

      StyleProperties setMinHeight(@Nullable Primitive value)
      Set the min-height property.
      Parameters:
      value - Value
      Returns:
      this
    • setPadding

      StyleProperties setPadding(@Nullable String value)
      Set the padding property.
      Parameters:
      value - Value
      Returns:
      this
    • setPadding

      StyleProperties setPadding(Primitive value)
      Set the padding property.
      Parameters:
      value - value padding
      Returns:
      this
    • setPadding

      StyleProperties setPadding(Primitive x, Primitive y)
      Set the padding property.
      Parameters:
      x - x padding
      y - y padding
      Returns:
      this
    • setPadding

      StyleProperties setPadding(Primitive top, Primitive x, Primitive bottom)
      Set the padding property.
      Parameters:
      top - top padding
      x - x padding
      bottom - bottom padding
      Returns:
      this
    • setPadding

      StyleProperties setPadding(Primitive top, Primitive right, Primitive bottom, Primitive left)
      Set the padding property.
      Parameters:
      top - top padding
      right - right padding
      bottom - bottom padding
      left - left padding
      Returns:
      this
    • setPaddingTop

      StyleProperties setPaddingTop(@Nullable String value)
      Set the padding-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingTop

      StyleProperties setPaddingTop(@Nullable Primitive value)
      Set the padding-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingRight

      StyleProperties setPaddingRight(@Nullable String value)
      Set the padding-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingRight

      StyleProperties setPaddingRight(@Nullable Primitive value)
      Set the padding-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingBottom

      StyleProperties setPaddingBottom(@Nullable String value)
      Set the padding-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingBottom

      StyleProperties setPaddingBottom(@Nullable Primitive value)
      Set the padding-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingLeft

      StyleProperties setPaddingLeft(@Nullable String value)
      Set the padding-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setPaddingLeft

      StyleProperties setPaddingLeft(@Nullable Primitive value)
      Set the padding-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutline

      StyleProperties setOutline(@Nullable String value)
      Set the outline property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutline

      StyleProperties setOutline(Primitive value)
      Set the outline property.
      Parameters:
      value - value outline
      Returns:
      this
    • setOutline

      StyleProperties setOutline(Primitive x, Primitive y)
      Set the outline property.
      Parameters:
      x - x outline
      y - y outline
      Returns:
      this
    • setOutline

      StyleProperties setOutline(Primitive top, Primitive x, Primitive bottom)
      Set the outline property.
      Parameters:
      top - top outline
      x - x outline
      bottom - bottom outline
      Returns:
      this
    • setOutline

      StyleProperties setOutline(Primitive top, Primitive right, Primitive bottom, Primitive left)
      Set the outline property.
      Parameters:
      top - top outline
      right - right outline
      bottom - bottom outline
      left - left outline
      Returns:
      this
    • setOutlineTop

      StyleProperties setOutlineTop(@Nullable String value)
      Set the outline-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineTop

      StyleProperties setOutlineTop(@Nullable Primitive value)
      Set the outline-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineRight

      StyleProperties setOutlineRight(@Nullable String value)
      Set the outline-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineRight

      StyleProperties setOutlineRight(@Nullable Primitive value)
      Set the outline-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineBottom

      StyleProperties setOutlineBottom(@Nullable String value)
      Set the outline-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineBottom

      StyleProperties setOutlineBottom(@Nullable Primitive value)
      Set the outline-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineLeft

      StyleProperties setOutlineLeft(@Nullable String value)
      Set the outline-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setOutlineLeft

      StyleProperties setOutlineLeft(@Nullable Primitive value)
      Set the outline-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorder

      StyleProperties setBorder(@Nullable String value)
      Set the border property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorder

      StyleProperties setBorder(Primitive value)
      Set the border property.
      Parameters:
      value - value border
      Returns:
      this
    • setBorder

      Set the border property.
      Parameters:
      x - x border
      y - y border
      Returns:
      this
    • setBorder

      StyleProperties setBorder(Primitive top, Primitive x, Primitive bottom)
      Set the border property.
      Parameters:
      top - top border
      x - x border
      bottom - bottom border
      Returns:
      this
    • setBorder

      StyleProperties setBorder(Primitive top, Primitive right, Primitive bottom, Primitive left)
      Set the border property.
      Parameters:
      top - top border
      right - right border
      bottom - bottom border
      left - left border
      Returns:
      this
    • setBorderTop

      StyleProperties setBorderTop(@Nullable String value)
      Set the border-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderTop

      StyleProperties setBorderTop(@Nullable Primitive value)
      Set the border-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderRight

      StyleProperties setBorderRight(@Nullable String value)
      Set the border-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderRight

      StyleProperties setBorderRight(@Nullable Primitive value)
      Set the border-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderBottom

      StyleProperties setBorderBottom(@Nullable String value)
      Set the border-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderBottom

      StyleProperties setBorderBottom(@Nullable Primitive value)
      Set the border-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderLeft

      StyleProperties setBorderLeft(@Nullable String value)
      Set the border-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setBorderLeft

      StyleProperties setBorderLeft(@Nullable Primitive value)
      Set the border-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setMargin

      StyleProperties setMargin(@Nullable String value)
      Set the margin property.
      Parameters:
      value - Value
      Returns:
      this
    • setMargin

      StyleProperties setMargin(Primitive value)
      Set the margin property.
      Parameters:
      value - value margin
      Returns:
      this
    • setMargin

      Set the margin property.
      Parameters:
      x - x margin
      y - y margin
      Returns:
      this
    • setMargin

      StyleProperties setMargin(Primitive top, Primitive x, Primitive bottom)
      Set the margin property.
      Parameters:
      top - top margin
      x - x margin
      bottom - bottom margin
      Returns:
      this
    • setMargin

      StyleProperties setMargin(Primitive top, Primitive right, Primitive bottom, Primitive left)
      Set the margin property.
      Parameters:
      top - top margin
      right - right margin
      bottom - bottom margin
      left - left margin
      Returns:
      this
    • setMarginTop

      StyleProperties setMarginTop(@Nullable String value)
      Set the margin-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginTop

      StyleProperties setMarginTop(@Nullable Primitive value)
      Set the margin-top property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginRight

      StyleProperties setMarginRight(@Nullable String value)
      Set the margin-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginRight

      StyleProperties setMarginRight(@Nullable Primitive value)
      Set the margin-right property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginBottom

      StyleProperties setMarginBottom(@Nullable String value)
      Set the margin-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginBottom

      StyleProperties setMarginBottom(@Nullable Primitive value)
      Set the margin-bottom property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginLeft

      StyleProperties setMarginLeft(@Nullable String value)
      Set the margin-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginLeft

      StyleProperties setMarginLeft(@Nullable Primitive value)
      Set the margin-left property.
      Parameters:
      value - Value
      Returns:
      this
    • setZIndex

      StyleProperties setZIndex(@Nullable String value)
      Set the z-index property.
      Parameters:
      value - Value
      Returns:
      this
    • setZIndex

      StyleProperties setZIndex(@Nullable Integer value)
      Set the z-index property.
      Parameters:
      value - Value
      Returns:
      this
    • setAlignItems

      StyleProperties setAlignItems(@Nullable String value)
      Set the align-items property.
      Parameters:
      value - Value
      Returns:
      this
    • setAlignItems

      StyleProperties setAlignItems(@Nullable AlignItems value)
      Set the align-items property.
      Parameters:
      value - Value
      Returns:
      this
    • setFlexDirection

      StyleProperties setFlexDirection(@Nullable String value)
      Set the flex-direction property.
      Parameters:
      value - Value
      Returns:
      this
    • setFlexDirection

      StyleProperties setFlexDirection(@Nullable FlexDirection value)
      Set the flex-direction property.
      Parameters:
      value - Value
      Returns:
      this
    • setFlexWrap

      StyleProperties setFlexWrap(@Nullable String value)
      Set the flex-wrap property.
      Parameters:
      value - Value
      Returns:
      this
    • setFlexWrap

      StyleProperties setFlexWrap(@Nullable FlexWrap value)
      Set the flex-wrap property.
      Parameters:
      value - Value
      Returns:
      this
    • setJustifyContent

      StyleProperties setJustifyContent(@Nullable String value)
      Set the justify-content property.
      Parameters:
      value - Value
      Returns:
      this
    • setJustifyContent

      StyleProperties setJustifyContent(@Nullable JustifyContent value)
      Set the justify-content property.
      Parameters:
      value - Value
      Returns:
      this
    • setOrder

      StyleProperties setOrder(@Nullable String value)
      Set the order property.
      Parameters:
      value - Value
      Returns:
      this
    • setOrder

      StyleProperties setOrder(@Nullable Integer value)
      Set the order property.
      Parameters:
      value - Value
      Returns:
      this
    • setBoxSizing

      StyleProperties setBoxSizing(@Nullable BoxSizing value)
      Set the box-sizing property.
      Parameters:
      value - Value
      Returns:
      this
    • setBoxSizing

      StyleProperties setBoxSizing(@Nullable String value)
      Set the box-sizing property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInlineStart

      StyleProperties setMarginInlineStart(@Nullable Primitive value)
      Set the margin-inline-start property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInlineStart

      StyleProperties setMarginInlineStart(@Nullable String value)
      Set the margin-inline-start property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInlineEnd

      StyleProperties setMarginInlineEnd(@Nullable Primitive value)
      Set the margin-inline-end property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInlineEnd

      StyleProperties setMarginInlineEnd(@Nullable String value)
      Set the margin-inline-end property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInline

      StyleProperties setMarginInline(@Nullable String value)
      Set the margin-inline property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInline

      StyleProperties setMarginInline(@Nullable Primitive value)
      Set the margin-inline property.
      Parameters:
      value - Value
      Returns:
      this
    • setMarginInline

      StyleProperties setMarginInline(Primitive start, Primitive end)
      Set the margin-inline property.
      Parameters:
      start - Margin inline start
      end - Margin inline end
      Returns:
      this
    • setFlexBasis

      StyleProperties setFlexBasis(@Nullable Primitive value)
      Set the flex-basis property.
      Parameters:
      value - Flex basis value
      Returns:
      this
    • setFlexBasis

      StyleProperties setFlexBasis(@Nullable String value)
      Set the flex-basis property.
      Parameters:
      value - Flex basis value
      Returns:
      this
    • setGap

      StyleProperties setGap(@Nullable Primitive value)
      Set the gap shorthand property
      Parameters:
      value - Gap value
      Returns:
      this
    • setGap

      StyleProperties setGap(@Nullable Primitive rowGap, @Nullable Primitive columnGap)
      Set the gap shorthand property.
      Parameters:
      rowGap - Row gap value
      columnGap - Column gap value
      Returns:
      this
    • setRowGap

      StyleProperties setRowGap(@Nullable Primitive value)
      Set the row-gap property.
      Parameters:
      value - Property value
      Returns:
      this
    • setRowGap

      StyleProperties setRowGap(@Nullable String value)
      Set the row-gap property.
      Parameters:
      value - Property value
      Returns:
      this
    • setColumnGap

      StyleProperties setColumnGap(@Nullable Primitive value)
      Set the column-gap property.
      Parameters:
      value - Property value
      Returns:
      this
    • setColumnGap

      StyleProperties setColumnGap(@Nullable String value)
      Set the column-gap property.
      Parameters:
      value - Property value
      Returns:
      this
    • setGap

      StyleProperties setGap(@Nullable String value)
      Set the gap property
      Parameters:
      value - Gap value
      Returns:
      this
    • setAlignSelf

      StyleProperties setAlignSelf(@Nullable AlignItems value)
      Set the align-self property.
      Parameters:
      value - Align-self value
      Returns:
      this
    • setAlignSelf

      StyleProperties setAlignSelf(@Nullable String value)
      Set the align-self property.
      Parameters:
      value - Align-self value
      Returns:
      this
    • setVerticalAlign

      StyleProperties setVerticalAlign(@Nullable VerticalAlign value)
      Set the vertical-align property.
      Parameters:
      value - Vertical alignment property
      Returns:
      this
    • setVerticalAlign

      StyleProperties setVerticalAlign(@Nullable String value)
      Set the vertical-align property.
      Parameters:
      value - Vertical alignment property
      Returns:
      this
    • setFlexGrow

      StyleProperties setFlexGrow(@Nullable String value)
      Set the flex-grow property.

      Any integer value is accepted, note that values 0 or below cause the element's growth value to be discarded during Flexbox layout.

      Parameters:
      value - Flex growth property
      Returns:
      this
    • setFlexShrink

      StyleProperties setFlexShrink(@Nullable String value)
      Set the flex-shrink property.

      Any integer value is accepted, note that values 0 or below cause the element's shrink value to be discarded during Flexbox layout.

      Parameters:
      value - Flex shrink property
      Returns:
      this
    • setProperty

      StyleProperties setProperty(@NotNull @NotNull String propertyName, @Nullable String value)
      Set the value of a CSS property.
      Parameters:
      propertyName - CSS property name
      value - Property value
      Returns:
      this
      Throws:
      NullPointerException - If propertyName is null