Interface StylePropertiesReadonly
- All Known Subinterfaces:
StyleProperties
public interface StylePropertiesReadonly
Unmodifiable map of style properties
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
Get thealign-items
property value.@Nullable String
Get thealign-self
property value.@Nullable String
@Nullable String
getBold()
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
Get thebox-sizing
property value.@Nullable String
getColor()
@Nullable String
Get thecolumn-gap
property value.@Nullable String
@Nullable String
Get theflex-basis
property value@Nullable String
Get theflex-direction
property value.@Nullable String
Get theflex-grow
property value.@Nullable String
Get theflex-shrink
property value.@Nullable String
Get theflex-wrap
property value.@Nullable String
@Nullable String
getGap()
Get thegap
property.@Nullable String
@Nullable String
@Nullable String
Get thejustify-content
property value.@Nullable String
@Nullable String
@Nullable String
Get themargin-inline
property value.@Nullable String
Get themargin-inline-end
property value.@Nullable String
Get themargin-inline-start
property value.@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
getOrder()
Get theorder
property value.@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
Get a set of CSS property names that are explicitly set by this property set.@Nullable String
getPropertyValue
(String propertyName) Get the value of a CSS property.@Nullable String
Get therow-gap
property value.@Nullable String
@Nullable String
@Nullable String
@Nullable String
Get thevertical-align
property value.@Nullable String
getWidth()
@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-direction
property value.- Returns:
- Flex direction, or
null
, if not set.
-
getFlexWrap
Get theflex-wrap
property value.- Returns:
- Flex wrap, or
null
, if not set.
-
getJustifyContent
Get thejustify-content
property value.- Returns:
- Justify content, or
null
, if not set.
-
getAlignItems
Get thealign-items
property value.- Returns:
- Item alignment, or
null
, if not set.
-
getOrder
-
getBoxSizing
Get thebox-sizing
property value.- Returns:
- Box sizing, or
content-box
if not set.
-
getMarginInlineStart
Get themargin-inline-start
property value.- Returns:
- Margin inline start, or
null
, if not set.
-
getMarginInlineEnd
Get themargin-inline-end
property value.- Returns:
- Margin inline end, or
null
, if not set.
-
getMarginInline
Get themargin-inline
property value.- Returns:
- Margin inline, or
null
, if not set.
-
getFlexBasis
Get theflex-basis
property value- Returns:
- Flex basis, or
null
, if not set.
-
getGap
Get thegap
property.- Returns:
- Gap property, or
null
, if not set
-
getRowGap
Get therow-gap
property value.- Returns:
- Row gap property, or
null
, if not set
-
getColumnGap
Get thecolumn-gap
property value.- Returns:
- Column gap property, or
null
, if not set
-
getAlignSelf
Get thealign-self
property value.- Returns:
- Align-self property, or
null
, if not set
-
getVerticalAlign
Get thevertical-align
property value.- Returns:
- Vertical alignment property, or
null
, if not set
-
getFlexGrow
Get theflex-grow
property value.- Returns:
- Flex Grow, or
null
, if not set.
-
getFlexShrink
Get theflex-shrink
property value.- Returns:
- Flex Shrink, or
null
, if not set.
-
getProperties
-
getPropertyValue
Get the value of a CSS property.If the specified
propertyName
isnull
, 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.
-