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

public class CssRule extends CssElement implements com.oorian.css.CssStyleIntf<CssRule>
Represents a CSS rule with selectors and style declarations.

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 CssStyleIntf interface

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 Details

    • CssRule

      public CssRule()
      Constructs an empty CSS rule with no selectors.
    • CssRule

      public CssRule(String... selectors)
      Constructs a CSS rule with the specified selectors.
      Parameters:
      selectors - One or more CSS selectors for this rule.
    • CssRule

      public CssRule(CssRule rule)
      Copy constructor that creates a new rule from an existing rule.
      Parameters:
      rule - The rule to copy.
  • Method Details

    • addSelector

      public final CssRule addSelector(CssSelector selector)
      Adds a CSS selector object to this rule.
      Parameters:
      selector - The CssSelector to add.
      Returns:
      This CssRule for method chaining.
    • addSelector

      public final CssRule addSelector(String selector)
      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

      public final CssRule addDescendant(CssRule descendant)
      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

      public final CssRule addChild(CssRule child)
      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

      public final CssRule addAdjacentSibling(CssRule sibling)
      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

      public final CssRule addGeneralSibling(CssRule sibling)
      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

      public final CssRule setStyle(CssStyle style)
      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

      public final CssRule setStyle(String style)
      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

      public final CssRule addStyleAttribute(String name, String value)
      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

      public final CssRule addStyleAttribute(String name, String value, boolean important)
      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

      public final CssRule addPseudoElement(String name, CssStyle style)
      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

      public final CssRule setAfterStyle(CssStyle after)
      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

      public final CssRule setAfterStyle(String after)
      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

      public final CssRule setBeforeStyle(CssStyle before)
      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

      public final CssRule setBeforeStyle(String before)
      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

      public final CssRule setFirstLetterStyle(CssStyle firstLetter)
      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

      public final CssRule setFirstLetterStyle(String firstLetter)
      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

      public final CssRule setFirstLineStyle(CssStyle firstLine)
      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

      public final CssRule setFirstLineStyle(String firstLine)
      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

      public final CssRule setMarkerStyle(CssStyle marker)
      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

      public final CssRule setMarkerStyle(String marker)
      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

      public final CssRule setSelectionStyle(CssStyle selection)
      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

      public final CssRule setSelectionStyle(String selection)
      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

      public final CssRule setActiveStyle(CssStyle active)
      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

      public final CssRule setActiveStyle(String active)
      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

      public final CssRule setCheckedStyle(CssStyle checked)
      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

      public final CssRule setCheckedStyle(String checked)
      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

      public final CssRule setDisabledStyle(CssStyle disabled)
      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

      public final CssRule setDisabledStyle(String disabled)
      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

      public final CssRule setEmptyStyle(CssStyle empty)
      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

      public final CssRule setEmptyStyle(String empty)
      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

      public final CssRule setEnabledStyle(CssStyle enabled)
      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

      public final CssRule setEnabledStyle(String enabled)
      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

      public final CssRule setFirstChildStyle(CssStyle firstChild)
      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

      public final CssRule setFirstChildStyle(String firstChild)
      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

      public final CssRule setFirstOfTypeStyle(CssStyle firstOfType)
      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

      public final CssRule setFirstOfTypeStyle(String firstOfType)
      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

      public final CssRule setFocusStyle(CssStyle focus)
      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

      public final CssRule setFocusStyle(String focus)
      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

      public final CssRule setFocusVisibleStyle(CssStyle focusVisible)
      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

      public final CssRule setFocusVisibleStyle(String focusVisible)
      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

      public final CssRule setHoverStyle(CssStyle hover)
      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

      public final CssRule setHoverStyle(String hover)
      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

      public final CssRule setInRangeStyle(CssStyle inRange)
      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

      public final CssRule setInRangeStyle(String inRange)
      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

      public final CssRule setInvalidStyle(CssStyle invalid)
      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

      public final CssRule setInvalidStyle(String invalid)
      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

      public final CssRule setLastChildStyle(CssStyle lastChild)
      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

      public final CssRule setLastChildStyle(String lastChild)
      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

      public final CssRule setLastOfTypeStyle(CssStyle lastOfType)
      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

      public final CssRule setLastOfTypeStyle(String lastOfType)
      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

      public final CssRule setLinkStyle(CssStyle link)
      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

      public final CssRule setLinkStyle(String link)
      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

      public final CssRule setNthChild(int n, CssStyle style)
      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

      public final CssRule setNthChild(int n, String style)
      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

      public final CssRule setOnlyOfTypeStyle(CssStyle onlyOfType)
      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

      public final CssRule setOnlyOfTypeStyle(String onlyOfType)
      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

      public final CssRule setOnlyChildStyle(CssStyle onlyChild)
      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

      public final CssRule setOnlyChildStyle(String onlyChild)
      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

      public final CssRule setOptionalStyle(CssStyle optional)
      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

      public final CssRule setOptionalStyle(String optional)
      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

      public final CssRule setOutOfRangeStyle(CssStyle outOfRange)
      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

      public final CssRule setOutOfRangeStyle(String outOfRange)
      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

      public final CssRule setReadOnlyStyle(CssStyle readOnly)
      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

      public final CssRule setReadOnlyStyle(String readOnly)
      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

      public final CssRule setReadWriteStyle(CssStyle readWrite)
      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

      public final CssRule setReadWriteStyle(String readWrite)
      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

      public final CssRule setRequiredStyle(CssStyle required)
      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

      public final CssRule setRequiredStyle(String required)
      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

      public final CssRule setRootStyle(CssStyle root)
      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

      public final CssRule setRootStyle(String root)
      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

      public final CssRule setTargetStyle(CssStyle target)
      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

      public final CssRule setTargetStyle(String target)
      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

      public final CssRule setValidStyle(CssStyle valid)
      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

      public final CssRule setValidStyle(String valid)
      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

      public final CssRule setVisitedStyle(CssStyle visited)
      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

      public final CssRule setVisitedStyle(String visited)
      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

      public final CssRule setKeyFrames(String attrValue)
      Sets CSS keyframes definition.
      Specified by:
      setKeyFrames in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the keyframes definition string
      Returns:
      this for method chaining
    • setAnimation

      public final CssRule setAnimation(String attrValue)
      Sets the animation shorthand property.
      Specified by:
      setAnimation in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the animation shorthand value
      Returns:
      this for method chaining
    • setAnimationDelay

      public final CssRule setAnimationDelay(String attrValue)
      Sets the animation delay.
      Specified by:
      setAnimationDelay in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the delay value with units (e.g., "2s", "500ms")
      Returns:
      this for method chaining
    • setAnimationDelay

      public final CssRule setAnimationDelay(int delayInSecs)
      Sets the animation delay in seconds.
      Specified by:
      setAnimationDelay in interface AnimationIntf<CssRule>
      Parameters:
      delayInSecs - the delay in seconds
      Returns:
      this for method chaining
    • setAnimationDelay

      public final CssRule setAnimationDelay(long delayInMsecs)
      Sets the animation delay in milliseconds.
      Specified by:
      setAnimationDelay in interface AnimationIntf<CssRule>
      Parameters:
      delayInMsecs - the delay in milliseconds
      Returns:
      this for method chaining
    • setAnimationDirection

      public final CssRule setAnimationDirection(String attrValue)
      Sets the animation direction.
      Specified by:
      setAnimationDirection in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the direction value string
      Returns:
      this for method chaining
    • setAnimationDirection

      public final CssRule setAnimationDirection(AnimationDirection attrValue)
      Sets the animation direction.
      Specified by:
      setAnimationDirection in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the AnimationDirection enum value
      Returns:
      this for method chaining
    • setAnimationDuration

      public final CssRule setAnimationDuration(String attrValue)
      Sets the animation duration.
      Specified by:
      setAnimationDuration in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the duration value with units (e.g., "2s", "500ms")
      Returns:
      this for method chaining
    • setAnimationDuration

      public final CssRule setAnimationDuration(int secs)
      Sets the animation duration in seconds.
      Specified by:
      setAnimationDuration in interface AnimationIntf<CssRule>
      Parameters:
      secs - the duration in seconds
      Returns:
      this for method chaining
    • setAnimationDuration

      public final CssRule setAnimationDuration(long msecs)
      Sets the animation duration in milliseconds.
      Specified by:
      setAnimationDuration in interface AnimationIntf<CssRule>
      Parameters:
      msecs - the duration in milliseconds
      Returns:
      this for method chaining
    • setAnimationFillMode

      public final CssRule setAnimationFillMode(String attrValue)
      Sets the animation fill mode.
      Specified by:
      setAnimationFillMode in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the fill mode value string
      Returns:
      this for method chaining
    • setAnimationFillMode

      public final CssRule setAnimationFillMode(AnimationFillMode attrValue)
      Sets the animation fill mode.
      Specified by:
      setAnimationFillMode in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the AnimationFillMode enum value
      Returns:
      this for method chaining
    • setAnimationIterationCount

      public final CssRule setAnimationIterationCount(String attrValue)
      Sets the animation iteration count.
      Specified by:
      setAnimationIterationCount in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the iteration count value string
      Returns:
      this for method chaining
    • setAnimationIterationCount

      public final CssRule setAnimationIterationCount(int count)
      Sets the animation iteration count.
      Specified by:
      setAnimationIterationCount in interface AnimationIntf<CssRule>
      Parameters:
      count - the number of times to play the animation
      Returns:
      this for method chaining
    • setAnimationIterationCount

      public final CssRule setAnimationIterationCount(AnimationIterationCount attrValue)
      Sets the animation iteration count.
      Specified by:
      setAnimationIterationCount in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the AnimationIterationCount enum value
      Returns:
      this for method chaining
    • setAnimationName

      public final CssRule setAnimationName(String attrValue)
      Sets the animation name (keyframes reference).
      Specified by:
      setAnimationName in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the name of the keyframes to use
      Returns:
      this for method chaining
    • setAnimationPlayState

      public final CssRule setAnimationPlayState(String attrValue)
      Sets the animation play state.
      Specified by:
      setAnimationPlayState in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the play state value string
      Returns:
      this for method chaining
    • setAnimationPlayState

      public final CssRule setAnimationPlayState(AnimationPlayState attrValue)
      Sets the animation play state.
      Specified by:
      setAnimationPlayState in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the AnimationPlayState enum value
      Returns:
      this for method chaining
    • setAnimationTimingFunction

      public final CssRule setAnimationTimingFunction(String attrValue)
      Sets the animation timing function.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the timing function value string
      Returns:
      this for method chaining
    • setAnimationTimingFunction

      public final CssRule setAnimationTimingFunction(AnimationTimingFunction attrValue)
      Sets the animation timing function.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssRule>
      Parameters:
      attrValue - the AnimationTimingFunction enum value
      Returns:
      this for method chaining
    • setAnimationTimingFunction

      public final CssRule setAnimationTimingFunction(int intervals, boolean start)
      Sets a steps() timing function.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssRule>
      Parameters:
      intervals - the number of intervals
      start - true for step-start, false for step-end
      Returns:
      this for method chaining
    • setAnimationTimingFunction

      public final CssRule setAnimationTimingFunction(float n1, float n2, float n3, float n4)
      Sets a cubic-bezier() timing function.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssRule>
      Parameters:
      n1 - the first control point x-coordinate
      n2 - the first control point y-coordinate
      n3 - the second control point x-coordinate
      n4 - the second control point y-coordinate
      Returns:
      this for method chaining
    • setBackground

      public final CssRule setBackground(String attrValue)
      Sets the background shorthand property.
      Specified by:
      setBackground in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the background shorthand value
      Returns:
      this for method chaining
    • setBackground

      public final CssRule setBackground(Color color)
      Sets the background to a solid color.
      Specified by:
      setBackground in interface BackgroundIntf<CssRule>
      Parameters:
      color - the background color
      Returns:
      this for method chaining
    • setBackgroundAttachment

      public final CssRule setBackgroundAttachment(String attrValue)
      Sets the background attachment behavior.
      Specified by:
      setBackgroundAttachment in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the attachment value string
      Returns:
      this for method chaining
    • setBackgroundAttachment

      public final CssRule setBackgroundAttachment(BackgroundAttachment attrValue)
      Sets the background attachment behavior.
      Specified by:
      setBackgroundAttachment in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundAttachment enum value
      Returns:
      this for method chaining
    • setBackgroundBlendMode

      public final CssRule setBackgroundBlendMode(String attrValue)
      Sets the background blend mode.
      Specified by:
      setBackgroundBlendMode in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the blend mode value string
      Returns:
      this for method chaining
    • setBackgroundBlendMode

      public final CssRule setBackgroundBlendMode(BackgroundBlendMode attrValue)
      Sets the background blend mode.
      Specified by:
      setBackgroundBlendMode in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundBlendMode enum value
      Returns:
      this for method chaining
    • setBackgroundColor

      public final CssRule setBackgroundColor(String attrValue)
      Sets the background color.
      Specified by:
      setBackgroundColor in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the color value string
      Returns:
      this for method chaining
    • setBackgroundColor

      public final CssRule setBackgroundColor(Color attrValue)
      Sets the background color.
      Specified by:
      setBackgroundColor in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBackgroundColor

      public final CssRule setBackgroundColor(BackgroundColor attrValue)
      Sets the background color using a keyword.
      Specified by:
      setBackgroundColor in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundColor enum value
      Returns:
      this for method chaining
    • setBackgroundImage

      public final CssRule setBackgroundImage(String attrValue)
      Sets the background image URL.
      Specified by:
      setBackgroundImage in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the image URL or gradient function
      Returns:
      this for method chaining
    • setBackgroundImage

      public final CssRule setBackgroundImage(Gradient gradient)
      Sets the CSS background-image property from a Gradient builder.
      Parameters:
      gradient - the Gradient builder containing the gradient definition.
      Returns:
      This instance for method chaining.
      See Also:
    • setBackgroundPosition

      public final CssRule setBackgroundPosition(String attrValue)
      Sets the background position.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the position value string
      Returns:
      this for method chaining
    • setBackgroundPosition

      public final CssRule setBackgroundPosition(BackgroundPosition attrValue)
      Sets the background position using a keyword.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundPosition enum value
      Returns:
      this for method chaining
    • setBackgroundPosition

      public final CssRule setBackgroundPosition(String xpos, String ypos)
      Sets the background position with x and y coordinates.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssRule>
      Parameters:
      xpos - the horizontal position
      ypos - the vertical position
      Returns:
      this for method chaining
    • setBackgroundPosition

      public final CssRule setBackgroundPosition(int xpos, int ypos)
      Sets the background position in pixels.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssRule>
      Parameters:
      xpos - the horizontal position in pixels
      ypos - the vertical position in pixels
      Returns:
      this for method chaining
    • setBackgroundPosition

      public final CssRule setBackgroundPosition(Units xpos, Units ypos)
      Sets the background position with CSS units.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssRule>
      Parameters:
      xpos - the horizontal position
      ypos - the vertical position
      Returns:
      this for method chaining
    • setBackgroundRepeat

      public final CssRule setBackgroundRepeat(String attrValue)
      Sets the background repeat behavior.
      Specified by:
      setBackgroundRepeat in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the repeat value string
      Returns:
      this for method chaining
    • setBackgroundRepeat

      public final CssRule setBackgroundRepeat(BackgroundRepeat attrValue)
      Sets the background repeat behavior.
      Specified by:
      setBackgroundRepeat in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundRepeat enum value
      Returns:
      this for method chaining
    • setBackgroundClip

      public final CssRule setBackgroundClip(String attrValue)
      Sets the background clip area.
      Specified by:
      setBackgroundClip in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the clip value string
      Returns:
      this for method chaining
    • setBackgroundClip

      public final CssRule setBackgroundClip(BackgroundClip attrValue)
      Sets the background clip area.
      Specified by:
      setBackgroundClip in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundClip enum value
      Returns:
      this for method chaining
    • setBackgroundOrigin

      public final CssRule setBackgroundOrigin(String attrValue)
      Sets the background origin.
      Specified by:
      setBackgroundOrigin in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the origin value string
      Returns:
      this for method chaining
    • setBackgroundOrigin

      public final CssRule setBackgroundOrigin(BackgroundOrigin attrValue)
      Sets the background origin.
      Specified by:
      setBackgroundOrigin in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundOrigin enum value
      Returns:
      this for method chaining
    • setBackgroundSize

      public final CssRule setBackgroundSize(String attrValue)
      Sets the background size.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the size value string
      Returns:
      this for method chaining
    • setBackgroundSize

      public final CssRule setBackgroundSize(BackgroundSize attrValue)
      Sets the background size using a keyword.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssRule>
      Parameters:
      attrValue - the BackgroundSize enum value
      Returns:
      this for method chaining
    • setBackgroundSize

      public final CssRule setBackgroundSize(String width, String height)
      Sets the background size with width and height.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssRule>
      Parameters:
      width - the width value
      height - the height value
      Returns:
      this for method chaining
    • setBackgroundSize

      public final CssRule setBackgroundSize(int width, int height)
      Sets the background size in pixels.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssRule>
      Parameters:
      width - the width in pixels
      height - the height in pixels
      Returns:
      this for method chaining
    • setBackgroundSize

      public final CssRule setBackgroundSize(Units width, Units height)
      Sets the background size with CSS units.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssRule>
      Parameters:
      width - the width
      height - the height
      Returns:
      this for method chaining
    • setClear

      public final CssRule setClear(String attrValue)
      Sets the CSS clear property using a string value.
      Specified by:
      setClear in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the clear value (e.g., "left", "right", "both", "none")
      Returns:
      this for method chaining
    • setClear

      public final CssRule setClear(Clear attrValue)
      Sets the CSS clear property using a Clear enum value.
      Specified by:
      setClear in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Clear enum value
      Returns:
      this for method chaining
    • setClip

      public final CssRule setClip(String attrValue)
      Sets the CSS clip property using a string value.
      Specified by:
      setClip in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the clip value (e.g., "rect(0, 100px, 100px, 0)")
      Returns:
      this for method chaining
    • setClipPath

      public final CssRule setClipPath(String attrValue)
      Sets the clip-path property to define a clipping region for an element.
      Specified by:
      setClipPath in interface com.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

      public final CssRule setClipPath(ClipPath clipPath)
      Sets the CSS clip-path property from a ClipPath builder.
      Parameters:
      clipPath - the ClipPath builder containing the shape definition.
      Returns:
      This instance for method chaining.
      See Also:
    • setDisplay

      public final CssRule setDisplay(String attrValue)
      Sets the CSS display property using a string value.
      Specified by:
      setDisplay in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the display value (e.g., "block", "inline", "flex", "none")
      Returns:
      this for method chaining
    • setDisplay

      public final CssRule setDisplay(Display attrValue)
      Sets the CSS display property using a Display enum value.
      Specified by:
      setDisplay in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Display enum value
      Returns:
      this for method chaining
    • setFloat

      public final CssRule setFloat(String attrValue)
      Sets the CSS float property using a string value.
      Specified by:
      setFloat in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the float value (e.g., "left", "right", "none")
      Returns:
      this for method chaining
    • setFloat

      public final CssRule setFloat(Float attrValue)
      Sets the CSS float property using a Float enum value.
      Specified by:
      setFloat in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Float enum value
      Returns:
      this for method chaining
    • setMargin

      public final CssRule setMargin(String attrValue)
      Sets the CSS margin property using a string value.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the margin value (e.g., "10px", "1em 2em")
      Returns:
      this for method chaining
    • setMargin

      public final CssRule setMargin(int pixels)
      Sets the CSS margin property using a pixel value for all sides.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the margin in pixels
      Returns:
      this for method chaining
    • setMargin

      public final CssRule setMargin(Units units)
      Sets the CSS margin property using a Units value for all sides.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the margin as a Units object
      Returns:
      this for method chaining
    • setPadding

      public CssRule setPadding(int topBottom, int leftRight)
      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:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      topBottom - the top and bottom padding in pixels
      leftRight - the left and right padding in pixels
      Returns:
      this for method chaining
    • setPadding

      public CssRule setPadding(Units topBottom, Units leftRight)
      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:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      topBottom - the top and bottom padding as a Units object
      leftRight - the left and right padding as a Units object
      Returns:
      this for method chaining
    • setMargin

      public final CssRule setMargin(int top, int right, int bottom, int left)
      Sets the CSS margin property with individual pixel values for each side.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      top - the top margin in pixels
      right - the right margin in pixels
      bottom - the bottom margin in pixels
      left - the left margin in pixels
      Returns:
      this for method chaining
    • setMargin

      public final CssRule setMargin(Units top, Units right, Units bottom, Units left)
      Sets the CSS margin property with individual Units values for each side.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      top - the top margin as a Units object
      right - the right margin as a Units object
      bottom - the bottom margin as a Units object
      left - the left margin as a Units object
      Returns:
      this for method chaining
    • setMarginBottom

      public final CssRule setMarginBottom(String attrValue)
      Sets the CSS margin-bottom property using a string value.
      Specified by:
      setMarginBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the margin-bottom value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setMarginBottom

      public final CssRule setMarginBottom(int pixels)
      Sets the CSS margin-bottom property using a pixel value.
      Specified by:
      setMarginBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the margin-bottom in pixels
      Returns:
      this for method chaining
    • setMarginBottom

      public final CssRule setMarginBottom(Units units)
      Sets the CSS margin-bottom property using a Units value.
      Specified by:
      setMarginBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the margin-bottom as a Units object
      Returns:
      this for method chaining
    • setMarginLeft

      public final CssRule setMarginLeft(String attrValue)
      Sets the CSS margin-left property using a string value.
      Specified by:
      setMarginLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the margin-left value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setMarginLeft

      public final CssRule setMarginLeft(int pixels)
      Sets the CSS margin-left property using a pixel value.
      Specified by:
      setMarginLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the margin-left in pixels
      Returns:
      this for method chaining
    • setMarginLeft

      public final CssRule setMarginLeft(Units units)
      Sets the CSS margin-left property using a Units value.
      Specified by:
      setMarginLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the margin-left as a Units object
      Returns:
      this for method chaining
    • setMarginRight

      public final CssRule setMarginRight(String attrValue)
      Sets the CSS margin-right property using a string value.
      Specified by:
      setMarginRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the margin-right value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setMarginRight

      public final CssRule setMarginRight(int pixels)
      Sets the CSS margin-right property using a pixel value.
      Specified by:
      setMarginRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the margin-right in pixels
      Returns:
      this for method chaining
    • setMarginRight

      public final CssRule setMarginRight(Units units)
      Sets the CSS margin-right property using a Units value.
      Specified by:
      setMarginRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the margin-right as a Units object
      Returns:
      this for method chaining
    • setMarginTop

      public final CssRule setMarginTop(String attrValue)
      Sets the CSS margin-top property using a string value.
      Specified by:
      setMarginTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the margin-top value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setMarginTop

      public final CssRule setMarginTop(int pixels)
      Sets the CSS margin-top property using a pixel value.
      Specified by:
      setMarginTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the margin-top in pixels
      Returns:
      this for method chaining
    • setMarginTop

      public final CssRule setMarginTop(Units units)
      Sets the CSS margin-top property using a Units value.
      Specified by:
      setMarginTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the margin-top as a Units object
      Returns:
      this for method chaining
    • setOverflow

      public final CssRule setOverflow(String attrValue)
      Sets the CSS overflow property using a string value.
      Specified by:
      setOverflow in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the overflow value (e.g., "visible", "hidden", "scroll", "auto")
      Returns:
      this for method chaining
    • setOverflow

      public final CssRule setOverflow(Overflow attrValue)
      Sets the CSS overflow property using an Overflow enum value.
      Specified by:
      setOverflow in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Overflow enum value
      Returns:
      this for method chaining
    • setOverflow

      public final CssRule setOverflow(Overflow x, Overflow y)
      Sets the CSS overflow-x and overflow-y properties separately.
      Specified by:
      setOverflow in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      x - the horizontal overflow behavior
      y - the vertical overflow behavior
      Returns:
      this for method chaining
    • setOverflowX

      public final CssRule setOverflowX(String attrValue)
      Sets the CSS overflow-x property using a string value.
      Specified by:
      setOverflowX in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the overflow-x value (e.g., "visible", "hidden", "scroll", "auto")
      Returns:
      this for method chaining
    • setOverflowX

      public final CssRule setOverflowX(Overflow attrValue)
      Sets the CSS overflow-x property using an Overflow enum value.
      Specified by:
      setOverflowX in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Overflow enum value for horizontal overflow
      Returns:
      this for method chaining
    • setOverflowY

      public final CssRule setOverflowY(String attrValue)
      Sets the CSS overflow-y property using a string value.
      Specified by:
      setOverflowY in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the overflow-y value (e.g., "visible", "hidden", "scroll", "auto")
      Returns:
      this for method chaining
    • setOverflowY

      public final CssRule setOverflowY(Overflow attrValue)
      Sets the CSS overflow-y property using an Overflow enum value.
      Specified by:
      setOverflowY in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Overflow enum value for vertical overflow
      Returns:
      this for method chaining
    • setPadding

      public final CssRule setPadding(String attrValue)
      Sets the CSS padding property using a string value.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the padding value (e.g., "10px", "1em 2em")
      Returns:
      this for method chaining
    • setPadding

      public final CssRule setPadding(int pixels)
      Sets the CSS padding property using a pixel value for all sides.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the padding in pixels
      Returns:
      this for method chaining
    • setPadding

      public final CssRule setPadding(Units units)
      Sets the CSS padding property using a Units value for all sides.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the padding as a Units object
      Returns:
      this for method chaining
    • setPadding

      public final CssRule setPadding(String top, String right, String bottom, String left)
      Sets the CSS padding property with individual string values for each side.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      top - the top padding value
      right - the right padding value
      bottom - the bottom padding value
      left - the left padding value
      Returns:
      this for method chaining
    • setPadding

      public final CssRule setPadding(int top, int right, int bottom, int left)
      Sets the CSS padding property with individual pixel values for each side.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      top - the top padding in pixels
      right - the right padding in pixels
      bottom - the bottom padding in pixels
      left - the left padding in pixels
      Returns:
      this for method chaining
    • setPadding

      public final CssRule setPadding(Units top, Units right, Units bottom, Units left)
      Sets the CSS padding property with individual Units values for each side.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      top - the top padding as a Units object
      right - the right padding as a Units object
      bottom - the bottom padding as a Units object
      left - the left padding as a Units object
      Returns:
      this for method chaining
    • setPaddingBottom

      public final CssRule setPaddingBottom(String attrValue)
      Sets the CSS padding-bottom property using a string value.
      Specified by:
      setPaddingBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the padding-bottom value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setPaddingBottom

      public final CssRule setPaddingBottom(int pixels)
      Sets the CSS padding-bottom property using a pixel value.
      Specified by:
      setPaddingBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the padding-bottom in pixels
      Returns:
      this for method chaining
    • setPaddingBottom

      public final CssRule setPaddingBottom(Units units)
      Sets the CSS padding-bottom property using a Units value.
      Specified by:
      setPaddingBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the padding-bottom as a Units object
      Returns:
      this for method chaining
    • setPaddingLeft

      public final CssRule setPaddingLeft(String attrValue)
      Sets the CSS padding-left property using a string value.
      Specified by:
      setPaddingLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the padding-left value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setPaddingLeft

      public final CssRule setPaddingLeft(int pixels)
      Sets the CSS padding-left property using a pixel value.
      Specified by:
      setPaddingLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the padding-left in pixels
      Returns:
      this for method chaining
    • setPaddingLeft

      public final CssRule setPaddingLeft(Units units)
      Sets the CSS padding-left property using a Units value.
      Specified by:
      setPaddingLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the padding-left as a Units object
      Returns:
      this for method chaining
    • setPaddingRight

      public final CssRule setPaddingRight(String attrValue)
      Sets the CSS padding-right property using a string value.
      Specified by:
      setPaddingRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the padding-right value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setPaddingRight

      public final CssRule setPaddingRight(int pixels)
      Sets the CSS padding-right property using a pixel value.
      Specified by:
      setPaddingRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the padding-right in pixels
      Returns:
      this for method chaining
    • setPaddingRight

      public final CssRule setPaddingRight(Units units)
      Sets the CSS padding-right property using a Units value.
      Specified by:
      setPaddingRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the padding-right as a Units object
      Returns:
      this for method chaining
    • setPaddingTop

      public final CssRule setPaddingTop(String attrValue)
      Sets the CSS padding-top property using a string value.
      Specified by:
      setPaddingTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the padding-top value (e.g., "10px", "1em")
      Returns:
      this for method chaining
    • setPaddingTop

      public final CssRule setPaddingTop(int pixels)
      Sets the CSS padding-top property using a pixel value.
      Specified by:
      setPaddingTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the padding-top in pixels
      Returns:
      this for method chaining
    • setPaddingTop

      public final CssRule setPaddingTop(Units units)
      Sets the CSS padding-top property using a Units value.
      Specified by:
      setPaddingTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the padding-top as a Units object
      Returns:
      this for method chaining
    • setPosition

      public final CssRule setPosition(String attrValue)
      Sets the CSS position property using a string value.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the position value (e.g., "static", "relative", "absolute", "fixed")
      Returns:
      this for method chaining
    • setPosition

      public final CssRule setPosition(Position attrValue)
      Sets the CSS position property using a Position enum value.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Position enum value
      Returns:
      this for method chaining
    • setPosition

      public final CssRule setPosition(String left, String top)
      Sets the CSS left and top position properties using string values.
      Specified by:
      setPosition in interface com.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

      public final CssRule setPosition(int left, int top)
      Sets the CSS left and top position properties using pixel values.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      left - the left position in pixels
      top - the top position in pixels
      Returns:
      this for method chaining
    • setPosition

      public final CssRule setPosition(Units left, Units top)
      Sets the CSS left and top position properties using Units values.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      left - the left position as a Units object
      top - the top position as a Units object
      Returns:
      this for method chaining
    • setBottom

      public final CssRule setBottom(String attrValue)
      Sets the CSS bottom property using a string value.
      Specified by:
      setBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the bottom position value (e.g., "10px", "50%")
      Returns:
      this for method chaining
    • setBottom

      public final CssRule setBottom(int pixels)
      Sets the CSS bottom property using a pixel value.
      Specified by:
      setBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the bottom position in pixels
      Returns:
      this for method chaining
    • setBottom

      public final CssRule setBottom(Units units)
      Sets the CSS bottom property using a Units value.
      Specified by:
      setBottom in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the bottom position as a Units object
      Returns:
      this for method chaining
    • setLeft

      public final CssRule setLeft(String attrValue)
      Sets the CSS left property using a string value.
      Specified by:
      setLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the left position value (e.g., "10px", "50%")
      Returns:
      this for method chaining
    • setLeft

      public final CssRule setLeft(int pixels)
      Sets the CSS left property using a pixel value.
      Specified by:
      setLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the left position in pixels
      Returns:
      this for method chaining
    • setLeft

      public final CssRule setLeft(Units units)
      Sets the CSS left property using a Units value.
      Specified by:
      setLeft in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the left position as a Units object
      Returns:
      this for method chaining
    • setRight

      public final CssRule setRight(String attrValue)
      Sets the CSS right property using a string value.
      Specified by:
      setRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the right position value (e.g., "10px", "50%")
      Returns:
      this for method chaining
    • setRight

      public final CssRule setRight(int pixels)
      Sets the CSS right property using a pixel value.
      Specified by:
      setRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the right position in pixels
      Returns:
      this for method chaining
    • setRight

      public final CssRule setRight(Units units)
      Sets the CSS right property using a Units value.
      Specified by:
      setRight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the right position as a Units object
      Returns:
      this for method chaining
    • setTop

      public final CssRule setTop(String attrValue)
      Sets the CSS top property using a string value.
      Specified by:
      setTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the top position value (e.g., "10px", "50%")
      Returns:
      this for method chaining
    • setTop

      public final CssRule setTop(int pixels)
      Sets the CSS top property using a pixel value.
      Specified by:
      setTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the top position in pixels
      Returns:
      this for method chaining
    • setTop

      public final CssRule setTop(Units units)
      Sets the CSS top property using a Units value.
      Specified by:
      setTop in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the top position as a Units object
      Returns:
      this for method chaining
    • setVerticalAlign

      public final CssRule setVerticalAlign(String attrValue)
      Sets the CSS vertical-align property using a string value.
      Specified by:
      setVerticalAlign in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the vertical-align value (e.g., "top", "middle", "bottom", "baseline")
      Returns:
      this for method chaining
    • setVerticalAlign

      public final CssRule setVerticalAlign(VerticalAlign attrValue)
      Sets the CSS vertical-align property using a VerticalAlign enum value.
      Specified by:
      setVerticalAlign in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the VerticalAlign enum value
      Returns:
      this for method chaining
    • setVisibility

      public final CssRule setVisibility(String attrValue)
      Sets the CSS visibility property using a string value.
      Specified by:
      setVisibility in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the visibility value (e.g., "visible", "hidden", "collapse")
      Returns:
      this for method chaining
    • setVisibility

      public final CssRule setVisibility(Visibility attrValue)
      Sets the CSS visibility property using a Visibility enum value.
      Specified by:
      setVisibility in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the Visibility enum value
      Returns:
      this for method chaining
    • setHeight

      public final CssRule setHeight(String attrValue)
      Sets the CSS height property using a string value.
      Specified by:
      setHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the height value (e.g., "100px", "50%", "auto")
      Returns:
      this for method chaining
    • setHeight

      public final CssRule setHeight(int pixels)
      Sets the CSS height property using a pixel value.
      Specified by:
      setHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the height in pixels
      Returns:
      this for method chaining
    • setHeight

      public final CssRule setHeight(Units units)
      Sets the CSS height property using a Units value.
      Specified by:
      setHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the height as a Units object
      Returns:
      this for method chaining
    • setMaxHeight

      public final CssRule setMaxHeight(String attrValue)
      Sets the CSS max-height property using a string value.
      Specified by:
      setMaxHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the max-height value (e.g., "500px", "100%", "none")
      Returns:
      this for method chaining
    • setMaxHeight

      public final CssRule setMaxHeight(int pixels)
      Sets the CSS max-height property using a pixel value.
      Specified by:
      setMaxHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the max-height in pixels
      Returns:
      this for method chaining
    • setMaxHeight

      public final CssRule setMaxHeight(Units units)
      Sets the CSS max-height property using a Units value.
      Specified by:
      setMaxHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the max-height as a Units object
      Returns:
      this for method chaining
    • setMinHeight

      public final CssRule setMinHeight(String attrValue)
      Sets the CSS min-height property using a string value.
      Specified by:
      setMinHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the min-height value (e.g., "100px", "50%")
      Returns:
      this for method chaining
    • setMinHeight

      public final CssRule setMinHeight(int pixels)
      Sets the CSS min-height property using a pixel value.
      Specified by:
      setMinHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the min-height in pixels
      Returns:
      this for method chaining
    • setMinHeight

      public final CssRule setMinHeight(Units units)
      Sets the CSS min-height property using a Units value.
      Specified by:
      setMinHeight in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the min-height as a Units object
      Returns:
      this for method chaining
    • setWidth

      public final CssRule setWidth(String attrValue)
      Sets the CSS width property using a string value.
      Specified by:
      setWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the width value (e.g., "100px", "50%", "auto")
      Returns:
      this for method chaining
    • setWidth

      public final CssRule setWidth(int pixels)
      Sets the CSS width property using a pixel value.
      Specified by:
      setWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setWidth

      public final CssRule setWidth(Units units)
      Sets the CSS width property using a Units value.
      Specified by:
      setWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setMaxWidth

      public final CssRule setMaxWidth(String attrValue)
      Sets the CSS max-width property using a string value.
      Specified by:
      setMaxWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the max-width value (e.g., "800px", "100%", "none")
      Returns:
      this for method chaining
    • setMaxWidth

      public final CssRule setMaxWidth(int pixels)
      Sets the CSS max-width property using a pixel value.
      Specified by:
      setMaxWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the max-width in pixels
      Returns:
      this for method chaining
    • setMaxWidth

      public final CssRule setMaxWidth(Units units)
      Sets the CSS max-width property using a Units value.
      Specified by:
      setMaxWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the max-width as a Units object
      Returns:
      this for method chaining
    • setMinWidth

      public final CssRule setMinWidth(String attrValue)
      Sets the CSS min-width property using a string value.
      Specified by:
      setMinWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the min-width value (e.g., "200px", "25%")
      Returns:
      this for method chaining
    • setMinWidth

      public final CssRule setMinWidth(int pixels)
      Sets the CSS min-width property using a pixel value.
      Specified by:
      setMinWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      pixels - the min-width in pixels
      Returns:
      this for method chaining
    • setMinWidth

      public final CssRule setMinWidth(Units units)
      Sets the CSS min-width property using a Units value.
      Specified by:
      setMinWidth in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      units - the min-width as a Units object
      Returns:
      this for method chaining
    • setSize

      public final CssRule setSize(String width, String height)
      Sets both the CSS width and height properties using string values.
      Specified by:
      setSize in interface com.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

      public final CssRule setSize(int width, int height)
      Sets both the CSS width and height properties using pixel values.
      Specified by:
      setSize in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      width - the width in pixels
      height - the height in pixels
      Returns:
      this for method chaining
    • setSize

      public final CssRule setSize(Units width, Units height)
      Sets both the CSS width and height properties using Units values.
      Specified by:
      setSize in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      width - the width as a Units object
      height - the height as a Units object
      Returns:
      this for method chaining
    • setZIndex

      public final CssRule setZIndex(String attrValue)
      Sets the CSS z-index property using a string value.
      Specified by:
      setZIndex in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the z-index value (e.g., "1", "100", "auto")
      Returns:
      this for method chaining
    • setZIndex

      public final CssRule setZIndex(int attrValue)
      Sets the CSS z-index property using an integer value.
      Specified by:
      setZIndex in interface com.oorian.css.BasicBoxIntf<CssRule>
      Parameters:
      attrValue - the z-index stacking order value
      Returns:
      this for method chaining
    • setBoxSizing

      public final CssRule setBoxSizing(String attrValue)
      Sets the box-sizing property using a string value.
      Specified by:
      setBoxSizing in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setBoxSizing

      public final CssRule setBoxSizing(BoxSizing attrValue)
      Sets the box-sizing property using an enum value.
      Specified by:
      setBoxSizing in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the box-sizing value
      Returns:
      this for method chaining
    • setCursor

      public final CssRule setCursor(String attrValue)
      Sets the cursor property using a string value.
      Specified by:
      setCursor in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setCursor

      public final CssRule setCursor(Cursor attrValue)
      Sets the cursor property using an enum value.
      Specified by:
      setCursor in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the cursor value
      Returns:
      this for method chaining
    • setImeMode

      public final CssRule setImeMode(String attrValue)
      Sets the ime-mode property using a string value.
      Specified by:
      setImeMode in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setNavDown

      public final CssRule setNavDown(String attrValue)
      Sets the nav-down property using a string value.
      Specified by:
      setNavDown in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setNavIndex

      public final CssRule setNavIndex(String attrValue)
      Sets the nav-index property using a string value.
      Specified by:
      setNavIndex in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setNavIndex

      public final CssRule setNavIndex(int index)
      Sets the nav-index property using an integer value.
      Specified by:
      setNavIndex in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      index - the navigation index
      Returns:
      this for method chaining
    • setNavLeft

      public final CssRule setNavLeft(String attrValue)
      Sets the nav-left property using a string value.
      Specified by:
      setNavLeft in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setNavRight

      public final CssRule setNavRight(String attrValue)
      Sets the nav-right property using a string value.
      Specified by:
      setNavRight in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setNavUp

      public final CssRule setNavUp(String attrValue)
      Sets the nav-up property using a string value.
      Specified by:
      setNavUp in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setOutline

      public final CssRule setOutline(String attrValue)
      Sets the outline shorthand property using a string value.
      Specified by:
      setOutline in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setOutline

      public final CssRule setOutline(String color, String style, String width)
      Sets the outline shorthand property using string values.
      Specified by:
      setOutline in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      color - the outline color
      style - the outline style
      width - the outline width
      Returns:
      this for method chaining
    • setOutline

      public final CssRule setOutline(Color color, OutlineStyle style, int width)
      Sets the outline shorthand property using typed values.
      Specified by:
      setOutline in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      color - the outline color
      style - the outline style
      width - the outline width in pixels
      Returns:
      this for method chaining
    • setOutline

      public final CssRule setOutline(Color color, OutlineStyle style, Units width)
      Sets the outline shorthand property using typed values.
      Specified by:
      setOutline in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      color - the outline color
      style - the outline style
      width - the outline width with units
      Returns:
      this for method chaining
    • setOutlineColor

      public final CssRule setOutlineColor(String attrValue)
      Sets the outline-color property using a string value.
      Specified by:
      setOutlineColor in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setOutlineColor

      public final CssRule setOutlineColor(Color attrValue)
      Sets the outline-color property using a Color value.
      Specified by:
      setOutlineColor in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the outline color
      Returns:
      this for method chaining
    • setOutlineOffset

      public final CssRule setOutlineOffset(String attrValue)
      Sets the outline-offset property using a string value.
      Specified by:
      setOutlineOffset in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setOutlineOffset

      public final CssRule setOutlineOffset(int pixels)
      Sets the outline-offset property using a pixel value.
      Specified by:
      setOutlineOffset in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      pixels - the offset in pixels
      Returns:
      this for method chaining
    • setOutlineOffset

      public final CssRule setOutlineOffset(Units units)
      Sets the outline-offset property using a unit value.
      Specified by:
      setOutlineOffset in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      units - the offset with units
      Returns:
      this for method chaining
    • setOutlineStyle

      public final CssRule setOutlineStyle(String attrValue)
      Sets the outline-style property using a string value.
      Specified by:
      setOutlineStyle in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setOutlineStyle

      public final CssRule setOutlineStyle(OutlineStyle attrValue)
      Sets the outline-style property using an enum value.
      Specified by:
      setOutlineStyle in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the outline style
      Returns:
      this for method chaining
    • setOutlineWidth

      public final CssRule setOutlineWidth(String attrValue)
      Sets the outline-width property using a string value.
      Specified by:
      setOutlineWidth in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setOutlineWidth

      public final CssRule setOutlineWidth(OutlineWidth attrValue)
      Sets the outline-width property using an enum value.
      Specified by:
      setOutlineWidth in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the outline width
      Returns:
      this for method chaining
    • setOutlineWidth

      public final CssRule setOutlineWidth(int pixels)
      Sets the outline-width property using a pixel value.
      Specified by:
      setOutlineWidth in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setOutlineWidth

      public final CssRule setOutlineWidth(Units units)
      Sets the outline-width property using a unit value.
      Specified by:
      setOutlineWidth in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      units - the width with units
      Returns:
      this for method chaining
    • setResize

      public final CssRule setResize(String attrValue)
      Sets the resize property using a string value.
      Specified by:
      setResize in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setResize

      public CssRule setResize(Resize resize)
      Sets the resize property using an enum value.
      Specified by:
      setResize in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      resize - the resize value
      Returns:
      this for method chaining
    • setTextOverflow

      public final CssRule setTextOverflow(String attrValue)
      Sets the text-overflow property using a string value.
      Specified by:
      setTextOverflow in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setTextOverflow

      public final CssRule setTextOverflow(TextOverflow attrValue)
      Sets the text-overflow property using an enum value.
      Specified by:
      setTextOverflow in interface com.oorian.css.BasicUserInterfaceIntf<CssRule>
      Parameters:
      attrValue - the text-overflow value
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(String attrValue)
      Sets the CSS border shorthand property using a string value.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the border value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(String width, String style, String color)
      Sets the CSS border shorthand property with separate string values.
      Specified by:
      setBorder in interface BorderIntf<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

      public final CssRule setBorder(int width, BorderStyle style, Color color)
      Sets the CSS border shorthand property with typed values.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(int width, Color color)
      Sets the CSS border property with width and color (solid style implied).
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(Color color)
      Sets the CSS border property with color only.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      color - the Color object for the border
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(Units width, BorderStyle style, Color color)
      Sets the CSS border shorthand property with Units width.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(Units width, Color color)
      Sets the CSS border property with Units width and color.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border shorthand property with BorderWidth enum.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value (e.g., THIN, MEDIUM, THICK)
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      public final CssRule setBorder(BorderWidth width, Color color)
      Sets the CSS border property with BorderWidth enum and color.
      Specified by:
      setBorder in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(String attrValue)
      Sets the CSS border-bottom property using a string value.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the border-bottom value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(String width, String style, String color)
      Sets the CSS border-bottom property with separate string values.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(int width, BorderStyle style, Color color)
      Sets the CSS border-bottom property with typed values.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(int width, Color color)
      Sets the CSS border-bottom property with width and color.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(Units width, BorderStyle style, Color color)
      Sets the CSS border-bottom property with Units width.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(Units width, Color color)
      Sets the CSS border-bottom property with Units width and color.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-bottom property with BorderWidth enum.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      public final CssRule setBorderBottom(BorderWidth width, Color color)
      Sets the CSS border-bottom property with BorderWidth enum and color.
      Specified by:
      setBorderBottom in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottomColor

      public final CssRule setBorderBottomColor(String attrValue)
      Sets the CSS border-bottom-color property using a string value.
      Specified by:
      setBorderBottomColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the color value (e.g., "red", "#ff0000")
      Returns:
      this for method chaining
    • setBorderBottomColor

      public final CssRule setBorderBottomColor(Color attrValue)
      Sets the CSS border-bottom-color property using a Color object.
      Specified by:
      setBorderBottomColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderBottomLeftRadius

      public final CssRule setBorderBottomLeftRadius(String attrValue)
      Sets the CSS border-bottom-left-radius property using a string value.
      Specified by:
      setBorderBottomLeftRadius in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the radius value (e.g., "5px", "10%")
      Returns:
      this for method chaining
    • setBorderBottomLeftRadius

      public final CssRule setBorderBottomLeftRadius(int pixels)
      Sets the CSS border-bottom-left-radius property using a pixel value.
      Specified by:
      setBorderBottomLeftRadius in interface BorderIntf<CssRule>
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderBottomLeftRadius

      public final CssRule setBorderBottomLeftRadius(Units units)
      Sets the CSS border-bottom-left-radius property using a Units value.
      Specified by:
      setBorderBottomLeftRadius in interface BorderIntf<CssRule>
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderBottomRightRadius

      public final CssRule setBorderBottomRightRadius(String attrValue)
      Sets the CSS border-bottom-right-radius property using a string value.
      Specified by:
      setBorderBottomRightRadius in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the radius value (e.g., "5px", "10%")
      Returns:
      this for method chaining
    • setBorderBottomRightRadius

      public final CssRule setBorderBottomRightRadius(int pixels)
      Sets the CSS border-bottom-right-radius property using a pixel value.
      Specified by:
      setBorderBottomRightRadius in interface BorderIntf<CssRule>
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderBottomRightRadius

      public final CssRule setBorderBottomRightRadius(Units units)
      Sets the CSS border-bottom-right-radius property using a Units value.
      Specified by:
      setBorderBottomRightRadius in interface BorderIntf<CssRule>
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderBottomStyle

      public final CssRule setBorderBottomStyle(String attrValue)
      Sets the CSS border-bottom-style property using a string value.
      Specified by:
      setBorderBottomStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the style value (e.g., "solid", "dashed", "dotted")
      Returns:
      this for method chaining
    • setBorderBottomStyle

      public final CssRule setBorderBottomStyle(BorderStyle attrValue)
      Sets the CSS border-bottom-style property using a BorderStyle enum.
      Specified by:
      setBorderBottomStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderBottomWidth

      public final CssRule setBorderBottomWidth(String attrValue)
      Sets the CSS border-bottom-width property using a string value.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the width value (e.g., "1px", "thin")
      Returns:
      this for method chaining
    • setBorderBottomWidth

      public final CssRule setBorderBottomWidth(BorderWidth attrValue)
      Sets the CSS border-bottom-width property using a BorderWidth enum.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderBottomWidth

      public final CssRule setBorderBottomWidth(int pixels)
      Sets the CSS border-bottom-width property using a pixel value.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderBottomWidth

      public final CssRule setBorderBottomWidth(Units units)
      Sets the CSS border-bottom-width property using a Units value.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssRule>
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderColor

      public final CssRule setBorderColor(String attrValue)
      Sets the CSS border-color property using a string value.
      Specified by:
      setBorderColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the color value (e.g., "red", "#ff0000", "red blue green yellow")
      Returns:
      this for method chaining
    • setBorderColor

      public final CssRule setBorderColor(Color color)
      Sets the CSS border-color property for all sides using a Color object.
      Specified by:
      setBorderColor in interface BorderIntf<CssRule>
      Parameters:
      color - the Color object
      Returns:
      this for method chaining
    • setBorderColor

      public final CssRule setBorderColor(String top, String right, String bottom, String left)
      Sets the CSS border-color property with individual string values for each side.
      Specified by:
      setBorderColor in interface BorderIntf<CssRule>
      Parameters:
      top - the top border color
      right - the right border color
      bottom - the bottom border color
      left - the left border color
      Returns:
      this for method chaining
    • setBorderColor

      public final CssRule setBorderColor(Color top, Color right, Color bottom, Color left)
      Sets the CSS border-color property with individual Color objects for each side.
      Specified by:
      setBorderColor in interface BorderIntf<CssRule>
      Parameters:
      top - the top border Color
      right - the right border Color
      bottom - the bottom border Color
      left - the left border Color
      Returns:
      this for method chaining
    • setBorderImage

      public final CssRule setBorderImage(String attrValue)
      Sets the CSS border-image shorthand property using a string value.
      Specified by:
      setBorderImage in interface BorderIntf<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:
      setBorderImage in interface BorderIntf<CssRule>
      Parameters:
      srcUrl - the image source URL
      slice - the slice value
      width - the border image width
      outset - the outset value
      repeat - the repeat value (e.g., "stretch", "repeat", "round")
      Returns:
      this for method chaining
    • setBorderImageOutset

      public final CssRule setBorderImageOutset(String attrValue)
      Sets the CSS border-image-outset property.
      Specified by:
      setBorderImageOutset in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the outset value
      Returns:
      this for method chaining
    • setBorderImageRepeat

      public final CssRule setBorderImageRepeat(String attrValue)
      Sets the CSS border-image-repeat property.
      Specified by:
      setBorderImageRepeat in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the repeat value (e.g., "stretch", "repeat", "round", "space")
      Returns:
      this for method chaining
    • setBorderImageSlice

      public final CssRule setBorderImageSlice(String attrValue)
      Sets the CSS border-image-slice property.
      Specified by:
      setBorderImageSlice in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the slice value
      Returns:
      this for method chaining
    • setBorderImageSource

      public final CssRule setBorderImageSource(String attrValue)
      Sets the CSS border-image-source property.
      Specified by:
      setBorderImageSource in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the image source URL
      Returns:
      this for method chaining
    • setBorderImageWidth

      public final CssRule setBorderImageWidth(String attrValue)
      Sets the CSS border-image-width property.
      Specified by:
      setBorderImageWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(String attrValue)
      Sets the CSS border-left property using a string value.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the border-left value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(String width, String style, String color)
      Sets the CSS border-left property with separate string values.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(int width, BorderStyle style, Color color)
      Sets the CSS border-left property with typed values.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(int width, Color color)
      Sets the CSS border-left property with width and color.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(Units width, BorderStyle style, Color color)
      Sets the CSS border-left property with Units width.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(Units width, Color color)
      Sets the CSS border-left property with Units width and color.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-left property with BorderWidth enum.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      public final CssRule setBorderLeft(BorderWidth width, Color color)
      Sets the CSS border-left property with BorderWidth enum and color.
      Specified by:
      setBorderLeft in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeftColor

      public final CssRule setBorderLeftColor(String attrValue)
      Sets the CSS border-left-color property using a string value.
      Specified by:
      setBorderLeftColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the color value
      Returns:
      this for method chaining
    • setBorderLeftColor

      public final CssRule setBorderLeftColor(Color attrValue)
      Sets the CSS border-left-color property using a Color object.
      Specified by:
      setBorderLeftColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderLeftStyle

      public final CssRule setBorderLeftStyle(String attrValue)
      Sets the CSS border-left-style property using a string value.
      Specified by:
      setBorderLeftStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the style value
      Returns:
      this for method chaining
    • setBorderLeftStyle

      public final CssRule setBorderLeftStyle(BorderStyle attrValue)
      Sets the CSS border-left-style property using a BorderStyle enum.
      Specified by:
      setBorderLeftStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderLeftWidth

      public final CssRule setBorderLeftWidth(String attrValue)
      Sets the CSS border-left-width property using a string value.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderLeftWidth

      public final CssRule setBorderLeftWidth(BorderWidth attrValue)
      Sets the CSS border-left-width property using a BorderWidth enum.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderLeftWidth

      public final CssRule setBorderLeftWidth(int pixels)
      Sets the CSS border-left-width property using a pixel value.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderLeftWidth

      public final CssRule setBorderLeftWidth(Units units)
      Sets the CSS border-left-width property using a Units value.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssRule>
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderRadius

      public final CssRule setBorderRadius(String attrValue)
      Sets the CSS border-radius property using a string value.
      Specified by:
      setBorderRadius in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the radius value (e.g., "5px", "10px 20px")
      Returns:
      this for method chaining
    • setBorderRadius

      public final CssRule setBorderRadius(int pixels)
      Sets the CSS border-radius property for all corners using a pixel value.
      Specified by:
      setBorderRadius in interface BorderIntf<CssRule>
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderRadius

      public final CssRule setBorderRadius(Units units)
      Sets the CSS border-radius property for all corners using a Units value.
      Specified by:
      setBorderRadius in interface BorderIntf<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:
      setBorderRadius in interface BorderIntf<CssRule>
      Parameters:
      topLeft - the top-left corner radius
      topRight - the top-right corner radius
      bottomRight - the bottom-right corner radius
      bottomLeft - the bottom-left corner radius
      Returns:
      this for method chaining
    • setBorderRadius

      public final CssRule setBorderRadius(int topLeft, int topRight, int bottomRight, int bottomLeft)
      Sets the CSS border-radius property with individual pixel values for each corner.
      Specified by:
      setBorderRadius in interface BorderIntf<CssRule>
      Parameters:
      topLeft - the top-left corner radius in pixels
      topRight - the top-right corner radius in pixels
      bottomRight - the bottom-right corner radius in pixels
      bottomLeft - 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:
      setBorderRadius in interface BorderIntf<CssRule>
      Parameters:
      topLeft - the top-left corner radius as a Units object
      topRight - the top-right corner radius as a Units object
      bottomRight - the bottom-right corner radius as a Units object
      bottomLeft - the bottom-left corner radius as a Units object
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(String attrValue)
      Sets the CSS border-right property using a string value.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the border-right value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(String width, String style, String color)
      Sets the CSS border-right property with separate string values.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(int width, BorderStyle style, Color color)
      Sets the CSS border-right property with typed values.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(int width, Color color)
      Sets the CSS border-right property with width and color.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(Units width, BorderStyle style, Color color)
      Sets the CSS border-right property with Units width.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(Units width, Color color)
      Sets the CSS border-right property with Units width and color.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-right property with BorderWidth enum.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      public final CssRule setBorderRight(BorderWidth width, Color color)
      Sets the CSS border-right property with BorderWidth enum and color.
      Specified by:
      setBorderRight in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRightColor

      public final CssRule setBorderRightColor(String attrValue)
      Sets the CSS border-right-color property using a string value.
      Specified by:
      setBorderRightColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the color value
      Returns:
      this for method chaining
    • setBorderRightColor

      public final CssRule setBorderRightColor(Color attrValue)
      Sets the CSS border-right-color property using a Color object.
      Specified by:
      setBorderRightColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderRightStyle

      public final CssRule setBorderRightStyle(String attrValue)
      Sets the CSS border-right-style property using a string value.
      Specified by:
      setBorderRightStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the style value
      Returns:
      this for method chaining
    • setBorderRightStyle

      public final CssRule setBorderRightStyle(BorderStyle attrValue)
      Sets the CSS border-right-style property using a BorderStyle enum.
      Specified by:
      setBorderRightStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderRightWidth

      public final CssRule setBorderRightWidth(String attrValue)
      Sets the CSS border-right-width property using a string value.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderRightWidth

      public final CssRule setBorderRightWidth(BorderWidth attrValue)
      Sets the CSS border-right-width property using a BorderWidth enum.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderRightWidth

      public final CssRule setBorderRightWidth(int pixels)
      Sets the CSS border-right-width property using a pixel value.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderRightWidth

      public final CssRule setBorderRightWidth(Units units)
      Sets the CSS border-right-width property using a Units value.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssRule>
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderStyle

      public final CssRule setBorderStyle(String attrValue)
      Sets the CSS border-style property using a string value.
      Specified by:
      setBorderStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the style value (e.g., "solid", "dashed dotted")
      Returns:
      this for method chaining
    • setBorderStyle

      public final CssRule setBorderStyle(BorderStyle attrValue)
      Sets the CSS border-style property for all sides using a BorderStyle enum.
      Specified by:
      setBorderStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(String attrValue)
      Sets the CSS border-top property using a string value.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the border-top value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(String width, String style, String color)
      Sets the CSS border-top property with separate string values.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(int width, BorderStyle style, Color color)
      Sets the CSS border-top property with typed values.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(int width, Color color)
      Sets the CSS border-top property with width and color.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(Units width, BorderStyle style, Color color)
      Sets the CSS border-top property with Units width.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(Units width, Color color)
      Sets the CSS border-top property with Units width and color.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-top property with BorderWidth enum.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      public final CssRule setBorderTop(BorderWidth width, Color color)
      Sets the CSS border-top property with BorderWidth enum and color.
      Specified by:
      setBorderTop in interface BorderIntf<CssRule>
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTopColor

      public final CssRule setBorderTopColor(String attrValue)
      Sets the CSS border-top-color property using a string value.
      Specified by:
      setBorderTopColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the color value
      Returns:
      this for method chaining
    • setBorderTopColor

      public final CssRule setBorderTopColor(Color attrValue)
      Sets the CSS border-top-color property using a Color object.
      Specified by:
      setBorderTopColor in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderTopStyle

      public final CssRule setBorderTopStyle(String attrValue)
      Sets the CSS border-top-style property using a string value.
      Specified by:
      setBorderTopStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the style value
      Returns:
      this for method chaining
    • setBorderTopStyle

      public final CssRule setBorderTopStyle(BorderStyle attrValue)
      Sets the CSS border-top-style property using a BorderStyle enum.
      Specified by:
      setBorderTopStyle in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderTopWidth

      public final CssRule setBorderTopWidth(String attrValue)
      Sets the CSS border-top-width property using a string value.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderTopWidth

      public final CssRule setBorderTopWidth(BorderWidth attrValue)
      Sets the CSS border-top-width property using a BorderWidth enum.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderTopWidth

      public final CssRule setBorderTopWidth(int pixels)
      Sets the CSS border-top-width property using a pixel value.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderTopWidth

      public final CssRule setBorderTopWidth(Units units)
      Sets the CSS border-top-width property using a Units value.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssRule>
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderTopLeftRadius

      public CssRule setBorderTopLeftRadius(String attrValue)
      Sets the CSS border-top-left-radius property using a string value.
      Specified by:
      setBorderTopLeftRadius in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the radius value
      Returns:
      this for method chaining
    • setBorderTopLeftRadius

      public CssRule setBorderTopLeftRadius(int pixels)
      Sets the CSS border-top-left-radius property using a pixel value.
      Specified by:
      setBorderTopLeftRadius in interface BorderIntf<CssRule>
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderTopLeftRadius

      public CssRule setBorderTopLeftRadius(Units units)
      Sets the CSS border-top-left-radius property using a Units value.
      Specified by:
      setBorderTopLeftRadius in interface BorderIntf<CssRule>
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderTopRightRadius

      public CssRule setBorderTopRightRadius(String attrValue)
      Sets the CSS border-top-right-radius property using a string value.
      Specified by:
      setBorderTopRightRadius in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the radius value
      Returns:
      this for method chaining
    • setBorderTopRightRadius

      public CssRule setBorderTopRightRadius(int pixels)
      Sets the CSS border-top-right-radius property using a pixel value.
      Specified by:
      setBorderTopRightRadius in interface BorderIntf<CssRule>
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderTopRightRadius

      public CssRule setBorderTopRightRadius(Units units)
      Sets the CSS border-top-right-radius property using a Units value.
      Specified by:
      setBorderTopRightRadius in interface BorderIntf<CssRule>
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(String attrValue)
      Sets the CSS border-width property using a string value.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the width value (e.g., "1px", "1px 2px 3px 4px")
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(BorderWidth attrValue)
      Sets the CSS border-width property for all sides using a BorderWidth enum.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(int pixels)
      Sets the CSS border-width property for all sides using a pixel value.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(Units units)
      Sets the CSS border-width property for all sides using a Units value.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(String top, String right, String bottom, String left)
      Sets the CSS border-width property with individual string values for each side.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      top - the top border width
      right - the right border width
      bottom - the bottom border width
      left - the left border width
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(int top, int right, int bottom, int left)
      Sets the CSS border-width property with individual pixel values for each side.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      top - the top border width in pixels
      right - the right border width in pixels
      bottom - the bottom border width in pixels
      left - the left border width in pixels
      Returns:
      this for method chaining
    • setBorderWidth

      public final CssRule setBorderWidth(Units top, Units right, Units bottom, Units left)
      Sets the CSS border-width property with individual Units values for each side.
      Specified by:
      setBorderWidth in interface BorderIntf<CssRule>
      Parameters:
      top - the top border width as a Units object
      right - the right border width as a Units object
      bottom - the bottom border width as a Units object
      left - the left border width as a Units object
      Returns:
      this for method chaining
    • setBoxShadow

      public final CssRule setBoxShadow(String attrValue)
      Sets the CSS box-shadow property using a string value.
      Specified by:
      setBoxShadow in interface BorderIntf<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:
      setBoxShadow in interface BorderIntf<CssRule>
      Parameters:
      hShadow - the horizontal shadow offset
      vShadow - the vertical shadow offset
      blur - the blur radius
      spread - the spread radius
      color - the shadow color
      Returns:
      this for method chaining
    • setBoxShadow

      public final CssRule setBoxShadow(int hShadow, int vShadow, int blur, int spread, Color color)
      Sets the CSS box-shadow property with pixel values and Color object.
      Specified by:
      setBoxShadow in interface BorderIntf<CssRule>
      Parameters:
      hShadow - the horizontal shadow offset in pixels
      vShadow - the vertical shadow offset in pixels
      blur - the blur radius in pixels
      spread - the spread radius in pixels
      color - 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:
      setBoxShadow in interface BorderIntf<CssRule>
      Parameters:
      hShadow - the horizontal shadow offset as a Units object
      vShadow - the vertical shadow offset as a Units object
      blur - the blur radius as a Units object
      spread - the spread radius as a Units object
      color - the shadow Color object
      Returns:
      this for method chaining
    • setBoxShadow

      public final CssRule setBoxShadow(BoxShadow boxShadow)
      Sets the CSS box-shadow property from a BoxShadow builder.
      Parameters:
      boxShadow - the BoxShadow builder containing the shadow definitions.
      Returns:
      This instance for method chaining.
      See Also:
    • setColor

      public final CssRule setColor(String attrValue)
      Sets the color property (foreground text color) using a string value.
      Specified by:
      setColor in interface com.oorian.css.ColorIntf<CssRule>
      Parameters:
      attrValue - the CSS color value (e.g., "red", "#FF0000", "rgb(255,0,0)")
      Returns:
      this for method chaining
    • setColor

      public final CssRule setColor(Color color)
      Sets the color property (foreground text color) using a Color object.
      Specified by:
      setColor in interface com.oorian.css.ColorIntf<CssRule>
      Parameters:
      color - the Color object specifying the foreground color
      Returns:
      this for method chaining
    • setOpacity

      public final CssRule setOpacity(String attrValue)
      Sets the opacity property using a string value.
      Specified by:
      setOpacity in interface com.oorian.css.ColorIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "0", "0.5", "1")
      Returns:
      this for method chaining
    • setOpacity

      public final CssRule setOpacity(int opacity)
      Sets the opacity property using an integer value from 0 to 100.
      Specified by:
      setOpacity in interface com.oorian.css.ColorIntf<CssRule>
      Parameters:
      opacity - the opacity percentage (0 = fully transparent, 100 = fully opaque)
      Returns:
      this for method chaining
    • setCounterIncrement

      public final CssRule setCounterIncrement(String attrValue)
      Sets the counter-increment property to increment CSS counters.
      Specified by:
      setCounterIncrement in interface CountersIntf<CssRule>
      Parameters:
      attrValue - the counter name and optional increment value (e.g., "section", "section 2")
      Returns:
      this for method chaining
    • setCounterReset

      public final CssRule setCounterReset(String keyFrameName)
      Sets the counter-reset property to reset CSS counters to a value.
      Specified by:
      setCounterReset in interface CountersIntf<CssRule>
      Parameters:
      keyFrameName - the counter name and optional reset value (e.g., "section", "section 0")
      Returns:
      this for method chaining
    • setFilter

      public final CssRule setFilter(String attrValue)
      Sets the filter property to apply graphical effects like blur, brightness, or contrast.
      Specified by:
      setFilter in interface com.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

      public final CssRule setFilter(Filter filter)
      Sets the CSS filter property from a Filter builder.
      Parameters:
      filter - the Filter builder containing the functions to apply.
      Returns:
      This instance for method chaining.
      See Also:
    • setBackdropFilter

      public final CssRule setBackdropFilter(String attrValue)
      Sets the backdrop-filter property to apply graphical effects to the area behind an element.
      Specified by:
      setBackdropFilter in interface com.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

      public final CssRule setBackdropFilter(Filter filter)
      Sets the CSS backdrop-filter property from a Filter builder.
      Parameters:
      filter - the Filter builder containing the functions to apply.
      Returns:
      This instance for method chaining.
      See Also:
    • setAlignContent

      public final CssRule setAlignContent(String attrValue)
      Sets the align-content property using a string value.
      Specified by:
      setAlignContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value
      Returns:
      this for method chaining
    • setAlignContent

      public final CssRule setAlignContent(AlignContent attrValue)
      Sets the align-content property using an enum value.
      Specified by:
      setAlignContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the AlignContent enum value specifying how flex lines are distributed
      Returns:
      this for method chaining
    • setAlignItems

      public final CssRule setAlignItems(String attrValue)
      Sets the align-items property using a string value.
      Specified by:
      setAlignItems in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "stretch", "center", "flex-start", "flex-end", "baseline")
      Returns:
      this for method chaining
    • setAlignItems

      public final CssRule setAlignItems(AlignItems attrValue)
      Sets the align-items property using an enum value.
      Specified by:
      setAlignItems in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the AlignItems enum value specifying cross-axis alignment for all flex items
      Returns:
      this for method chaining
    • setAlignSelf

      public final CssRule setAlignSelf(String attrValue)
      Sets the align-self property using a string value.
      Specified by:
      setAlignSelf in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "stretch", "center", "flex-start", "flex-end")
      Returns:
      this for method chaining
    • setAlignSelf

      public final CssRule setAlignSelf(AlignSelf attrValue)
      Sets the align-self property using an enum value.
      Specified by:
      setAlignSelf in interface com.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

      public final CssRule setFlex(String attrValue)
      Sets the flex shorthand property for flex-grow, flex-shrink, and flex-basis.
      Specified by:
      setFlex in interface com.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

      public final CssRule setFlexBasis(String attrValue)
      Sets the flex-basis property specifying the initial main size of a flex item.
      Specified by:
      setFlexBasis in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "100px", "50%", "content")
      Returns:
      this for method chaining
    • setFlexDirection

      public final CssRule setFlexDirection(String attrValue)
      Sets the flex-direction property using a string value.
      Specified by:
      setFlexDirection in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "row", "row-reverse", "column", "column-reverse")
      Returns:
      this for method chaining
    • setFlexDirection

      public final CssRule setFlexDirection(FlexDirection attrValue)
      Sets the flex-direction property using an enum value.
      Specified by:
      setFlexDirection in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the FlexDirection enum value specifying the main axis direction
      Returns:
      this for method chaining
    • setFlexFlow

      public final CssRule setFlexFlow(String attrValue)
      Sets the flex-flow shorthand property for flex-direction and flex-wrap.
      Specified by:
      setFlexFlow in interface com.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

      public final CssRule setFlexGrow(String attrValue)
      Sets the flex-grow property using a string value.
      Specified by:
      setFlexGrow in interface com.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

      public CssRule setFlexGrow(int attrValue)
      Sets the flex-grow property using an integer value.
      Specified by:
      setFlexGrow in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the flex grow factor (0 or positive integer)
      Returns:
      this for method chaining
    • setFlexShrink

      public final CssRule setFlexShrink(String attrValue)
      Sets the flex-shrink property using a string value.
      Specified by:
      setFlexShrink in interface com.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

      public CssRule setFlexShrink(int attrValue)
      Sets the flex-shrink property using an integer value.
      Specified by:
      setFlexShrink in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the flex shrink factor (0 or positive integer)
      Returns:
      this for method chaining
    • setFlexWrap

      public final CssRule setFlexWrap(String attrValue)
      Sets the flex-wrap property using a string value.
      Specified by:
      setFlexWrap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "nowrap", "wrap", "wrap-reverse")
      Returns:
      this for method chaining
    • setFlexWrap

      public final CssRule setFlexWrap(FlexWrap attrValue)
      Sets the flex-wrap property using an enum value.
      Specified by:
      setFlexWrap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the FlexWrap enum value specifying whether flex items wrap
      Returns:
      this for method chaining
    • setJustifyContent

      public final CssRule setJustifyContent(String attrValue)
      Sets the justify-content property using a string value.
      Specified by:
      setJustifyContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "flex-start", "center", "space-between", "space-around")
      Returns:
      this for method chaining
    • setJustifyContent

      public final CssRule setJustifyContent(JustifyContent attrValue)
      Sets the justify-content property using an enum value.
      Specified by:
      setJustifyContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      attrValue - the JustifyContent enum value specifying main-axis alignment
      Returns:
      this for method chaining
    • setOrder

      public final CssRule setOrder(String attrValue)
      Sets the order property using a string value.
      Specified by:
      setOrder in interface com.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

      public final CssRule setOrder(int order)
      Sets the order property using an integer value.
      Specified by:
      setOrder in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      order - the order value (can be negative, zero, or positive)
      Returns:
      this for method chaining
    • setColGap

      public CssRule setColGap(String colgap)
      Sets the column-gap property using a string value.
      Specified by:
      setColGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      colgap - the column gap value (e.g., "10px", "1rem", "normal")
      Returns:
      this for method chaining
    • setColGap

      public CssRule setColGap(int colgap)
      Sets the column-gap property using a pixel value.
      Specified by:
      setColGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      colgap - the column gap in pixels
      Returns:
      this for method chaining
    • setGap

      public CssRule setGap(String gap)
      Sets the gap property using a string value for both row and column gaps.
      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      gap - the gap value (e.g., "10px", "1rem", "10px 20px")
      Returns:
      this for method chaining
    • setGap

      public CssRule setGap(int gap)
      Sets the gap property using a pixel value for both row and column gaps.
      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      gap - the gap in pixels
      Returns:
      this for method chaining
    • setGap

      public CssRule setGap(String rowgap, String colgap)
      Sets the gap property with separate row and column gap string values.
      Specified by:
      setGap in interface com.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

      public CssRule setGap(int rowgap, int colgap)
      Sets the gap property with separate row and column gap pixel values.
      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      rowgap - the row gap in pixels
      colgap - the column gap in pixels
      Returns:
      this for method chaining
    • setRowGap

      public CssRule setRowGap(String rowgap)
      Sets the row-gap property using a string value.
      Specified by:
      setRowGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      rowgap - the row gap value (e.g., "10px", "1rem", "normal")
      Returns:
      this for method chaining
    • setRowGap

      public CssRule setRowGap(int rowgap)
      Sets the row-gap property using a pixel value.
      Specified by:
      setRowGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssRule>
      Parameters:
      rowgap - the row gap in pixels
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String attrValue)
      Sets the font shorthand property from a CSS value string.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font shorthand value
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(Font font)
      Sets the font shorthand property from a Font object.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      font - the Font configuration object
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String family, String size)
      Sets the font with family and size as strings.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family name
      size - the font size with units
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String family, float size)
      Sets the font with family name and size in points.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family name
      size - the font size in points
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(FontFamily family, float size)
      Sets the font with FontFamily enum and size in points.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family enum value
      size - the font size in points
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(FontFamily family, Units size)
      Sets the font with FontFamily enum and Units for size.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family enum value
      size - the font size with units
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String family, Units size)
      Sets the font with family name and Units for size.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family name
      size - the font size with units
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String family, String size, String weight)
      Sets the font with family, size, and weight as strings.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family name
      size - the font size with units
      weight - the font weight value
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(FontFamily family, float size, FontWeight weight)
      Sets the font with FontFamily, size in points, and FontWeight.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family enum value
      size - the font size in points
      weight - the font weight enum value
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String family, float size, FontWeight weight)
      Sets the font with family name, size in points, and FontWeight.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family name
      size - the font size in points
      weight - the font weight enum value
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(FontFamily family, Units size, FontWeight weight)
      Sets the font with FontFamily, Units size, and FontWeight.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family enum value
      size - the font size with units
      weight - the font weight enum value
      Returns:
      this for method chaining
    • setFont

      public final CssRule setFont(String family, Units size, FontWeight weight)
      Sets the font with family name, Units size, and FontWeight.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      family - the font family name
      size - the font size with units
      weight - the font weight enum value
      Returns:
      this for method chaining
    • setFontFamily

      public final CssRule setFontFamily(String attrValue)
      Sets the font-family property from a CSS value string.
      Specified by:
      setFontFamily in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-family value
      Returns:
      this for method chaining
    • setFontFamily

      public final CssRule setFontFamily(FontFamily attrValue)
      Sets the font-family property from a FontFamily enum.
      Specified by:
      setFontFamily in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the font family enum value
      Returns:
      this for method chaining
    • setFontSize

      public final CssRule setFontSize(String attrValue)
      Sets the font-size property from a CSS value string.
      Specified by:
      setFontSize in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-size value
      Returns:
      this for method chaining
    • setFontSize

      public final CssRule setFontSize(float pts)
      Sets the font-size property in points.
      Specified by:
      setFontSize in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      pts - the font size in points
      Returns:
      this for method chaining
    • setFontSize

      public final CssRule setFontSize(Units units)
      Sets the font-size property using Units.
      Specified by:
      setFontSize in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      units - the font size with units
      Returns:
      this for method chaining
    • setFontStretch

      public final CssRule setFontStretch(String attrValue)
      Sets the font-stretch property from a CSS value string.
      Specified by:
      setFontStretch in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-stretch value
      Returns:
      this for method chaining
    • setFontStretch

      public final CssRule setFontStretch(FontStretch attrValue)
      Sets the font-stretch property from a FontStretch enum.
      Specified by:
      setFontStretch in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the font stretch enum value
      Returns:
      this for method chaining
    • setFontStyle

      public final CssRule setFontStyle(String attrValue)
      Sets the font-style property from a CSS value string.
      Specified by:
      setFontStyle in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-style value
      Returns:
      this for method chaining
    • setFontStyle

      public final CssRule setFontStyle(FontStyle attrValue)
      Sets the font-style property from a FontStyle enum.
      Specified by:
      setFontStyle in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the font style enum value
      Returns:
      this for method chaining
    • setFontVariant

      public final CssRule setFontVariant(String attrValue)
      Sets the font-variant property from a CSS value string.
      Specified by:
      setFontVariant in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant value
      Returns:
      this for method chaining
    • setFontVariant

      public final CssRule setFontVariant(FontVariant attrValue)
      Sets the font-variant property from a FontVariant enum.
      Specified by:
      setFontVariant in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the font variant enum value
      Returns:
      this for method chaining
    • setFontWeight

      public final CssRule setFontWeight(String attrValue)
      Sets the font-weight property from a CSS value string.
      Specified by:
      setFontWeight in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-weight value
      Returns:
      this for method chaining
    • setFontWeight

      public final CssRule setFontWeight(FontWeight attrValue)
      Sets the font-weight property from a FontWeight enum.
      Specified by:
      setFontWeight in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the font weight enum value
      Returns:
      this for method chaining
    • setFontFace

      public final CssRule setFontFace(String attrValue)
      Sets the @font-face at-rule for custom font definitions.
      Specified by:
      setFontFace in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the font-face definition
      Returns:
      this for method chaining
    • setFontFeatureSettings

      public final CssRule setFontFeatureSettings(String attrValue)
      Sets the font-feature-settings property for OpenType features.
      Specified by:
      setFontFeatureSettings in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-feature-settings value
      Returns:
      this for method chaining
    • setFontKerning

      public final CssRule setFontKerning(String attrValue)
      Sets the font-kerning property for kerning control.
      Specified by:
      setFontKerning in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-kerning value
      Returns:
      this for method chaining
    • setFontLanguageOverride

      public final CssRule setFontLanguageOverride(String attrValue)
      Sets the font-language-override property for language-specific glyphs.
      Specified by:
      setFontLanguageOverride in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-language-override value
      Returns:
      this for method chaining
    • setFontSizeAdjust

      public final CssRule setFontSizeAdjust(String attrValue)
      Sets the font-size-adjust property for aspect ratio preservation.
      Specified by:
      setFontSizeAdjust in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-size-adjust value
      Returns:
      this for method chaining
    • setFontSynthesis

      public final CssRule setFontSynthesis(String attrValue)
      Sets the font-synthesis property for synthesizing missing styles.
      Specified by:
      setFontSynthesis in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-synthesis value
      Returns:
      this for method chaining
    • setFontVariantAlternates

      public final CssRule setFontVariantAlternates(String attrValue)
      Sets the font-variant-alternates property for alternate glyphs.
      Specified by:
      setFontVariantAlternates in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant-alternates value
      Returns:
      this for method chaining
    • setFontVariantCaps

      public final CssRule setFontVariantCaps(String attrValue)
      Sets the font-variant-caps property for capital letter variants.
      Specified by:
      setFontVariantCaps in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant-caps value
      Returns:
      this for method chaining
    • setFontVariantEastAsian

      public final CssRule setFontVariantEastAsian(String attrValue)
      Sets the font-variant-east-asian property for East Asian glyph variants.
      Specified by:
      setFontVariantEastAsian in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant-east-asian value
      Returns:
      this for method chaining
    • setFontVariantLigatures

      public final CssRule setFontVariantLigatures(String attrValue)
      Sets the font-variant-ligatures property for ligature control.
      Specified by:
      setFontVariantLigatures in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant-ligatures value
      Returns:
      this for method chaining
    • setFontVariantNumeric

      public final CssRule setFontVariantNumeric(String attrValue)
      Sets the font-variant-numeric property for numeric glyph variants.
      Specified by:
      setFontVariantNumeric in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant-numeric value
      Returns:
      this for method chaining
    • setFontVariantPosition

      public final CssRule setFontVariantPosition(String attrValue)
      Sets the font-variant-position property for subscript/superscript positioning.
      Specified by:
      setFontVariantPosition in interface com.oorian.css.FontIntf<CssRule>
      Parameters:
      attrValue - the CSS font-variant-position value
      Returns:
      this for method chaining
    • setMarks

      public final CssRule setMarks(String attrValue)
      Sets the marks property for crop or cross marks on printed pages.
      Specified by:
      setMarks in interface com.oorian.css.GeneratedContentForPagedMediaIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "crop", "cross", "crop cross")
      Returns:
      this for method chaining
    • setQuotes

      public final CssRule setQuotes(String attrValue)
      Sets the quotes property for quotation mark characters.
      Specified by:
      setQuotes in interface com.oorian.css.GeneratedContentForPagedMediaIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "auto", or pairs like "«" "»" "‹" "›")
      Returns:
      this for method chaining
    • setImageOrientation

      public final CssRule setImageOrientation(String attrValue)
      Sets the image-orientation property for image rotation and flipping.
      Specified by:
      setImageOrientation in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "from-image", "90deg", "180deg flip")
      Returns:
      this for method chaining
    • setImageRendering

      public final CssRule setImageRendering(String attrValue)
      Sets the image-rendering property for image scaling algorithm.
      Specified by:
      setImageRendering in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "crisp-edges", "pixelated")
      Returns:
      this for method chaining
    • setImageResolution

      public final CssRule setImageResolution(String attrValue)
      Sets the image-resolution property for image resolution override.
      Specified by:
      setImageResolution in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "1dppx", "300dpi", "from-image")
      Returns:
      this for method chaining
    • setObjectFit

      public final CssRule setObjectFit(String attrValue)
      Sets the object-fit property for replaced content sizing.
      Specified by:
      setObjectFit in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "fill", "contain", "cover", "none", "scale-down")
      Returns:
      this for method chaining
    • setObjectPosition

      public final CssRule setObjectPosition(String attrValue)
      Sets the object-position property for replaced content positioning.
      Specified by:
      setObjectPosition in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "center", "top left", "50% 50%", "100px 200px")
      Returns:
      this for method chaining
    • setListStyle

      public final CssRule setListStyle(String attrValue)
      Sets the list-style shorthand property for list appearance.
      Specified by:
      setListStyle in interface com.oorian.css.ListIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "disc inside", "square outside url(bullet.png)")
      Returns:
      this for method chaining
    • setListStyleImage

      public final CssRule setListStyleImage(String attrValue)
      Sets the list-style-image property for a custom list marker image.
      Specified by:
      setListStyleImage in interface com.oorian.css.ListIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "url(bullet.png)")
      Returns:
      this for method chaining
    • setListStylePosition

      public final CssRule setListStylePosition(String attrValue)
      Sets the list-style-position property using a string value.
      Specified by:
      setListStylePosition in interface com.oorian.css.ListIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "inside", "outside")
      Returns:
      this for method chaining
    • setListStylePosition

      public final CssRule setListStylePosition(ListStylePosition attrValue)
      Sets the list-style-position property using an enum value.
      Specified by:
      setListStylePosition in interface com.oorian.css.ListIntf<CssRule>
      Parameters:
      attrValue - the ListStylePosition enum value for marker position
      Returns:
      this for method chaining
    • setListStyleType

      public final CssRule setListStyleType(String attrValue)
      Sets the list-style-type property using a string value.
      Specified by:
      setListStyleType in interface com.oorian.css.ListIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "disc", "circle", "square", "decimal", "none")
      Returns:
      this for method chaining
    • setListStyleType

      public final CssRule setListStyleType(ListStyleType attrValue)
      Sets the list-style-type property using an enum value.
      Specified by:
      setListStyleType in interface com.oorian.css.ListIntf<CssRule>
      Parameters:
      attrValue - the ListStyleType enum value for marker type
      Returns:
      this for method chaining
    • setMarqueeDirection

      public final CssRule setMarqueeDirection(String attrValue)
      Sets the marquee-direction property for scroll direction.
      Specified by:
      setMarqueeDirection in interface com.oorian.css.MarqueeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "forward", "reverse")
      Returns:
      this for method chaining
    • setMarqueePlayCount

      public final CssRule setMarqueePlayCount(String attrValue)
      Sets the marquee-play-count property for number of scrolling iterations.
      Specified by:
      setMarqueePlayCount in interface com.oorian.css.MarqueeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "infinite", "1", "3")
      Returns:
      this for method chaining
    • setMarqueeSpeed

      public final CssRule setMarqueeSpeed(String attrValue)
      Sets the marquee-speed property for scrolling speed.
      Specified by:
      setMarqueeSpeed in interface com.oorian.css.MarqueeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "slow", "normal", "fast")
      Returns:
      this for method chaining
    • setMarqueeStyle

      public final CssRule setMarqueeStyle(String attrValue)
      Sets the marquee-style property for scrolling behavior style.
      Specified by:
      setMarqueeStyle in interface com.oorian.css.MarqueeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "scroll", "slide", "alternate")
      Returns:
      this for method chaining
    • setMask

      public final CssRule setMask(String attrValue)
      Sets the mask shorthand property for element masking.
      Specified by:
      setMask in interface com.oorian.css.MaskingIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "url(mask.svg)", "linear-gradient(...)")
      Returns:
      this for method chaining
    • setMaskType

      public final CssRule setMaskType(String attrValue)
      Sets the mask-type property for mask element interpretation.
      Specified by:
      setMaskType in interface com.oorian.css.MaskingIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "luminance", "alpha")
      Returns:
      this for method chaining
    • setBreakAfter

      public final CssRule setBreakAfter(String attrValue)
      Sets the break-after property controlling page/column/region breaks after the element.
      Specified by:
      setBreakAfter in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "avoid", "always", "column", "page")
      Returns:
      this for method chaining
    • setBreakBefore

      public final CssRule setBreakBefore(String attrValue)
      Sets the break-before property controlling page/column/region breaks before the element.
      Specified by:
      setBreakBefore in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "avoid", "always", "column", "page")
      Returns:
      this for method chaining
    • setBreakInside

      public final CssRule setBreakInside(String attrValue)
      Sets the break-inside property controlling page/column/region breaks inside the element.
      Specified by:
      setBreakInside in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "avoid", "avoid-page", "avoid-column")
      Returns:
      this for method chaining
    • setColumnCount

      public final CssRule setColumnCount(String attrValue)
      Sets the column-count property using a string value.
      Specified by:
      setColumnCount in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "2", "3")
      Returns:
      this for method chaining
    • setColumnCount

      public final CssRule setColumnCount(int count)
      Sets the column-count property to a specific number of columns.
      Specified by:
      setColumnCount in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      count - the number of columns
      Returns:
      this for method chaining
    • setColumnFill

      public final CssRule setColumnFill(String attrValue)
      Sets the column-fill property using a string value.
      Specified by:
      setColumnFill in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "balance", "balance-all")
      Returns:
      this for method chaining
    • setColumnFill

      public final CssRule setColumnFill(ColumnFill attrValue)
      Sets the column-fill property using an enum value.
      Specified by:
      setColumnFill in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the ColumnFill enum value specifying how content fills columns
      Returns:
      this for method chaining
    • setColumnGap

      public final CssRule setColumnGap(String attrValue)
      Sets the column-gap property specifying the gap between columns.
      Specified by:
      setColumnGap in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "normal", "10px", "2em")
      Returns:
      this for method chaining
    • setColumnRule

      public final CssRule setColumnRule(String attrValue)
      Sets the column-rule shorthand property for rule width, style, and color.
      Specified by:
      setColumnRule in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "1px solid #ccc", "thin dashed blue")
      Returns:
      this for method chaining
    • setColumnRuleColor

      public final CssRule setColumnRuleColor(String attrValue)
      Sets the column-rule-color property using a string value.
      Specified by:
      setColumnRuleColor in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS color value (e.g., "#000", "red", "rgb(0,0,0)")
      Returns:
      this for method chaining
    • setColumnRuleColor

      public final CssRule setColumnRuleColor(Color color)
      Sets the column-rule-color property using a Color object.
      Specified by:
      setColumnRuleColor in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      color - the Color object specifying the rule color
      Returns:
      this for method chaining
    • setColumnRuleStyle

      public final CssRule setColumnRuleStyle(String attrValue)
      Sets the column-rule-style property using a string value.
      Specified by:
      setColumnRuleStyle in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "solid", "dashed", "dotted", "double")
      Returns:
      this for method chaining
    • setColumnRuleStyle

      public final CssRule setColumnRuleStyle(ColumnRuleStyle attrValue)
      Sets the column-rule-style property using an enum value.
      Specified by:
      setColumnRuleStyle in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the ColumnRuleStyle enum value specifying the rule style
      Returns:
      this for method chaining
    • setColumnRuleWidth

      public final CssRule setColumnRuleWidth(String attrValue)
      Sets the column-rule-width property using a string value.
      Specified by:
      setColumnRuleWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "thin", "medium", "thick", "1px")
      Returns:
      this for method chaining
    • setColumnRuleWidth

      public final CssRule setColumnRuleWidth(ColumnRuleWidth attrValue)
      Sets the column-rule-width property using an enum value.
      Specified by:
      setColumnRuleWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the ColumnRuleWidth enum value specifying the rule width
      Returns:
      this for method chaining
    • setColumnSpan

      public final CssRule setColumnSpan(String attrValue)
      Sets the column-span property specifying how many columns an element spans.
      Specified by:
      setColumnSpan in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "all")
      Returns:
      this for method chaining
    • setColumnWidth

      public final CssRule setColumnWidth(String attrValue)
      Sets the column-width property using a string value.
      Specified by:
      setColumnWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "100px", "10em")
      Returns:
      this for method chaining
    • setColumnWidth

      public final CssRule setColumnWidth(int pixels)
      Sets the column-width property using a pixel value.
      Specified by:
      setColumnWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      pixels - the ideal column width in pixels
      Returns:
      this for method chaining
    • setColumnWidth

      public final CssRule setColumnWidth(Units units)
      Sets the column-width property using a Units object.
      Specified by:
      setColumnWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      units - the Units object specifying the column width
      Returns:
      this for method chaining
    • setColumns

      public final CssRule setColumns(String attrValue)
      Sets the columns shorthand property for column-width and column-count.
      Specified by:
      setColumns in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "100px 3", "auto 2", "3 200px")
      Returns:
      this for method chaining
    • setColumns

      public final CssRule setColumns(int count, int width)
      Sets the columns shorthand property with column count and width in pixels.
      Specified by:
      setColumns in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      count - the number of columns
      width - the ideal column width in pixels
      Returns:
      this for method chaining
    • setColumns

      public final CssRule setColumns(int count, Units width)
      Sets the columns shorthand property with column count and width as Units.
      Specified by:
      setColumns in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      count - the number of columns
      width - the Units object specifying the column width
      Returns:
      this for method chaining
    • setWidows

      public final CssRule setWidows(String attrValue)
      Sets the widows property specifying minimum lines at the top of a page/column.
      Specified by:
      setWidows in interface com.oorian.css.MultiColumnLayoutIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "2", "3")
      Returns:
      this for method chaining
    • setOrphans

      public final CssRule setOrphans(String attrValue)
      Sets the orphans property specifying minimum lines at the bottom of a page.
      Specified by:
      setOrphans in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "2", "3") for minimum orphan lines
      Returns:
      this for method chaining
    • setPageBreakAfter

      public final CssRule setPageBreakAfter(String attrValue)
      Sets the page-break-after property using a string value.
      Specified by:
      setPageBreakAfter in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "always", "avoid", "left", "right")
      Returns:
      this for method chaining
    • setPageBreakAfter

      public final CssRule setPageBreakAfter(PageBreakAfter attrValue)
      Sets the page-break-after property using an enum value.
      Specified by:
      setPageBreakAfter in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the PageBreakAfter enum value specifying break behavior after element
      Returns:
      this for method chaining
    • setPageBreakBefore

      public final CssRule setPageBreakBefore(String attrValue)
      Sets the page-break-before property using a string value.
      Specified by:
      setPageBreakBefore in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "always", "avoid", "left", "right")
      Returns:
      this for method chaining
    • setPageBreakBefore

      public final CssRule setPageBreakBefore(PageBreakBefore attrValue)
      Sets the page-break-before property using an enum value.
      Specified by:
      setPageBreakBefore in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the PageBreakBefore enum value specifying break behavior before element
      Returns:
      this for method chaining
    • setPageBreakInside

      public final CssRule setPageBreakInside(String attrValue)
      Sets the page-break-inside property using a string value.
      Specified by:
      setPageBreakInside in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "avoid")
      Returns:
      this for method chaining
    • setPageBreakInside

      public final CssRule setPageBreakInside(PageBreakInside attrValue)
      Sets the page-break-inside property using an enum value.
      Specified by:
      setPageBreakInside in interface PagedMediaIntf<CssRule>
      Parameters:
      attrValue - the PageBreakInside enum value specifying break behavior inside element
      Returns:
      this for method chaining
    • setMark

      public final CssRule setMark(String attrValue)
      Sets the mark shorthand property for speech bookmark markers.
      Specified by:
      setMark in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the CSS value for mark-before and mark-after combined
      Returns:
      this for method chaining
    • setMarkAfter

      public final CssRule setMarkAfter(String attrValue)
      Sets the mark-after property for a speech bookmark after the element.
      Specified by:
      setMarkAfter in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", or a named bookmark)
      Returns:
      this for method chaining
    • setMarkBefore

      public final CssRule setMarkBefore(String attrValue)
      Sets the mark-before property for a speech bookmark before the element.
      Specified by:
      setMarkBefore in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", or a named bookmark)
      Returns:
      this for method chaining
    • setPhonemes

      public final CssRule setPhonemes(String attrValue)
      Sets the phonemes property for phonetic pronunciation.
      Specified by:
      setPhonemes in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the phonetic pronunciation string
      Returns:
      this for method chaining
    • setRest

      public final CssRule setRest(String attrValue)
      Sets the rest shorthand property for pauses before and after speech.
      Specified by:
      setRest in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "x-weak", "weak", "medium", "strong")
      Returns:
      this for method chaining
    • setRestAfter

      public final CssRule setRestAfter(String attrValue)
      Sets the rest-after property for pause after speech synthesis.
      Specified by:
      setRestAfter in interface com.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

      public final CssRule setRestBefore(String attrValue)
      Sets the rest-before property for pause before speech synthesis.
      Specified by:
      setRestBefore in interface com.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

      public final CssRule setVoiceBalance(String attrValue)
      Sets the voice-balance property for stereo audio positioning.
      Specified by:
      setVoiceBalance in interface com.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

      public final CssRule setVoiceDuration(String attrValue)
      Sets the voice-duration property specifying how long it takes to read the content.
      Specified by:
      setVoiceDuration in interface com.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

      public final CssRule setVoicePitch(String attrValue)
      Sets the voice-pitch property for speech synthesis pitch.
      Specified by:
      setVoicePitch in interface com.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

      public final CssRule setVoicePitchRange(String attrValue)
      Sets the voice-pitch-range property for pitch variation during speech.
      Specified by:
      setVoicePitchRange in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "x-low", "low", "medium", "high", "x-high")
      Returns:
      this for method chaining
    • setVoiceRate

      public final CssRule setVoiceRate(String attrValue)
      Sets the voice-rate property for speech synthesis speed.
      Specified by:
      setVoiceRate in interface com.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

      public final CssRule setVoiceStress(String attrValue)
      Sets the voice-stress property for emphasis during speech synthesis.
      Specified by:
      setVoiceStress in interface com.oorian.css.SpeechIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "reduced", "moderate", "strong")
      Returns:
      this for method chaining
    • setVoiceVolume

      public final CssRule setVoiceVolume(String attrValue)
      Sets the voice-volume property for speech synthesis volume.
      Specified by:
      setVoiceVolume in interface com.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

      public final CssRule setBorderCollapse(String attrValue)
      Sets the border-collapse property using a string value.
      Specified by:
      setBorderCollapse in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "separate", "collapse")
      Returns:
      this for method chaining
    • setBorderCollapse

      public final CssRule setBorderCollapse(BorderCollapse attrValue)
      Sets the border-collapse property using an enum value.
      Specified by:
      setBorderCollapse in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the BorderCollapse enum value specifying whether borders are collapsed
      Returns:
      this for method chaining
    • setBorderSpacing

      public final CssRule setBorderSpacing(String attrValue)
      Sets the border-spacing property using a string value.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "2px", "5px 10px")
      Returns:
      this for method chaining
    • setBorderSpacing

      public final CssRule setBorderSpacing(String hspacing, String vspacing)
      Sets the border-spacing property with separate horizontal and vertical string values.
      Specified by:
      setBorderSpacing in interface com.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

      public final CssRule setBorderSpacing(int pixels)
      Sets the border-spacing property using a pixel value for both dimensions.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      pixels - the spacing in pixels for both horizontal and vertical
      Returns:
      this for method chaining
    • setBorderSpacing

      public final CssRule setBorderSpacing(int hspacing, int vspacing)
      Sets the border-spacing property with separate horizontal and vertical pixel values.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      hspacing - the horizontal spacing in pixels
      vspacing - the vertical spacing in pixels
      Returns:
      this for method chaining
    • setBorderSpacing

      public final CssRule setBorderSpacing(Units units)
      Sets the border-spacing property using a Units object for both dimensions.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      units - the Units object specifying the spacing
      Returns:
      this for method chaining
    • setBorderSpacing

      public final CssRule setBorderSpacing(Units hspacing, Units vspacing)
      Sets the border-spacing property with separate horizontal and vertical Units.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      hspacing - the Units object for horizontal spacing
      vspacing - the Units object for vertical spacing
      Returns:
      this for method chaining
    • setCaptionSide

      public final CssRule setCaptionSide(String attrValue)
      Sets the caption-side property using a string value.
      Specified by:
      setCaptionSide in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "top", "bottom")
      Returns:
      this for method chaining
    • setCaptionSide

      public final CssRule setCaptionSide(CaptionSide attrValue)
      Sets the caption-side property using an enum value.
      Specified by:
      setCaptionSide in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the CaptionSide enum value specifying caption placement
      Returns:
      this for method chaining
    • setEmptyCells

      public final CssRule setEmptyCells(String attrValue)
      Sets the empty-cells property using a string value.
      Specified by:
      setEmptyCells in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "show", "hide")
      Returns:
      this for method chaining
    • setEmptyCells

      public final CssRule setEmptyCells(EmptyCells attrValue)
      Sets the empty-cells property using an enum value.
      Specified by:
      setEmptyCells in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the EmptyCells enum value specifying how empty cells are rendered
      Returns:
      this for method chaining
    • setTableLayout

      public final CssRule setTableLayout(String attrValue)
      Sets the table-layout property using a string value.
      Specified by:
      setTableLayout in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "fixed")
      Returns:
      this for method chaining
    • setTableLayout

      public final CssRule setTableLayout(TableLayout attrValue)
      Sets the table-layout property using an enum value.
      Specified by:
      setTableLayout in interface com.oorian.css.TableIntf<CssRule>
      Parameters:
      attrValue - the TableLayout enum value specifying the layout algorithm
      Returns:
      this for method chaining
    • setTextDecoration

      public final CssRule setTextDecoration(String attrValue)
      Sets the text-decoration shorthand property using a string value.
      Specified by:
      setTextDecoration in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "underline", "line-through", "underline wavy red")
      Returns:
      this for method chaining
    • setTextDecoration

      public final CssRule setTextDecoration(TextDecoration attrValue)
      Sets the text-decoration shorthand property using an enum value.
      Specified by:
      setTextDecoration in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the TextDecoration enum value specifying the decoration type
      Returns:
      this for method chaining
    • setTextDecorationColor

      public final CssRule setTextDecorationColor(String attrValue)
      Sets the text-decoration-color property using a string value.
      Specified by:
      setTextDecorationColor in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the CSS color value (e.g., "#000", "red", "rgb(255,0,0)")
      Returns:
      this for method chaining
    • setTextDecorationColor

      public final CssRule setTextDecorationColor(Color color)
      Sets the text-decoration-color property using a Color object.
      Specified by:
      setTextDecorationColor in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      color - the Color object specifying the decoration color
      Returns:
      this for method chaining
    • setTextDecorationLine

      public final CssRule setTextDecorationLine(String attrValue)
      Sets the text-decoration-line property using a string value.
      Specified by:
      setTextDecorationLine in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "underline", "overline", "line-through")
      Returns:
      this for method chaining
    • setTextDecorationLine

      public final CssRule setTextDecorationLine(TextDecorationLine attrValue)
      Sets the text-decoration-line property using an enum value.
      Specified by:
      setTextDecorationLine in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the TextDecorationLine enum value specifying the line type
      Returns:
      this for method chaining
    • setTextDecorationStyle

      public final CssRule setTextDecorationStyle(String attrValue)
      Sets the text-decoration-style property using a string value.
      Specified by:
      setTextDecorationStyle in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "solid", "double", "dotted", "dashed", "wavy")
      Returns:
      this for method chaining
    • setTextDecorationStyle

      public final CssRule setTextDecorationStyle(TextDecorationStyle attrValue)
      Sets the text-decoration-style property using an enum value.
      Specified by:
      setTextDecorationStyle in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the TextDecorationStyle enum value specifying the line style
      Returns:
      this for method chaining
    • setTextShadow

      public final CssRule setTextShadow(String attrValue)
      Sets the text-shadow property using a string value.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "2px 2px 4px #000", "none")
      Returns:
      this for method chaining
    • setTextShadow

      public final CssRule setTextShadow(int hShadow, int vShadow)
      Sets the text-shadow property with horizontal and vertical offset in pixels.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      hShadow - the horizontal shadow offset in pixels
      vShadow - the vertical shadow offset in pixels
      Returns:
      this for method chaining
    • setTextShadow

      public final CssRule setTextShadow(int hShadow, int vShadow, int blurRadius)
      Sets the text-shadow property with offset and blur radius in pixels.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      hShadow - the horizontal shadow offset in pixels
      vShadow - the vertical shadow offset in pixels
      blurRadius - the blur radius in pixels
      Returns:
      this for method chaining
    • setTextShadow

      public final CssRule setTextShadow(int hShadow, int vShadow, int blurRadius, Color color)
      Sets the text-shadow property with offset, blur radius, and color.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      hShadow - the horizontal shadow offset in pixels
      vShadow - the vertical shadow offset in pixels
      blurRadius - the blur radius in pixels
      color - the shadow color
      Returns:
      this for method chaining
    • setTextShadow

      public final CssRule setTextShadow(BoxShadow boxShadow)
      Sets the CSS text-shadow property from a BoxShadow builder.
      Parameters:
      boxShadow - the BoxShadow builder containing the shadow definitions.
      Returns:
      This instance for method chaining.
      See Also:
    • setTextUnderlinePosition

      public final CssRule setTextUnderlinePosition(String attrValue)
      Sets the text-underline-position property for underline placement.
      Specified by:
      setTextUnderlinePosition in interface com.oorian.css.TextDecorationIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "auto", "under", "left", "right")
      Returns:
      this for method chaining
    • setHangingPunctuation

      public final CssRule setHangingPunctuation(String attrValue)
      Sets the hanging-punctuation property from a CSS value string.
      Specified by:
      setHangingPunctuation in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS hanging-punctuation value
      Returns:
      this for method chaining
    • setHangingPunctuation

      public final CssRule setHangingPunctuation(HangingPunctuation attrValue)
      Sets the hanging-punctuation property from an enum.
      Specified by:
      setHangingPunctuation in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the hanging punctuation enum value
      Returns:
      this for method chaining
    • setHyphens

      public final CssRule setHyphens(String attrValue)
      Sets the hyphens property for automatic hyphenation.
      Specified by:
      setHyphens in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS hyphens value
      Returns:
      this for method chaining
    • setLetterSpacing

      public final CssRule setLetterSpacing(String attrValue)
      Sets the letter-spacing property from a CSS value string.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS letter-spacing value
      Returns:
      this for method chaining
    • setLetterSpacing

      public final CssRule setLetterSpacing(int pixels)
      Sets the letter-spacing property in pixels.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pixels - the letter spacing in pixels
      Returns:
      this for method chaining
    • setLetterSpacing

      public final CssRule setLetterSpacing(float pts)
      Sets the letter-spacing property in points.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pts - the letter spacing in points
      Returns:
      this for method chaining
    • setLetterSpacing

      public final CssRule setLetterSpacing(Units units)
      Sets the letter-spacing property using Units.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      units - the letter spacing with units
      Returns:
      this for method chaining
    • setLineBreak

      public final CssRule setLineBreak(String attrValue)
      Sets the line-break property for line breaking rules.
      Specified by:
      setLineBreak in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS line-break value
      Returns:
      this for method chaining
    • setLineHeight

      public final CssRule setLineHeight(String attrValue)
      Sets the line-height property from a CSS value string.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS line-height value
      Returns:
      this for method chaining
    • setLineHeight

      public final CssRule setLineHeight(int pixels)
      Sets the line-height property in pixels.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pixels - the line height in pixels
      Returns:
      this for method chaining
    • setLineHeight

      public final CssRule setLineHeight(float pts)
      Sets the line-height property in points.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pts - the line height in points
      Returns:
      this for method chaining
    • setLineHeight

      public final CssRule setLineHeight(Units units)
      Sets the line-height property using Units.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      units - the line height with units
      Returns:
      this for method chaining
    • setOverflowWrap

      public final CssRule setOverflowWrap(String attrValue)
      Sets the overflow-wrap property for line breaking on overflow.
      Specified by:
      setOverflowWrap in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS overflow-wrap value
      Returns:
      this for method chaining
    • setTabSize

      public final CssRule setTabSize(String attrValue)
      Sets the tab-size property from a CSS value string.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS tab-size value
      Returns:
      this for method chaining
    • setTabSize

      public final CssRule setTabSize(int pixels)
      Sets the tab-size property in pixels.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pixels - the tab size in pixels
      Returns:
      this for method chaining
    • setTabSize

      public final CssRule setTabSize(float pts)
      Sets the tab-size property in points.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pts - the tab size in points
      Returns:
      this for method chaining
    • setTabSize

      public final CssRule setTabSize(Units units)
      Sets the tab-size property using Units.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      units - the tab size with units
      Returns:
      this for method chaining
    • setTextAlign

      public final CssRule setTextAlign(String attrValue)
      Sets the text-align property from a CSS value string.
      Specified by:
      setTextAlign in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS text-align value
      Returns:
      this for method chaining
    • setTextAlign

      public final CssRule setTextAlign(TextAlign attrValue)
      Sets the text-align property from a TextAlign enum.
      Specified by:
      setTextAlign in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the text align enum value
      Returns:
      this for method chaining
    • setTextAlignLast

      public final CssRule setTextAlignLast(String attrValue)
      Sets the text-align-last property from a CSS value string.
      Specified by:
      setTextAlignLast in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS text-align-last value
      Returns:
      this for method chaining
    • setTextAlignLast

      public final CssRule setTextAlignLast(TextAlignLast attrValue)
      Sets the text-align-last property from an enum.
      Specified by:
      setTextAlignLast in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the text align last enum value
      Returns:
      this for method chaining
    • setTextCombineUpright

      public final CssRule setTextCombineUpright(String attrValue)
      Sets the text-combine-upright property for vertical text.
      Specified by:
      setTextCombineUpright in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS text-combine-upright value
      Returns:
      this for method chaining
    • setTextIndent

      public final CssRule setTextIndent(String attrValue)
      Sets the text-indent property from a CSS value string.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS text-indent value
      Returns:
      this for method chaining
    • setTextIndent

      public final CssRule setTextIndent(int pixels)
      Sets the text-indent property in pixels.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pixels - the text indent in pixels
      Returns:
      this for method chaining
    • setTextIndent

      public final CssRule setTextIndent(float pts)
      Sets the text-indent property in points.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pts - the text indent in points
      Returns:
      this for method chaining
    • setTextIndent

      public final CssRule setTextIndent(Units units)
      Sets the text-indent property using Units.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      units - the text indent with units
      Returns:
      this for method chaining
    • setTextJustify

      public final CssRule setTextJustify(String attrValue)
      Sets the text-justify property from a CSS value string.
      Specified by:
      setTextJustify in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS text-justify value
      Returns:
      this for method chaining
    • setTextJustify

      public final CssRule setTextJustify(TextJustify attrValue)
      Sets the text-justify property from an enum.
      Specified by:
      setTextJustify in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the text justify enum value
      Returns:
      this for method chaining
    • setTextTransform

      public final CssRule setTextTransform(String attrValue)
      Sets the text-transform property from a CSS value string.
      Specified by:
      setTextTransform in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS text-transform value
      Returns:
      this for method chaining
    • setTextTransform

      public final CssRule setTextTransform(TextTransform attrValue)
      Sets the text-transform property from a TextTransform enum.
      Specified by:
      setTextTransform in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the text transform enum value
      Returns:
      this for method chaining
    • setWhiteSpace

      public final CssRule setWhiteSpace(String attrValue)
      Sets the white-space property from a CSS value string.
      Specified by:
      setWhiteSpace in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS white-space value
      Returns:
      this for method chaining
    • setWhiteSpace

      public final CssRule setWhiteSpace(WhiteSpace attrValue)
      Sets the white-space property from a WhiteSpace enum.
      Specified by:
      setWhiteSpace in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the white space enum value
      Returns:
      this for method chaining
    • setWordBreak

      public final CssRule setWordBreak(String attrValue)
      Sets the word-break property from a CSS value string.
      Specified by:
      setWordBreak in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS word-break value
      Returns:
      this for method chaining
    • setWordBreak

      public final CssRule setWordBreak(WordBreak attrValue)
      Sets the word-break property from a WordBreak enum.
      Specified by:
      setWordBreak in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the word break enum value
      Returns:
      this for method chaining
    • setWordSpacing

      public final CssRule setWordSpacing(String attrValue)
      Sets the word-spacing property from a CSS value string.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS word-spacing value
      Returns:
      this for method chaining
    • setWordSpacing

      public final CssRule setWordSpacing(int pixels)
      Sets the word-spacing property in pixels.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pixels - the word spacing in pixels
      Returns:
      this for method chaining
    • setWordSpacing

      public final CssRule setWordSpacing(float pts)
      Sets the word-spacing property in points.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      pts - the word spacing in points
      Returns:
      this for method chaining
    • setWordSpacing

      public final CssRule setWordSpacing(Units units)
      Sets the word-spacing property using Units.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      units - the word spacing with units
      Returns:
      this for method chaining
    • setWordWrap

      public final CssRule setWordWrap(String attrValue)
      Sets the word-wrap property from a CSS value string.
      Specified by:
      setWordWrap in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the CSS word-wrap value
      Returns:
      this for method chaining
    • setWordWrap

      public final CssRule setWordWrap(WordWrap attrValue)
      Sets the word-wrap property from a WordWrap enum.
      Specified by:
      setWordWrap in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      attrValue - the word wrap enum value
      Returns:
      this for method chaining
    • setTextSelectDisabled

      public final CssRule setTextSelectDisabled(boolean flag)
      Disables or enables text selection on the element.
      Specified by:
      setTextSelectDisabled in interface com.oorian.css.TextIntf<CssRule>
      Parameters:
      flag - true to disable text selection, false to enable
      Returns:
      this for method chaining
    • setBackfaceVisibility

      public final CssRule setBackfaceVisibility(String attrValue)
      Sets the backface-visibility property from a CSS value string.
      Specified by:
      setBackfaceVisibility in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the CSS backface-visibility value
      Returns:
      this for method chaining
    • setBackfaceVisibility

      public final CssRule setBackfaceVisibility(BackfaceVisibility attrValue)
      Sets the backface-visibility property from an enum.
      Specified by:
      setBackfaceVisibility in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the backface visibility enum value
      Returns:
      this for method chaining
    • setPerspective

      public final CssRule setPerspective(String attrValue)
      Sets the perspective property from a CSS value string.
      Specified by:
      setPerspective in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the CSS perspective value
      Returns:
      this for method chaining
    • setPerspective

      public final CssRule setPerspective(int pixels)
      Sets the perspective property in pixels.
      Specified by:
      setPerspective in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      pixels - the perspective depth in pixels
      Returns:
      this for method chaining
    • setPerspective

      public final CssRule setPerspective(Units units)
      Sets the perspective property using Units.
      Specified by:
      setPerspective in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      units - the perspective depth with units
      Returns:
      this for method chaining
    • setPerspectiveOrigin

      public final CssRule setPerspectiveOrigin(String attrValue)
      Sets the perspective-origin property from a CSS value string.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the CSS perspective-origin value
      Returns:
      this for method chaining
    • setPerspectiveOrigin

      public final CssRule setPerspectiveOrigin(String xAxis, String yAxis)
      Sets the perspective-origin property with x and y values.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis position
      yAxis - the y-axis position
      Returns:
      this for method chaining
    • setPerspectiveOrigin

      public final CssRule setPerspectiveOrigin(Units xAxis, Units yAxis)
      Sets the perspective-origin property using Units.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis position with units
      yAxis - the y-axis position with units
      Returns:
      this for method chaining
    • setPerspectiveOrigin

      public final CssRule setPerspectiveOrigin(Origin xAxis, Origin yAxis)
      Sets the perspective-origin property using Origin enums.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis origin position
      yAxis - the y-axis origin position
      Returns:
      this for method chaining
    • setTransform

      public final CssRule setTransform(String attrValue)
      Sets the transform property from a CSS value string.
      Specified by:
      setTransform in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the CSS transform value (e.g., "rotate(45deg)")
      Returns:
      this for method chaining
    • setTransformOrigin

      public final CssRule setTransformOrigin(String attrValue)
      Sets the transform-origin property from a CSS value string.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the CSS transform-origin value
      Returns:
      this for method chaining
    • setTransformOrigin

      public final CssRule setTransformOrigin(String xAxis, String yAxis, String zAxis)
      Sets the transform-origin property with x, y, and z values.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis position
      yAxis - the y-axis position
      zAxis - the z-axis position
      Returns:
      this for method chaining
    • setTransformOrigin

      public final CssRule setTransformOrigin(int xAxis, int yAxis, int zAxis)
      Sets the transform-origin property in pixels.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis position in pixels
      yAxis - the y-axis position in pixels
      zAxis - the z-axis position in pixels
      Returns:
      this for method chaining
    • setTransformOrigin

      public final CssRule setTransformOrigin(Units xAxis, Units yAxis, Units zAxis)
      Sets the transform-origin property using Units.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis position with units
      yAxis - the y-axis position with units
      zAxis - the z-axis position with units
      Returns:
      this for method chaining
    • setTransformOrigin

      public final CssRule setTransformOrigin(Origin xAxis, Origin yAxis, Units zAxis)
      Sets the transform-origin property using Origin enums and Units.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      xAxis - the x-axis origin position
      yAxis - the y-axis origin position
      zAxis - the z-axis position with units
      Returns:
      this for method chaining
    • setTransformStyle

      public final CssRule setTransformStyle(String attrValue)
      Sets the transform-style property from a CSS value string.
      Specified by:
      setTransformStyle in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the CSS transform-style value
      Returns:
      this for method chaining
    • setTransformStyle

      public final CssRule setTransformStyle(TransformStyle attrValue)
      Sets the transform-style property from an enum.
      Specified by:
      setTransformStyle in interface com.oorian.css.TransformIntf<CssRule>
      Parameters:
      attrValue - the transform style enum value
      Returns:
      this for method chaining
    • setTransition

      public final CssRule setTransition(String attrValue)
      Sets the transition shorthand property.
      Specified by:
      setTransition in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      attrValue - the CSS transition value
      Returns:
      this for method chaining
    • setTransitionProperty

      public final CssRule setTransitionProperty(String attrValue)
      Sets which CSS properties should be transitioned.
      Specified by:
      setTransitionProperty in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      attrValue - the CSS property names (comma-separated)
      Returns:
      this for method chaining
    • setTransitionDuration

      public final CssRule setTransitionDuration(String attrValue)
      Sets the transition duration from a CSS value string.
      Specified by:
      setTransitionDuration in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      attrValue - the CSS duration value
      Returns:
      this for method chaining
    • setTransitionDuration

      public final CssRule setTransitionDuration(float secs)
      Sets the transition duration in seconds.
      Specified by:
      setTransitionDuration in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      secs - the duration in seconds
      Returns:
      this for method chaining
    • setTransitionDuration

      public final CssRule setTransitionDuration(long msecs)
      Sets the transition duration in milliseconds.
      Specified by:
      setTransitionDuration in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      msecs - the duration in milliseconds
      Returns:
      this for method chaining
    • setTransitionTimingFunction

      public final CssRule setTransitionTimingFunction(String attrValue)
      Sets the transition timing function from a CSS value string.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      attrValue - the CSS timing function value
      Returns:
      this for method chaining
    • setTransitionTimingFunction

      public final CssRule setTransitionTimingFunction(TransitionTimingFunction attrValue)
      Sets the transition timing function from an enum.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      attrValue - the timing function enum value
      Returns:
      this for method chaining
    • setTransitionTimingFunction

      public final CssRule setTransitionTimingFunction(int intervals, boolean start)
      Sets a steps timing function.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      intervals - the number of step intervals
      start - true for step-start, false for step-end
      Returns:
      this for method chaining
    • setTransitionTimingFunction

      public final CssRule setTransitionTimingFunction(float n1, float n2, float n3, float n4)
      Sets a cubic-bezier timing function.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      n1 - the first bezier control point x value
      n2 - the first bezier control point y value
      n3 - the second bezier control point x value
      n4 - the second bezier control point y value
      Returns:
      this for method chaining
    • setTransitionDelay

      public final CssRule setTransitionDelay(String attrValue)
      Sets the transition delay from a CSS value string.
      Specified by:
      setTransitionDelay in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      attrValue - the CSS delay value
      Returns:
      this for method chaining
    • setTransitionDelay

      public final CssRule setTransitionDelay(int secs)
      Sets the transition delay in seconds.
      Specified by:
      setTransitionDelay in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      secs - the delay in seconds
      Returns:
      this for method chaining
    • setTransitionDelay

      public final CssRule setTransitionDelay(long msecs)
      Sets the transition delay in milliseconds.
      Specified by:
      setTransitionDelay in interface com.oorian.css.TransitionIntf<CssRule>
      Parameters:
      msecs - the delay in milliseconds
      Returns:
      this for method chaining
    • setDirection

      public final CssRule setDirection(String attrValue)
      Sets the direction property using a string value for text direction.
      Specified by:
      setDirection in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "ltr", "rtl")
      Returns:
      this for method chaining
    • setDirection

      public final CssRule setDirection(TextDirection attrValue)
      Sets the direction property using an enum value for text direction.
      Specified by:
      setDirection in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the TextDirection enum value (LTR or RTL)
      Returns:
      this for method chaining
    • setTextOrientation

      public final CssRule setTextOrientation(String attrValue)
      Sets the text-orientation property for vertical text orientation.
      Specified by:
      setTextOrientation in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "mixed", "upright", "sideways")
      Returns:
      this for method chaining
    • setTextCombineWeight

      public final CssRule setTextCombineWeight(String attrValue)
      Sets the text-combine-upright property for combining characters in vertical text.
      Specified by:
      setTextCombineWeight in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "none", "all", "digits")
      Returns:
      this for method chaining
    • setUnicodeBidi

      public final CssRule setUnicodeBidi(String attrValue)
      Sets the unicode-bidi property using a string value.
      Specified by:
      setUnicodeBidi in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "normal", "embed", "bidi-override", "isolate")
      Returns:
      this for method chaining
    • setUnicodeBidi

      public final CssRule setUnicodeBidi(UnicodeBidi attrValue)
      Sets the unicode-bidi property using an enum value.
      Specified by:
      setUnicodeBidi in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the UnicodeBidi enum value for bidirectional text handling
      Returns:
      this for method chaining
    • setWritingMode

      public final CssRule setWritingMode(String attrValue)
      Sets the writing-mode property for text flow direction.
      Specified by:
      setWritingMode in interface com.oorian.css.WritingModeIntf<CssRule>
      Parameters:
      attrValue - the CSS value (e.g., "horizontal-tb", "vertical-rl", "vertical-lr")
      Returns:
      this for method chaining
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setParentSelector

      protected final void setParentSelector(String parentSelector)
      Sets the parent selector for nested rule resolution.
      Parameters:
      parentSelector - the parent selector string
    • getSelectors

      protected final List<String> getSelectors()
      Returns the list of selectors for this rule.
      Returns:
      the selectors list
    • getFullSelectors

      protected final List<String> getFullSelectors()
      Returns the list of fully qualified selectors, including any parent selector and combinator prefix.
      Returns:
      the full selectors list
    • getStyle

      protected final CssStyle getStyle()
      Returns the underlying CssStyle object for this rule.
      Returns:
      the CssStyle instance