Interface StylePropertiesReadonly

All Known Subinterfaces:
StyleProperties

public interface StylePropertiesReadonly
Unmodifiable map of style properties
  • Method Details

    • getWidth

      @Nullable @Nullable String getWidth()
    • getHeight

      @Nullable @Nullable String getHeight()
    • getMaxWidth

      @Nullable @Nullable String getMaxWidth()
    • getMaxHeight

      @Nullable @Nullable String getMaxHeight()
    • getMinWidth

      @Nullable @Nullable String getMinWidth()
    • getMinHeight

      @Nullable @Nullable String getMinHeight()
    • getPadding

      @Nullable @Nullable String getPadding()
    • getMargin

      @Nullable @Nullable String getMargin()
    • getOutline

      @Nullable @Nullable String getOutline()
    • getBorder

      @Nullable @Nullable String getBorder()
    • getPaddingLeft

      @Nullable @Nullable String getPaddingLeft()
    • getPaddingRight

      @Nullable @Nullable String getPaddingRight()
    • getPaddingTop

      @Nullable @Nullable String getPaddingTop()
    • getPaddingBottom

      @Nullable @Nullable String getPaddingBottom()
    • getBorderLeft

      @Nullable @Nullable String getBorderLeft()
    • getBorderRight

      @Nullable @Nullable String getBorderRight()
    • getBorderTop

      @Nullable @Nullable String getBorderTop()
    • getBorderBottom

      @Nullable @Nullable String getBorderBottom()
    • getOutlineLeft

      @Nullable @Nullable String getOutlineLeft()
    • getOutlineRight

      @Nullable @Nullable String getOutlineRight()
    • getOutlineTop

      @Nullable @Nullable String getOutlineTop()
    • getOutlineBottom

      @Nullable @Nullable String getOutlineBottom()
    • getMarginLeft

      @Nullable @Nullable String getMarginLeft()
    • getMarginRight

      @Nullable @Nullable String getMarginRight()
    • getMarginTop

      @Nullable @Nullable String getMarginTop()
    • getMarginBottom

      @Nullable @Nullable String getMarginBottom()
    • getFontSize

      @Nullable @Nullable String getFontSize()
    • getZIndex

      @Nullable @Nullable String getZIndex()
    • getColor

      @Nullable @Nullable String getColor()
    • getBackgroundColor

      @Nullable @Nullable String getBackgroundColor()
    • getBorderColor

      @Nullable @Nullable String getBorderColor()
    • getOutlineColor

      @Nullable @Nullable String getOutlineColor()
    • getTextShadow

      @Nullable @Nullable String getTextShadow()
    • getDisplay

      @Nullable @Nullable String getDisplay()
    • getBold

      @Nullable @Nullable String getBold()
    • getItalic

      @Nullable @Nullable String getItalic()
    • getUnderlined

      @Nullable @Nullable String getUnderlined()
    • getObfuscated

      @Nullable @Nullable String getObfuscated()
    • getStrikethrough

      @Nullable @Nullable String getStrikethrough()
    • getFlexDirection

      @Nullable @Nullable String getFlexDirection()
      Get the flex-direction property value.
      Returns:
      Flex direction, or null, if not set.
    • getFlexWrap

      @Nullable @Nullable String getFlexWrap()
      Get the flex-wrap property value.
      Returns:
      Flex wrap, or null, if not set.
    • getJustifyContent

      @Nullable @Nullable String getJustifyContent()
      Get the justify-content property value.
      Returns:
      Justify content, or null, if not set.
    • getAlignItems

      @Nullable @Nullable String getAlignItems()
      Get the align-items property value.
      Returns:
      Item alignment, or null, if not set.
    • getOrder

      @Nullable @Nullable String getOrder()
      Get the order property value.
      Returns:
      Order, or 0 if not set
    • getBoxSizing

      @Nullable @Nullable String getBoxSizing()
      Get the box-sizing property value.
      Returns:
      Box sizing, or content-box if not set.
    • getMarginInlineStart

      @Nullable @Nullable String getMarginInlineStart()
      Get the margin-inline-start property value.
      Returns:
      Margin inline start, or null, if not set.
    • getMarginInlineEnd

      @Nullable @Nullable String getMarginInlineEnd()
      Get the margin-inline-end property value.
      Returns:
      Margin inline end, or null, if not set.
    • getMarginInline

      @Nullable @Nullable String getMarginInline()
      Get the margin-inline property value.
      Returns:
      Margin inline, or null, if not set.
    • getFlexBasis

      @Nullable @Nullable String getFlexBasis()
      Get the flex-basis property value
      Returns:
      Flex basis, or null, if not set.
    • getGap

      @Nullable @Nullable String getGap()
      Get the gap property.
      Returns:
      Gap property, or null, if not set
    • getRowGap

      @Nullable @Nullable String getRowGap()
      Get the row-gap property value.
      Returns:
      Row gap property, or null, if not set
    • getColumnGap

      @Nullable @Nullable String getColumnGap()
      Get the column-gap property value.
      Returns:
      Column gap property, or null, if not set
    • getAlignSelf

      @Nullable @Nullable String getAlignSelf()
      Get the align-self property value.
      Returns:
      Align-self property, or null, if not set
    • getVerticalAlign

      @Nullable @Nullable String getVerticalAlign()
      Get the vertical-align property value.
      Returns:
      Vertical alignment property, or null, if not set
    • getFlexGrow

      @Nullable @Nullable String getFlexGrow()
      Get the flex-grow property value.
      Returns:
      Flex Grow, or null, if not set.
    • getFlexShrink

      @Nullable @Nullable String getFlexShrink()
      Get the flex-shrink property value.
      Returns:
      Flex Shrink, or null, if not set.
    • getProperties

      @NotNull @NotNull Set<String> getProperties()
      Get a set of CSS property names that are explicitly set by this property set.
      Returns:
      Property names
    • getPropertyValue

      @Contract("null -> null") @Nullable @Nullable String getPropertyValue(String propertyName)
      Get the value of a CSS property.

      If the specified propertyName is null, or if the property was not found, or its value was not set, then this method will return null.

      Parameters:
      propertyName - CSS property name
      Returns:
      Property value, or null, if the property is not set in this object.