Package net.arcadiusmc.dom.style
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 String@Nullable StringgetBold()@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable String@Nullable StringgetColor()@Nullable String@Nullable StringGet theflex-directionproperty value.@Nullable StringGet theflex-wrapproperty value.@Nullable String@Nullable String@Nullable StringGet thejustify-contentproperty value.@Nullable String@Nullable String@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 StringgetScale()@Nullable String@Nullable String@Nullable String@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
-
getScale
-
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
Get theorderproperty value.- Returns:
- Order, or
0if not set
-
getProperties
Get a set of CSS property names that are explicitly set by this property set.- Returns:
- Property names
-
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.
-