Interface StyleProperties
- All Superinterfaces:
StylePropertiesReadonly
Modifiable map of style properties
-
Method Summary
Modifier and TypeMethodDescriptionsetAlignItems
(AlignItems value) Set thealign-items
property.setAlignItems
(String value) Set thealign-items
property.setAlignSelf
(AlignItems value) Set thealign-self
property.setAlignSelf
(String value) Set thealign-self
property.setBackgroundColor
(Color value) Set thebackground-color
property.setBackgroundColor
(String value) Set thebackground-color
property.Set thebold
property.Set thebold
property.Set theborder
property.Set theborder
property.Set theborder
property.Set theborder
property.Set theborder
property.setBorderBottom
(Primitive value) Set theborder-bottom
property.setBorderBottom
(String value) Set theborder-bottom
property.setBorderColor
(Color value) Set theborder-color
property.setBorderColor
(String value) Set theborder-color
property.setBorderLeft
(Primitive value) Set theborder-left
property.setBorderLeft
(String value) Set theborder-left
property.setBorderRight
(Primitive value) Set theborder-right
property.setBorderRight
(String value) Set theborder-right
property.setBorderTop
(Primitive value) Set theborder-top
property.setBorderTop
(String value) Set theborder-top
property.setBoxSizing
(BoxSizing value) Set thebox-sizing
property.setBoxSizing
(String value) Set thebox-sizing
property.Set thecolor
property.Set thecolor
property.setColumnGap
(Primitive value) Set thecolumn-gap
property.setColumnGap
(String value) Set thecolumn-gap
property.setDisplay
(DisplayType value) Set thedisplay
property.setDisplay
(String value) Set thedisplay
property.setFlexBasis
(Primitive value) Set theflex-basis
property.setFlexBasis
(String value) Set theflex-basis
property.setFlexDirection
(FlexDirection value) Set theflex-direction
property.setFlexDirection
(String value) Set theflex-direction
property.setFlexGrow
(String value) Set theflex-grow
property.setFlexShrink
(String value) Set theflex-shrink
property.setFlexWrap
(FlexWrap value) Set theflex-wrap
property.setFlexWrap
(String value) Set theflex-wrap
property.setFontSize
(Primitive value) Set thescale
property.setFontSize
(String value) Set thescale
property.Set thegap
shorthand propertySet thegap
shorthand property.Set thegap
propertySet theheight
property.Set theheight
property.Set theitalic
property.Set theitalic
property.setJustifyContent
(JustifyContent value) Set thejustify-content
property.setJustifyContent
(String value) Set thejustify-content
property.Set themargin
property.Set themargin
property.Set themargin
property.Set themargin
property.Set themargin
property.setMarginBottom
(Primitive value) Set themargin-bottom
property.setMarginBottom
(String value) Set themargin-bottom
property.setMarginInline
(Primitive value) Set themargin-inline
property.setMarginInline
(Primitive start, Primitive end) Set themargin-inline
property.setMarginInline
(String value) Set themargin-inline
property.setMarginInlineEnd
(Primitive value) Set themargin-inline-end
property.setMarginInlineEnd
(String value) Set themargin-inline-end
property.setMarginInlineStart
(Primitive value) Set themargin-inline-start
property.setMarginInlineStart
(String value) Set themargin-inline-start
property.setMarginLeft
(Primitive value) Set themargin-left
property.setMarginLeft
(String value) Set themargin-left
property.setMarginRight
(Primitive value) Set themargin-right
property.setMarginRight
(String value) Set themargin-right
property.setMarginTop
(Primitive value) Set themargin-top
property.setMarginTop
(String value) Set themargin-top
property.setMaxHeight
(Primitive value) Set themax-height
property.setMaxHeight
(String value) Set themax-height
property.setMaxWidth
(Primitive value) Set themax-width
property.setMaxWidth
(String value) Set themax-width
property.setMinHeight
(Primitive value) Set themin-height
property.setMinHeight
(String value) Set themin-height
property.setMinWidth
(Primitive value) Set themin-width
property.setMinWidth
(String value) Set themin-width
property.setObfuscated
(Boolean value) Set theobfuscated
property.setObfuscated
(String value) Set theobfuscated
property.Set theorder
property.Set theorder
property.setOutline
(Primitive value) Set theoutline
property.setOutline
(Primitive x, Primitive y) Set theoutline
property.setOutline
(Primitive top, Primitive x, Primitive bottom) Set theoutline
property.setOutline
(Primitive top, Primitive right, Primitive bottom, Primitive left) Set theoutline
property.setOutline
(String value) Set theoutline
property.setOutlineBottom
(Primitive value) Set theoutline-bottom
property.setOutlineBottom
(String value) Set theoutline-bottom
property.setOutlineColor
(Color value) Set theoutline-color
property.setOutlineColor
(String value) Set theoutline-color
property.setOutlineLeft
(Primitive value) Set theoutline-left
property.setOutlineLeft
(String value) Set theoutline-left
property.setOutlineRight
(Primitive value) Set theoutline-right
property.setOutlineRight
(String value) Set theoutline-right
property.setOutlineTop
(Primitive value) Set theoutline-top
property.setOutlineTop
(String value) Set theoutline-top
property.setPadding
(Primitive value) Set thepadding
property.setPadding
(Primitive x, Primitive y) Set thepadding
property.setPadding
(Primitive top, Primitive x, Primitive bottom) Set thepadding
property.setPadding
(Primitive top, Primitive right, Primitive bottom, Primitive left) Set thepadding
property.setPadding
(String value) Set thepadding
property.setPaddingBottom
(Primitive value) Set thepadding-bottom
property.setPaddingBottom
(String value) Set thepadding-bottom
property.setPaddingLeft
(Primitive value) Set thepadding-left
property.setPaddingLeft
(String value) Set thepadding-left
property.setPaddingRight
(Primitive value) Set thepadding-right
property.setPaddingRight
(String value) Set thepadding-right
property.setPaddingTop
(Primitive value) Set thepadding-top
property.setPaddingTop
(String value) Set thepadding-top
property.setProperty
(@NotNull String propertyName, String value) Set the value of a CSS property.Set therow-gap
property.Set therow-gap
property.setStrikethrough
(Boolean value) Set thestrikethrough
property.setStrikethrough
(String value) Set thestrikethrough
property.setTextShadow
(Boolean value) Set thetext-shadow
property.setTextShadow
(String value) Set thetext-shadow
property.setUnderlined
(Boolean value) Set theunderlined
property.setUnderlined
(String value) Set theunderlined
property.setVerticalAlign
(VerticalAlign value) Set thevertical-align
property.setVerticalAlign
(String value) Set thevertical-align
property.Set thewidth
property.Set thewidth
property.Set thez-index
property.Set thez-index
property.Methods inherited from interface com.juliewoolie.dom.style.StylePropertiesReadonly
getAlignItems, getAlignSelf, getBackgroundColor, getBold, getBorder, getBorderBottom, getBorderColor, getBorderLeft, getBorderRight, getBorderTop, getBoxSizing, getColor, getColumnGap, getDisplay, getFlexBasis, getFlexDirection, getFlexGrow, getFlexShrink, getFlexWrap, getFontSize, getGap, getHeight, getItalic, getJustifyContent, getMargin, getMarginBottom, getMarginInline, getMarginInlineEnd, getMarginInlineStart, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getObfuscated, getOrder, getOutline, getOutlineBottom, getOutlineColor, getOutlineLeft, getOutlineRight, getOutlineTop, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getProperties, getPropertyValue, getRowGap, getStrikethrough, getTextShadow, getUnderlined, getVerticalAlign, getWidth, getZIndex
-
Method Details
-
setColor
Set thecolor
property.- Parameters:
value
- Value- Returns:
this
-
setColor
Set thecolor
property.- Parameters:
value
- Value- Returns:
this
-
setBackgroundColor
Set thebackground-color
property.- Parameters:
value
- Value- Returns:
this
-
setBackgroundColor
Set thebackground-color
property.- Parameters:
value
- Value- Returns:
this
-
setBorderColor
Set theborder-color
property.- Parameters:
value
- Value- Returns:
this
-
setBorderColor
Set theborder-color
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineColor
Set theoutline-color
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineColor
Set theoutline-color
property.- Parameters:
value
- Value- Returns:
this
-
setTextShadow
Set thetext-shadow
property.- Parameters:
value
- Value- Returns:
this
-
setTextShadow
Set thetext-shadow
property.- Parameters:
value
- Value- Returns:
this
-
setBold
Set thebold
property.- Parameters:
value
- Value- Returns:
this
-
setBold
Set thebold
property.- Parameters:
value
- Value- Returns:
this
-
setItalic
Set theitalic
property.- Parameters:
value
- Value- Returns:
this
-
setItalic
Set theitalic
property.- Parameters:
value
- Value- Returns:
this
-
setUnderlined
Set theunderlined
property.- Parameters:
value
- Value- Returns:
this
-
setUnderlined
Set theunderlined
property.- Parameters:
value
- Value- Returns:
this
-
setStrikethrough
Set thestrikethrough
property.- Parameters:
value
- Value- Returns:
this
-
setStrikethrough
Set thestrikethrough
property.- Parameters:
value
- Value- Returns:
this
-
setObfuscated
Set theobfuscated
property.- Parameters:
value
- Value- Returns:
this
-
setObfuscated
Set theobfuscated
property.- Parameters:
value
- Value- Returns:
this
-
setDisplay
Set thedisplay
property.- Parameters:
value
- Value- Returns:
this
-
setDisplay
Set thedisplay
property.- Parameters:
value
- Value- Returns:
this
-
setFontSize
Set thescale
property.- Parameters:
value
- Value- Returns:
this
-
setFontSize
Set thescale
property.- Parameters:
value
- Value- Returns:
this
-
setWidth
Set thewidth
property.- Parameters:
value
- Value- Returns:
this
-
setWidth
Set thewidth
property.- Parameters:
value
- Value- Returns:
this
-
setHeight
Set theheight
property.- Parameters:
value
- Value- Returns:
this
-
setHeight
Set theheight
property.- Parameters:
value
- Value- Returns:
this
-
setMaxWidth
Set themax-width
property.- Parameters:
value
- Value- Returns:
this
-
setMaxWidth
Set themax-width
property.- Parameters:
value
- Value- Returns:
this
-
setMinWidth
Set themin-width
property.- Parameters:
value
- Value- Returns:
this
-
setMinWidth
Set themin-width
property.- Parameters:
value
- Value- Returns:
this
-
setMaxHeight
Set themax-height
property.- Parameters:
value
- Value- Returns:
this
-
setMaxHeight
Set themax-height
property.- Parameters:
value
- Value- Returns:
this
-
setMinHeight
Set themin-height
property.- Parameters:
value
- Value- Returns:
this
-
setMinHeight
Set themin-height
property.- Parameters:
value
- Value- Returns:
this
-
setPadding
Set thepadding
property.- Parameters:
value
- Value- Returns:
this
-
setPadding
Set thepadding
property.- Parameters:
value
- value padding- Returns:
this
-
setPadding
Set thepadding
property.- Parameters:
x
- x paddingy
- y padding- Returns:
this
-
setPadding
Set thepadding
property.- Parameters:
top
- top paddingx
- x paddingbottom
- bottom padding- Returns:
this
-
setPadding
Set thepadding
property.- Parameters:
top
- top paddingright
- right paddingbottom
- bottom paddingleft
- left padding- Returns:
this
-
setPaddingTop
Set thepadding-top
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingTop
Set thepadding-top
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingRight
Set thepadding-right
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingRight
Set thepadding-right
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingBottom
Set thepadding-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingBottom
Set thepadding-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingLeft
Set thepadding-left
property.- Parameters:
value
- Value- Returns:
this
-
setPaddingLeft
Set thepadding-left
property.- Parameters:
value
- Value- Returns:
this
-
setOutline
Set theoutline
property.- Parameters:
value
- Value- Returns:
this
-
setOutline
Set theoutline
property.- Parameters:
value
- value outline- Returns:
this
-
setOutline
Set theoutline
property.- Parameters:
x
- x outliney
- y outline- Returns:
this
-
setOutline
Set theoutline
property.- Parameters:
top
- top outlinex
- x outlinebottom
- bottom outline- Returns:
this
-
setOutline
Set theoutline
property.- Parameters:
top
- top outlineright
- right outlinebottom
- bottom outlineleft
- left outline- Returns:
this
-
setOutlineTop
Set theoutline-top
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineTop
Set theoutline-top
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineRight
Set theoutline-right
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineRight
Set theoutline-right
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineBottom
Set theoutline-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineBottom
Set theoutline-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineLeft
Set theoutline-left
property.- Parameters:
value
- Value- Returns:
this
-
setOutlineLeft
Set theoutline-left
property.- Parameters:
value
- Value- Returns:
this
-
setBorder
Set theborder
property.- Parameters:
value
- Value- Returns:
this
-
setBorder
Set theborder
property.- Parameters:
value
- value border- Returns:
this
-
setBorder
Set theborder
property.- Parameters:
x
- x bordery
- y border- Returns:
this
-
setBorder
Set theborder
property.- Parameters:
top
- top borderx
- x borderbottom
- bottom border- Returns:
this
-
setBorder
Set theborder
property.- Parameters:
top
- top borderright
- right borderbottom
- bottom borderleft
- left border- Returns:
this
-
setBorderTop
Set theborder-top
property.- Parameters:
value
- Value- Returns:
this
-
setBorderTop
Set theborder-top
property.- Parameters:
value
- Value- Returns:
this
-
setBorderRight
Set theborder-right
property.- Parameters:
value
- Value- Returns:
this
-
setBorderRight
Set theborder-right
property.- Parameters:
value
- Value- Returns:
this
-
setBorderBottom
Set theborder-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setBorderBottom
Set theborder-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setBorderLeft
Set theborder-left
property.- Parameters:
value
- Value- Returns:
this
-
setBorderLeft
Set theborder-left
property.- Parameters:
value
- Value- Returns:
this
-
setMargin
Set themargin
property.- Parameters:
value
- Value- Returns:
this
-
setMargin
Set themargin
property.- Parameters:
value
- value margin- Returns:
this
-
setMargin
Set themargin
property.- Parameters:
x
- x marginy
- y margin- Returns:
this
-
setMargin
Set themargin
property.- Parameters:
top
- top marginx
- x marginbottom
- bottom margin- Returns:
this
-
setMargin
Set themargin
property.- Parameters:
top
- top marginright
- right marginbottom
- bottom marginleft
- left margin- Returns:
this
-
setMarginTop
Set themargin-top
property.- Parameters:
value
- Value- Returns:
this
-
setMarginTop
Set themargin-top
property.- Parameters:
value
- Value- Returns:
this
-
setMarginRight
Set themargin-right
property.- Parameters:
value
- Value- Returns:
this
-
setMarginRight
Set themargin-right
property.- Parameters:
value
- Value- Returns:
this
-
setMarginBottom
Set themargin-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setMarginBottom
Set themargin-bottom
property.- Parameters:
value
- Value- Returns:
this
-
setMarginLeft
Set themargin-left
property.- Parameters:
value
- Value- Returns:
this
-
setMarginLeft
Set themargin-left
property.- Parameters:
value
- Value- Returns:
this
-
setZIndex
Set thez-index
property.- Parameters:
value
- Value- Returns:
this
-
setZIndex
Set thez-index
property.- Parameters:
value
- Value- Returns:
this
-
setAlignItems
Set thealign-items
property.- Parameters:
value
- Value- Returns:
this
-
setAlignItems
Set thealign-items
property.- Parameters:
value
- Value- Returns:
this
-
setFlexDirection
Set theflex-direction
property.- Parameters:
value
- Value- Returns:
this
-
setFlexDirection
Set theflex-direction
property.- Parameters:
value
- Value- Returns:
this
-
setFlexWrap
Set theflex-wrap
property.- Parameters:
value
- Value- Returns:
this
-
setFlexWrap
Set theflex-wrap
property.- Parameters:
value
- Value- Returns:
this
-
setJustifyContent
Set thejustify-content
property.- Parameters:
value
- Value- Returns:
this
-
setJustifyContent
Set thejustify-content
property.- Parameters:
value
- Value- Returns:
this
-
setOrder
Set theorder
property.- Parameters:
value
- Value- Returns:
this
-
setOrder
Set theorder
property.- Parameters:
value
- Value- Returns:
this
-
setBoxSizing
Set thebox-sizing
property.- Parameters:
value
- Value- Returns:
this
-
setBoxSizing
Set thebox-sizing
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInlineStart
Set themargin-inline-start
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInlineStart
Set themargin-inline-start
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInlineEnd
Set themargin-inline-end
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInlineEnd
Set themargin-inline-end
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInline
Set themargin-inline
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInline
Set themargin-inline
property.- Parameters:
value
- Value- Returns:
this
-
setMarginInline
Set themargin-inline
property.- Parameters:
start
- Margin inline startend
- Margin inline end- Returns:
this
-
setFlexBasis
Set theflex-basis
property.- Parameters:
value
- Flex basis value- Returns:
this
-
setFlexBasis
Set theflex-basis
property.- Parameters:
value
- Flex basis value- Returns:
this
-
setGap
Set thegap
shorthand property- Parameters:
value
- Gap value- Returns:
this
-
setGap
Set thegap
shorthand property.- Parameters:
rowGap
- Row gap valuecolumnGap
- Column gap value- Returns:
this
-
setRowGap
Set therow-gap
property.- Parameters:
value
- Property value- Returns:
this
-
setRowGap
Set therow-gap
property.- Parameters:
value
- Property value- Returns:
this
-
setColumnGap
Set thecolumn-gap
property.- Parameters:
value
- Property value- Returns:
this
-
setColumnGap
Set thecolumn-gap
property.- Parameters:
value
- Property value- Returns:
this
-
setGap
Set thegap
property- Parameters:
value
- Gap value- Returns:
this
-
setAlignSelf
Set thealign-self
property.- Parameters:
value
- Align-self value- Returns:
this
-
setAlignSelf
Set thealign-self
property.- Parameters:
value
- Align-self value- Returns:
this
-
setVerticalAlign
Set thevertical-align
property.- Parameters:
value
- Vertical alignment property- Returns:
this
-
setVerticalAlign
Set thevertical-align
property.- Parameters:
value
- Vertical alignment property- Returns:
this
-
setFlexGrow
Set theflex-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
Set theflex-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
Set the value of a CSS property.- Parameters:
propertyName
- CSS property namevalue
- Property value- Returns:
this
- Throws:
NullPointerException
- IfpropertyName
isnull
-