Interface StylePropertiesReadonly
- All Known Subinterfaces:
StyleProperties
public interface StylePropertiesReadonly
Unmodifiable map of style properties
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringGet thealign-itemsproperty value.@Nullable StringGet thealign-selfproperty value.@Nullable String@Nullable StringgetBold()@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringGet thebox-sizingproperty value.@Nullable StringgetColor()@Nullable StringGet thecolumn-gapproperty value.@Nullable String@Nullable StringGet theflex-basisproperty value@Nullable StringGet theflex-directionproperty value.@Nullable StringGet theflex-growproperty value.@Nullable StringGet theflex-shrinkproperty value.@Nullable StringGet theflex-wrapproperty value.@Nullable String@Nullable StringgetGap()Get thegapproperty.@Nullable String@Nullable String@Nullable StringGet thejustify-contentproperty value.@Nullable String@Nullable String@Nullable StringGet themargin-inlineproperty value.@Nullable StringGet themargin-inline-endproperty value.@Nullable StringGet themargin-inline-startproperty value.@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringgetOrder()Get theorderproperty value.@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringGet a set of CSS property names that are explicitly set by this property set.@Nullable StringgetPropertyValue(String propertyName) Get the value of a CSS property.@Nullable StringGet therow-gapproperty value.@Nullable String@Nullable String@Nullable String@Nullable StringGet thevertical-alignproperty value.@Nullable StringgetWidth()@Nullable String
-
Method Details
-
getWidth
-
getHeight
-
getMaxWidth
-
getMaxHeight
-
getMinWidth
-
getMinHeight
-
getPadding
-
getMargin
-
getOutline
-
getBorder
-
getPaddingLeft
-
getPaddingRight
-
getPaddingTop
-
getPaddingBottom
-
getBorderLeft
-
getBorderRight
-
getBorderTop
-
getBorderBottom
-
getOutlineLeft
-
getOutlineRight
-
getOutlineTop
-
getOutlineBottom
-
getMarginLeft
-
getMarginRight
-
getMarginTop
-
getMarginBottom
-
getFontSize
-
getZIndex
-
getColor
-
getBackgroundColor
-
getBorderColor
-
getOutlineColor
-
getTextShadow
-
getDisplay
-
getBold
-
getItalic
-
getUnderlined
-
getObfuscated
-
getStrikethrough
-
getFlexDirection
Get theflex-directionproperty value.- Returns:
- Flex direction, or
null, if not set.
-
getFlexWrap
Get theflex-wrapproperty value.- Returns:
- Flex wrap, or
null, if not set.
-
getJustifyContent
Get thejustify-contentproperty value.- Returns:
- Justify content, or
null, if not set.
-
getAlignItems
Get thealign-itemsproperty value.- Returns:
- Item alignment, or
null, if not set.
-
getOrder
-
getBoxSizing
Get thebox-sizingproperty value.- Returns:
- Box sizing, or
content-boxif not set.
-
getMarginInlineStart
Get themargin-inline-startproperty value.- Returns:
- Margin inline start, or
null, if not set.
-
getMarginInlineEnd
Get themargin-inline-endproperty value.- Returns:
- Margin inline end, or
null, if not set.
-
getMarginInline
Get themargin-inlineproperty value.- Returns:
- Margin inline, or
null, if not set.
-
getFlexBasis
Get theflex-basisproperty value- Returns:
- Flex basis, or
null, if not set.
-
getGap
Get thegapproperty.- Returns:
- Gap property, or
null, if not set
-
getRowGap
Get therow-gapproperty value.- Returns:
- Row gap property, or
null, if not set
-
getColumnGap
Get thecolumn-gapproperty value.- Returns:
- Column gap property, or
null, if not set
-
getAlignSelf
Get thealign-selfproperty value.- Returns:
- Align-self property, or
null, if not set
-
getVerticalAlign
Get thevertical-alignproperty value.- Returns:
- Vertical alignment property, or
null, if not set
-
getFlexGrow
Get theflex-growproperty value.- Returns:
- Flex Grow, or
null, if not set.
-
getFlexShrink
Get theflex-shrinkproperty value.- Returns:
- Flex Shrink, or
null, if not set.
-
getProperties
-
getPropertyValue
Get the value of a CSS property.If the specified
propertyNameisnull, or if the property was not found, or its value was not set, then this method will returnnull.- Parameters:
propertyName- CSS property name- Returns:
- Property value, or
null, if the property is not set in this object.
-