Class CssRule
- All Implemented Interfaces:
AnimationIntf<CssRule>,BackgroundIntf<CssRule>,com.oorian.css.BasicBoxIntf<CssRule>,com.oorian.css.BasicUserInterfaceIntf<CssRule>,BorderIntf<CssRule>,com.oorian.css.ColorIntf<CssRule>,CountersIntf<CssRule>,com.oorian.css.CssStyleIntf<CssRule>,com.oorian.css.FilterEffectsIntf<CssRule>,com.oorian.css.FlexibleBoxLayoutIntf<CssRule>,com.oorian.css.FontIntf<CssRule>,com.oorian.css.GeneratedContentForPagedMediaIntf<CssRule>,com.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>,com.oorian.css.ListIntf<CssRule>,com.oorian.css.MarqueeIntf<CssRule>,com.oorian.css.MaskingIntf<CssRule>,com.oorian.css.MultiColumnLayoutIntf<CssRule>,PagedMediaIntf<CssRule>,com.oorian.css.SpeechIntf<CssRule>,com.oorian.css.TableIntf<CssRule>,com.oorian.css.TextDecorationIntf<CssRule>,com.oorian.css.TextIntf<CssRule>,com.oorian.css.TransformIntf<CssRule>,com.oorian.css.TransitionIntf<CssRule>,com.oorian.css.WritingModeIntf<CssRule>
- Direct Known Subclasses:
ClassRule,ElementRule,IdRule,KeyFrameRule
CssRule is the primary building block for dynamic CSS stylesheets. It combines CSS selectors with style properties and supports advanced features like:
- Multiple selectors per rule
- Nested rules with CSS combinators (descendant, child, sibling)
- Pseudo-classes and pseudo-elements
- Full CSS property support via the
CssStyleIntfinterface
Example usage:
CssRule buttonRule = new CssRule(".btn", ".button");
buttonRule.setBackgroundColor(Color.BLUE);
buttonRule.setColor(Color.WHITE);
buttonRule.setPadding("10px 20px");
CssRule hoverState = new CssRule(":hover");
hoverState.setBackgroundColor(Color.DARK_BLUE);
buttonRule.addPseudoClass("hover", hoverState.getStyle());
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CssRuleaddAdjacentSibling(CssRule sibling) Adds an adjacent sibling rule that matches the immediately following sibling.final CssRuleAdds a child rule that matches direct child elements only.final CssRuleaddDescendant(CssRule descendant) Adds a descendant rule that matches elements nested at any depth.final CssRuleaddGeneralSibling(CssRule sibling) Adds a general sibling rule that matches all following siblings.final CssRuleaddPseudoElement(String name, CssStyle style) Adds a pseudo-element style to this rule.final CssRuleaddSelector(CssSelector selector) Adds a CSS selector object to this rule.final CssRuleaddSelector(String selector) Adds a CSS selector string to this rule.final CssRuleaddStyleAttribute(String name, String value) Adds a single style attribute to this rule.final CssRuleaddStyleAttribute(String name, String value, boolean important) Adds a single style attribute to this rule with optional !important flag.Returns the list of fully qualified selectors, including any parent selector and combinator prefix.Returns the list of selectors for this rule.protected final CssStylegetStyle()Returns the underlying CssStyle object for this rule.final CssRulesetActiveStyle(CssStyle active) Sets the style for the :active pseudo-class.final CssRulesetActiveStyle(String active) Sets the style for the :active pseudo-class from a CSS string.final CssRulesetAfterStyle(CssStyle after) Sets the style for the ::after pseudo-element.final CssRulesetAfterStyle(String after) Sets the style for the ::after pseudo-element from a CSS string.final CssRulesetAlignContent(AlignContent attrValue) Sets the align-content property using an enum value.final CssRulesetAlignContent(String attrValue) Sets the align-content property using a string value.final CssRulesetAlignItems(AlignItems attrValue) Sets the align-items property using an enum value.final CssRulesetAlignItems(String attrValue) Sets the align-items property using a string value.final CssRulesetAlignSelf(AlignSelf attrValue) Sets the align-self property using an enum value.final CssRulesetAlignSelf(String attrValue) Sets the align-self property using a string value.final CssRulesetAnimation(String attrValue) Sets the animation shorthand property.final CssRulesetAnimationDelay(int delayInSecs) Sets the animation delay in seconds.final CssRulesetAnimationDelay(long delayInMsecs) Sets the animation delay in milliseconds.final CssRulesetAnimationDelay(String attrValue) Sets the animation delay.final CssRulesetAnimationDirection(AnimationDirection attrValue) Sets the animation direction.final CssRulesetAnimationDirection(String attrValue) Sets the animation direction.final CssRulesetAnimationDuration(int secs) Sets the animation duration in seconds.final CssRulesetAnimationDuration(long msecs) Sets the animation duration in milliseconds.final CssRulesetAnimationDuration(String attrValue) Sets the animation duration.final CssRulesetAnimationFillMode(AnimationFillMode attrValue) Sets the animation fill mode.final CssRulesetAnimationFillMode(String attrValue) Sets the animation fill mode.final CssRulesetAnimationIterationCount(int count) Sets the animation iteration count.final CssRuleSets the animation iteration count.final CssRulesetAnimationIterationCount(String attrValue) Sets the animation iteration count.final CssRulesetAnimationName(String attrValue) Sets the animation name (keyframes reference).final CssRulesetAnimationPlayState(AnimationPlayState attrValue) Sets the animation play state.final CssRulesetAnimationPlayState(String attrValue) Sets the animation play state.final CssRulesetAnimationTimingFunction(float n1, float n2, float n3, float n4) Sets a cubic-bezier() timing function.final CssRulesetAnimationTimingFunction(int intervals, boolean start) Sets a steps() timing function.final CssRuleSets the animation timing function.final CssRulesetAnimationTimingFunction(String attrValue) Sets the animation timing function.final CssRulesetBackdropFilter(Filter filter) Sets the CSSbackdrop-filterproperty from aFilterbuilder.final CssRulesetBackdropFilter(String attrValue) Sets the backdrop-filter property to apply graphical effects to the area behind an element.final CssRulesetBackfaceVisibility(BackfaceVisibility attrValue) Sets the backface-visibility property from an enum.final CssRulesetBackfaceVisibility(String attrValue) Sets the backface-visibility property from a CSS value string.final CssRulesetBackground(Color color) Sets the background to a solid color.final CssRulesetBackground(String attrValue) Sets the background shorthand property.final CssRulesetBackgroundAttachment(BackgroundAttachment attrValue) Sets the background attachment behavior.final CssRulesetBackgroundAttachment(String attrValue) Sets the background attachment behavior.final CssRulesetBackgroundBlendMode(BackgroundBlendMode attrValue) Sets the background blend mode.final CssRulesetBackgroundBlendMode(String attrValue) Sets the background blend mode.final CssRulesetBackgroundClip(BackgroundClip attrValue) Sets the background clip area.final CssRulesetBackgroundClip(String attrValue) Sets the background clip area.final CssRulesetBackgroundColor(BackgroundColor attrValue) Sets the background color using a keyword.final CssRulesetBackgroundColor(Color attrValue) Sets the background color.final CssRulesetBackgroundColor(String attrValue) Sets the background color.final CssRulesetBackgroundImage(Gradient gradient) Sets the CSSbackground-imageproperty from aGradientbuilder.final CssRulesetBackgroundImage(String attrValue) Sets the background image URL.final CssRulesetBackgroundOrigin(BackgroundOrigin attrValue) Sets the background origin.final CssRulesetBackgroundOrigin(String attrValue) Sets the background origin.final CssRulesetBackgroundPosition(int xpos, int ypos) Sets the background position in pixels.final CssRulesetBackgroundPosition(BackgroundPosition attrValue) Sets the background position using a keyword.final CssRulesetBackgroundPosition(Units xpos, Units ypos) Sets the background position with CSS units.final CssRulesetBackgroundPosition(String attrValue) Sets the background position.final CssRulesetBackgroundPosition(String xpos, String ypos) Sets the background position with x and y coordinates.final CssRulesetBackgroundRepeat(BackgroundRepeat attrValue) Sets the background repeat behavior.final CssRulesetBackgroundRepeat(String attrValue) Sets the background repeat behavior.final CssRulesetBackgroundSize(int width, int height) Sets the background size in pixels.final CssRulesetBackgroundSize(BackgroundSize attrValue) Sets the background size using a keyword.final CssRulesetBackgroundSize(Units width, Units height) Sets the background size with CSS units.final CssRulesetBackgroundSize(String attrValue) Sets the background size.final CssRulesetBackgroundSize(String width, String height) Sets the background size with width and height.final CssRulesetBeforeStyle(CssStyle before) Sets the style for the ::before pseudo-element.final CssRulesetBeforeStyle(String before) Sets the style for the ::before pseudo-element from a CSS string.final CssRulesetBorder(int width, BorderStyle style, Color color) Sets the CSS border shorthand property with typed values.final CssRuleSets the CSS border property with width and color (solid style implied).final CssRulesetBorder(BorderWidth width, BorderStyle style, Color color) Sets the CSS border shorthand property with BorderWidth enum.final CssRulesetBorder(BorderWidth width, Color color) Sets the CSS border property with BorderWidth enum and color.final CssRuleSets the CSS border property with color only.final CssRulesetBorder(Units width, BorderStyle style, Color color) Sets the CSS border shorthand property with Units width.final CssRuleSets the CSS border property with Units width and color.final CssRuleSets the CSS border shorthand property using a string value.final CssRuleSets the CSS border shorthand property with separate string values.final CssRulesetBorderBottom(int width, BorderStyle style, Color color) Sets the CSS border-bottom property with typed values.final CssRulesetBorderBottom(int width, Color color) Sets the CSS border-bottom property with width and color.final CssRulesetBorderBottom(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-bottom property with BorderWidth enum.final CssRulesetBorderBottom(BorderWidth width, Color color) Sets the CSS border-bottom property with BorderWidth enum and color.final CssRulesetBorderBottom(Units width, BorderStyle style, Color color) Sets the CSS border-bottom property with Units width.final CssRulesetBorderBottom(Units width, Color color) Sets the CSS border-bottom property with Units width and color.final CssRulesetBorderBottom(String attrValue) Sets the CSS border-bottom property using a string value.final CssRulesetBorderBottom(String width, String style, String color) Sets the CSS border-bottom property with separate string values.final CssRulesetBorderBottomColor(Color attrValue) Sets the CSS border-bottom-color property using a Color object.final CssRulesetBorderBottomColor(String attrValue) Sets the CSS border-bottom-color property using a string value.final CssRulesetBorderBottomLeftRadius(int pixels) Sets the CSS border-bottom-left-radius property using a pixel value.final CssRulesetBorderBottomLeftRadius(Units units) Sets the CSS border-bottom-left-radius property using a Units value.final CssRulesetBorderBottomLeftRadius(String attrValue) Sets the CSS border-bottom-left-radius property using a string value.final CssRulesetBorderBottomRightRadius(int pixels) Sets the CSS border-bottom-right-radius property using a pixel value.final CssRulesetBorderBottomRightRadius(Units units) Sets the CSS border-bottom-right-radius property using a Units value.final CssRulesetBorderBottomRightRadius(String attrValue) Sets the CSS border-bottom-right-radius property using a string value.final CssRulesetBorderBottomStyle(BorderStyle attrValue) Sets the CSS border-bottom-style property using a BorderStyle enum.final CssRulesetBorderBottomStyle(String attrValue) Sets the CSS border-bottom-style property using a string value.final CssRulesetBorderBottomWidth(int pixels) Sets the CSS border-bottom-width property using a pixel value.final CssRulesetBorderBottomWidth(BorderWidth attrValue) Sets the CSS border-bottom-width property using a BorderWidth enum.final CssRulesetBorderBottomWidth(Units units) Sets the CSS border-bottom-width property using a Units value.final CssRulesetBorderBottomWidth(String attrValue) Sets the CSS border-bottom-width property using a string value.final CssRulesetBorderCollapse(BorderCollapse attrValue) Sets the border-collapse property using an enum value.final CssRulesetBorderCollapse(String attrValue) Sets the border-collapse property using a string value.final CssRulesetBorderColor(Color color) Sets the CSS border-color property for all sides using a Color object.final CssRulesetBorderColor(Color top, Color right, Color bottom, Color left) Sets the CSS border-color property with individual Color objects for each side.final CssRulesetBorderColor(String attrValue) Sets the CSS border-color property using a string value.final CssRulesetBorderColor(String top, String right, String bottom, String left) Sets the CSS border-color property with individual string values for each side.final CssRulesetBorderImage(String attrValue) Sets the CSS border-image shorthand property using a string value.final CssRuleSets the CSS border-image shorthand property with all components.final CssRulesetBorderImageOutset(String attrValue) Sets the CSS border-image-outset property.final CssRulesetBorderImageRepeat(String attrValue) Sets the CSS border-image-repeat property.final CssRulesetBorderImageSlice(String attrValue) Sets the CSS border-image-slice property.final CssRulesetBorderImageSource(String attrValue) Sets the CSS border-image-source property.final CssRulesetBorderImageWidth(String attrValue) Sets the CSS border-image-width property.final CssRulesetBorderLeft(int width, BorderStyle style, Color color) Sets the CSS border-left property with typed values.final CssRulesetBorderLeft(int width, Color color) Sets the CSS border-left property with width and color.final CssRulesetBorderLeft(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-left property with BorderWidth enum.final CssRulesetBorderLeft(BorderWidth width, Color color) Sets the CSS border-left property with BorderWidth enum and color.final CssRulesetBorderLeft(Units width, BorderStyle style, Color color) Sets the CSS border-left property with Units width.final CssRulesetBorderLeft(Units width, Color color) Sets the CSS border-left property with Units width and color.final CssRulesetBorderLeft(String attrValue) Sets the CSS border-left property using a string value.final CssRulesetBorderLeft(String width, String style, String color) Sets the CSS border-left property with separate string values.final CssRulesetBorderLeftColor(Color attrValue) Sets the CSS border-left-color property using a Color object.final CssRulesetBorderLeftColor(String attrValue) Sets the CSS border-left-color property using a string value.final CssRulesetBorderLeftStyle(BorderStyle attrValue) Sets the CSS border-left-style property using a BorderStyle enum.final CssRulesetBorderLeftStyle(String attrValue) Sets the CSS border-left-style property using a string value.final CssRulesetBorderLeftWidth(int pixels) Sets the CSS border-left-width property using a pixel value.final CssRulesetBorderLeftWidth(BorderWidth attrValue) Sets the CSS border-left-width property using a BorderWidth enum.final CssRulesetBorderLeftWidth(Units units) Sets the CSS border-left-width property using a Units value.final CssRulesetBorderLeftWidth(String attrValue) Sets the CSS border-left-width property using a string value.final CssRulesetBorderRadius(int pixels) Sets the CSS border-radius property for all corners using a pixel value.final CssRulesetBorderRadius(int topLeft, int topRight, int bottomRight, int bottomLeft) Sets the CSS border-radius property with individual pixel values for each corner.final CssRulesetBorderRadius(Units units) Sets the CSS border-radius property for all corners using a Units value.final CssRulesetBorderRadius(Units topLeft, Units topRight, Units bottomRight, Units bottomLeft) Sets the CSS border-radius property with individual Units values for each corner.final CssRulesetBorderRadius(String attrValue) Sets the CSS border-radius property using a string value.final CssRulesetBorderRadius(String topLeft, String topRight, String bottomRight, String bottomLeft) Sets the CSS border-radius property with individual string values for each corner.final CssRulesetBorderRight(int width, BorderStyle style, Color color) Sets the CSS border-right property with typed values.final CssRulesetBorderRight(int width, Color color) Sets the CSS border-right property with width and color.final CssRulesetBorderRight(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-right property with BorderWidth enum.final CssRulesetBorderRight(BorderWidth width, Color color) Sets the CSS border-right property with BorderWidth enum and color.final CssRulesetBorderRight(Units width, BorderStyle style, Color color) Sets the CSS border-right property with Units width.final CssRulesetBorderRight(Units width, Color color) Sets the CSS border-right property with Units width and color.final CssRulesetBorderRight(String attrValue) Sets the CSS border-right property using a string value.final CssRulesetBorderRight(String width, String style, String color) Sets the CSS border-right property with separate string values.final CssRulesetBorderRightColor(Color attrValue) Sets the CSS border-right-color property using a Color object.final CssRulesetBorderRightColor(String attrValue) Sets the CSS border-right-color property using a string value.final CssRulesetBorderRightStyle(BorderStyle attrValue) Sets the CSS border-right-style property using a BorderStyle enum.final CssRulesetBorderRightStyle(String attrValue) Sets the CSS border-right-style property using a string value.final CssRulesetBorderRightWidth(int pixels) Sets the CSS border-right-width property using a pixel value.final CssRulesetBorderRightWidth(BorderWidth attrValue) Sets the CSS border-right-width property using a BorderWidth enum.final CssRulesetBorderRightWidth(Units units) Sets the CSS border-right-width property using a Units value.final CssRulesetBorderRightWidth(String attrValue) Sets the CSS border-right-width property using a string value.final CssRulesetBorderSpacing(int pixels) Sets the border-spacing property using a pixel value for both dimensions.final CssRulesetBorderSpacing(int hspacing, int vspacing) Sets the border-spacing property with separate horizontal and vertical pixel values.final CssRulesetBorderSpacing(Units units) Sets the border-spacing property using a Units object for both dimensions.final CssRulesetBorderSpacing(Units hspacing, Units vspacing) Sets the border-spacing property with separate horizontal and vertical Units.final CssRulesetBorderSpacing(String attrValue) Sets the border-spacing property using a string value.final CssRulesetBorderSpacing(String hspacing, String vspacing) Sets the border-spacing property with separate horizontal and vertical string values.final CssRulesetBorderStyle(BorderStyle attrValue) Sets the CSS border-style property for all sides using a BorderStyle enum.final CssRulesetBorderStyle(String attrValue) Sets the CSS border-style property using a string value.final CssRulesetBorderTop(int width, BorderStyle style, Color color) Sets the CSS border-top property with typed values.final CssRulesetBorderTop(int width, Color color) Sets the CSS border-top property with width and color.final CssRulesetBorderTop(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-top property with BorderWidth enum.final CssRulesetBorderTop(BorderWidth width, Color color) Sets the CSS border-top property with BorderWidth enum and color.final CssRulesetBorderTop(Units width, BorderStyle style, Color color) Sets the CSS border-top property with Units width.final CssRulesetBorderTop(Units width, Color color) Sets the CSS border-top property with Units width and color.final CssRulesetBorderTop(String attrValue) Sets the CSS border-top property using a string value.final CssRulesetBorderTop(String width, String style, String color) Sets the CSS border-top property with separate string values.final CssRulesetBorderTopColor(Color attrValue) Sets the CSS border-top-color property using a Color object.final CssRulesetBorderTopColor(String attrValue) Sets the CSS border-top-color property using a string value.setBorderTopLeftRadius(int pixels) Sets the CSS border-top-left-radius property using a pixel value.setBorderTopLeftRadius(Units units) Sets the CSS border-top-left-radius property using a Units value.setBorderTopLeftRadius(String attrValue) Sets the CSS border-top-left-radius property using a string value.setBorderTopRightRadius(int pixels) Sets the CSS border-top-right-radius property using a pixel value.setBorderTopRightRadius(Units units) Sets the CSS border-top-right-radius property using a Units value.setBorderTopRightRadius(String attrValue) Sets the CSS border-top-right-radius property using a string value.final CssRulesetBorderTopStyle(BorderStyle attrValue) Sets the CSS border-top-style property using a BorderStyle enum.final CssRulesetBorderTopStyle(String attrValue) Sets the CSS border-top-style property using a string value.final CssRulesetBorderTopWidth(int pixels) Sets the CSS border-top-width property using a pixel value.final CssRulesetBorderTopWidth(BorderWidth attrValue) Sets the CSS border-top-width property using a BorderWidth enum.final CssRulesetBorderTopWidth(Units units) Sets the CSS border-top-width property using a Units value.final CssRulesetBorderTopWidth(String attrValue) Sets the CSS border-top-width property using a string value.final CssRulesetBorderWidth(int pixels) Sets the CSS border-width property for all sides using a pixel value.final CssRulesetBorderWidth(int top, int right, int bottom, int left) Sets the CSS border-width property with individual pixel values for each side.final CssRulesetBorderWidth(BorderWidth attrValue) Sets the CSS border-width property for all sides using a BorderWidth enum.final CssRulesetBorderWidth(Units units) Sets the CSS border-width property for all sides using a Units value.final CssRulesetBorderWidth(Units top, Units right, Units bottom, Units left) Sets the CSS border-width property with individual Units values for each side.final CssRulesetBorderWidth(String attrValue) Sets the CSS border-width property using a string value.final CssRulesetBorderWidth(String top, String right, String bottom, String left) Sets the CSS border-width property with individual string values for each side.final CssRulesetBottom(int pixels) Sets the CSS bottom property using a pixel value.final CssRuleSets the CSS bottom property using a Units value.final CssRuleSets the CSS bottom property using a string value.final CssRulesetBoxShadow(int hShadow, int vShadow, int blur, int spread, Color color) Sets the CSS box-shadow property with pixel values and Color object.final CssRulesetBoxShadow(BoxShadow boxShadow) Sets the CSSbox-shadowproperty from aBoxShadowbuilder.final CssRuleSets the CSS box-shadow property with Units values and Color object.final CssRulesetBoxShadow(String attrValue) Sets the CSS box-shadow property using a string value.final CssRuleSets the CSS box-shadow property with separate string values.final CssRulesetBoxSizing(BoxSizing attrValue) Sets the box-sizing property using an enum value.final CssRulesetBoxSizing(String attrValue) Sets the box-sizing property using a string value.final CssRulesetBreakAfter(String attrValue) Sets the break-after property controlling page/column/region breaks after the element.final CssRulesetBreakBefore(String attrValue) Sets the break-before property controlling page/column/region breaks before the element.final CssRulesetBreakInside(String attrValue) Sets the break-inside property controlling page/column/region breaks inside the element.final CssRulesetCaptionSide(CaptionSide attrValue) Sets the caption-side property using an enum value.final CssRulesetCaptionSide(String attrValue) Sets the caption-side property using a string value.final CssRulesetCheckedStyle(CssStyle checked) Sets the style for the :checked pseudo-class.final CssRulesetCheckedStyle(String checked) Sets the style for the :checked pseudo-class from a CSS string.final CssRuleSets the CSS clear property using a Clear enum value.final CssRuleSets the CSS clear property using a string value.final CssRuleSets the CSS clip property using a string value.final CssRulesetClipPath(ClipPath clipPath) Sets the CSSclip-pathproperty from aClipPathbuilder.final CssRulesetClipPath(String attrValue) Sets the clip-path property to define a clipping region for an element.setColGap(int colgap) Sets the column-gap property using a pixel value.Sets the column-gap property using a string value.final CssRuleSets the color property (foreground text color) using a Color object.final CssRuleSets the color property (foreground text color) using a string value.final CssRulesetColumnCount(int count) Sets the column-count property to a specific number of columns.final CssRulesetColumnCount(String attrValue) Sets the column-count property using a string value.final CssRulesetColumnFill(ColumnFill attrValue) Sets the column-fill property using an enum value.final CssRulesetColumnFill(String attrValue) Sets the column-fill property using a string value.final CssRulesetColumnGap(String attrValue) Sets the column-gap property specifying the gap between columns.final CssRulesetColumnRule(String attrValue) Sets the column-rule shorthand property for rule width, style, and color.final CssRulesetColumnRuleColor(Color color) Sets the column-rule-color property using a Color object.final CssRulesetColumnRuleColor(String attrValue) Sets the column-rule-color property using a string value.final CssRulesetColumnRuleStyle(ColumnRuleStyle attrValue) Sets the column-rule-style property using an enum value.final CssRulesetColumnRuleStyle(String attrValue) Sets the column-rule-style property using a string value.final CssRulesetColumnRuleWidth(ColumnRuleWidth attrValue) Sets the column-rule-width property using an enum value.final CssRulesetColumnRuleWidth(String attrValue) Sets the column-rule-width property using a string value.final CssRulesetColumns(int count, int width) Sets the columns shorthand property with column count and width in pixels.final CssRulesetColumns(int count, Units width) Sets the columns shorthand property with column count and width as Units.final CssRulesetColumns(String attrValue) Sets the columns shorthand property for column-width and column-count.final CssRulesetColumnSpan(String attrValue) Sets the column-span property specifying how many columns an element spans.final CssRulesetColumnWidth(int pixels) Sets the column-width property using a pixel value.final CssRulesetColumnWidth(Units units) Sets the column-width property using a Units object.final CssRulesetColumnWidth(String attrValue) Sets the column-width property using a string value.final CssRulesetCounterIncrement(String attrValue) Sets the counter-increment property to increment CSS counters.final CssRulesetCounterReset(String keyFrameName) Sets the counter-reset property to reset CSS counters to a value.final CssRuleSets the cursor property using an enum value.final CssRuleSets the cursor property using a string value.final CssRulesetDirection(TextDirection attrValue) Sets the direction property using an enum value for text direction.final CssRulesetDirection(String attrValue) Sets the direction property using a string value for text direction.final CssRulesetDisabledStyle(CssStyle disabled) Sets the style for the :disabled pseudo-class.final CssRulesetDisabledStyle(String disabled) Sets the style for the :disabled pseudo-class from a CSS string.final CssRulesetDisplay(Display attrValue) Sets the CSS display property using a Display enum value.final CssRulesetDisplay(String attrValue) Sets the CSS display property using a string value.final CssRulesetEmptyCells(EmptyCells attrValue) Sets the empty-cells property using an enum value.final CssRulesetEmptyCells(String attrValue) Sets the empty-cells property using a string value.final CssRulesetEmptyStyle(CssStyle empty) Sets the style for the :empty pseudo-class.final CssRulesetEmptyStyle(String empty) Sets the style for the :empty pseudo-class from a CSS string.final CssRulesetEnabledStyle(CssStyle enabled) Sets the style for the :enabled pseudo-class.final CssRulesetEnabledStyle(String enabled) Sets the style for the :enabled pseudo-class from a CSS string.final CssRuleSets the CSSfilterproperty from aFilterbuilder.final CssRuleSets the filter property to apply graphical effects like blur, brightness, or contrast.final CssRulesetFirstChildStyle(CssStyle firstChild) Sets the style for the :first-child pseudo-class.final CssRulesetFirstChildStyle(String firstChild) Sets the style for the :first-child pseudo-class from a CSS string.final CssRulesetFirstLetterStyle(CssStyle firstLetter) Sets the style for the ::first-letter pseudo-element.final CssRulesetFirstLetterStyle(String firstLetter) Sets the style for the ::first-letter pseudo-element from a CSS string.final CssRulesetFirstLineStyle(CssStyle firstLine) Sets the style for the ::first-line pseudo-element.final CssRulesetFirstLineStyle(String firstLine) Sets the style for the ::first-line pseudo-element from a CSS string.final CssRulesetFirstOfTypeStyle(CssStyle firstOfType) Sets the style for the :first-of-type pseudo-class.final CssRulesetFirstOfTypeStyle(String firstOfType) Sets the style for the :first-of-type pseudo-class from a CSS string.final CssRuleSets the flex shorthand property for flex-grow, flex-shrink, and flex-basis.final CssRulesetFlexBasis(String attrValue) Sets the flex-basis property specifying the initial main size of a flex item.final CssRulesetFlexDirection(FlexDirection attrValue) Sets the flex-direction property using an enum value.final CssRulesetFlexDirection(String attrValue) Sets the flex-direction property using a string value.final CssRulesetFlexFlow(String attrValue) Sets the flex-flow shorthand property for flex-direction and flex-wrap.setFlexGrow(int attrValue) Sets the flex-grow property using an integer value.final CssRulesetFlexGrow(String attrValue) Sets the flex-grow property using a string value.setFlexShrink(int attrValue) Sets the flex-shrink property using an integer value.final CssRulesetFlexShrink(String attrValue) Sets the flex-shrink property using a string value.final CssRulesetFlexWrap(FlexWrap attrValue) Sets the flex-wrap property using an enum value.final CssRulesetFlexWrap(String attrValue) Sets the flex-wrap property using a string value.final CssRuleSets the CSS float property using a Float enum value.final CssRuleSets the CSS float property using a string value.final CssRulesetFocusStyle(CssStyle focus) Sets the style for the :focus pseudo-class.final CssRulesetFocusStyle(String focus) Sets the style for the :focus pseudo-class from a CSS string.final CssRulesetFocusVisibleStyle(CssStyle focusVisible) Sets the style for the :focus-visible pseudo-class.final CssRulesetFocusVisibleStyle(String focusVisible) Sets the style for the :focus-visible pseudo-class from a CSS string.final CssRuleSets the font shorthand property from a Font object.final CssRulesetFont(FontFamily family, float size) Sets the font with FontFamily enum and size in points.final CssRulesetFont(FontFamily family, float size, FontWeight weight) Sets the font with FontFamily, size in points, and FontWeight.final CssRulesetFont(FontFamily family, Units size) Sets the font with FontFamily enum and Units for size.final CssRulesetFont(FontFamily family, Units size, FontWeight weight) Sets the font with FontFamily, Units size, and FontWeight.final CssRuleSets the font shorthand property from a CSS value string.final CssRuleSets the font with family name and size in points.final CssRulesetFont(String family, float size, FontWeight weight) Sets the font with family name, size in points, and FontWeight.final CssRuleSets the font with family name and Units for size.final CssRulesetFont(String family, Units size, FontWeight weight) Sets the font with family name, Units size, and FontWeight.final CssRuleSets the font with family and size as strings.final CssRuleSets the font with family, size, and weight as strings.final CssRulesetFontFace(String attrValue) Sets the @font-face at-rule for custom font definitions.final CssRulesetFontFamily(FontFamily attrValue) Sets the font-family property from a FontFamily enum.final CssRulesetFontFamily(String attrValue) Sets the font-family property from a CSS value string.final CssRulesetFontFeatureSettings(String attrValue) Sets the font-feature-settings property for OpenType features.final CssRulesetFontKerning(String attrValue) Sets the font-kerning property for kerning control.final CssRulesetFontLanguageOverride(String attrValue) Sets the font-language-override property for language-specific glyphs.final CssRulesetFontSize(float pts) Sets the font-size property in points.final CssRulesetFontSize(Units units) Sets the font-size property using Units.final CssRulesetFontSize(String attrValue) Sets the font-size property from a CSS value string.final CssRulesetFontSizeAdjust(String attrValue) Sets the font-size-adjust property for aspect ratio preservation.final CssRulesetFontStretch(FontStretch attrValue) Sets the font-stretch property from a FontStretch enum.final CssRulesetFontStretch(String attrValue) Sets the font-stretch property from a CSS value string.final CssRulesetFontStyle(FontStyle attrValue) Sets the font-style property from a FontStyle enum.final CssRulesetFontStyle(String attrValue) Sets the font-style property from a CSS value string.final CssRulesetFontSynthesis(String attrValue) Sets the font-synthesis property for synthesizing missing styles.final CssRulesetFontVariant(FontVariant attrValue) Sets the font-variant property from a FontVariant enum.final CssRulesetFontVariant(String attrValue) Sets the font-variant property from a CSS value string.final CssRulesetFontVariantAlternates(String attrValue) Sets the font-variant-alternates property for alternate glyphs.final CssRulesetFontVariantCaps(String attrValue) Sets the font-variant-caps property for capital letter variants.final CssRulesetFontVariantEastAsian(String attrValue) Sets the font-variant-east-asian property for East Asian glyph variants.final CssRulesetFontVariantLigatures(String attrValue) Sets the font-variant-ligatures property for ligature control.final CssRulesetFontVariantNumeric(String attrValue) Sets the font-variant-numeric property for numeric glyph variants.final CssRulesetFontVariantPosition(String attrValue) Sets the font-variant-position property for subscript/superscript positioning.final CssRulesetFontWeight(FontWeight attrValue) Sets the font-weight property from a FontWeight enum.final CssRulesetFontWeight(String attrValue) Sets the font-weight property from a CSS value string.setGap(int gap) Sets the gap property using a pixel value for both row and column gaps.setGap(int rowgap, int colgap) Sets the gap property with separate row and column gap pixel values.Sets the gap property using a string value for both row and column gaps.Sets the gap property with separate row and column gap string values.final CssRulesetHangingPunctuation(HangingPunctuation attrValue) Sets the hanging-punctuation property from an enum.final CssRulesetHangingPunctuation(String attrValue) Sets the hanging-punctuation property from a CSS value string.final CssRulesetHeight(int pixels) Sets the CSS height property using a pixel value.final CssRuleSets the CSS height property using a Units value.final CssRuleSets the CSS height property using a string value.final CssRulesetHoverStyle(CssStyle hover) Sets the style for the :hover pseudo-class.final CssRulesetHoverStyle(String hover) Sets the style for the :hover pseudo-class from a CSS string.final CssRulesetHyphens(String attrValue) Sets the hyphens property for automatic hyphenation.final CssRulesetImageOrientation(String attrValue) Sets the image-orientation property for image rotation and flipping.final CssRulesetImageRendering(String attrValue) Sets the image-rendering property for image scaling algorithm.final CssRulesetImageResolution(String attrValue) Sets the image-resolution property for image resolution override.final CssRulesetImeMode(String attrValue) Sets the ime-mode property using a string value.final CssRulesetInRangeStyle(CssStyle inRange) Sets the style for the :in-range pseudo-class.final CssRulesetInRangeStyle(String inRange) Sets the style for the :in-range pseudo-class from a CSS string.final CssRulesetInvalidStyle(CssStyle invalid) Sets the style for the :invalid pseudo-class.final CssRulesetInvalidStyle(String invalid) Sets the style for the :invalid pseudo-class from a CSS string.final CssRulesetJustifyContent(JustifyContent attrValue) Sets the justify-content property using an enum value.final CssRulesetJustifyContent(String attrValue) Sets the justify-content property using a string value.final CssRulesetKeyFrames(String attrValue) Sets CSS keyframes definition.final CssRulesetLastChildStyle(CssStyle lastChild) Sets the style for the :last-child pseudo-class.final CssRulesetLastChildStyle(String lastChild) Sets the style for the :last-child pseudo-class from a CSS string.final CssRulesetLastOfTypeStyle(CssStyle lastOfType) Sets the style for the :last-of-type pseudo-class.final CssRulesetLastOfTypeStyle(String lastOfType) Sets the style for the :last-of-type pseudo-class from a CSS string.final CssRulesetLeft(int pixels) Sets the CSS left property using a pixel value.final CssRuleSets the CSS left property using a Units value.final CssRuleSets the CSS left property using a string value.final CssRulesetLetterSpacing(float pts) Sets the letter-spacing property in points.final CssRulesetLetterSpacing(int pixels) Sets the letter-spacing property in pixels.final CssRulesetLetterSpacing(Units units) Sets the letter-spacing property using Units.final CssRulesetLetterSpacing(String attrValue) Sets the letter-spacing property from a CSS value string.final CssRulesetLineBreak(String attrValue) Sets the line-break property for line breaking rules.final CssRulesetLineHeight(float pts) Sets the line-height property in points.final CssRulesetLineHeight(int pixels) Sets the line-height property in pixels.final CssRulesetLineHeight(Units units) Sets the line-height property using Units.final CssRulesetLineHeight(String attrValue) Sets the line-height property from a CSS value string.final CssRulesetLinkStyle(CssStyle link) Sets the style for the :link pseudo-class.final CssRulesetLinkStyle(String link) Sets the style for the :link pseudo-class from a CSS string.final CssRulesetListStyle(String attrValue) Sets the list-style shorthand property for list appearance.final CssRulesetListStyleImage(String attrValue) Sets the list-style-image property for a custom list marker image.final CssRulesetListStylePosition(ListStylePosition attrValue) Sets the list-style-position property using an enum value.final CssRulesetListStylePosition(String attrValue) Sets the list-style-position property using a string value.final CssRulesetListStyleType(ListStyleType attrValue) Sets the list-style-type property using an enum value.final CssRulesetListStyleType(String attrValue) Sets the list-style-type property using a string value.final CssRulesetMargin(int pixels) Sets the CSS margin property using a pixel value for all sides.final CssRulesetMargin(int top, int right, int bottom, int left) Sets the CSS margin property with individual pixel values for each side.final CssRuleSets the CSS margin property using a Units value for all sides.final CssRuleSets the CSS margin property with individual Units values for each side.final CssRuleSets the CSS margin property using a string value.final CssRulesetMarginBottom(int pixels) Sets the CSS margin-bottom property using a pixel value.final CssRulesetMarginBottom(Units units) Sets the CSS margin-bottom property using a Units value.final CssRulesetMarginBottom(String attrValue) Sets the CSS margin-bottom property using a string value.final CssRulesetMarginLeft(int pixels) Sets the CSS margin-left property using a pixel value.final CssRulesetMarginLeft(Units units) Sets the CSS margin-left property using a Units value.final CssRulesetMarginLeft(String attrValue) Sets the CSS margin-left property using a string value.final CssRulesetMarginRight(int pixels) Sets the CSS margin-right property using a pixel value.final CssRulesetMarginRight(Units units) Sets the CSS margin-right property using a Units value.final CssRulesetMarginRight(String attrValue) Sets the CSS margin-right property using a string value.final CssRulesetMarginTop(int pixels) Sets the CSS margin-top property using a pixel value.final CssRulesetMarginTop(Units units) Sets the CSS margin-top property using a Units value.final CssRulesetMarginTop(String attrValue) Sets the CSS margin-top property using a string value.final CssRuleSets the mark shorthand property for speech bookmark markers.final CssRulesetMarkAfter(String attrValue) Sets the mark-after property for a speech bookmark after the element.final CssRulesetMarkBefore(String attrValue) Sets the mark-before property for a speech bookmark before the element.final CssRulesetMarkerStyle(CssStyle marker) Sets the style for the ::marker pseudo-element.final CssRulesetMarkerStyle(String marker) Sets the style for the ::marker pseudo-element from a CSS string.final CssRuleSets the marks property for crop or cross marks on printed pages.final CssRulesetMarqueeDirection(String attrValue) Sets the marquee-direction property for scroll direction.final CssRulesetMarqueePlayCount(String attrValue) Sets the marquee-play-count property for number of scrolling iterations.final CssRulesetMarqueeSpeed(String attrValue) Sets the marquee-speed property for scrolling speed.final CssRulesetMarqueeStyle(String attrValue) Sets the marquee-style property for scrolling behavior style.final CssRuleSets the mask shorthand property for element masking.final CssRulesetMaskType(String attrValue) Sets the mask-type property for mask element interpretation.final CssRulesetMaxHeight(int pixels) Sets the CSS max-height property using a pixel value.final CssRulesetMaxHeight(Units units) Sets the CSS max-height property using a Units value.final CssRulesetMaxHeight(String attrValue) Sets the CSS max-height property using a string value.final CssRulesetMaxWidth(int pixels) Sets the CSS max-width property using a pixel value.final CssRulesetMaxWidth(Units units) Sets the CSS max-width property using a Units value.final CssRulesetMaxWidth(String attrValue) Sets the CSS max-width property using a string value.final CssRulesetMinHeight(int pixels) Sets the CSS min-height property using a pixel value.final CssRulesetMinHeight(Units units) Sets the CSS min-height property using a Units value.final CssRulesetMinHeight(String attrValue) Sets the CSS min-height property using a string value.final CssRulesetMinWidth(int pixels) Sets the CSS min-width property using a pixel value.final CssRulesetMinWidth(Units units) Sets the CSS min-width property using a Units value.final CssRulesetMinWidth(String attrValue) Sets the CSS min-width property using a string value.final CssRulesetNavDown(String attrValue) Sets the nav-down property using a string value.final CssRulesetNavIndex(int index) Sets the nav-index property using an integer value.final CssRulesetNavIndex(String attrValue) Sets the nav-index property using a string value.final CssRulesetNavLeft(String attrValue) Sets the nav-left property using a string value.final CssRulesetNavRight(String attrValue) Sets the nav-right property using a string value.final CssRuleSets the nav-up property using a string value.final CssRulesetNthChild(int n, CssStyle style) Sets the style for the :nth-child pseudo-class.final CssRulesetNthChild(int n, String style) Sets the style for the :nth-child pseudo-class from a CSS string.final CssRulesetObjectFit(String attrValue) Sets the object-fit property for replaced content sizing.final CssRulesetObjectPosition(String attrValue) Sets the object-position property for replaced content positioning.final CssRulesetOnlyChildStyle(CssStyle onlyChild) Sets the style for the :only-child pseudo-class.final CssRulesetOnlyChildStyle(String onlyChild) Sets the style for the :only-child pseudo-class from a CSS string.final CssRulesetOnlyOfTypeStyle(CssStyle onlyOfType) Sets the style for the :only-of-type pseudo-class.final CssRulesetOnlyOfTypeStyle(String onlyOfType) Sets the style for the :only-of-type pseudo-class from a CSS string.final CssRulesetOpacity(int opacity) Sets the opacity property using an integer value from 0 to 100.final CssRulesetOpacity(String attrValue) Sets the opacity property using a string value.final CssRulesetOptionalStyle(CssStyle optional) Sets the style for the :optional pseudo-class.final CssRulesetOptionalStyle(String optional) Sets the style for the :optional pseudo-class from a CSS string.final CssRulesetOrder(int order) Sets the order property using an integer value.final CssRuleSets the order property using a string value.final CssRulesetOrphans(String attrValue) Sets the orphans property specifying minimum lines at the bottom of a page.final CssRulesetOutline(Color color, OutlineStyle style, int width) Sets the outline shorthand property using typed values.final CssRulesetOutline(Color color, OutlineStyle style, Units width) Sets the outline shorthand property using typed values.final CssRulesetOutline(String attrValue) Sets the outline shorthand property using a string value.final CssRulesetOutline(String color, String style, String width) Sets the outline shorthand property using string values.final CssRulesetOutlineColor(Color attrValue) Sets the outline-color property using a Color value.final CssRulesetOutlineColor(String attrValue) Sets the outline-color property using a string value.final CssRulesetOutlineOffset(int pixels) Sets the outline-offset property using a pixel value.final CssRulesetOutlineOffset(Units units) Sets the outline-offset property using a unit value.final CssRulesetOutlineOffset(String attrValue) Sets the outline-offset property using a string value.final CssRulesetOutlineStyle(OutlineStyle attrValue) Sets the outline-style property using an enum value.final CssRulesetOutlineStyle(String attrValue) Sets the outline-style property using a string value.final CssRulesetOutlineWidth(int pixels) Sets the outline-width property using a pixel value.final CssRulesetOutlineWidth(OutlineWidth attrValue) Sets the outline-width property using an enum value.final CssRulesetOutlineWidth(Units units) Sets the outline-width property using a unit value.final CssRulesetOutlineWidth(String attrValue) Sets the outline-width property using a string value.final CssRulesetOutOfRangeStyle(CssStyle outOfRange) Sets the style for the :out-of-range pseudo-class.final CssRulesetOutOfRangeStyle(String outOfRange) Sets the style for the :out-of-range pseudo-class from a CSS string.final CssRulesetOverflow(Overflow attrValue) Sets the CSS overflow property using an Overflow enum value.final CssRulesetOverflow(Overflow x, Overflow y) Sets the CSS overflow-x and overflow-y properties separately.final CssRulesetOverflow(String attrValue) Sets the CSS overflow property using a string value.final CssRulesetOverflowWrap(String attrValue) Sets the overflow-wrap property for line breaking on overflow.final CssRulesetOverflowX(Overflow attrValue) Sets the CSS overflow-x property using an Overflow enum value.final CssRulesetOverflowX(String attrValue) Sets the CSS overflow-x property using a string value.final CssRulesetOverflowY(Overflow attrValue) Sets the CSS overflow-y property using an Overflow enum value.final CssRulesetOverflowY(String attrValue) Sets the CSS overflow-y property using a string value.final CssRulesetPadding(int pixels) Sets the CSS padding property using a pixel value for all sides.setPadding(int topBottom, int leftRight) Sets the CSS padding property using pixel values for vertical and horizontal padding.final CssRulesetPadding(int top, int right, int bottom, int left) Sets the CSS padding property with individual pixel values for each side.final CssRulesetPadding(Units units) Sets the CSS padding property using a Units value for all sides.setPadding(Units topBottom, Units leftRight) Sets the CSS padding property using Units values for vertical and horizontal padding.final CssRulesetPadding(Units top, Units right, Units bottom, Units left) Sets the CSS padding property with individual Units values for each side.final CssRulesetPadding(String attrValue) Sets the CSS padding property using a string value.final CssRulesetPadding(String top, String right, String bottom, String left) Sets the CSS padding property with individual string values for each side.final CssRulesetPaddingBottom(int pixels) Sets the CSS padding-bottom property using a pixel value.final CssRulesetPaddingBottom(Units units) Sets the CSS padding-bottom property using a Units value.final CssRulesetPaddingBottom(String attrValue) Sets the CSS padding-bottom property using a string value.final CssRulesetPaddingLeft(int pixels) Sets the CSS padding-left property using a pixel value.final CssRulesetPaddingLeft(Units units) Sets the CSS padding-left property using a Units value.final CssRulesetPaddingLeft(String attrValue) Sets the CSS padding-left property using a string value.final CssRulesetPaddingRight(int pixels) Sets the CSS padding-right property using a pixel value.final CssRulesetPaddingRight(Units units) Sets the CSS padding-right property using a Units value.final CssRulesetPaddingRight(String attrValue) Sets the CSS padding-right property using a string value.final CssRulesetPaddingTop(int pixels) Sets the CSS padding-top property using a pixel value.final CssRulesetPaddingTop(Units units) Sets the CSS padding-top property using a Units value.final CssRulesetPaddingTop(String attrValue) Sets the CSS padding-top property using a string value.final CssRulesetPageBreakAfter(PageBreakAfter attrValue) Sets the page-break-after property using an enum value.final CssRulesetPageBreakAfter(String attrValue) Sets the page-break-after property using a string value.final CssRulesetPageBreakBefore(PageBreakBefore attrValue) Sets the page-break-before property using an enum value.final CssRulesetPageBreakBefore(String attrValue) Sets the page-break-before property using a string value.final CssRulesetPageBreakInside(PageBreakInside attrValue) Sets the page-break-inside property using an enum value.final CssRulesetPageBreakInside(String attrValue) Sets the page-break-inside property using a string value.protected final voidsetParentSelector(String parentSelector) Sets the parent selector for nested rule resolution.final CssRulesetPerspective(int pixels) Sets the perspective property in pixels.final CssRulesetPerspective(Units units) Sets the perspective property using Units.final CssRulesetPerspective(String attrValue) Sets the perspective property from a CSS value string.final CssRulesetPerspectiveOrigin(Origin xAxis, Origin yAxis) Sets the perspective-origin property using Origin enums.final CssRulesetPerspectiveOrigin(Units xAxis, Units yAxis) Sets the perspective-origin property using Units.final CssRulesetPerspectiveOrigin(String attrValue) Sets the perspective-origin property from a CSS value string.final CssRulesetPerspectiveOrigin(String xAxis, String yAxis) Sets the perspective-origin property with x and y values.final CssRulesetPhonemes(String attrValue) Sets the phonemes property for phonetic pronunciation.final CssRulesetPosition(int left, int top) Sets the CSS left and top position properties using pixel values.final CssRulesetPosition(Position attrValue) Sets the CSS position property using a Position enum value.final CssRulesetPosition(Units left, Units top) Sets the CSS left and top position properties using Units values.final CssRulesetPosition(String attrValue) Sets the CSS position property using a string value.final CssRulesetPosition(String left, String top) Sets the CSS left and top position properties using string values.final CssRuleSets the quotes property for quotation mark characters.final CssRulesetReadOnlyStyle(CssStyle readOnly) Sets the style for the :read-only pseudo-class.final CssRulesetReadOnlyStyle(String readOnly) Sets the style for the :read-only pseudo-class from a CSS string.final CssRulesetReadWriteStyle(CssStyle readWrite) Sets the style for the :read-write pseudo-class.final CssRulesetReadWriteStyle(String readWrite) Sets the style for the :read-write pseudo-class from a CSS string.final CssRulesetRequiredStyle(CssStyle required) Sets the style for the :required pseudo-class.final CssRulesetRequiredStyle(String required) Sets the style for the :required pseudo-class from a CSS string.Sets the resize property using an enum value.final CssRuleSets the resize property using a string value.final CssRuleSets the rest shorthand property for pauses before and after speech.final CssRulesetRestAfter(String attrValue) Sets the rest-after property for pause after speech synthesis.final CssRulesetRestBefore(String attrValue) Sets the rest-before property for pause before speech synthesis.final CssRulesetRight(int pixels) Sets the CSS right property using a pixel value.final CssRuleSets the CSS right property using a Units value.final CssRuleSets the CSS right property using a string value.final CssRulesetRootStyle(CssStyle root) Sets the style for the :root pseudo-class.final CssRulesetRootStyle(String root) Sets the style for the :root pseudo-class from a CSS string.setRowGap(int rowgap) Sets the row-gap property using a pixel value.Sets the row-gap property using a string value.final CssRulesetSelectionStyle(CssStyle selection) Sets the style for the ::selection pseudo-element.final CssRulesetSelectionStyle(String selection) Sets the style for the ::selection pseudo-element from a CSS string.final CssRulesetSize(int width, int height) Sets both the CSS width and height properties using pixel values.final CssRuleSets both the CSS width and height properties using Units values.final CssRuleSets both the CSS width and height properties using string values.final CssRuleSets the style for this rule from a CssStyle object.final CssRuleSets the style for this rule from a CSS string.final CssRulesetTableLayout(TableLayout attrValue) Sets the table-layout property using an enum value.final CssRulesetTableLayout(String attrValue) Sets the table-layout property using a string value.final CssRulesetTabSize(float pts) Sets the tab-size property in points.final CssRulesetTabSize(int pixels) Sets the tab-size property in pixels.final CssRulesetTabSize(Units units) Sets the tab-size property using Units.final CssRulesetTabSize(String attrValue) Sets the tab-size property from a CSS value string.final CssRulesetTargetStyle(CssStyle target) Sets the style for the :target pseudo-class.final CssRulesetTargetStyle(String target) Sets the style for the :target pseudo-class from a CSS string.final CssRulesetTextAlign(TextAlign attrValue) Sets the text-align property from a TextAlign enum.final CssRulesetTextAlign(String attrValue) Sets the text-align property from a CSS value string.final CssRulesetTextAlignLast(TextAlignLast attrValue) Sets the text-align-last property from an enum.final CssRulesetTextAlignLast(String attrValue) Sets the text-align-last property from a CSS value string.final CssRulesetTextCombineUpright(String attrValue) Sets the text-combine-upright property for vertical text.final CssRulesetTextCombineWeight(String attrValue) Sets the text-combine-upright property for combining characters in vertical text.final CssRulesetTextDecoration(TextDecoration attrValue) Sets the text-decoration shorthand property using an enum value.final CssRulesetTextDecoration(String attrValue) Sets the text-decoration shorthand property using a string value.final CssRulesetTextDecorationColor(Color color) Sets the text-decoration-color property using a Color object.final CssRulesetTextDecorationColor(String attrValue) Sets the text-decoration-color property using a string value.final CssRulesetTextDecorationLine(TextDecorationLine attrValue) Sets the text-decoration-line property using an enum value.final CssRulesetTextDecorationLine(String attrValue) Sets the text-decoration-line property using a string value.final CssRulesetTextDecorationStyle(TextDecorationStyle attrValue) Sets the text-decoration-style property using an enum value.final CssRulesetTextDecorationStyle(String attrValue) Sets the text-decoration-style property using a string value.final CssRulesetTextIndent(float pts) Sets the text-indent property in points.final CssRulesetTextIndent(int pixels) Sets the text-indent property in pixels.final CssRulesetTextIndent(Units units) Sets the text-indent property using Units.final CssRulesetTextIndent(String attrValue) Sets the text-indent property from a CSS value string.final CssRulesetTextJustify(TextJustify attrValue) Sets the text-justify property from an enum.final CssRulesetTextJustify(String attrValue) Sets the text-justify property from a CSS value string.final CssRulesetTextOrientation(String attrValue) Sets the text-orientation property for vertical text orientation.final CssRulesetTextOverflow(TextOverflow attrValue) Sets the text-overflow property using an enum value.final CssRulesetTextOverflow(String attrValue) Sets the text-overflow property using a string value.final CssRulesetTextSelectDisabled(boolean flag) Disables or enables text selection on the element.final CssRulesetTextShadow(int hShadow, int vShadow) Sets the text-shadow property with horizontal and vertical offset in pixels.final CssRulesetTextShadow(int hShadow, int vShadow, int blurRadius) Sets the text-shadow property with offset and blur radius in pixels.final CssRulesetTextShadow(int hShadow, int vShadow, int blurRadius, Color color) Sets the text-shadow property with offset, blur radius, and color.final CssRulesetTextShadow(BoxShadow boxShadow) Sets the CSStext-shadowproperty from aBoxShadowbuilder.final CssRulesetTextShadow(String attrValue) Sets the text-shadow property using a string value.final CssRulesetTextTransform(TextTransform attrValue) Sets the text-transform property from a TextTransform enum.final CssRulesetTextTransform(String attrValue) Sets the text-transform property from a CSS value string.final CssRulesetTextUnderlinePosition(String attrValue) Sets the text-underline-position property for underline placement.final CssRulesetTop(int pixels) Sets the CSS top property using a pixel value.final CssRuleSets the CSS top property using a Units value.final CssRuleSets the CSS top property using a string value.final CssRulesetTransform(String attrValue) Sets the transform property from a CSS value string.final CssRulesetTransformOrigin(int xAxis, int yAxis, int zAxis) Sets the transform-origin property in pixels.final CssRulesetTransformOrigin(Origin xAxis, Origin yAxis, Units zAxis) Sets the transform-origin property using Origin enums and Units.final CssRulesetTransformOrigin(Units xAxis, Units yAxis, Units zAxis) Sets the transform-origin property using Units.final CssRulesetTransformOrigin(String attrValue) Sets the transform-origin property from a CSS value string.final CssRulesetTransformOrigin(String xAxis, String yAxis, String zAxis) Sets the transform-origin property with x, y, and z values.final CssRulesetTransformStyle(TransformStyle attrValue) Sets the transform-style property from an enum.final CssRulesetTransformStyle(String attrValue) Sets the transform-style property from a CSS value string.final CssRulesetTransition(String attrValue) Sets the transition shorthand property.final CssRulesetTransitionDelay(int secs) Sets the transition delay in seconds.final CssRulesetTransitionDelay(long msecs) Sets the transition delay in milliseconds.final CssRulesetTransitionDelay(String attrValue) Sets the transition delay from a CSS value string.final CssRulesetTransitionDuration(float secs) Sets the transition duration in seconds.final CssRulesetTransitionDuration(long msecs) Sets the transition duration in milliseconds.final CssRulesetTransitionDuration(String attrValue) Sets the transition duration from a CSS value string.final CssRulesetTransitionProperty(String attrValue) Sets which CSS properties should be transitioned.final CssRulesetTransitionTimingFunction(float n1, float n2, float n3, float n4) Sets a cubic-bezier timing function.final CssRulesetTransitionTimingFunction(int intervals, boolean start) Sets a steps timing function.final CssRuleSets the transition timing function from an enum.final CssRulesetTransitionTimingFunction(String attrValue) Sets the transition timing function from a CSS value string.final CssRulesetUnicodeBidi(UnicodeBidi attrValue) Sets the unicode-bidi property using an enum value.final CssRulesetUnicodeBidi(String attrValue) Sets the unicode-bidi property using a string value.final CssRulesetValidStyle(CssStyle valid) Sets the style for the :valid pseudo-class.final CssRulesetValidStyle(String valid) Sets the style for the :valid pseudo-class from a CSS string.final CssRulesetVerticalAlign(VerticalAlign attrValue) Sets the CSS vertical-align property using a VerticalAlign enum value.final CssRulesetVerticalAlign(String attrValue) Sets the CSS vertical-align property using a string value.final CssRulesetVisibility(Visibility attrValue) Sets the CSS visibility property using a Visibility enum value.final CssRulesetVisibility(String attrValue) Sets the CSS visibility property using a string value.final CssRulesetVisitedStyle(CssStyle visited) Sets the style for the :visited pseudo-class.final CssRulesetVisitedStyle(String visited) Sets the style for the :visited pseudo-class from a CSS string.final CssRulesetVoiceBalance(String attrValue) Sets the voice-balance property for stereo audio positioning.final CssRulesetVoiceDuration(String attrValue) Sets the voice-duration property specifying how long it takes to read the content.final CssRulesetVoicePitch(String attrValue) Sets the voice-pitch property for speech synthesis pitch.final CssRulesetVoicePitchRange(String attrValue) Sets the voice-pitch-range property for pitch variation during speech.final CssRulesetVoiceRate(String attrValue) Sets the voice-rate property for speech synthesis speed.final CssRulesetVoiceStress(String attrValue) Sets the voice-stress property for emphasis during speech synthesis.final CssRulesetVoiceVolume(String attrValue) Sets the voice-volume property for speech synthesis volume.final CssRulesetWhiteSpace(WhiteSpace attrValue) Sets the white-space property from a WhiteSpace enum.final CssRulesetWhiteSpace(String attrValue) Sets the white-space property from a CSS value string.final CssRuleSets the widows property specifying minimum lines at the top of a page/column.final CssRulesetWidth(int pixels) Sets the CSS width property using a pixel value.final CssRuleSets the CSS width property using a Units value.final CssRuleSets the CSS width property using a string value.final CssRulesetWordBreak(WordBreak attrValue) Sets the word-break property from a WordBreak enum.final CssRulesetWordBreak(String attrValue) Sets the word-break property from a CSS value string.final CssRulesetWordSpacing(float pts) Sets the word-spacing property in points.final CssRulesetWordSpacing(int pixels) Sets the word-spacing property in pixels.final CssRulesetWordSpacing(Units units) Sets the word-spacing property using Units.final CssRulesetWordSpacing(String attrValue) Sets the word-spacing property from a CSS value string.final CssRulesetWordWrap(WordWrap attrValue) Sets the word-wrap property from a WordWrap enum.final CssRulesetWordWrap(String attrValue) Sets the word-wrap property from a CSS value string.final CssRulesetWritingMode(String attrValue) Sets the writing-mode property for text flow direction.final CssRulesetZIndex(int attrValue) Sets the CSS z-index property using an integer value.final CssRuleSets the CSS z-index property using a string value.toString()Methods inherited from class com.oorian.css.CssElement
addNewLine, create, initializeChildren
-
Constructor Details
-
CssRule
public CssRule()Constructs an empty CSS rule with no selectors. -
CssRule
Constructs a CSS rule with the specified selectors.- Parameters:
selectors- One or more CSS selectors for this rule.
-
CssRule
Copy constructor that creates a new rule from an existing rule.- Parameters:
rule- The rule to copy.
-
-
Method Details
-
addSelector
Adds a CSS selector object to this rule.- Parameters:
selector- The CssSelector to add.- Returns:
- This CssRule for method chaining.
-
addSelector
Adds a CSS selector string to this rule.- Parameters:
selector- The selector string (e.g., ".class", "#id", "element").- Returns:
- This CssRule for method chaining.
-
addDescendant
Adds a descendant rule that matches elements nested at any depth.Creates a descendant combinator relationship (space separator in CSS).
- Parameters:
descendant- The rule for descendant elements.- Returns:
- This CssRule for method chaining.
-
addChild
Adds a child rule that matches direct child elements only.Creates a child combinator relationship (> separator in CSS).
- Parameters:
child- The rule for direct child elements.- Returns:
- This CssRule for method chaining.
-
addAdjacentSibling
Adds an adjacent sibling rule that matches the immediately following sibling.Creates an adjacent sibling combinator relationship (+ separator in CSS).
- Parameters:
sibling- The rule for the adjacent sibling element.- Returns:
- This CssRule for method chaining.
-
addGeneralSibling
Adds a general sibling rule that matches all following siblings.Creates a general sibling combinator relationship (~ separator in CSS).
- Parameters:
sibling- The rule for all following sibling elements.- Returns:
- This CssRule for method chaining.
-
setStyle
Sets the style for this rule from a CssStyle object.- Parameters:
style- The CssStyle containing the properties to apply.- Returns:
- This CssRule for method chaining.
-
setStyle
Sets the style for this rule from a CSS string.- Parameters:
style- The CSS properties as a string (e.g., "color: red; font-size: 14px").- Returns:
- This CssRule for method chaining.
-
addStyleAttribute
Adds a single style attribute to this rule.- Parameters:
name- The CSS property name.value- The property value.- Returns:
- True if the attribute was added successfully.
-
addStyleAttribute
Adds a single style attribute to this rule with optional !important flag.- Parameters:
name- The CSS property name.value- The property value.important- True to add the !important modifier.- Returns:
- True if the attribute was added successfully.
-
addPseudoElement
Adds a pseudo-element style to this rule.Pseudo-elements style specific parts of an element (e.g., ::before, ::after).
- Parameters:
name- The pseudo-element name (e.g., "before", "after", "first-line").style- The CssStyle to apply to the pseudo-element.- Returns:
- This CssRule for method chaining.
-
setAfterStyle
Sets the style for the ::after pseudo-element.The ::after pseudo-element inserts content after the element's content.
- Parameters:
after- The CssStyle to apply to the ::after pseudo-element.- Returns:
- This CssRule for method chaining.
-
setAfterStyle
Sets the style for the ::after pseudo-element from a CSS string.- Parameters:
after- The CSS properties as a string to apply to the ::after pseudo-element.- Returns:
- This CssRule for method chaining.
-
setBeforeStyle
Sets the style for the ::before pseudo-element.The ::before pseudo-element inserts content before the element's content.
- Parameters:
before- The CssStyle to apply to the ::before pseudo-element.- Returns:
- This CssRule for method chaining.
-
setBeforeStyle
Sets the style for the ::before pseudo-element from a CSS string.- Parameters:
before- The CSS properties as a string to apply to the ::before pseudo-element.- Returns:
- This CssRule for method chaining.
-
setFirstLetterStyle
Sets the style for the ::first-letter pseudo-element.The ::first-letter pseudo-element styles the first letter of a block element.
- Parameters:
firstLetter- The CssStyle to apply to the ::first-letter pseudo-element.- Returns:
- This CssRule for method chaining.
-
setFirstLetterStyle
Sets the style for the ::first-letter pseudo-element from a CSS string.- Parameters:
firstLetter- The CSS properties as a string to apply to the ::first-letter pseudo-element.- Returns:
- This CssRule for method chaining.
-
setFirstLineStyle
Sets the style for the ::first-line pseudo-element.The ::first-line pseudo-element styles the first line of a block element.
- Parameters:
firstLine- The CssStyle to apply to the ::first-line pseudo-element.- Returns:
- This CssRule for method chaining.
-
setFirstLineStyle
Sets the style for the ::first-line pseudo-element from a CSS string.- Parameters:
firstLine- The CSS properties as a string to apply to the ::first-line pseudo-element.- Returns:
- This CssRule for method chaining.
-
setMarkerStyle
Sets the style for the ::marker pseudo-element.The ::marker pseudo-element styles list item markers (bullets or numbers).
- Parameters:
marker- The CssStyle to apply to the ::marker pseudo-element.- Returns:
- This CssRule for method chaining.
-
setMarkerStyle
Sets the style for the ::marker pseudo-element from a CSS string.- Parameters:
marker- The CSS properties as a string to apply to the ::marker pseudo-element.- Returns:
- This CssRule for method chaining.
-
setSelectionStyle
Sets the style for the ::selection pseudo-element.The ::selection pseudo-element styles the portion of an element selected by the user.
- Parameters:
selection- The CssStyle to apply to the ::selection pseudo-element.- Returns:
- This CssRule for method chaining.
-
setSelectionStyle
Sets the style for the ::selection pseudo-element from a CSS string.- Parameters:
selection- The CSS properties as a string to apply to the ::selection pseudo-element.- Returns:
- This CssRule for method chaining.
-
setActiveStyle
Sets the style for the :active pseudo-class.The :active pseudo-class applies when the element is being activated (e.g., clicked).
- Parameters:
active- The CssStyle to apply when the element is active.- Returns:
- This CssRule for method chaining.
-
setActiveStyle
Sets the style for the :active pseudo-class from a CSS string.- Parameters:
active- The CSS properties as a string to apply when the element is active.- Returns:
- This CssRule for method chaining.
-
setCheckedStyle
Sets the style for the :checked pseudo-class.The :checked pseudo-class applies to checked checkbox or radio button inputs.
- Parameters:
checked- The CssStyle to apply when the element is checked.- Returns:
- This CssRule for method chaining.
-
setCheckedStyle
Sets the style for the :checked pseudo-class from a CSS string.- Parameters:
checked- The CSS properties as a string to apply when the element is checked.- Returns:
- This CssRule for method chaining.
-
setDisabledStyle
Sets the style for the :disabled pseudo-class.The :disabled pseudo-class applies to disabled form elements.
- Parameters:
disabled- The CssStyle to apply when the element is disabled.- Returns:
- This CssRule for method chaining.
-
setDisabledStyle
Sets the style for the :disabled pseudo-class from a CSS string.- Parameters:
disabled- The CSS properties as a string to apply when the element is disabled.- Returns:
- This CssRule for method chaining.
-
setEmptyStyle
Sets the style for the :empty pseudo-class.The :empty pseudo-class applies to elements that have no children.
- Parameters:
empty- The CssStyle to apply when the element is empty.- Returns:
- This CssRule for method chaining.
-
setEmptyStyle
Sets the style for the :empty pseudo-class from a CSS string.- Parameters:
empty- The CSS properties as a string to apply when the element is empty.- Returns:
- This CssRule for method chaining.
-
setEnabledStyle
Sets the style for the :enabled pseudo-class.The :enabled pseudo-class applies to enabled form elements.
- Parameters:
enabled- The CssStyle to apply when the element is enabled.- Returns:
- This CssRule for method chaining.
-
setEnabledStyle
Sets the style for the :enabled pseudo-class from a CSS string.- Parameters:
enabled- The CSS properties as a string to apply when the element is enabled.- Returns:
- This CssRule for method chaining.
-
setFirstChildStyle
Sets the style for the :first-child pseudo-class.The :first-child pseudo-class applies to elements that are the first child of their parent.
- Parameters:
firstChild- The CssStyle to apply when the element is the first child.- Returns:
- This CssRule for method chaining.
-
setFirstChildStyle
Sets the style for the :first-child pseudo-class from a CSS string.- Parameters:
firstChild- The CSS properties as a string to apply when the element is the first child.- Returns:
- This CssRule for method chaining.
-
setFirstOfTypeStyle
Sets the style for the :first-of-type pseudo-class.The :first-of-type pseudo-class applies to elements that are the first of their type among siblings.
- Parameters:
firstOfType- The CssStyle to apply when the element is the first of its type.- Returns:
- This CssRule for method chaining.
-
setFirstOfTypeStyle
Sets the style for the :first-of-type pseudo-class from a CSS string.- Parameters:
firstOfType- The CSS properties as a string to apply when the element is the first of its type.- Returns:
- This CssRule for method chaining.
-
setFocusStyle
Sets the style for the :focus pseudo-class.The :focus pseudo-class applies when the element has focus.
- Parameters:
focus- The CssStyle to apply when the element has focus.- Returns:
- This CssRule for method chaining.
-
setFocusStyle
Sets the style for the :focus pseudo-class from a CSS string.- Parameters:
focus- The CSS properties as a string to apply when the element has focus.- Returns:
- This CssRule for method chaining.
-
setFocusVisibleStyle
Sets the style for the :focus-visible pseudo-class.The :focus-visible pseudo-class applies when the element has focus and the browser determines that focus should be visibly indicated (e.g., via keyboard navigation). Unlike :focus, this does not apply when focus is gained via mouse click.
- Parameters:
focusVisible- The CssStyle to apply when focus should be visibly indicated.- Returns:
- This CssRule for method chaining.
-
setFocusVisibleStyle
Sets the style for the :focus-visible pseudo-class from a CSS string.- Parameters:
focusVisible- The CSS properties as a string to apply when focus should be visibly indicated.- Returns:
- This CssRule for method chaining.
-
setHoverStyle
Sets the style for the :hover pseudo-class.The :hover pseudo-class applies when the mouse pointer is over the element.
- Parameters:
hover- The CssStyle to apply when the element is hovered.- Returns:
- This CssRule for method chaining.
-
setHoverStyle
Sets the style for the :hover pseudo-class from a CSS string.- Parameters:
hover- The CSS properties as a string to apply when the element is hovered.- Returns:
- This CssRule for method chaining.
-
setInRangeStyle
Sets the style for the :in-range pseudo-class.The :in-range pseudo-class applies to input elements with values within their specified range.
- Parameters:
inRange- The CssStyle to apply when the element's value is in range.- Returns:
- This CssRule for method chaining.
-
setInRangeStyle
Sets the style for the :in-range pseudo-class from a CSS string.- Parameters:
inRange- The CSS properties as a string to apply when the element's value is in range.- Returns:
- This CssRule for method chaining.
-
setInvalidStyle
Sets the style for the :invalid pseudo-class.The :invalid pseudo-class applies to form elements with invalid values.
- Parameters:
invalid- The CssStyle to apply when the element's value is invalid.- Returns:
- This CssRule for method chaining.
-
setInvalidStyle
Sets the style for the :invalid pseudo-class from a CSS string.- Parameters:
invalid- The CSS properties as a string to apply when the element's value is invalid.- Returns:
- This CssRule for method chaining.
-
setLastChildStyle
Sets the style for the :last-child pseudo-class.The :last-child pseudo-class applies to elements that are the last child of their parent.
- Parameters:
lastChild- The CssStyle to apply when the element is the last child.- Returns:
- This CssRule for method chaining.
-
setLastChildStyle
Sets the style for the :last-child pseudo-class from a CSS string.- Parameters:
lastChild- The CSS properties as a string to apply when the element is the last child.- Returns:
- This CssRule for method chaining.
-
setLastOfTypeStyle
Sets the style for the :last-of-type pseudo-class.The :last-of-type pseudo-class applies to elements that are the last of their type among siblings.
- Parameters:
lastOfType- The CssStyle to apply when the element is the last of its type.- Returns:
- This CssRule for method chaining.
-
setLastOfTypeStyle
Sets the style for the :last-of-type pseudo-class from a CSS string.- Parameters:
lastOfType- The CSS properties as a string to apply when the element is the last of its type.- Returns:
- This CssRule for method chaining.
-
setLinkStyle
Sets the style for the :link pseudo-class.The :link pseudo-class applies to unvisited links.
- Parameters:
link- The CssStyle to apply to unvisited links.- Returns:
- This CssRule for method chaining.
-
setLinkStyle
Sets the style for the :link pseudo-class from a CSS string.- Parameters:
link- The CSS properties as a string to apply to unvisited links.- Returns:
- This CssRule for method chaining.
-
setNthChild
Sets the style for the :nth-child pseudo-class.The :nth-child pseudo-class applies to elements based on their position among siblings.
- Parameters:
n- The position index (1-based).style- The CssStyle to apply to the nth child.- Returns:
- This CssRule for method chaining.
-
setNthChild
Sets the style for the :nth-child pseudo-class from a CSS string.- Parameters:
n- The position index (1-based).style- The CSS properties as a string to apply to the nth child.- Returns:
- This CssRule for method chaining.
-
setOnlyOfTypeStyle
Sets the style for the :only-of-type pseudo-class.The :only-of-type pseudo-class applies to elements that are the only one of their type among siblings.
- Parameters:
onlyOfType- The CssStyle to apply when the element is the only of its type.- Returns:
- This CssRule for method chaining.
-
setOnlyOfTypeStyle
Sets the style for the :only-of-type pseudo-class from a CSS string.- Parameters:
onlyOfType- The CSS properties as a string to apply when the element is the only of its type.- Returns:
- This CssRule for method chaining.
-
setOnlyChildStyle
Sets the style for the :only-child pseudo-class.The :only-child pseudo-class applies to elements that are the only child of their parent.
- Parameters:
onlyChild- The CssStyle to apply when the element is the only child.- Returns:
- This CssRule for method chaining.
-
setOnlyChildStyle
Sets the style for the :only-child pseudo-class from a CSS string.- Parameters:
onlyChild- The CSS properties as a string to apply when the element is the only child.- Returns:
- This CssRule for method chaining.
-
setOptionalStyle
Sets the style for the :optional pseudo-class.The :optional pseudo-class applies to form elements that are not required.
- Parameters:
optional- The CssStyle to apply when the element is optional.- Returns:
- This CssRule for method chaining.
-
setOptionalStyle
Sets the style for the :optional pseudo-class from a CSS string.- Parameters:
optional- The CSS properties as a string to apply when the element is optional.- Returns:
- This CssRule for method chaining.
-
setOutOfRangeStyle
Sets the style for the :out-of-range pseudo-class.The :out-of-range pseudo-class applies to input elements with values outside their specified range.
- Parameters:
outOfRange- The CssStyle to apply when the element's value is out of range.- Returns:
- This CssRule for method chaining.
-
setOutOfRangeStyle
Sets the style for the :out-of-range pseudo-class from a CSS string.- Parameters:
outOfRange- The CSS properties as a string to apply when the element's value is out of range.- Returns:
- This CssRule for method chaining.
-
setReadOnlyStyle
Sets the style for the :read-only pseudo-class.The :read-only pseudo-class applies to form elements that are read-only.
- Parameters:
readOnly- The CssStyle to apply when the element is read-only.- Returns:
- This CssRule for method chaining.
-
setReadOnlyStyle
Sets the style for the :read-only pseudo-class from a CSS string.- Parameters:
readOnly- The CSS properties as a string to apply when the element is read-only.- Returns:
- This CssRule for method chaining.
-
setReadWriteStyle
Sets the style for the :read-write pseudo-class.The :read-write pseudo-class applies to form elements that are editable.
- Parameters:
readWrite- The CssStyle to apply when the element is editable.- Returns:
- This CssRule for method chaining.
-
setReadWriteStyle
Sets the style for the :read-write pseudo-class from a CSS string.- Parameters:
readWrite- The CSS properties as a string to apply when the element is editable.- Returns:
- This CssRule for method chaining.
-
setRequiredStyle
Sets the style for the :required pseudo-class.The :required pseudo-class applies to form elements that are required.
- Parameters:
required- The CssStyle to apply when the element is required.- Returns:
- This CssRule for method chaining.
-
setRequiredStyle
Sets the style for the :required pseudo-class from a CSS string.- Parameters:
required- The CSS properties as a string to apply when the element is required.- Returns:
- This CssRule for method chaining.
-
setRootStyle
Sets the style for the :root pseudo-class.The :root pseudo-class applies to the document's root element (html).
- Parameters:
root- The CssStyle to apply to the root element.- Returns:
- This CssRule for method chaining.
-
setRootStyle
Sets the style for the :root pseudo-class from a CSS string.- Parameters:
root- The CSS properties as a string to apply to the root element.- Returns:
- This CssRule for method chaining.
-
setTargetStyle
Sets the style for the :target pseudo-class.The :target pseudo-class applies to the element referenced by the URL fragment.
- Parameters:
target- The CssStyle to apply to the targeted element.- Returns:
- This CssRule for method chaining.
-
setTargetStyle
Sets the style for the :target pseudo-class from a CSS string.- Parameters:
target- The CSS properties as a string to apply to the targeted element.- Returns:
- This CssRule for method chaining.
-
setValidStyle
Sets the style for the :valid pseudo-class.The :valid pseudo-class applies to form elements with valid values.
- Parameters:
valid- The CssStyle to apply when the element's value is valid.- Returns:
- This CssRule for method chaining.
-
setValidStyle
Sets the style for the :valid pseudo-class from a CSS string.- Parameters:
valid- The CSS properties as a string to apply when the element's value is valid.- Returns:
- This CssRule for method chaining.
-
setVisitedStyle
Sets the style for the :visited pseudo-class.The :visited pseudo-class applies to visited links.
- Parameters:
visited- The CssStyle to apply to visited links.- Returns:
- This CssRule for method chaining.
-
setVisitedStyle
Sets the style for the :visited pseudo-class from a CSS string.- Parameters:
visited- The CSS properties as a string to apply to visited links.- Returns:
- This CssRule for method chaining.
-
setKeyFrames
Sets CSS keyframes definition.- Specified by:
setKeyFramesin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the keyframes definition string- Returns:
- this for method chaining
-
setAnimation
Sets the animation shorthand property.- Specified by:
setAnimationin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the animation shorthand value- Returns:
- this for method chaining
-
setAnimationDelay
Sets the animation delay.- Specified by:
setAnimationDelayin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the delay value with units (e.g., "2s", "500ms")- Returns:
- this for method chaining
-
setAnimationDelay
Sets the animation delay in seconds.- Specified by:
setAnimationDelayin interfaceAnimationIntf<CssRule>- Parameters:
delayInSecs- the delay in seconds- Returns:
- this for method chaining
-
setAnimationDelay
Sets the animation delay in milliseconds.- Specified by:
setAnimationDelayin interfaceAnimationIntf<CssRule>- Parameters:
delayInMsecs- the delay in milliseconds- Returns:
- this for method chaining
-
setAnimationDirection
Sets the animation direction.- Specified by:
setAnimationDirectionin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the direction value string- Returns:
- this for method chaining
-
setAnimationDirection
Sets the animation direction.- Specified by:
setAnimationDirectionin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the AnimationDirection enum value- Returns:
- this for method chaining
-
setAnimationDuration
Sets the animation duration.- Specified by:
setAnimationDurationin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the duration value with units (e.g., "2s", "500ms")- Returns:
- this for method chaining
-
setAnimationDuration
Sets the animation duration in seconds.- Specified by:
setAnimationDurationin interfaceAnimationIntf<CssRule>- Parameters:
secs- the duration in seconds- Returns:
- this for method chaining
-
setAnimationDuration
Sets the animation duration in milliseconds.- Specified by:
setAnimationDurationin interfaceAnimationIntf<CssRule>- Parameters:
msecs- the duration in milliseconds- Returns:
- this for method chaining
-
setAnimationFillMode
Sets the animation fill mode.- Specified by:
setAnimationFillModein interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the fill mode value string- Returns:
- this for method chaining
-
setAnimationFillMode
Sets the animation fill mode.- Specified by:
setAnimationFillModein interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the AnimationFillMode enum value- Returns:
- this for method chaining
-
setAnimationIterationCount
Sets the animation iteration count.- Specified by:
setAnimationIterationCountin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the iteration count value string- Returns:
- this for method chaining
-
setAnimationIterationCount
Sets the animation iteration count.- Specified by:
setAnimationIterationCountin interfaceAnimationIntf<CssRule>- Parameters:
count- the number of times to play the animation- Returns:
- this for method chaining
-
setAnimationIterationCount
Sets the animation iteration count.- Specified by:
setAnimationIterationCountin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the AnimationIterationCount enum value- Returns:
- this for method chaining
-
setAnimationName
Sets the animation name (keyframes reference).- Specified by:
setAnimationNamein interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the name of the keyframes to use- Returns:
- this for method chaining
-
setAnimationPlayState
Sets the animation play state.- Specified by:
setAnimationPlayStatein interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the play state value string- Returns:
- this for method chaining
-
setAnimationPlayState
Sets the animation play state.- Specified by:
setAnimationPlayStatein interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the AnimationPlayState enum value- Returns:
- this for method chaining
-
setAnimationTimingFunction
Sets the animation timing function.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the timing function value string- Returns:
- this for method chaining
-
setAnimationTimingFunction
Sets the animation timing function.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssRule>- Parameters:
attrValue- the AnimationTimingFunction enum value- Returns:
- this for method chaining
-
setAnimationTimingFunction
Sets a steps() timing function.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssRule>- Parameters:
intervals- the number of intervalsstart- true for step-start, false for step-end- Returns:
- this for method chaining
-
setAnimationTimingFunction
Sets a cubic-bezier() timing function.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssRule>- Parameters:
n1- the first control point x-coordinaten2- the first control point y-coordinaten3- the second control point x-coordinaten4- the second control point y-coordinate- Returns:
- this for method chaining
-
setBackground
Sets the background shorthand property.- Specified by:
setBackgroundin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the background shorthand value- Returns:
- this for method chaining
-
setBackground
Sets the background to a solid color.- Specified by:
setBackgroundin interfaceBackgroundIntf<CssRule>- Parameters:
color- the background color- Returns:
- this for method chaining
-
setBackgroundAttachment
Sets the background attachment behavior.- Specified by:
setBackgroundAttachmentin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the attachment value string- Returns:
- this for method chaining
-
setBackgroundAttachment
Sets the background attachment behavior.- Specified by:
setBackgroundAttachmentin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundAttachment enum value- Returns:
- this for method chaining
-
setBackgroundBlendMode
Sets the background blend mode.- Specified by:
setBackgroundBlendModein interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the blend mode value string- Returns:
- this for method chaining
-
setBackgroundBlendMode
Sets the background blend mode.- Specified by:
setBackgroundBlendModein interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundBlendMode enum value- Returns:
- this for method chaining
-
setBackgroundColor
Sets the background color.- Specified by:
setBackgroundColorin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the color value string- Returns:
- this for method chaining
-
setBackgroundColor
Sets the background color.- Specified by:
setBackgroundColorin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBackgroundColor
Sets the background color using a keyword.- Specified by:
setBackgroundColorin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundColor enum value- Returns:
- this for method chaining
-
setBackgroundImage
Sets the background image URL.- Specified by:
setBackgroundImagein interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the image URL or gradient function- Returns:
- this for method chaining
-
setBackgroundImage
Sets the CSSbackground-imageproperty from aGradientbuilder.- Parameters:
gradient- the Gradient builder containing the gradient definition.- Returns:
- This instance for method chaining.
- See Also:
-
setBackgroundPosition
Sets the background position.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the position value string- Returns:
- this for method chaining
-
setBackgroundPosition
Sets the background position using a keyword.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundPosition enum value- Returns:
- this for method chaining
-
setBackgroundPosition
Sets the background position with x and y coordinates.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssRule>- Parameters:
xpos- the horizontal positionypos- the vertical position- Returns:
- this for method chaining
-
setBackgroundPosition
Sets the background position in pixels.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssRule>- Parameters:
xpos- the horizontal position in pixelsypos- the vertical position in pixels- Returns:
- this for method chaining
-
setBackgroundPosition
Sets the background position with CSS units.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssRule>- Parameters:
xpos- the horizontal positionypos- the vertical position- Returns:
- this for method chaining
-
setBackgroundRepeat
Sets the background repeat behavior.- Specified by:
setBackgroundRepeatin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the repeat value string- Returns:
- this for method chaining
-
setBackgroundRepeat
Sets the background repeat behavior.- Specified by:
setBackgroundRepeatin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundRepeat enum value- Returns:
- this for method chaining
-
setBackgroundClip
Sets the background clip area.- Specified by:
setBackgroundClipin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the clip value string- Returns:
- this for method chaining
-
setBackgroundClip
Sets the background clip area.- Specified by:
setBackgroundClipin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundClip enum value- Returns:
- this for method chaining
-
setBackgroundOrigin
Sets the background origin.- Specified by:
setBackgroundOriginin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the origin value string- Returns:
- this for method chaining
-
setBackgroundOrigin
Sets the background origin.- Specified by:
setBackgroundOriginin interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundOrigin enum value- Returns:
- this for method chaining
-
setBackgroundSize
Sets the background size.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the size value string- Returns:
- this for method chaining
-
setBackgroundSize
Sets the background size using a keyword.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssRule>- Parameters:
attrValue- the BackgroundSize enum value- Returns:
- this for method chaining
-
setBackgroundSize
Sets the background size with width and height.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssRule>- Parameters:
width- the width valueheight- the height value- Returns:
- this for method chaining
-
setBackgroundSize
Sets the background size in pixels.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssRule>- Parameters:
width- the width in pixelsheight- the height in pixels- Returns:
- this for method chaining
-
setBackgroundSize
Sets the background size with CSS units.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssRule>- Parameters:
width- the widthheight- the height- Returns:
- this for method chaining
-
setClear
Sets the CSS clear property using a string value.- Specified by:
setClearin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the clear value (e.g., "left", "right", "both", "none")- Returns:
- this for method chaining
-
setClear
Sets the CSS clear property using a Clear enum value.- Specified by:
setClearin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Clear enum value- Returns:
- this for method chaining
-
setClip
Sets the CSS clip property using a string value.- Specified by:
setClipin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the clip value (e.g., "rect(0, 100px, 100px, 0)")- Returns:
- this for method chaining
-
setClipPath
Sets the clip-path property to define a clipping region for an element.- Specified by:
setClipPathin interfacecom.oorian.css.MaskingIntf<CssRule>- Parameters:
attrValue- the CSS clip-path value (e.g., "none", "circle(50%)", "polygon(50% 0%, 100% 100%, 0% 100%)")- Returns:
- this for method chaining
-
setClipPath
Sets the CSSclip-pathproperty from aClipPathbuilder.- Parameters:
clipPath- the ClipPath builder containing the shape definition.- Returns:
- This instance for method chaining.
- See Also:
-
setDisplay
Sets the CSS display property using a string value.- Specified by:
setDisplayin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the display value (e.g., "block", "inline", "flex", "none")- Returns:
- this for method chaining
-
setDisplay
Sets the CSS display property using a Display enum value.- Specified by:
setDisplayin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Display enum value- Returns:
- this for method chaining
-
setFloat
Sets the CSS float property using a string value.- Specified by:
setFloatin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the float value (e.g., "left", "right", "none")- Returns:
- this for method chaining
-
setFloat
Sets the CSS float property using a Float enum value.- Specified by:
setFloatin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Float enum value- Returns:
- this for method chaining
-
setMargin
Sets the CSS margin property using a string value.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the margin value (e.g., "10px", "1em 2em")- Returns:
- this for method chaining
-
setMargin
Sets the CSS margin property using a pixel value for all sides.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the margin in pixels- Returns:
- this for method chaining
-
setMargin
Sets the CSS margin property using a Units value for all sides.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the margin as a Units object- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property using pixel values for vertical and horizontal padding.This is equivalent to the CSS shorthand
padding: topBottom leftRight;- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
topBottom- the top and bottom padding in pixelsleftRight- the left and right padding in pixels- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property using Units values for vertical and horizontal padding.This is equivalent to the CSS shorthand
padding: topBottom leftRight;- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
topBottom- the top and bottom padding as a Units objectleftRight- the left and right padding as a Units object- Returns:
- this for method chaining
-
setMargin
Sets the CSS margin property with individual pixel values for each side.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
top- the top margin in pixelsright- the right margin in pixelsbottom- the bottom margin in pixelsleft- the left margin in pixels- Returns:
- this for method chaining
-
setMargin
Sets the CSS margin property with individual Units values for each side.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
top- the top margin as a Units objectright- the right margin as a Units objectbottom- the bottom margin as a Units objectleft- the left margin as a Units object- Returns:
- this for method chaining
-
setMarginBottom
Sets the CSS margin-bottom property using a string value.- Specified by:
setMarginBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the margin-bottom value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setMarginBottom
Sets the CSS margin-bottom property using a pixel value.- Specified by:
setMarginBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the margin-bottom in pixels- Returns:
- this for method chaining
-
setMarginBottom
Sets the CSS margin-bottom property using a Units value.- Specified by:
setMarginBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the margin-bottom as a Units object- Returns:
- this for method chaining
-
setMarginLeft
Sets the CSS margin-left property using a string value.- Specified by:
setMarginLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the margin-left value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setMarginLeft
Sets the CSS margin-left property using a pixel value.- Specified by:
setMarginLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the margin-left in pixels- Returns:
- this for method chaining
-
setMarginLeft
Sets the CSS margin-left property using a Units value.- Specified by:
setMarginLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the margin-left as a Units object- Returns:
- this for method chaining
-
setMarginRight
Sets the CSS margin-right property using a string value.- Specified by:
setMarginRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the margin-right value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setMarginRight
Sets the CSS margin-right property using a pixel value.- Specified by:
setMarginRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the margin-right in pixels- Returns:
- this for method chaining
-
setMarginRight
Sets the CSS margin-right property using a Units value.- Specified by:
setMarginRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the margin-right as a Units object- Returns:
- this for method chaining
-
setMarginTop
Sets the CSS margin-top property using a string value.- Specified by:
setMarginTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the margin-top value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setMarginTop
Sets the CSS margin-top property using a pixel value.- Specified by:
setMarginTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the margin-top in pixels- Returns:
- this for method chaining
-
setMarginTop
Sets the CSS margin-top property using a Units value.- Specified by:
setMarginTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the margin-top as a Units object- Returns:
- this for method chaining
-
setOverflow
Sets the CSS overflow property using a string value.- Specified by:
setOverflowin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the overflow value (e.g., "visible", "hidden", "scroll", "auto")- Returns:
- this for method chaining
-
setOverflow
Sets the CSS overflow property using an Overflow enum value.- Specified by:
setOverflowin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Overflow enum value- Returns:
- this for method chaining
-
setOverflow
Sets the CSS overflow-x and overflow-y properties separately.- Specified by:
setOverflowin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
x- the horizontal overflow behaviory- the vertical overflow behavior- Returns:
- this for method chaining
-
setOverflowX
Sets the CSS overflow-x property using a string value.- Specified by:
setOverflowXin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the overflow-x value (e.g., "visible", "hidden", "scroll", "auto")- Returns:
- this for method chaining
-
setOverflowX
Sets the CSS overflow-x property using an Overflow enum value.- Specified by:
setOverflowXin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Overflow enum value for horizontal overflow- Returns:
- this for method chaining
-
setOverflowY
Sets the CSS overflow-y property using a string value.- Specified by:
setOverflowYin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the overflow-y value (e.g., "visible", "hidden", "scroll", "auto")- Returns:
- this for method chaining
-
setOverflowY
Sets the CSS overflow-y property using an Overflow enum value.- Specified by:
setOverflowYin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Overflow enum value for vertical overflow- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property using a string value.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the padding value (e.g., "10px", "1em 2em")- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property using a pixel value for all sides.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the padding in pixels- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property using a Units value for all sides.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the padding as a Units object- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property with individual string values for each side.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
top- the top padding valueright- the right padding valuebottom- the bottom padding valueleft- the left padding value- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property with individual pixel values for each side.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
top- the top padding in pixelsright- the right padding in pixelsbottom- the bottom padding in pixelsleft- the left padding in pixels- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property with individual Units values for each side.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
top- the top padding as a Units objectright- the right padding as a Units objectbottom- the bottom padding as a Units objectleft- the left padding as a Units object- Returns:
- this for method chaining
-
setPaddingBottom
Sets the CSS padding-bottom property using a string value.- Specified by:
setPaddingBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the padding-bottom value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setPaddingBottom
Sets the CSS padding-bottom property using a pixel value.- Specified by:
setPaddingBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the padding-bottom in pixels- Returns:
- this for method chaining
-
setPaddingBottom
Sets the CSS padding-bottom property using a Units value.- Specified by:
setPaddingBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the padding-bottom as a Units object- Returns:
- this for method chaining
-
setPaddingLeft
Sets the CSS padding-left property using a string value.- Specified by:
setPaddingLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the padding-left value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setPaddingLeft
Sets the CSS padding-left property using a pixel value.- Specified by:
setPaddingLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the padding-left in pixels- Returns:
- this for method chaining
-
setPaddingLeft
Sets the CSS padding-left property using a Units value.- Specified by:
setPaddingLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the padding-left as a Units object- Returns:
- this for method chaining
-
setPaddingRight
Sets the CSS padding-right property using a string value.- Specified by:
setPaddingRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the padding-right value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setPaddingRight
Sets the CSS padding-right property using a pixel value.- Specified by:
setPaddingRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the padding-right in pixels- Returns:
- this for method chaining
-
setPaddingRight
Sets the CSS padding-right property using a Units value.- Specified by:
setPaddingRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the padding-right as a Units object- Returns:
- this for method chaining
-
setPaddingTop
Sets the CSS padding-top property using a string value.- Specified by:
setPaddingTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the padding-top value (e.g., "10px", "1em")- Returns:
- this for method chaining
-
setPaddingTop
Sets the CSS padding-top property using a pixel value.- Specified by:
setPaddingTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the padding-top in pixels- Returns:
- this for method chaining
-
setPaddingTop
Sets the CSS padding-top property using a Units value.- Specified by:
setPaddingTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the padding-top as a Units object- Returns:
- this for method chaining
-
setPosition
Sets the CSS position property using a string value.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the position value (e.g., "static", "relative", "absolute", "fixed")- Returns:
- this for method chaining
-
setPosition
Sets the CSS position property using a Position enum value.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Position enum value- Returns:
- this for method chaining
-
setPosition
Sets the CSS left and top position properties using string values.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
left- the left position value (e.g., "10px", "50%")top- the top position value (e.g., "10px", "50%")- Returns:
- this for method chaining
-
setPosition
Sets the CSS left and top position properties using pixel values.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
left- the left position in pixelstop- the top position in pixels- Returns:
- this for method chaining
-
setPosition
Sets the CSS left and top position properties using Units values.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
left- the left position as a Units objecttop- the top position as a Units object- Returns:
- this for method chaining
-
setBottom
Sets the CSS bottom property using a string value.- Specified by:
setBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the bottom position value (e.g., "10px", "50%")- Returns:
- this for method chaining
-
setBottom
Sets the CSS bottom property using a pixel value.- Specified by:
setBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the bottom position in pixels- Returns:
- this for method chaining
-
setBottom
Sets the CSS bottom property using a Units value.- Specified by:
setBottomin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the bottom position as a Units object- Returns:
- this for method chaining
-
setLeft
Sets the CSS left property using a string value.- Specified by:
setLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the left position value (e.g., "10px", "50%")- Returns:
- this for method chaining
-
setLeft
Sets the CSS left property using a pixel value.- Specified by:
setLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the left position in pixels- Returns:
- this for method chaining
-
setLeft
Sets the CSS left property using a Units value.- Specified by:
setLeftin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the left position as a Units object- Returns:
- this for method chaining
-
setRight
Sets the CSS right property using a string value.- Specified by:
setRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the right position value (e.g., "10px", "50%")- Returns:
- this for method chaining
-
setRight
Sets the CSS right property using a pixel value.- Specified by:
setRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the right position in pixels- Returns:
- this for method chaining
-
setRight
Sets the CSS right property using a Units value.- Specified by:
setRightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the right position as a Units object- Returns:
- this for method chaining
-
setTop
Sets the CSS top property using a string value.- Specified by:
setTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the top position value (e.g., "10px", "50%")- Returns:
- this for method chaining
-
setTop
Sets the CSS top property using a pixel value.- Specified by:
setTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the top position in pixels- Returns:
- this for method chaining
-
setTop
Sets the CSS top property using a Units value.- Specified by:
setTopin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the top position as a Units object- Returns:
- this for method chaining
-
setVerticalAlign
Sets the CSS vertical-align property using a string value.- Specified by:
setVerticalAlignin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the vertical-align value (e.g., "top", "middle", "bottom", "baseline")- Returns:
- this for method chaining
-
setVerticalAlign
Sets the CSS vertical-align property using a VerticalAlign enum value.- Specified by:
setVerticalAlignin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the VerticalAlign enum value- Returns:
- this for method chaining
-
setVisibility
Sets the CSS visibility property using a string value.- Specified by:
setVisibilityin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the visibility value (e.g., "visible", "hidden", "collapse")- Returns:
- this for method chaining
-
setVisibility
Sets the CSS visibility property using a Visibility enum value.- Specified by:
setVisibilityin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the Visibility enum value- Returns:
- this for method chaining
-
setHeight
Sets the CSS height property using a string value.- Specified by:
setHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the height value (e.g., "100px", "50%", "auto")- Returns:
- this for method chaining
-
setHeight
Sets the CSS height property using a pixel value.- Specified by:
setHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the height in pixels- Returns:
- this for method chaining
-
setHeight
Sets the CSS height property using a Units value.- Specified by:
setHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the height as a Units object- Returns:
- this for method chaining
-
setMaxHeight
Sets the CSS max-height property using a string value.- Specified by:
setMaxHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the max-height value (e.g., "500px", "100%", "none")- Returns:
- this for method chaining
-
setMaxHeight
Sets the CSS max-height property using a pixel value.- Specified by:
setMaxHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the max-height in pixels- Returns:
- this for method chaining
-
setMaxHeight
Sets the CSS max-height property using a Units value.- Specified by:
setMaxHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the max-height as a Units object- Returns:
- this for method chaining
-
setMinHeight
Sets the CSS min-height property using a string value.- Specified by:
setMinHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the min-height value (e.g., "100px", "50%")- Returns:
- this for method chaining
-
setMinHeight
Sets the CSS min-height property using a pixel value.- Specified by:
setMinHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the min-height in pixels- Returns:
- this for method chaining
-
setMinHeight
Sets the CSS min-height property using a Units value.- Specified by:
setMinHeightin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the min-height as a Units object- Returns:
- this for method chaining
-
setWidth
Sets the CSS width property using a string value.- Specified by:
setWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the width value (e.g., "100px", "50%", "auto")- Returns:
- this for method chaining
-
setWidth
Sets the CSS width property using a pixel value.- Specified by:
setWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setWidth
Sets the CSS width property using a Units value.- Specified by:
setWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the width as a Units object- Returns:
- this for method chaining
-
setMaxWidth
Sets the CSS max-width property using a string value.- Specified by:
setMaxWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the max-width value (e.g., "800px", "100%", "none")- Returns:
- this for method chaining
-
setMaxWidth
Sets the CSS max-width property using a pixel value.- Specified by:
setMaxWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the max-width in pixels- Returns:
- this for method chaining
-
setMaxWidth
Sets the CSS max-width property using a Units value.- Specified by:
setMaxWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the max-width as a Units object- Returns:
- this for method chaining
-
setMinWidth
Sets the CSS min-width property using a string value.- Specified by:
setMinWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the min-width value (e.g., "200px", "25%")- Returns:
- this for method chaining
-
setMinWidth
Sets the CSS min-width property using a pixel value.- Specified by:
setMinWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
pixels- the min-width in pixels- Returns:
- this for method chaining
-
setMinWidth
Sets the CSS min-width property using a Units value.- Specified by:
setMinWidthin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
units- the min-width as a Units object- Returns:
- this for method chaining
-
setSize
Sets both the CSS width and height properties using string values.- Specified by:
setSizein interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
width- the width value (e.g., "100px", "50%")height- the height value (e.g., "100px", "50%")- Returns:
- this for method chaining
-
setSize
Sets both the CSS width and height properties using pixel values.- Specified by:
setSizein interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
width- the width in pixelsheight- the height in pixels- Returns:
- this for method chaining
-
setSize
Sets both the CSS width and height properties using Units values.- Specified by:
setSizein interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
width- the width as a Units objectheight- the height as a Units object- Returns:
- this for method chaining
-
setZIndex
Sets the CSS z-index property using a string value.- Specified by:
setZIndexin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the z-index value (e.g., "1", "100", "auto")- Returns:
- this for method chaining
-
setZIndex
Sets the CSS z-index property using an integer value.- Specified by:
setZIndexin interfacecom.oorian.css.BasicBoxIntf<CssRule>- Parameters:
attrValue- the z-index stacking order value- Returns:
- this for method chaining
-
setBoxSizing
Sets the box-sizing property using a string value.- Specified by:
setBoxSizingin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setBoxSizing
Sets the box-sizing property using an enum value.- Specified by:
setBoxSizingin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the box-sizing value- Returns:
- this for method chaining
-
setCursor
Sets the cursor property using a string value.- Specified by:
setCursorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setCursor
Sets the cursor property using an enum value.- Specified by:
setCursorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the cursor value- Returns:
- this for method chaining
-
setImeMode
Sets the ime-mode property using a string value.- Specified by:
setImeModein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using a string value.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using string values.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
color- the outline colorstyle- the outline stylewidth- the outline width- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using typed values.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
color- the outline colorstyle- the outline stylewidth- the outline width in pixels- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using typed values.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
color- the outline colorstyle- the outline stylewidth- the outline width with units- Returns:
- this for method chaining
-
setOutlineColor
Sets the outline-color property using a string value.- Specified by:
setOutlineColorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineColor
Sets the outline-color property using a Color value.- Specified by:
setOutlineColorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the outline color- Returns:
- this for method chaining
-
setOutlineOffset
Sets the outline-offset property using a string value.- Specified by:
setOutlineOffsetin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineOffset
Sets the outline-offset property using a pixel value.- Specified by:
setOutlineOffsetin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
pixels- the offset in pixels- Returns:
- this for method chaining
-
setOutlineOffset
Sets the outline-offset property using a unit value.- Specified by:
setOutlineOffsetin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
units- the offset with units- Returns:
- this for method chaining
-
setOutlineStyle
Sets the outline-style property using a string value.- Specified by:
setOutlineStylein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineStyle
Sets the outline-style property using an enum value.- Specified by:
setOutlineStylein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the outline style- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using a string value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using an enum value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the outline width- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using a pixel value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using a unit value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
units- the width with units- Returns:
- this for method chaining
-
setResize
Sets the resize property using a string value.- Specified by:
setResizein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setResize
Sets the resize property using an enum value.- Specified by:
setResizein interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
resize- the resize value- Returns:
- this for method chaining
-
setTextOverflow
Sets the text-overflow property using a string value.- Specified by:
setTextOverflowin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setTextOverflow
Sets the text-overflow property using an enum value.- Specified by:
setTextOverflowin interfacecom.oorian.css.BasicUserInterfaceIntf<CssRule>- Parameters:
attrValue- the text-overflow value- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property using a string value.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the border value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property with separate string values.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the border width (e.g., "1px", "thin")style- the border style (e.g., "solid", "dashed")color- the border color (e.g., "black", "#000")- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property with typed values.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with width and color (solid style implied).- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with color only.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
color- the Color object for the border- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property with Units width.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with Units width and color.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property with BorderWidth enum.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum value (e.g., THIN, MEDIUM, THICK)style- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with BorderWidth enum and color.- Specified by:
setBorderin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property using a string value.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the border-bottom value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with separate string values.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with typed values.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with width and color.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with Units width.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with Units width and color.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with BorderWidth enum.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with BorderWidth enum and color.- Specified by:
setBorderBottomin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottomColor
Sets the CSS border-bottom-color property using a string value.- Specified by:
setBorderBottomColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the color value (e.g., "red", "#ff0000")- Returns:
- this for method chaining
-
setBorderBottomColor
Sets the CSS border-bottom-color property using a Color object.- Specified by:
setBorderBottomColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderBottomLeftRadius
Sets the CSS border-bottom-left-radius property using a string value.- Specified by:
setBorderBottomLeftRadiusin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the radius value (e.g., "5px", "10%")- Returns:
- this for method chaining
-
setBorderBottomLeftRadius
Sets the CSS border-bottom-left-radius property using a pixel value.- Specified by:
setBorderBottomLeftRadiusin interfaceBorderIntf<CssRule>- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderBottomLeftRadius
Sets the CSS border-bottom-left-radius property using a Units value.- Specified by:
setBorderBottomLeftRadiusin interfaceBorderIntf<CssRule>- Parameters:
units- the radius as a Units object- Returns:
- this for method chaining
-
setBorderBottomRightRadius
Sets the CSS border-bottom-right-radius property using a string value.- Specified by:
setBorderBottomRightRadiusin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the radius value (e.g., "5px", "10%")- Returns:
- this for method chaining
-
setBorderBottomRightRadius
Sets the CSS border-bottom-right-radius property using a pixel value.- Specified by:
setBorderBottomRightRadiusin interfaceBorderIntf<CssRule>- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderBottomRightRadius
Sets the CSS border-bottom-right-radius property using a Units value.- Specified by:
setBorderBottomRightRadiusin interfaceBorderIntf<CssRule>- Parameters:
units- the radius as a Units object- Returns:
- this for method chaining
-
setBorderBottomStyle
Sets the CSS border-bottom-style property using a string value.- Specified by:
setBorderBottomStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the style value (e.g., "solid", "dashed", "dotted")- Returns:
- this for method chaining
-
setBorderBottomStyle
Sets the CSS border-bottom-style property using a BorderStyle enum.- Specified by:
setBorderBottomStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderBottomWidth
Sets the CSS border-bottom-width property using a string value.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the width value (e.g., "1px", "thin")- Returns:
- this for method chaining
-
setBorderBottomWidth
Sets the CSS border-bottom-width property using a BorderWidth enum.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderBottomWidth
Sets the CSS border-bottom-width property using a pixel value.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderBottomWidth
Sets the CSS border-bottom-width property using a Units value.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssRule>- Parameters:
units- the width as a Units object- Returns:
- this for method chaining
-
setBorderColor
Sets the CSS border-color property using a string value.- Specified by:
setBorderColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the color value (e.g., "red", "#ff0000", "red blue green yellow")- Returns:
- this for method chaining
-
setBorderColor
Sets the CSS border-color property for all sides using a Color object.- Specified by:
setBorderColorin interfaceBorderIntf<CssRule>- Parameters:
color- the Color object- Returns:
- this for method chaining
-
setBorderColor
Sets the CSS border-color property with individual string values for each side.- Specified by:
setBorderColorin interfaceBorderIntf<CssRule>- Parameters:
top- the top border colorright- the right border colorbottom- the bottom border colorleft- the left border color- Returns:
- this for method chaining
-
setBorderColor
Sets the CSS border-color property with individual Color objects for each side.- Specified by:
setBorderColorin interfaceBorderIntf<CssRule>- Parameters:
top- the top border Colorright- the right border Colorbottom- the bottom border Colorleft- the left border Color- Returns:
- this for method chaining
-
setBorderImage
Sets the CSS border-image shorthand property using a string value.- Specified by:
setBorderImagein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the border-image value- Returns:
- this for method chaining
-
setBorderImage
public final CssRule setBorderImage(String srcUrl, String slice, String width, String outset, String repeat) Sets the CSS border-image shorthand property with all components.- Specified by:
setBorderImagein interfaceBorderIntf<CssRule>- Parameters:
srcUrl- the image source URLslice- the slice valuewidth- the border image widthoutset- the outset valuerepeat- the repeat value (e.g., "stretch", "repeat", "round")- Returns:
- this for method chaining
-
setBorderImageOutset
Sets the CSS border-image-outset property.- Specified by:
setBorderImageOutsetin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the outset value- Returns:
- this for method chaining
-
setBorderImageRepeat
Sets the CSS border-image-repeat property.- Specified by:
setBorderImageRepeatin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the repeat value (e.g., "stretch", "repeat", "round", "space")- Returns:
- this for method chaining
-
setBorderImageSlice
Sets the CSS border-image-slice property.- Specified by:
setBorderImageSlicein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the slice value- Returns:
- this for method chaining
-
setBorderImageSource
Sets the CSS border-image-source property.- Specified by:
setBorderImageSourcein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the image source URL- Returns:
- this for method chaining
-
setBorderImageWidth
Sets the CSS border-image-width property.- Specified by:
setBorderImageWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property using a string value.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the border-left value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with separate string values.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with typed values.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with width and color.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with Units width.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with Units width and color.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with BorderWidth enum.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with BorderWidth enum and color.- Specified by:
setBorderLeftin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeftColor
Sets the CSS border-left-color property using a string value.- Specified by:
setBorderLeftColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the color value- Returns:
- this for method chaining
-
setBorderLeftColor
Sets the CSS border-left-color property using a Color object.- Specified by:
setBorderLeftColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderLeftStyle
Sets the CSS border-left-style property using a string value.- Specified by:
setBorderLeftStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the style value- Returns:
- this for method chaining
-
setBorderLeftStyle
Sets the CSS border-left-style property using a BorderStyle enum.- Specified by:
setBorderLeftStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a string value.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a BorderWidth enum.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a pixel value.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a Units value.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssRule>- Parameters:
units- the width as a Units object- Returns:
- this for method chaining
-
setBorderRadius
Sets the CSS border-radius property using a string value.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the radius value (e.g., "5px", "10px 20px")- Returns:
- this for method chaining
-
setBorderRadius
Sets the CSS border-radius property for all corners using a pixel value.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssRule>- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderRadius
Sets the CSS border-radius property for all corners using a Units value.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssRule>- Parameters:
units- the radius as a Units object- Returns:
- this for method chaining
-
setBorderRadius
public final CssRule setBorderRadius(String topLeft, String topRight, String bottomRight, String bottomLeft) Sets the CSS border-radius property with individual string values for each corner.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssRule>- Parameters:
topLeft- the top-left corner radiustopRight- the top-right corner radiusbottomRight- the bottom-right corner radiusbottomLeft- the bottom-left corner radius- Returns:
- this for method chaining
-
setBorderRadius
Sets the CSS border-radius property with individual pixel values for each corner.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssRule>- Parameters:
topLeft- the top-left corner radius in pixelstopRight- the top-right corner radius in pixelsbottomRight- the bottom-right corner radius in pixelsbottomLeft- the bottom-left corner radius in pixels- Returns:
- this for method chaining
-
setBorderRadius
public final CssRule setBorderRadius(Units topLeft, Units topRight, Units bottomRight, Units bottomLeft) Sets the CSS border-radius property with individual Units values for each corner.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssRule>- Parameters:
topLeft- the top-left corner radius as a Units objecttopRight- the top-right corner radius as a Units objectbottomRight- the bottom-right corner radius as a Units objectbottomLeft- the bottom-left corner radius as a Units object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property using a string value.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the border-right value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with separate string values.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with typed values.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with width and color.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with Units width.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with Units width and color.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with BorderWidth enum.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with BorderWidth enum and color.- Specified by:
setBorderRightin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRightColor
Sets the CSS border-right-color property using a string value.- Specified by:
setBorderRightColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the color value- Returns:
- this for method chaining
-
setBorderRightColor
Sets the CSS border-right-color property using a Color object.- Specified by:
setBorderRightColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderRightStyle
Sets the CSS border-right-style property using a string value.- Specified by:
setBorderRightStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the style value- Returns:
- this for method chaining
-
setBorderRightStyle
Sets the CSS border-right-style property using a BorderStyle enum.- Specified by:
setBorderRightStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a string value.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a BorderWidth enum.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a pixel value.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a Units value.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssRule>- Parameters:
units- the width as a Units object- Returns:
- this for method chaining
-
setBorderStyle
Sets the CSS border-style property using a string value.- Specified by:
setBorderStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the style value (e.g., "solid", "dashed dotted")- Returns:
- this for method chaining
-
setBorderStyle
Sets the CSS border-style property for all sides using a BorderStyle enum.- Specified by:
setBorderStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property using a string value.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the border-top value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with separate string values.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with typed values.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with width and color.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with Units width.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with Units width and color.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with BorderWidth enum.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with BorderWidth enum and color.- Specified by:
setBorderTopin interfaceBorderIntf<CssRule>- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTopColor
Sets the CSS border-top-color property using a string value.- Specified by:
setBorderTopColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the color value- Returns:
- this for method chaining
-
setBorderTopColor
Sets the CSS border-top-color property using a Color object.- Specified by:
setBorderTopColorin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderTopStyle
Sets the CSS border-top-style property using a string value.- Specified by:
setBorderTopStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the style value- Returns:
- this for method chaining
-
setBorderTopStyle
Sets the CSS border-top-style property using a BorderStyle enum.- Specified by:
setBorderTopStylein interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a string value.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a BorderWidth enum.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a pixel value.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a Units value.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssRule>- Parameters:
units- the width as a Units object- Returns:
- this for method chaining
-
setBorderTopLeftRadius
Sets the CSS border-top-left-radius property using a string value.- Specified by:
setBorderTopLeftRadiusin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the radius value- Returns:
- this for method chaining
-
setBorderTopLeftRadius
Sets the CSS border-top-left-radius property using a pixel value.- Specified by:
setBorderTopLeftRadiusin interfaceBorderIntf<CssRule>- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderTopLeftRadius
Sets the CSS border-top-left-radius property using a Units value.- Specified by:
setBorderTopLeftRadiusin interfaceBorderIntf<CssRule>- Parameters:
units- the radius as a Units object- Returns:
- this for method chaining
-
setBorderTopRightRadius
Sets the CSS border-top-right-radius property using a string value.- Specified by:
setBorderTopRightRadiusin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the radius value- Returns:
- this for method chaining
-
setBorderTopRightRadius
Sets the CSS border-top-right-radius property using a pixel value.- Specified by:
setBorderTopRightRadiusin interfaceBorderIntf<CssRule>- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderTopRightRadius
Sets the CSS border-top-right-radius property using a Units value.- Specified by:
setBorderTopRightRadiusin interfaceBorderIntf<CssRule>- Parameters:
units- the radius as a Units object- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property using a string value.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the width value (e.g., "1px", "1px 2px 3px 4px")- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property for all sides using a BorderWidth enum.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property for all sides using a pixel value.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property for all sides using a Units value.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
units- the width as a Units object- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property with individual string values for each side.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
top- the top border widthright- the right border widthbottom- the bottom border widthleft- the left border width- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property with individual pixel values for each side.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
top- the top border width in pixelsright- the right border width in pixelsbottom- the bottom border width in pixelsleft- the left border width in pixels- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property with individual Units values for each side.- Specified by:
setBorderWidthin interfaceBorderIntf<CssRule>- Parameters:
top- the top border width as a Units objectright- the right border width as a Units objectbottom- the bottom border width as a Units objectleft- the left border width as a Units object- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSS box-shadow property using a string value.- Specified by:
setBoxShadowin interfaceBorderIntf<CssRule>- Parameters:
attrValue- the box-shadow value (e.g., "2px 2px 5px rgba(0,0,0,0.3)")- Returns:
- this for method chaining
-
setBoxShadow
public final CssRule setBoxShadow(String hShadow, String vShadow, String blur, String spread, String color) Sets the CSS box-shadow property with separate string values.- Specified by:
setBoxShadowin interfaceBorderIntf<CssRule>- Parameters:
hShadow- the horizontal shadow offsetvShadow- the vertical shadow offsetblur- the blur radiusspread- the spread radiuscolor- the shadow color- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSS box-shadow property with pixel values and Color object.- Specified by:
setBoxShadowin interfaceBorderIntf<CssRule>- Parameters:
hShadow- the horizontal shadow offset in pixelsvShadow- the vertical shadow offset in pixelsblur- the blur radius in pixelsspread- the spread radius in pixelscolor- the shadow Color object- Returns:
- this for method chaining
-
setBoxShadow
public final CssRule setBoxShadow(Units hShadow, Units vShadow, Units blur, Units spread, Color color) Sets the CSS box-shadow property with Units values and Color object.- Specified by:
setBoxShadowin interfaceBorderIntf<CssRule>- Parameters:
hShadow- the horizontal shadow offset as a Units objectvShadow- the vertical shadow offset as a Units objectblur- the blur radius as a Units objectspread- the spread radius as a Units objectcolor- the shadow Color object- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSSbox-shadowproperty from aBoxShadowbuilder.- Parameters:
boxShadow- the BoxShadow builder containing the shadow definitions.- Returns:
- This instance for method chaining.
- See Also:
-
setColor
Sets the color property (foreground text color) using a string value.- Specified by:
setColorin interfacecom.oorian.css.ColorIntf<CssRule>- Parameters:
attrValue- the CSS color value (e.g., "red", "#FF0000", "rgb(255,0,0)")- Returns:
- this for method chaining
-
setColor
Sets the color property (foreground text color) using a Color object.- Specified by:
setColorin interfacecom.oorian.css.ColorIntf<CssRule>- Parameters:
color- the Color object specifying the foreground color- Returns:
- this for method chaining
-
setOpacity
Sets the opacity property using a string value.- Specified by:
setOpacityin interfacecom.oorian.css.ColorIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "0", "0.5", "1")- Returns:
- this for method chaining
-
setOpacity
Sets the opacity property using an integer value from 0 to 100.- Specified by:
setOpacityin interfacecom.oorian.css.ColorIntf<CssRule>- Parameters:
opacity- the opacity percentage (0 = fully transparent, 100 = fully opaque)- Returns:
- this for method chaining
-
setCounterIncrement
Sets the counter-increment property to increment CSS counters.- Specified by:
setCounterIncrementin interfaceCountersIntf<CssRule>- Parameters:
attrValue- the counter name and optional increment value (e.g., "section", "section 2")- Returns:
- this for method chaining
-
setCounterReset
Sets the counter-reset property to reset CSS counters to a value.- Specified by:
setCounterResetin interfaceCountersIntf<CssRule>- Parameters:
keyFrameName- the counter name and optional reset value (e.g., "section", "section 0")- Returns:
- this for method chaining
-
setFilter
Sets the filter property to apply graphical effects like blur, brightness, or contrast.- Specified by:
setFilterin interfacecom.oorian.css.FilterEffectsIntf<CssRule>- Parameters:
attrValue- the CSS filter value (e.g., "none", "blur(5px)", "brightness(1.5) contrast(1.2)")- Returns:
- this for method chaining
-
setFilter
Sets the CSSfilterproperty from aFilterbuilder.- Parameters:
filter- the Filter builder containing the functions to apply.- Returns:
- This instance for method chaining.
- See Also:
-
setBackdropFilter
Sets the backdrop-filter property to apply graphical effects to the area behind an element.- Specified by:
setBackdropFilterin interfacecom.oorian.css.FilterEffectsIntf<CssRule>- Parameters:
attrValue- the CSS backdrop-filter value (e.g., "none", "blur(10px)", "brightness(0.5)")- Returns:
- this for method chaining
-
setBackdropFilter
Sets the CSSbackdrop-filterproperty from aFilterbuilder.- Parameters:
filter- the Filter builder containing the functions to apply.- Returns:
- This instance for method chaining.
- See Also:
-
setAlignContent
Sets the align-content property using a string value.- Specified by:
setAlignContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setAlignContent
Sets the align-content property using an enum value.- Specified by:
setAlignContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the AlignContent enum value specifying how flex lines are distributed- Returns:
- this for method chaining
-
setAlignItems
Sets the align-items property using a string value.- Specified by:
setAlignItemsin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "stretch", "center", "flex-start", "flex-end", "baseline")- Returns:
- this for method chaining
-
setAlignItems
Sets the align-items property using an enum value.- Specified by:
setAlignItemsin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the AlignItems enum value specifying cross-axis alignment for all flex items- Returns:
- this for method chaining
-
setAlignSelf
Sets the align-self property using a string value.- Specified by:
setAlignSelfin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "stretch", "center", "flex-start", "flex-end")- Returns:
- this for method chaining
-
setAlignSelf
Sets the align-self property using an enum value.- Specified by:
setAlignSelfin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the AlignSelf enum value to override the parent's align-items for this item- Returns:
- this for method chaining
-
setFlex
Sets the flex shorthand property for flex-grow, flex-shrink, and flex-basis.- Specified by:
setFlexin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "1", "1 1 auto", "0 0 200px", "none")- Returns:
- this for method chaining
-
setFlexBasis
Sets the flex-basis property specifying the initial main size of a flex item.- Specified by:
setFlexBasisin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "100px", "50%", "content")- Returns:
- this for method chaining
-
setFlexDirection
Sets the flex-direction property using a string value.- Specified by:
setFlexDirectionin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "row", "row-reverse", "column", "column-reverse")- Returns:
- this for method chaining
-
setFlexDirection
Sets the flex-direction property using an enum value.- Specified by:
setFlexDirectionin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the FlexDirection enum value specifying the main axis direction- Returns:
- this for method chaining
-
setFlexFlow
Sets the flex-flow shorthand property for flex-direction and flex-wrap.- Specified by:
setFlexFlowin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "row nowrap", "column wrap", "row-reverse wrap-reverse")- Returns:
- this for method chaining
-
setFlexGrow
Sets the flex-grow property using a string value.- Specified by:
setFlexGrowin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value specifying the flex grow factor (e.g., "0", "1", "2")- Returns:
- this for method chaining
-
setFlexGrow
Sets the flex-grow property using an integer value.- Specified by:
setFlexGrowin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the flex grow factor (0 or positive integer)- Returns:
- this for method chaining
-
setFlexShrink
Sets the flex-shrink property using a string value.- Specified by:
setFlexShrinkin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value specifying the flex shrink factor (e.g., "0", "1", "2")- Returns:
- this for method chaining
-
setFlexShrink
Sets the flex-shrink property using an integer value.- Specified by:
setFlexShrinkin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the flex shrink factor (0 or positive integer)- Returns:
- this for method chaining
-
setFlexWrap
Sets the flex-wrap property using a string value.- Specified by:
setFlexWrapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "nowrap", "wrap", "wrap-reverse")- Returns:
- this for method chaining
-
setFlexWrap
Sets the flex-wrap property using an enum value.- Specified by:
setFlexWrapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the FlexWrap enum value specifying whether flex items wrap- Returns:
- this for method chaining
-
setJustifyContent
Sets the justify-content property using a string value.- Specified by:
setJustifyContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "flex-start", "center", "space-between", "space-around")- Returns:
- this for method chaining
-
setJustifyContent
Sets the justify-content property using an enum value.- Specified by:
setJustifyContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the JustifyContent enum value specifying main-axis alignment- Returns:
- this for method chaining
-
setOrder
Sets the order property using a string value.- Specified by:
setOrderin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value specifying the order of the flex item (e.g., "0", "-1", "2")- Returns:
- this for method chaining
-
setOrder
Sets the order property using an integer value.- Specified by:
setOrderin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
order- the order value (can be negative, zero, or positive)- Returns:
- this for method chaining
-
setColGap
Sets the column-gap property using a string value.- Specified by:
setColGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
colgap- the column gap value (e.g., "10px", "1rem", "normal")- Returns:
- this for method chaining
-
setColGap
Sets the column-gap property using a pixel value.- Specified by:
setColGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
colgap- the column gap in pixels- Returns:
- this for method chaining
-
setGap
Sets the gap property using a string value for both row and column gaps.- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
gap- the gap value (e.g., "10px", "1rem", "10px 20px")- Returns:
- this for method chaining
-
setGap
Sets the gap property using a pixel value for both row and column gaps.- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
gap- the gap in pixels- Returns:
- this for method chaining
-
setGap
Sets the gap property with separate row and column gap string values.- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
rowgap- the row gap value (e.g., "10px", "1rem")colgap- the column gap value (e.g., "20px", "2rem")- Returns:
- this for method chaining
-
setGap
Sets the gap property with separate row and column gap pixel values.- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
rowgap- the row gap in pixelscolgap- the column gap in pixels- Returns:
- this for method chaining
-
setRowGap
Sets the row-gap property using a string value.- Specified by:
setRowGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
rowgap- the row gap value (e.g., "10px", "1rem", "normal")- Returns:
- this for method chaining
-
setRowGap
Sets the row-gap property using a pixel value.- Specified by:
setRowGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssRule>- Parameters:
rowgap- the row gap in pixels- Returns:
- this for method chaining
-
setFont
Sets the font shorthand property from a CSS value string.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font shorthand value- Returns:
- this for method chaining
-
setFont
Sets the font shorthand property from a Font object.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
font- the Font configuration object- Returns:
- this for method chaining
-
setFont
Sets the font with family and size as strings.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family namesize- the font size with units- Returns:
- this for method chaining
-
setFont
Sets the font with family name and size in points.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family namesize- the font size in points- Returns:
- this for method chaining
-
setFont
Sets the font with FontFamily enum and size in points.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family enum valuesize- the font size in points- Returns:
- this for method chaining
-
setFont
Sets the font with FontFamily enum and Units for size.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family enum valuesize- the font size with units- Returns:
- this for method chaining
-
setFont
Sets the font with family name and Units for size.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family namesize- the font size with units- Returns:
- this for method chaining
-
setFont
Sets the font with family, size, and weight as strings.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family namesize- the font size with unitsweight- the font weight value- Returns:
- this for method chaining
-
setFont
Sets the font with FontFamily, size in points, and FontWeight.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family enum valuesize- the font size in pointsweight- the font weight enum value- Returns:
- this for method chaining
-
setFont
Sets the font with family name, size in points, and FontWeight.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family namesize- the font size in pointsweight- the font weight enum value- Returns:
- this for method chaining
-
setFont
Sets the font with FontFamily, Units size, and FontWeight.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family enum valuesize- the font size with unitsweight- the font weight enum value- Returns:
- this for method chaining
-
setFont
Sets the font with family name, Units size, and FontWeight.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
family- the font family namesize- the font size with unitsweight- the font weight enum value- Returns:
- this for method chaining
-
setFontFamily
Sets the font-family property from a CSS value string.- Specified by:
setFontFamilyin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-family value- Returns:
- this for method chaining
-
setFontFamily
Sets the font-family property from a FontFamily enum.- Specified by:
setFontFamilyin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the font family enum value- Returns:
- this for method chaining
-
setFontSize
Sets the font-size property from a CSS value string.- Specified by:
setFontSizein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-size value- Returns:
- this for method chaining
-
setFontSize
Sets the font-size property in points.- Specified by:
setFontSizein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
pts- the font size in points- Returns:
- this for method chaining
-
setFontSize
Sets the font-size property using Units.- Specified by:
setFontSizein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
units- the font size with units- Returns:
- this for method chaining
-
setFontStretch
Sets the font-stretch property from a CSS value string.- Specified by:
setFontStretchin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-stretch value- Returns:
- this for method chaining
-
setFontStretch
Sets the font-stretch property from a FontStretch enum.- Specified by:
setFontStretchin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the font stretch enum value- Returns:
- this for method chaining
-
setFontStyle
Sets the font-style property from a CSS value string.- Specified by:
setFontStylein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-style value- Returns:
- this for method chaining
-
setFontStyle
Sets the font-style property from a FontStyle enum.- Specified by:
setFontStylein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the font style enum value- Returns:
- this for method chaining
-
setFontVariant
Sets the font-variant property from a CSS value string.- Specified by:
setFontVariantin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant value- Returns:
- this for method chaining
-
setFontVariant
Sets the font-variant property from a FontVariant enum.- Specified by:
setFontVariantin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the font variant enum value- Returns:
- this for method chaining
-
setFontWeight
Sets the font-weight property from a CSS value string.- Specified by:
setFontWeightin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-weight value- Returns:
- this for method chaining
-
setFontWeight
Sets the font-weight property from a FontWeight enum.- Specified by:
setFontWeightin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the font weight enum value- Returns:
- this for method chaining
-
setFontFace
Sets the @font-face at-rule for custom font definitions.- Specified by:
setFontFacein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the font-face definition- Returns:
- this for method chaining
-
setFontFeatureSettings
Sets the font-feature-settings property for OpenType features.- Specified by:
setFontFeatureSettingsin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-feature-settings value- Returns:
- this for method chaining
-
setFontKerning
Sets the font-kerning property for kerning control.- Specified by:
setFontKerningin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-kerning value- Returns:
- this for method chaining
-
setFontLanguageOverride
Sets the font-language-override property for language-specific glyphs.- Specified by:
setFontLanguageOverridein interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-language-override value- Returns:
- this for method chaining
-
setFontSizeAdjust
Sets the font-size-adjust property for aspect ratio preservation.- Specified by:
setFontSizeAdjustin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-size-adjust value- Returns:
- this for method chaining
-
setFontSynthesis
Sets the font-synthesis property for synthesizing missing styles.- Specified by:
setFontSynthesisin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-synthesis value- Returns:
- this for method chaining
-
setFontVariantAlternates
Sets the font-variant-alternates property for alternate glyphs.- Specified by:
setFontVariantAlternatesin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant-alternates value- Returns:
- this for method chaining
-
setFontVariantCaps
Sets the font-variant-caps property for capital letter variants.- Specified by:
setFontVariantCapsin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant-caps value- Returns:
- this for method chaining
-
setFontVariantEastAsian
Sets the font-variant-east-asian property for East Asian glyph variants.- Specified by:
setFontVariantEastAsianin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant-east-asian value- Returns:
- this for method chaining
-
setFontVariantLigatures
Sets the font-variant-ligatures property for ligature control.- Specified by:
setFontVariantLigaturesin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant-ligatures value- Returns:
- this for method chaining
-
setFontVariantNumeric
Sets the font-variant-numeric property for numeric glyph variants.- Specified by:
setFontVariantNumericin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant-numeric value- Returns:
- this for method chaining
-
setFontVariantPosition
Sets the font-variant-position property for subscript/superscript positioning.- Specified by:
setFontVariantPositionin interfacecom.oorian.css.FontIntf<CssRule>- Parameters:
attrValue- the CSS font-variant-position value- Returns:
- this for method chaining
-
setMarks
Sets the marks property for crop or cross marks on printed pages.- Specified by:
setMarksin interfacecom.oorian.css.GeneratedContentForPagedMediaIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "crop", "cross", "crop cross")- Returns:
- this for method chaining
-
setQuotes
Sets the quotes property for quotation mark characters.- Specified by:
setQuotesin interfacecom.oorian.css.GeneratedContentForPagedMediaIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "auto", or pairs like "«" "»" "‹" "›")- Returns:
- this for method chaining
-
setImageOrientation
Sets the image-orientation property for image rotation and flipping.- Specified by:
setImageOrientationin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "from-image", "90deg", "180deg flip")- Returns:
- this for method chaining
-
setImageRendering
Sets the image-rendering property for image scaling algorithm.- Specified by:
setImageRenderingin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "crisp-edges", "pixelated")- Returns:
- this for method chaining
-
setImageResolution
Sets the image-resolution property for image resolution override.- Specified by:
setImageResolutionin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "1dppx", "300dpi", "from-image")- Returns:
- this for method chaining
-
setObjectFit
Sets the object-fit property for replaced content sizing.- Specified by:
setObjectFitin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "fill", "contain", "cover", "none", "scale-down")- Returns:
- this for method chaining
-
setObjectPosition
Sets the object-position property for replaced content positioning.- Specified by:
setObjectPositionin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "center", "top left", "50% 50%", "100px 200px")- Returns:
- this for method chaining
-
setListStyle
Sets the list-style shorthand property for list appearance.- Specified by:
setListStylein interfacecom.oorian.css.ListIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "disc inside", "square outside url(bullet.png)")- Returns:
- this for method chaining
-
setListStyleImage
Sets the list-style-image property for a custom list marker image.- Specified by:
setListStyleImagein interfacecom.oorian.css.ListIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "url(bullet.png)")- Returns:
- this for method chaining
-
setListStylePosition
Sets the list-style-position property using a string value.- Specified by:
setListStylePositionin interfacecom.oorian.css.ListIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "inside", "outside")- Returns:
- this for method chaining
-
setListStylePosition
Sets the list-style-position property using an enum value.- Specified by:
setListStylePositionin interfacecom.oorian.css.ListIntf<CssRule>- Parameters:
attrValue- the ListStylePosition enum value for marker position- Returns:
- this for method chaining
-
setListStyleType
Sets the list-style-type property using a string value.- Specified by:
setListStyleTypein interfacecom.oorian.css.ListIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "disc", "circle", "square", "decimal", "none")- Returns:
- this for method chaining
-
setListStyleType
Sets the list-style-type property using an enum value.- Specified by:
setListStyleTypein interfacecom.oorian.css.ListIntf<CssRule>- Parameters:
attrValue- the ListStyleType enum value for marker type- Returns:
- this for method chaining
-
setMarqueeDirection
Sets the marquee-direction property for scroll direction.- Specified by:
setMarqueeDirectionin interfacecom.oorian.css.MarqueeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "forward", "reverse")- Returns:
- this for method chaining
-
setMarqueePlayCount
Sets the marquee-play-count property for number of scrolling iterations.- Specified by:
setMarqueePlayCountin interfacecom.oorian.css.MarqueeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "infinite", "1", "3")- Returns:
- this for method chaining
-
setMarqueeSpeed
Sets the marquee-speed property for scrolling speed.- Specified by:
setMarqueeSpeedin interfacecom.oorian.css.MarqueeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "slow", "normal", "fast")- Returns:
- this for method chaining
-
setMarqueeStyle
Sets the marquee-style property for scrolling behavior style.- Specified by:
setMarqueeStylein interfacecom.oorian.css.MarqueeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "scroll", "slide", "alternate")- Returns:
- this for method chaining
-
setMask
Sets the mask shorthand property for element masking.- Specified by:
setMaskin interfacecom.oorian.css.MaskingIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "url(mask.svg)", "linear-gradient(...)")- Returns:
- this for method chaining
-
setMaskType
Sets the mask-type property for mask element interpretation.- Specified by:
setMaskTypein interfacecom.oorian.css.MaskingIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "luminance", "alpha")- Returns:
- this for method chaining
-
setBreakAfter
Sets the break-after property controlling page/column/region breaks after the element.- Specified by:
setBreakAfterin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "avoid", "always", "column", "page")- Returns:
- this for method chaining
-
setBreakBefore
Sets the break-before property controlling page/column/region breaks before the element.- Specified by:
setBreakBeforein interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "avoid", "always", "column", "page")- Returns:
- this for method chaining
-
setBreakInside
Sets the break-inside property controlling page/column/region breaks inside the element.- Specified by:
setBreakInsidein interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "avoid", "avoid-page", "avoid-column")- Returns:
- this for method chaining
-
setColumnCount
Sets the column-count property using a string value.- Specified by:
setColumnCountin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "2", "3")- Returns:
- this for method chaining
-
setColumnCount
Sets the column-count property to a specific number of columns.- Specified by:
setColumnCountin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
count- the number of columns- Returns:
- this for method chaining
-
setColumnFill
Sets the column-fill property using a string value.- Specified by:
setColumnFillin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "balance", "balance-all")- Returns:
- this for method chaining
-
setColumnFill
Sets the column-fill property using an enum value.- Specified by:
setColumnFillin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the ColumnFill enum value specifying how content fills columns- Returns:
- this for method chaining
-
setColumnGap
Sets the column-gap property specifying the gap between columns.- Specified by:
setColumnGapin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "normal", "10px", "2em")- Returns:
- this for method chaining
-
setColumnRule
Sets the column-rule shorthand property for rule width, style, and color.- Specified by:
setColumnRulein interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "1px solid #ccc", "thin dashed blue")- Returns:
- this for method chaining
-
setColumnRuleColor
Sets the column-rule-color property using a string value.- Specified by:
setColumnRuleColorin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS color value (e.g., "#000", "red", "rgb(0,0,0)")- Returns:
- this for method chaining
-
setColumnRuleColor
Sets the column-rule-color property using a Color object.- Specified by:
setColumnRuleColorin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
color- the Color object specifying the rule color- Returns:
- this for method chaining
-
setColumnRuleStyle
Sets the column-rule-style property using a string value.- Specified by:
setColumnRuleStylein interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "solid", "dashed", "dotted", "double")- Returns:
- this for method chaining
-
setColumnRuleStyle
Sets the column-rule-style property using an enum value.- Specified by:
setColumnRuleStylein interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the ColumnRuleStyle enum value specifying the rule style- Returns:
- this for method chaining
-
setColumnRuleWidth
Sets the column-rule-width property using a string value.- Specified by:
setColumnRuleWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "thin", "medium", "thick", "1px")- Returns:
- this for method chaining
-
setColumnRuleWidth
Sets the column-rule-width property using an enum value.- Specified by:
setColumnRuleWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the ColumnRuleWidth enum value specifying the rule width- Returns:
- this for method chaining
-
setColumnSpan
Sets the column-span property specifying how many columns an element spans.- Specified by:
setColumnSpanin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "all")- Returns:
- this for method chaining
-
setColumnWidth
Sets the column-width property using a string value.- Specified by:
setColumnWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "100px", "10em")- Returns:
- this for method chaining
-
setColumnWidth
Sets the column-width property using a pixel value.- Specified by:
setColumnWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
pixels- the ideal column width in pixels- Returns:
- this for method chaining
-
setColumnWidth
Sets the column-width property using a Units object.- Specified by:
setColumnWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
units- the Units object specifying the column width- Returns:
- this for method chaining
-
setColumns
Sets the columns shorthand property for column-width and column-count.- Specified by:
setColumnsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "100px 3", "auto 2", "3 200px")- Returns:
- this for method chaining
-
setColumns
Sets the columns shorthand property with column count and width in pixels.- Specified by:
setColumnsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
count- the number of columnswidth- the ideal column width in pixels- Returns:
- this for method chaining
-
setColumns
Sets the columns shorthand property with column count and width as Units.- Specified by:
setColumnsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
count- the number of columnswidth- the Units object specifying the column width- Returns:
- this for method chaining
-
setWidows
Sets the widows property specifying minimum lines at the top of a page/column.- Specified by:
setWidowsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "2", "3")- Returns:
- this for method chaining
-
setOrphans
Sets the orphans property specifying minimum lines at the bottom of a page.- Specified by:
setOrphansin interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "2", "3") for minimum orphan lines- Returns:
- this for method chaining
-
setPageBreakAfter
Sets the page-break-after property using a string value.- Specified by:
setPageBreakAfterin interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "always", "avoid", "left", "right")- Returns:
- this for method chaining
-
setPageBreakAfter
Sets the page-break-after property using an enum value.- Specified by:
setPageBreakAfterin interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the PageBreakAfter enum value specifying break behavior after element- Returns:
- this for method chaining
-
setPageBreakBefore
Sets the page-break-before property using a string value.- Specified by:
setPageBreakBeforein interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "always", "avoid", "left", "right")- Returns:
- this for method chaining
-
setPageBreakBefore
Sets the page-break-before property using an enum value.- Specified by:
setPageBreakBeforein interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the PageBreakBefore enum value specifying break behavior before element- Returns:
- this for method chaining
-
setPageBreakInside
Sets the page-break-inside property using a string value.- Specified by:
setPageBreakInsidein interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "avoid")- Returns:
- this for method chaining
-
setPageBreakInside
Sets the page-break-inside property using an enum value.- Specified by:
setPageBreakInsidein interfacePagedMediaIntf<CssRule>- Parameters:
attrValue- the PageBreakInside enum value specifying break behavior inside element- Returns:
- this for method chaining
-
setMark
Sets the mark shorthand property for speech bookmark markers.- Specified by:
setMarkin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value for mark-before and mark-after combined- Returns:
- this for method chaining
-
setMarkAfter
Sets the mark-after property for a speech bookmark after the element.- Specified by:
setMarkAfterin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", or a named bookmark)- Returns:
- this for method chaining
-
setMarkBefore
Sets the mark-before property for a speech bookmark before the element.- Specified by:
setMarkBeforein interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", or a named bookmark)- Returns:
- this for method chaining
-
setPhonemes
Sets the phonemes property for phonetic pronunciation.- Specified by:
setPhonemesin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the phonetic pronunciation string- Returns:
- this for method chaining
-
setRest
Sets the rest shorthand property for pauses before and after speech.- Specified by:
setRestin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "x-weak", "weak", "medium", "strong")- Returns:
- this for method chaining
-
setRestAfter
Sets the rest-after property for pause after speech synthesis.- Specified by:
setRestAfterin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "x-weak", "weak", "medium", "strong", "x-strong")- Returns:
- this for method chaining
-
setRestBefore
Sets the rest-before property for pause before speech synthesis.- Specified by:
setRestBeforein interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "x-weak", "weak", "medium", "strong", "x-strong")- Returns:
- this for method chaining
-
setVoiceBalance
Sets the voice-balance property for stereo audio positioning.- Specified by:
setVoiceBalancein interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "left", "center", "right", or a number from -100 to 100)- Returns:
- this for method chaining
-
setVoiceDuration
Sets the voice-duration property specifying how long it takes to read the content.- Specified by:
setVoiceDurationin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", or a time value like "2s", "500ms")- Returns:
- this for method chaining
-
setVoicePitch
Sets the voice-pitch property for speech synthesis pitch.- Specified by:
setVoicePitchin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "x-low", "low", "medium", "high", "x-high", or frequency)- Returns:
- this for method chaining
-
setVoicePitchRange
Sets the voice-pitch-range property for pitch variation during speech.- Specified by:
setVoicePitchRangein interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "x-low", "low", "medium", "high", "x-high")- Returns:
- this for method chaining
-
setVoiceRate
Sets the voice-rate property for speech synthesis speed.- Specified by:
setVoiceRatein interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "x-slow", "slow", "medium", "fast", "x-fast", or percentage)- Returns:
- this for method chaining
-
setVoiceStress
Sets the voice-stress property for emphasis during speech synthesis.- Specified by:
setVoiceStressin interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "reduced", "moderate", "strong")- Returns:
- this for method chaining
-
setVoiceVolume
Sets the voice-volume property for speech synthesis volume.- Specified by:
setVoiceVolumein interfacecom.oorian.css.SpeechIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "silent", "x-soft", "soft", "medium", "loud", "x-loud")- Returns:
- this for method chaining
-
setBorderCollapse
Sets the border-collapse property using a string value.- Specified by:
setBorderCollapsein interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "separate", "collapse")- Returns:
- this for method chaining
-
setBorderCollapse
Sets the border-collapse property using an enum value.- Specified by:
setBorderCollapsein interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the BorderCollapse enum value specifying whether borders are collapsed- Returns:
- this for method chaining
-
setBorderSpacing
Sets the border-spacing property using a string value.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "2px", "5px 10px")- Returns:
- this for method chaining
-
setBorderSpacing
Sets the border-spacing property with separate horizontal and vertical string values.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
hspacing- the horizontal spacing value (e.g., "5px", "1em")vspacing- the vertical spacing value (e.g., "10px", "2em")- Returns:
- this for method chaining
-
setBorderSpacing
Sets the border-spacing property using a pixel value for both dimensions.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
pixels- the spacing in pixels for both horizontal and vertical- Returns:
- this for method chaining
-
setBorderSpacing
Sets the border-spacing property with separate horizontal and vertical pixel values.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
hspacing- the horizontal spacing in pixelsvspacing- the vertical spacing in pixels- Returns:
- this for method chaining
-
setBorderSpacing
Sets the border-spacing property using a Units object for both dimensions.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
units- the Units object specifying the spacing- Returns:
- this for method chaining
-
setBorderSpacing
Sets the border-spacing property with separate horizontal and vertical Units.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
hspacing- the Units object for horizontal spacingvspacing- the Units object for vertical spacing- Returns:
- this for method chaining
-
setCaptionSide
Sets the caption-side property using a string value.- Specified by:
setCaptionSidein interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "top", "bottom")- Returns:
- this for method chaining
-
setCaptionSide
Sets the caption-side property using an enum value.- Specified by:
setCaptionSidein interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the CaptionSide enum value specifying caption placement- Returns:
- this for method chaining
-
setEmptyCells
Sets the empty-cells property using a string value.- Specified by:
setEmptyCellsin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "show", "hide")- Returns:
- this for method chaining
-
setEmptyCells
Sets the empty-cells property using an enum value.- Specified by:
setEmptyCellsin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the EmptyCells enum value specifying how empty cells are rendered- Returns:
- this for method chaining
-
setTableLayout
Sets the table-layout property using a string value.- Specified by:
setTableLayoutin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "fixed")- Returns:
- this for method chaining
-
setTableLayout
Sets the table-layout property using an enum value.- Specified by:
setTableLayoutin interfacecom.oorian.css.TableIntf<CssRule>- Parameters:
attrValue- the TableLayout enum value specifying the layout algorithm- Returns:
- this for method chaining
-
setTextDecoration
Sets the text-decoration shorthand property using a string value.- Specified by:
setTextDecorationin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "underline", "line-through", "underline wavy red")- Returns:
- this for method chaining
-
setTextDecoration
Sets the text-decoration shorthand property using an enum value.- Specified by:
setTextDecorationin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the TextDecoration enum value specifying the decoration type- Returns:
- this for method chaining
-
setTextDecorationColor
Sets the text-decoration-color property using a string value.- Specified by:
setTextDecorationColorin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the CSS color value (e.g., "#000", "red", "rgb(255,0,0)")- Returns:
- this for method chaining
-
setTextDecorationColor
Sets the text-decoration-color property using a Color object.- Specified by:
setTextDecorationColorin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
color- the Color object specifying the decoration color- Returns:
- this for method chaining
-
setTextDecorationLine
Sets the text-decoration-line property using a string value.- Specified by:
setTextDecorationLinein interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "underline", "overline", "line-through")- Returns:
- this for method chaining
-
setTextDecorationLine
Sets the text-decoration-line property using an enum value.- Specified by:
setTextDecorationLinein interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the TextDecorationLine enum value specifying the line type- Returns:
- this for method chaining
-
setTextDecorationStyle
Sets the text-decoration-style property using a string value.- Specified by:
setTextDecorationStylein interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "solid", "double", "dotted", "dashed", "wavy")- Returns:
- this for method chaining
-
setTextDecorationStyle
Sets the text-decoration-style property using an enum value.- Specified by:
setTextDecorationStylein interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the TextDecorationStyle enum value specifying the line style- Returns:
- this for method chaining
-
setTextShadow
Sets the text-shadow property using a string value.- Specified by:
setTextShadowin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "2px 2px 4px #000", "none")- Returns:
- this for method chaining
-
setTextShadow
Sets the text-shadow property with horizontal and vertical offset in pixels.- Specified by:
setTextShadowin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
hShadow- the horizontal shadow offset in pixelsvShadow- the vertical shadow offset in pixels- Returns:
- this for method chaining
-
setTextShadow
Sets the text-shadow property with offset and blur radius in pixels.- Specified by:
setTextShadowin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
hShadow- the horizontal shadow offset in pixelsvShadow- the vertical shadow offset in pixelsblurRadius- the blur radius in pixels- Returns:
- this for method chaining
-
setTextShadow
Sets the text-shadow property with offset, blur radius, and color.- Specified by:
setTextShadowin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
hShadow- the horizontal shadow offset in pixelsvShadow- the vertical shadow offset in pixelsblurRadius- the blur radius in pixelscolor- the shadow color- Returns:
- this for method chaining
-
setTextShadow
Sets the CSStext-shadowproperty from aBoxShadowbuilder.- Parameters:
boxShadow- the BoxShadow builder containing the shadow definitions.- Returns:
- This instance for method chaining.
- See Also:
-
setTextUnderlinePosition
Sets the text-underline-position property for underline placement.- Specified by:
setTextUnderlinePositionin interfacecom.oorian.css.TextDecorationIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "auto", "under", "left", "right")- Returns:
- this for method chaining
-
setHangingPunctuation
Sets the hanging-punctuation property from a CSS value string.- Specified by:
setHangingPunctuationin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS hanging-punctuation value- Returns:
- this for method chaining
-
setHangingPunctuation
Sets the hanging-punctuation property from an enum.- Specified by:
setHangingPunctuationin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the hanging punctuation enum value- Returns:
- this for method chaining
-
setHyphens
Sets the hyphens property for automatic hyphenation.- Specified by:
setHyphensin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS hyphens value- Returns:
- this for method chaining
-
setLetterSpacing
Sets the letter-spacing property from a CSS value string.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS letter-spacing value- Returns:
- this for method chaining
-
setLetterSpacing
Sets the letter-spacing property in pixels.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pixels- the letter spacing in pixels- Returns:
- this for method chaining
-
setLetterSpacing
Sets the letter-spacing property in points.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pts- the letter spacing in points- Returns:
- this for method chaining
-
setLetterSpacing
Sets the letter-spacing property using Units.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
units- the letter spacing with units- Returns:
- this for method chaining
-
setLineBreak
Sets the line-break property for line breaking rules.- Specified by:
setLineBreakin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS line-break value- Returns:
- this for method chaining
-
setLineHeight
Sets the line-height property from a CSS value string.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS line-height value- Returns:
- this for method chaining
-
setLineHeight
Sets the line-height property in pixels.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pixels- the line height in pixels- Returns:
- this for method chaining
-
setLineHeight
Sets the line-height property in points.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pts- the line height in points- Returns:
- this for method chaining
-
setLineHeight
Sets the line-height property using Units.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
units- the line height with units- Returns:
- this for method chaining
-
setOverflowWrap
Sets the overflow-wrap property for line breaking on overflow.- Specified by:
setOverflowWrapin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS overflow-wrap value- Returns:
- this for method chaining
-
setTabSize
Sets the tab-size property from a CSS value string.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS tab-size value- Returns:
- this for method chaining
-
setTabSize
Sets the tab-size property in pixels.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pixels- the tab size in pixels- Returns:
- this for method chaining
-
setTabSize
Sets the tab-size property in points.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pts- the tab size in points- Returns:
- this for method chaining
-
setTabSize
Sets the tab-size property using Units.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
units- the tab size with units- Returns:
- this for method chaining
-
setTextAlign
Sets the text-align property from a CSS value string.- Specified by:
setTextAlignin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS text-align value- Returns:
- this for method chaining
-
setTextAlign
Sets the text-align property from a TextAlign enum.- Specified by:
setTextAlignin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the text align enum value- Returns:
- this for method chaining
-
setTextAlignLast
Sets the text-align-last property from a CSS value string.- Specified by:
setTextAlignLastin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS text-align-last value- Returns:
- this for method chaining
-
setTextAlignLast
Sets the text-align-last property from an enum.- Specified by:
setTextAlignLastin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the text align last enum value- Returns:
- this for method chaining
-
setTextCombineUpright
Sets the text-combine-upright property for vertical text.- Specified by:
setTextCombineUprightin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS text-combine-upright value- Returns:
- this for method chaining
-
setTextIndent
Sets the text-indent property from a CSS value string.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS text-indent value- Returns:
- this for method chaining
-
setTextIndent
Sets the text-indent property in pixels.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pixels- the text indent in pixels- Returns:
- this for method chaining
-
setTextIndent
Sets the text-indent property in points.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pts- the text indent in points- Returns:
- this for method chaining
-
setTextIndent
Sets the text-indent property using Units.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
units- the text indent with units- Returns:
- this for method chaining
-
setTextJustify
Sets the text-justify property from a CSS value string.- Specified by:
setTextJustifyin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS text-justify value- Returns:
- this for method chaining
-
setTextJustify
Sets the text-justify property from an enum.- Specified by:
setTextJustifyin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the text justify enum value- Returns:
- this for method chaining
-
setTextTransform
Sets the text-transform property from a CSS value string.- Specified by:
setTextTransformin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS text-transform value- Returns:
- this for method chaining
-
setTextTransform
Sets the text-transform property from a TextTransform enum.- Specified by:
setTextTransformin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the text transform enum value- Returns:
- this for method chaining
-
setWhiteSpace
Sets the white-space property from a CSS value string.- Specified by:
setWhiteSpacein interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS white-space value- Returns:
- this for method chaining
-
setWhiteSpace
Sets the white-space property from a WhiteSpace enum.- Specified by:
setWhiteSpacein interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the white space enum value- Returns:
- this for method chaining
-
setWordBreak
Sets the word-break property from a CSS value string.- Specified by:
setWordBreakin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS word-break value- Returns:
- this for method chaining
-
setWordBreak
Sets the word-break property from a WordBreak enum.- Specified by:
setWordBreakin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the word break enum value- Returns:
- this for method chaining
-
setWordSpacing
Sets the word-spacing property from a CSS value string.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS word-spacing value- Returns:
- this for method chaining
-
setWordSpacing
Sets the word-spacing property in pixels.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pixels- the word spacing in pixels- Returns:
- this for method chaining
-
setWordSpacing
Sets the word-spacing property in points.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
pts- the word spacing in points- Returns:
- this for method chaining
-
setWordSpacing
Sets the word-spacing property using Units.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
units- the word spacing with units- Returns:
- this for method chaining
-
setWordWrap
Sets the word-wrap property from a CSS value string.- Specified by:
setWordWrapin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the CSS word-wrap value- Returns:
- this for method chaining
-
setWordWrap
Sets the word-wrap property from a WordWrap enum.- Specified by:
setWordWrapin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
attrValue- the word wrap enum value- Returns:
- this for method chaining
-
setTextSelectDisabled
Disables or enables text selection on the element.- Specified by:
setTextSelectDisabledin interfacecom.oorian.css.TextIntf<CssRule>- Parameters:
flag- true to disable text selection, false to enable- Returns:
- this for method chaining
-
setBackfaceVisibility
Sets the backface-visibility property from a CSS value string.- Specified by:
setBackfaceVisibilityin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the CSS backface-visibility value- Returns:
- this for method chaining
-
setBackfaceVisibility
Sets the backface-visibility property from an enum.- Specified by:
setBackfaceVisibilityin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the backface visibility enum value- Returns:
- this for method chaining
-
setPerspective
Sets the perspective property from a CSS value string.- Specified by:
setPerspectivein interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the CSS perspective value- Returns:
- this for method chaining
-
setPerspective
Sets the perspective property in pixels.- Specified by:
setPerspectivein interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
pixels- the perspective depth in pixels- Returns:
- this for method chaining
-
setPerspective
Sets the perspective property using Units.- Specified by:
setPerspectivein interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
units- the perspective depth with units- Returns:
- this for method chaining
-
setPerspectiveOrigin
Sets the perspective-origin property from a CSS value string.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the CSS perspective-origin value- Returns:
- this for method chaining
-
setPerspectiveOrigin
Sets the perspective-origin property with x and y values.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis positionyAxis- the y-axis position- Returns:
- this for method chaining
-
setPerspectiveOrigin
Sets the perspective-origin property using Units.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis position with unitsyAxis- the y-axis position with units- Returns:
- this for method chaining
-
setPerspectiveOrigin
Sets the perspective-origin property using Origin enums.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis origin positionyAxis- the y-axis origin position- Returns:
- this for method chaining
-
setTransform
Sets the transform property from a CSS value string.- Specified by:
setTransformin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the CSS transform value (e.g., "rotate(45deg)")- Returns:
- this for method chaining
-
setTransformOrigin
Sets the transform-origin property from a CSS value string.- Specified by:
setTransformOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the CSS transform-origin value- Returns:
- this for method chaining
-
setTransformOrigin
Sets the transform-origin property with x, y, and z values.- Specified by:
setTransformOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis positionyAxis- the y-axis positionzAxis- the z-axis position- Returns:
- this for method chaining
-
setTransformOrigin
Sets the transform-origin property in pixels.- Specified by:
setTransformOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis position in pixelsyAxis- the y-axis position in pixelszAxis- the z-axis position in pixels- Returns:
- this for method chaining
-
setTransformOrigin
Sets the transform-origin property using Units.- Specified by:
setTransformOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis position with unitsyAxis- the y-axis position with unitszAxis- the z-axis position with units- Returns:
- this for method chaining
-
setTransformOrigin
Sets the transform-origin property using Origin enums and Units.- Specified by:
setTransformOriginin interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
xAxis- the x-axis origin positionyAxis- the y-axis origin positionzAxis- the z-axis position with units- Returns:
- this for method chaining
-
setTransformStyle
Sets the transform-style property from a CSS value string.- Specified by:
setTransformStylein interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the CSS transform-style value- Returns:
- this for method chaining
-
setTransformStyle
Sets the transform-style property from an enum.- Specified by:
setTransformStylein interfacecom.oorian.css.TransformIntf<CssRule>- Parameters:
attrValue- the transform style enum value- Returns:
- this for method chaining
-
setTransition
Sets the transition shorthand property.- Specified by:
setTransitionin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
attrValue- the CSS transition value- Returns:
- this for method chaining
-
setTransitionProperty
Sets which CSS properties should be transitioned.- Specified by:
setTransitionPropertyin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
attrValue- the CSS property names (comma-separated)- Returns:
- this for method chaining
-
setTransitionDuration
Sets the transition duration from a CSS value string.- Specified by:
setTransitionDurationin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
attrValue- the CSS duration value- Returns:
- this for method chaining
-
setTransitionDuration
Sets the transition duration in seconds.- Specified by:
setTransitionDurationin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
secs- the duration in seconds- Returns:
- this for method chaining
-
setTransitionDuration
Sets the transition duration in milliseconds.- Specified by:
setTransitionDurationin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
msecs- the duration in milliseconds- Returns:
- this for method chaining
-
setTransitionTimingFunction
Sets the transition timing function from a CSS value string.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
attrValue- the CSS timing function value- Returns:
- this for method chaining
-
setTransitionTimingFunction
Sets the transition timing function from an enum.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
attrValue- the timing function enum value- Returns:
- this for method chaining
-
setTransitionTimingFunction
Sets a steps timing function.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
intervals- the number of step intervalsstart- true for step-start, false for step-end- Returns:
- this for method chaining
-
setTransitionTimingFunction
Sets a cubic-bezier timing function.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
n1- the first bezier control point x valuen2- the first bezier control point y valuen3- the second bezier control point x valuen4- the second bezier control point y value- Returns:
- this for method chaining
-
setTransitionDelay
Sets the transition delay from a CSS value string.- Specified by:
setTransitionDelayin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
attrValue- the CSS delay value- Returns:
- this for method chaining
-
setTransitionDelay
Sets the transition delay in seconds.- Specified by:
setTransitionDelayin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
secs- the delay in seconds- Returns:
- this for method chaining
-
setTransitionDelay
Sets the transition delay in milliseconds.- Specified by:
setTransitionDelayin interfacecom.oorian.css.TransitionIntf<CssRule>- Parameters:
msecs- the delay in milliseconds- Returns:
- this for method chaining
-
setDirection
Sets the direction property using a string value for text direction.- Specified by:
setDirectionin interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "ltr", "rtl")- Returns:
- this for method chaining
-
setDirection
Sets the direction property using an enum value for text direction.- Specified by:
setDirectionin interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the TextDirection enum value (LTR or RTL)- Returns:
- this for method chaining
-
setTextOrientation
Sets the text-orientation property for vertical text orientation.- Specified by:
setTextOrientationin interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "mixed", "upright", "sideways")- Returns:
- this for method chaining
-
setTextCombineWeight
Sets the text-combine-upright property for combining characters in vertical text.- Specified by:
setTextCombineWeightin interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "none", "all", "digits")- Returns:
- this for method chaining
-
setUnicodeBidi
Sets the unicode-bidi property using a string value.- Specified by:
setUnicodeBidiin interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "normal", "embed", "bidi-override", "isolate")- Returns:
- this for method chaining
-
setUnicodeBidi
Sets the unicode-bidi property using an enum value.- Specified by:
setUnicodeBidiin interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the UnicodeBidi enum value for bidirectional text handling- Returns:
- this for method chaining
-
setWritingMode
Sets the writing-mode property for text flow direction.- Specified by:
setWritingModein interfacecom.oorian.css.WritingModeIntf<CssRule>- Parameters:
attrValue- the CSS value (e.g., "horizontal-tb", "vertical-rl", "vertical-lr")- Returns:
- this for method chaining
-
toString
-
setParentSelector
Sets the parent selector for nested rule resolution.- Parameters:
parentSelector- the parent selector string
-
getSelectors
Returns the list of selectors for this rule.- Returns:
- the selectors list
-
getFullSelectors
Returns the list of fully qualified selectors, including any parent selector and combinator prefix.- Returns:
- the full selectors list
-
getStyle
Returns the underlying CssStyle object for this rule.- Returns:
- the CssStyle instance
-