Class CssStyle

java.lang.Object
com.oorian.css.CssStyle
All Implemented Interfaces:
AnimationIntf<CssStyle>, BackgroundIntf<CssStyle>, com.oorian.css.BasicBoxIntf<CssStyle>, com.oorian.css.BasicUserInterfaceIntf<CssStyle>, BorderIntf<CssStyle>, com.oorian.css.ColorIntf<CssStyle>, CountersIntf<CssStyle>, com.oorian.css.CssStyleIntf<CssStyle>, com.oorian.css.FilterEffectsIntf<CssStyle>, com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>, com.oorian.css.FontIntf<CssStyle>, com.oorian.css.GeneratedContentForPagedMediaIntf<CssStyle>, com.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>, com.oorian.css.ListIntf<CssStyle>, com.oorian.css.MarqueeIntf<CssStyle>, com.oorian.css.MaskingIntf<CssStyle>, com.oorian.css.MultiColumnLayoutIntf<CssStyle>, PagedMediaIntf<CssStyle>, com.oorian.css.SpeechIntf<CssStyle>, com.oorian.css.TableIntf<CssStyle>, com.oorian.css.TextDecorationIntf<CssStyle>, com.oorian.css.TextIntf<CssStyle>, com.oorian.css.TransformIntf<CssStyle>, com.oorian.css.TransitionIntf<CssStyle>, com.oorian.css.WritingModeIntf<CssStyle>

public class CssStyle extends Object implements com.oorian.css.CssStyleIntf<CssStyle>
Main CSS style container that implements all CSS property setter interfaces.

This class serves as the primary implementation for setting CSS properties on elements. It aggregates all CSS property interfaces and provides a unified API for styling. Style properties are stored as name-value pairs and can be exported as CSS text or applied to HTML elements.

Features:

  • Implements all CSS property interfaces (box model, flexbox, borders, colors, etc.)
  • Supports both border-box and content-box sizing models
  • Converts to/from CSS text format
  • Merges and copies styles between instances
  • Provides attribute-level access to individual properties

Usage:


 CssStyle style = new CssStyle();
 style.setWidth(new Px(300));
 style.setHeight(new Px(200));
 style.setBackgroundColor(Color.BLUE);
 style.setBorder(new Px(1), BorderStyle.SOLID, Color.BLACK);
 String css = style.getCssText();  // "width:300px;height:200px;..."
 
Since:
2016
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • CssStyleIntf
  • BasicBoxIntf
  • BorderIntf
  • FlexibleBoxLayoutIntf
  • Constructor Details

    • CssStyle

      public CssStyle()
      Constructs an empty CssStyle with no properties set.
    • CssStyle

      public CssStyle(CssStyle style)
      Constructs a CssStyle by copying properties from another CssStyle.
      Parameters:
      style - the style to copy from
    • CssStyle

      public CssStyle(String cssText)
      Constructs a CssStyle by parsing a CSS text string.

      The CSS text should be in the format "property:value;property:value;..."

      Parameters:
      cssText - The CSS text to parse into style properties.
  • Method Details

    • setStyle

      public final void setStyle(CssStyle style)
      Copies all CSS properties from another CssStyle into this style.

      Existing properties with the same name will be overwritten.

      Parameters:
      style - The source style to copy properties from. If null, no changes are made.
    • setCssText

      public final boolean setCssText(String cssText)
      Parses a CSS text string and adds the properties to this style.

      The CSS text should be in the format "property:value;property:value;..."

      Parameters:
      cssText - The CSS text to parse.
      Returns:
      true if any properties were modified, false otherwise.
    • addAttribute

      public final boolean addAttribute(String name, String value, boolean important)
      Adds a CSS property with optional !important flag.
      Parameters:
      name - The CSS property name (e.g., "width", "background-color").
      value - The CSS property value.
      important - If true, appends "!important" to the value.
      Returns:
      true if the property was modified, false otherwise.
    • addAttribute

      public final boolean addAttribute(String name, String value)
      Adds or updates a CSS property.

      If the value is null or empty, the property is removed instead.

      Parameters:
      name - The CSS property name (e.g., "width", "background-color").
      value - The CSS property value.
      Returns:
      true if the property was modified, false if unchanged.
    • addAttributes

      public final boolean addAttributes(Map<String,String> attrs)
      Adds multiple CSS properties from a map.
      Parameters:
      attrs - A map of property names to values.
      Returns:
      true if any properties were modified, false otherwise.
    • removeAttribute

      public final boolean removeAttribute(String name)
      Removes a CSS property and its vendor-prefixed variants.

      This method also removes any -moz-, -webkit-, and -o- prefixed versions of the property.

      Parameters:
      name - The CSS property name to remove.
      Returns:
      true if any properties were removed, false otherwise.
    • merge

      public final boolean merge(CssStyle style)
      Merges properties from another CssStyle into this style.

      Properties from the source style are added to this style. Existing properties with the same name will be overwritten.

      Parameters:
      style - The source style to merge from.
      Returns:
      true if any properties were modified, false otherwise.
    • isEmpty

      public final boolean isEmpty()
      Checks if this style has no properties defined.
      Returns:
      true if no CSS properties are set, false otherwise.
    • getAttributes

      public final AttributeMap getAttributes()
      Returns a copy of all CSS properties as an AttributeMap.
      Returns:
      A new AttributeMap containing all property name-value pairs.
    • getAttribute

      public final String getAttribute(String name)
      Gets the value of a specific CSS property.
      Parameters:
      name - The CSS property name.
      Returns:
      The property value, or null if not set.
    • wasModified

      public final boolean wasModified()
      Checks if any CSS properties have been modified since the last call to this method.

      This method returns the current modification state and resets the flag, allowing callers to detect changes without triggering unnecessary updates.

      Returns:
      true if any properties were modified since the last check, false otherwise.
    • getAttributesString

      public final String getAttributesString()
      Returns all CSS properties as a semicolon-separated string.
      Returns:
      The CSS text representation of all properties.
    • getAttributesString

      public final String getAttributesString(boolean pretty)
      Returns all CSS properties as a formatted string.
      Parameters:
      pretty - true for formatted output with line breaks, false for compact.
      Returns:
      The CSS properties as a semicolon-delimited string.
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • setKeyFrames

      public CssStyle setKeyFrames(String attrValue)
      Sets the CSS @keyframes animation name.
      Specified by:
      setKeyFrames in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimation

      public CssStyle setAnimation(String attrValue)
      Sets the CSS animation property.
      Specified by:
      setAnimation in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationDelay

      public CssStyle setAnimationDelay(String attrValue)
      Sets the CSS animation-delay property.
      Specified by:
      setAnimationDelay in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationDelay

      public CssStyle setAnimationDelay(int secs)
      Sets the CSS animation-delay property.
      Specified by:
      setAnimationDelay in interface AnimationIntf<CssStyle>
      Parameters:
      secs - The secs value.
      Returns:
      This instance for method chaining.
    • setAnimationDelay

      public CssStyle setAnimationDelay(long msecs)
      Sets the CSS animation-delay property.
      Specified by:
      setAnimationDelay in interface AnimationIntf<CssStyle>
      Parameters:
      msecs - The long value.
      Returns:
      This instance for method chaining.
    • setAnimationDirection

      public CssStyle setAnimationDirection(String attrValue)
      Sets the CSS animation-direction property.
      Specified by:
      setAnimationDirection in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationDirection

      public CssStyle setAnimationDirection(AnimationDirection attrValue)
      Sets the CSS animation-direction property.
      Specified by:
      setAnimationDirection in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The animation direction value.
      Returns:
      This instance for method chaining.
    • setAnimationDuration

      public CssStyle setAnimationDuration(String attrValue)
      Sets the CSS animation-duration property.
      Specified by:
      setAnimationDuration in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationDuration

      public CssStyle setAnimationDuration(int secs)
      Sets the CSS animation-duration property.
      Specified by:
      setAnimationDuration in interface AnimationIntf<CssStyle>
      Parameters:
      secs - The secs value.
      Returns:
      This instance for method chaining.
    • setAnimationDuration

      public CssStyle setAnimationDuration(long msecs)
      Sets the CSS animation-duration property.
      Specified by:
      setAnimationDuration in interface AnimationIntf<CssStyle>
      Parameters:
      msecs - The long value.
      Returns:
      This instance for method chaining.
    • setAnimationFillMode

      public CssStyle setAnimationFillMode(String attrValue)
      Sets the CSS animation-fill-mode property.
      Specified by:
      setAnimationFillMode in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationFillMode

      public CssStyle setAnimationFillMode(AnimationFillMode attrValue)
      Sets the CSS animation-fill-mode property.
      Specified by:
      setAnimationFillMode in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The animation fill mode value.
      Returns:
      This instance for method chaining.
    • setAnimationIterationCount

      public CssStyle setAnimationIterationCount(String attrValue)
      Sets the CSS animation-iteration-count property.
      Specified by:
      setAnimationIterationCount in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationIterationCount

      public CssStyle setAnimationIterationCount(int count)
      Sets the CSS animation-iteration-count property.
      Specified by:
      setAnimationIterationCount in interface AnimationIntf<CssStyle>
      Parameters:
      count - The iteration count.
      Returns:
      This instance for method chaining.
    • setAnimationIterationCount

      public CssStyle setAnimationIterationCount(AnimationIterationCount attrValue)
      Sets the CSS animation-iteration-count property.
      Specified by:
      setAnimationIterationCount in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The animation iteration count value.
      Returns:
      This instance for method chaining.
    • setAnimationName

      public CssStyle setAnimationName(String attrValue)
      Sets the CSS animation-name property.
      Specified by:
      setAnimationName in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationPlayState

      public CssStyle setAnimationPlayState(String attrValue)
      Sets the CSS animation-play-state property.
      Specified by:
      setAnimationPlayState in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationPlayState

      public CssStyle setAnimationPlayState(AnimationPlayState attrValue)
      Sets the CSS animation-play-state property.
      Specified by:
      setAnimationPlayState in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The animation play state value.
      Returns:
      This instance for method chaining.
    • setAnimationTimingFunction

      public CssStyle setAnimationTimingFunction(String attrValue)
      Sets the CSS animation-timing-function property.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAnimationTimingFunction

      public CssStyle setAnimationTimingFunction(AnimationTimingFunction attrValue)
      Sets the CSS animation-timing-function property.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssStyle>
      Parameters:
      attrValue - The animation timing function value.
      Returns:
      This instance for method chaining.
    • setAnimationTimingFunction

      public CssStyle setAnimationTimingFunction(int intervals, boolean start)
      Sets the CSS animation-timing-function property.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssStyle>
      Parameters:
      intervals - The number of intervals.
      start - true to start the steps from the beginning.
      Returns:
      This instance for method chaining.
    • setAnimationTimingFunction

      public CssStyle setAnimationTimingFunction(float n1, float n2, float n3, float n4)
      Sets the CSS animation-timing-function property.
      Specified by:
      setAnimationTimingFunction in interface AnimationIntf<CssStyle>
      Parameters:
      n1 - The first cubic-bezier control point value.
      n2 - The second cubic-bezier control point value.
      n3 - The third cubic-bezier control point value.
      n4 - The fourth cubic-bezier control point value.
      Returns:
      This instance for method chaining.
    • setBackground

      public CssStyle setBackground(String attrValue)
      Sets the CSS background property.
      Specified by:
      setBackground in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackground

      public CssStyle setBackground(Color color)
      Sets the CSS background property using a Color object.
      Specified by:
      setBackground in interface BackgroundIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBackgroundAttachment

      public CssStyle setBackgroundAttachment(String attrValue)
      Sets the CSS background-attachment property.
      Specified by:
      setBackgroundAttachment in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundAttachment

      public CssStyle setBackgroundAttachment(BackgroundAttachment attrValue)
      Sets the CSS background-attachment property.
      Specified by:
      setBackgroundAttachment in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background attachment value.
      Returns:
      This instance for method chaining.
    • setBackgroundBlendMode

      public CssStyle setBackgroundBlendMode(String attrValue)
      Sets the CSS background-blend-mode property.
      Specified by:
      setBackgroundBlendMode in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundBlendMode

      public CssStyle setBackgroundBlendMode(BackgroundBlendMode attrValue)
      Sets the CSS background-blend-mode property.
      Specified by:
      setBackgroundBlendMode in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background blend mode value.
      Returns:
      This instance for method chaining.
    • setBackgroundColor

      public CssStyle setBackgroundColor(String attrValue)
      Sets the CSS background-color property.
      Specified by:
      setBackgroundColor in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundColor

      public CssStyle setBackgroundColor(Color color)
      Sets the CSS background-color property using a Color object.
      Specified by:
      setBackgroundColor in interface BackgroundIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBackgroundColor

      public CssStyle setBackgroundColor(BackgroundColor attrValue)
      Sets the CSS background-color property.
      Specified by:
      setBackgroundColor in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background color value.
      Returns:
      This instance for method chaining.
    • setBackgroundImage

      public CssStyle setBackgroundImage(String url)
      Sets the CSS background-image property.
      Specified by:
      setBackgroundImage in interface BackgroundIntf<CssStyle>
      Parameters:
      url - The URL value.
      Returns:
      This instance for method chaining.
    • setBackgroundImage

      public final CssStyle setBackgroundImage(String url, String repeat)
      Sets the CSS background-image property.
      Parameters:
      url - The URL value.
      repeat - The repeat value.
      Returns:
      This instance for method chaining.
    • setBackgroundImage

      public CssStyle setBackgroundImage(Gradient gradient)
      Sets the CSS background-image property from a Gradient builder.

      This overload accepts a Gradient object for composing gradient values in a type-safe, fluent manner:

      
       style.setBackgroundImage(Gradient.linear("to right")
           .addStop("#ff0000", "0%")
           .addStop("#0000ff", "100%"));
       
      Parameters:
      gradient - the Gradient builder containing the gradient definition
      Returns:
      This instance for method chaining.
      See Also:
    • setBackgroundPosition

      public CssStyle setBackgroundPosition(String attrValue)
      Sets the CSS background-position property.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundPosition

      public CssStyle setBackgroundPosition(BackgroundPosition attrValue)
      Sets the CSS background-position property.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background position value.
      Returns:
      This instance for method chaining.
    • setBackgroundPosition

      public CssStyle setBackgroundPosition(String xpos, String ypos)
      Sets the CSS background-position property.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssStyle>
      Parameters:
      xpos - The xpos value.
      ypos - The ypos value.
      Returns:
      This instance for method chaining.
    • setBackgroundPosition

      public CssStyle setBackgroundPosition(int xpos, int ypos)
      Sets the CSS background-position property.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssStyle>
      Parameters:
      xpos - The xpos value.
      ypos - The ypos value.
      Returns:
      This instance for method chaining.
    • setBackgroundPosition

      public CssStyle setBackgroundPosition(Units xpos, Units ypos)
      Sets the CSS background-position property.
      Specified by:
      setBackgroundPosition in interface BackgroundIntf<CssStyle>
      Parameters:
      xpos - The value as a CSS unit.
      ypos - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBackgroundRepeat

      public CssStyle setBackgroundRepeat(String attrValue)
      Sets the CSS background-repeat property.
      Specified by:
      setBackgroundRepeat in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundRepeat

      public CssStyle setBackgroundRepeat(BackgroundRepeat attrValue)
      Sets the CSS background-repeat property.
      Specified by:
      setBackgroundRepeat in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background repeat value.
      Returns:
      This instance for method chaining.
    • setBackgroundClip

      public CssStyle setBackgroundClip(String attrValue)
      Sets the CSS background-clip property.
      Specified by:
      setBackgroundClip in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundClip

      public CssStyle setBackgroundClip(BackgroundClip attrValue)
      Sets the CSS background-clip property.
      Specified by:
      setBackgroundClip in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background clip value.
      Returns:
      This instance for method chaining.
    • setBackgroundOrigin

      public CssStyle setBackgroundOrigin(String attrValue)
      Sets the CSS background-origin property.
      Specified by:
      setBackgroundOrigin in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundOrigin

      public CssStyle setBackgroundOrigin(BackgroundOrigin attrValue)
      Sets the CSS background-origin property.
      Specified by:
      setBackgroundOrigin in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background origin value.
      Returns:
      This instance for method chaining.
    • setBackgroundSize

      public CssStyle setBackgroundSize(String attrValue)
      Sets the CSS background-size property.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackgroundSize

      public CssStyle setBackgroundSize(BackgroundSize attrValue)
      Sets the CSS background-size property.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssStyle>
      Parameters:
      attrValue - The background size value.
      Returns:
      This instance for method chaining.
    • setBackgroundSize

      public CssStyle setBackgroundSize(String width, String height)
      Sets the CSS background-size property.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssStyle>
      Parameters:
      width - The width value.
      height - The height value.
      Returns:
      This instance for method chaining.
    • setBackgroundSize

      public CssStyle setBackgroundSize(int width, int height)
      Sets the CSS background-size property.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssStyle>
      Parameters:
      width - The width value.
      height - The height value.
      Returns:
      This instance for method chaining.
    • setBackgroundSize

      public CssStyle setBackgroundSize(Units width, Units height)
      Sets the CSS background-size property.
      Specified by:
      setBackgroundSize in interface BackgroundIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      height - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setClear

      public CssStyle setClear(String attrValue)
      Sets the CSS clear property.
      Specified by:
      setClear in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setClear

      public CssStyle setClear(Clear attrValue)
      Sets the CSS clear property.
      Specified by:
      setClear in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The clear value.
      Returns:
      This instance for method chaining.
    • setClip

      public CssStyle setClip(String attrValue)
      Sets the CSS clip property.
      Specified by:
      setClip in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setClipPath

      public CssStyle setClipPath(String attrValue)
      Sets the CSS clip-path property.
      Specified by:
      setClipPath in interface com.oorian.css.MaskingIntf<CssStyle>
      Parameters:
      attrValue - The CSS clip-path value (e.g., "circle(50%)", "polygon(50% 0%, 100% 100%, 0% 100%)").
      Returns:
      This instance for method chaining.
    • setClipPath

      public CssStyle setClipPath(ClipPath clipPath)
      Sets the CSS clip-path property from a ClipPath builder.

      This overload accepts a ClipPath object for composing clip-path shapes in a type-safe, fluent manner:

      
       style.setClipPath(new ClipPath()
           .polygon("50% 0%", "100% 100%", "0% 100%"));
       
      Parameters:
      clipPath - the ClipPath builder containing the shape definition
      Returns:
      This instance for method chaining.
      See Also:
    • setDisplay

      public CssStyle setDisplay(String attrValue)
      Sets the CSS display property.
      Specified by:
      setDisplay in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setDisplay

      public CssStyle setDisplay(Display attrValue)
      Sets the CSS display property.
      Specified by:
      setDisplay in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The display value.
      Returns:
      This instance for method chaining.
    • setFloat

      public CssStyle setFloat(String attrValue)
      Sets the CSS float property.
      Specified by:
      setFloat in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFloat

      public CssStyle setFloat(Float attrValue)
      Sets the CSS float property.
      Specified by:
      setFloat in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The float value.
      Returns:
      This instance for method chaining.
    • setMargin

      public CssStyle setMargin(String attrValue)
      Sets the CSS margin property.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMargin

      public CssStyle setMargin(int pixels)
      Sets the CSS margin property in pixels.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMargin

      public CssStyle setMargin(Units units)
      Sets the CSS margin property using a CSS unit value.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setMargin

      public final CssStyle setMargin(String top, String right, String bottom, String left)
      Sets the CSS margin property using individual values for each side.
      Parameters:
      top - The top value as a CSS string.
      right - The right value as a CSS string.
      bottom - The bottom value as a CSS string.
      left - The left value as a CSS string.
      Returns:
      This instance for method chaining.
    • setMargin

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

      public CssStyle setMargin(Units top, Units right, Units bottom, Units left)
      Sets the CSS margin property using individual values for each side.
      Specified by:
      setMargin in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      top - The top value as a CSS unit.
      right - The right value as a CSS unit.
      bottom - The bottom value as a CSS unit.
      left - The left value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setMarginBottom

      public CssStyle setMarginBottom(String attrValue)
      Sets the CSS margin-bottom property.
      Specified by:
      setMarginBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarginBottom

      public CssStyle setMarginBottom(int pixels)
      Sets the CSS margin-bottom property in pixels.
      Specified by:
      setMarginBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMarginBottom

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

      public CssStyle setMarginLeft(String attrValue)
      Sets the CSS margin-left property.
      Specified by:
      setMarginLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarginLeft

      public CssStyle setMarginLeft(int pixels)
      Sets the CSS margin-left property in pixels.
      Specified by:
      setMarginLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMarginLeft

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

      public CssStyle setMarginRight(String attrValue)
      Sets the CSS margin-right property.
      Specified by:
      setMarginRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarginRight

      public CssStyle setMarginRight(int pixels)
      Sets the CSS margin-right property in pixels.
      Specified by:
      setMarginRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMarginRight

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

      public CssStyle setMarginTop(String attrValue)
      Sets the CSS margin-top property.
      Specified by:
      setMarginTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarginTop

      public CssStyle setMarginTop(int pixels)
      Sets the CSS margin-top property in pixels.
      Specified by:
      setMarginTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMarginTop

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

      public CssStyle setOverflow(String attrValue)
      Sets the CSS overflow property.
      Specified by:
      setOverflow in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setOverflow

      public CssStyle setOverflow(Overflow attrValue)
      Sets the CSS overflow property.
      Specified by:
      setOverflow in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The overflow value.
      Returns:
      This instance for method chaining.
    • setOverflow

      public CssStyle setOverflow(Overflow x, Overflow y)
      Sets the CSS overflow property.
      Specified by:
      setOverflow in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      x - The overflow value.
      y - The overflow value.
      Returns:
      This instance for method chaining.
    • setOverflowX

      public CssStyle setOverflowX(String attrValue)
      Sets the CSS overflow-x property.
      Specified by:
      setOverflowX in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setOverflowX

      public CssStyle setOverflowX(Overflow attrValue)
      Sets the CSS overflow-x property.
      Specified by:
      setOverflowX in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The overflow value.
      Returns:
      This instance for method chaining.
    • setOverflowY

      public CssStyle setOverflowY(String attrValue)
      Sets the CSS overflow-y property.
      Specified by:
      setOverflowY in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setOverflowY

      public CssStyle setOverflowY(Overflow attrValue)
      Sets the CSS overflow-y property.
      Specified by:
      setOverflowY in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The overflow value.
      Returns:
      This instance for method chaining.
    • setPadding

      public CssStyle setPadding(String attrValue)
      Sets the CSS padding property.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPadding

      public CssStyle setPadding(int pixels)
      Sets the CSS padding property in pixels.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setPadding

      public CssStyle setPadding(Units units)
      Sets the CSS padding property using a CSS unit value.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setPadding

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

      public CssStyle setPadding(int top, int right, int bottom, int left)
      Sets the CSS padding property using individual values for each side.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      top - The top value in pixels.
      right - The right value in pixels.
      bottom - The bottom value in pixels.
      left - The left value in pixels.
      Returns:
      This instance for method chaining.
    • setPadding

      public CssStyle 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<CssStyle>
      Parameters:
      topBottom - the top and bottom padding in pixels
      leftRight - the left and right padding in pixels
      Returns:
      this for method chaining
    • setPadding

      public CssStyle 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<CssStyle>
      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
    • setPadding

      public CssStyle setPadding(Units top, Units right, Units bottom, Units left)
      Sets the CSS padding property using individual values for each side.
      Specified by:
      setPadding in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      top - The top value as a CSS unit.
      right - The right value as a CSS unit.
      bottom - The bottom value as a CSS unit.
      left - The left value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setPaddingBottom

      public CssStyle setPaddingBottom(String attrValue)
      Sets the CSS padding-bottom property.
      Specified by:
      setPaddingBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPaddingBottom

      public CssStyle setPaddingBottom(int pixels)
      Sets the CSS padding-bottom property in pixels.
      Specified by:
      setPaddingBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setPaddingBottom

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

      public CssStyle setPaddingLeft(String attrValue)
      Sets the CSS padding-left property.
      Specified by:
      setPaddingLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPaddingLeft

      public CssStyle setPaddingLeft(int pixels)
      Sets the CSS padding-left property in pixels.
      Specified by:
      setPaddingLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setPaddingLeft

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

      public CssStyle setPaddingRight(String attrValue)
      Sets the CSS padding-right property.
      Specified by:
      setPaddingRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPaddingRight

      public CssStyle setPaddingRight(int pixels)
      Sets the CSS padding-right property in pixels.
      Specified by:
      setPaddingRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setPaddingRight

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

      public CssStyle setPaddingTop(String attrValue)
      Sets the CSS padding-top property.
      Specified by:
      setPaddingTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPaddingTop

      public CssStyle setPaddingTop(int pixels)
      Sets the CSS padding-top property in pixels.
      Specified by:
      setPaddingTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setPaddingTop

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

      public CssStyle setPosition(String attrValue)
      Sets the CSS position property.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPosition

      public CssStyle setPosition(Position attrValue)
      Sets the CSS position property.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The position value.
      Returns:
      This instance for method chaining.
    • setPosition

      public CssStyle setPosition(String left, String top)
      Sets the CSS position property using individual values for each side.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      left - The left value as a CSS string.
      top - The top value as a CSS string.
      Returns:
      This instance for method chaining.
    • setPosition

      public CssStyle setPosition(int left, int top)
      Sets the CSS position property using individual values for each side.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      left - The left value in pixels.
      top - The top value in pixels.
      Returns:
      This instance for method chaining.
    • setPosition

      public CssStyle setPosition(Units left, Units top)
      Sets the CSS position property using individual values for each side.
      Specified by:
      setPosition in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      left - The left value as a CSS unit.
      top - The top value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBottom

      public CssStyle setBottom(String attrValue)
      Sets the CSS bottom property.
      Specified by:
      setBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBottom

      public CssStyle setBottom(int pixels)
      Sets the CSS bottom property in pixels.
      Specified by:
      setBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBottom

      public CssStyle setBottom(Units units)
      Sets the CSS bottom property using a CSS unit value.
      Specified by:
      setBottom in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setLeft

      public CssStyle setLeft(String attrValue)
      Sets the CSS left property.
      Specified by:
      setLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setLeft

      public CssStyle setLeft(int pixels)
      Sets the CSS left property in pixels.
      Specified by:
      setLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setLeft

      public CssStyle setLeft(Units units)
      Sets the CSS left property using a CSS unit value.
      Specified by:
      setLeft in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setRight

      public CssStyle setRight(String attrValue)
      Sets the CSS right property.
      Specified by:
      setRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setRight

      public CssStyle setRight(int pixels)
      Sets the CSS right property in pixels.
      Specified by:
      setRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setRight

      public CssStyle setRight(Units units)
      Sets the CSS right property using a CSS unit value.
      Specified by:
      setRight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setTop

      public CssStyle setTop(String attrValue)
      Sets the CSS top property.
      Specified by:
      setTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTop

      public CssStyle setTop(int pixels)
      Sets the CSS top property in pixels.
      Specified by:
      setTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setTop

      public CssStyle setTop(Units units)
      Sets the CSS top property using a CSS unit value.
      Specified by:
      setTop in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setVerticalAlign

      public CssStyle setVerticalAlign(String attrValue)
      Sets the CSS vertical-align property.
      Specified by:
      setVerticalAlign in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVerticalAlign

      public CssStyle setVerticalAlign(VerticalAlign attrValue)
      Sets the CSS vertical-align property.
      Specified by:
      setVerticalAlign in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The vertical align value.
      Returns:
      This instance for method chaining.
    • setVisibility

      public CssStyle setVisibility(String attrValue)
      Sets the CSS visibility property.
      Specified by:
      setVisibility in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVisibility

      public CssStyle setVisibility(Visibility attrValue)
      Sets the CSS visibility property.
      Specified by:
      setVisibility in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The visibility value.
      Returns:
      This instance for method chaining.
    • setHeight

      public CssStyle setHeight(String attrValue)
      Sets the CSS height property.
      Specified by:
      setHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setHeight

      public CssStyle setHeight(int pixels)
      Sets the CSS height property in pixels.
      Specified by:
      setHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setHeight

      public CssStyle setHeight(Units units)
      Sets the CSS height property using a CSS unit value.
      Specified by:
      setHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setMaxHeight

      public CssStyle setMaxHeight(String attrValue)
      Sets the CSS max-height property.
      Specified by:
      setMaxHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMaxHeight

      public CssStyle setMaxHeight(int pixels)
      Sets the CSS max-height property in pixels.
      Specified by:
      setMaxHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMaxHeight

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

      public CssStyle setMinHeight(String attrValue)
      Sets the CSS min-height property.
      Specified by:
      setMinHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMinHeight

      public CssStyle setMinHeight(int pixels)
      Sets the CSS min-height property in pixels.
      Specified by:
      setMinHeight in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMinHeight

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

      public CssStyle setWidth(String attrValue)
      Sets the CSS width property.
      Specified by:
      setWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setWidth

      public CssStyle setWidth(int pixels)
      Sets the CSS width property in pixels.
      Specified by:
      setWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setWidth

      public CssStyle setWidth(Units units)
      Sets the CSS width property using a CSS unit value.
      Specified by:
      setWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setMaxWidth

      public CssStyle setMaxWidth(String maxWidth)
      Sets the CSS max-width property.
      Specified by:
      setMaxWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      maxWidth - The max width value.
      Returns:
      This instance for method chaining.
    • setMaxWidth

      public CssStyle setMaxWidth(int pixels)
      Sets the CSS max-width property in pixels.
      Specified by:
      setMaxWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMaxWidth

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

      public CssStyle setMinWidth(String attrValue)
      Sets the CSS min-width property.
      Specified by:
      setMinWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMinWidth

      public CssStyle setMinWidth(int pixels)
      Sets the CSS min-width property in pixels.
      Specified by:
      setMinWidth in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setMinWidth

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

      public CssStyle setSize(String width, String height)
      Sets the CSS size property.
      Specified by:
      setSize in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      width - The width value.
      height - The height value.
      Returns:
      This instance for method chaining.
    • setSize

      public CssStyle setSize(int width, int height)
      Sets the CSS size property.
      Specified by:
      setSize in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      width - The width value.
      height - The height value.
      Returns:
      This instance for method chaining.
    • setSize

      public CssStyle setSize(Units width, Units height)
      Sets the CSS size property.
      Specified by:
      setSize in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      height - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setZIndex

      public CssStyle setZIndex(String attrValue)
      Sets the CSS z-index property.
      Specified by:
      setZIndex in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setZIndex

      public CssStyle setZIndex(int attrValue)
      Sets the CSS z-index property.
      Specified by:
      setZIndex in interface com.oorian.css.BasicBoxIntf<CssStyle>
      Parameters:
      attrValue - The value.
      Returns:
      This instance for method chaining.
    • setBoxSizing

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public CssStyle setBorder(String attrValue)
      Sets the CSS border property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(String width, String style, String color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The style value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(int width, BorderStyle style, Color color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(int width, Color color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(Color color)
      Sets the CSS border property using a Color object.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(Units width, BorderStyle style, Color color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(Units width, Color color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorder

      public CssStyle setBorder(BorderWidth width, Color color)
      Sets the CSS border shorthand property.
      Specified by:
      setBorder in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(String attrValue)
      Sets the CSS border-bottom property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(String width, String style, String color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The style value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(int width, BorderStyle style, Color color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(int width, Color color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(Units width, BorderStyle style, Color color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(Units width, Color color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottom

      public CssStyle setBorderBottom(BorderWidth width, Color color)
      Sets the CSS border-bottom shorthand property.
      Specified by:
      setBorderBottom in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottomColor

      public CssStyle setBorderBottomColor(String attrValue)
      Sets the CSS border-bottom-color property.
      Specified by:
      setBorderBottomColor in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderBottomColor

      public CssStyle setBorderBottomColor(Color color)
      Sets the CSS border-bottom-color property using a Color object.
      Specified by:
      setBorderBottomColor in interface BorderIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderBottomLeftRadius

      public CssStyle setBorderBottomLeftRadius(String attrValue)
      Sets the CSS border-bottom-left-radius property.
      Specified by:
      setBorderBottomLeftRadius in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderBottomLeftRadius

      public CssStyle setBorderBottomLeftRadius(int pixels)
      Sets the CSS border-bottom-left-radius property in pixels.
      Specified by:
      setBorderBottomLeftRadius in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderBottomLeftRadius

      public CssStyle setBorderBottomLeftRadius(Units units)
      Sets the CSS border-bottom-left-radius property using a CSS unit value.
      Specified by:
      setBorderBottomLeftRadius in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderBottomRightRadius

      public CssStyle setBorderBottomRightRadius(String attrValue)
      Sets the CSS border-bottom-right-radius property.
      Specified by:
      setBorderBottomRightRadius in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderBottomRightRadius

      public CssStyle setBorderBottomRightRadius(int pixels)
      Sets the CSS border-bottom-right-radius property in pixels.
      Specified by:
      setBorderBottomRightRadius in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderBottomRightRadius

      public CssStyle setBorderBottomRightRadius(Units units)
      Sets the CSS border-bottom-right-radius property using a CSS unit value.
      Specified by:
      setBorderBottomRightRadius in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderBottomStyle

      public CssStyle setBorderBottomStyle(String attrValue)
      Sets the CSS border-bottom-style property.
      Specified by:
      setBorderBottomStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderBottomStyle

      public CssStyle setBorderBottomStyle(BorderStyle attrValue)
      Sets the CSS border-bottom-style property.
      Specified by:
      setBorderBottomStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border style.
      Returns:
      This instance for method chaining.
    • setBorderBottomWidth

      public CssStyle setBorderBottomWidth(String attrValue)
      Sets the CSS border-bottom-width property.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderBottomWidth

      public CssStyle setBorderBottomWidth(BorderWidth attrValue)
      Sets the CSS border-bottom-width property.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border width.
      Returns:
      This instance for method chaining.
    • setBorderBottomWidth

      public CssStyle setBorderBottomWidth(int pixels)
      Sets the CSS border-bottom-width property in pixels.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderBottomWidth

      public CssStyle setBorderBottomWidth(Units units)
      Sets the CSS border-bottom-width property using a CSS unit value.
      Specified by:
      setBorderBottomWidth in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderColor

      public CssStyle setBorderColor(String attrValue)
      Sets the CSS border-color property.
      Specified by:
      setBorderColor in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderColor

      public CssStyle setBorderColor(Color color)
      Sets the CSS border-color property using a Color object.
      Specified by:
      setBorderColor in interface BorderIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderColor

      public CssStyle setBorderColor(String top, String right, String bottom, String left)
      Sets the CSS border-color property using individual values for each side.
      Specified by:
      setBorderColor in interface BorderIntf<CssStyle>
      Parameters:
      top - The top value as a CSS string.
      right - The right value as a CSS string.
      bottom - The bottom value as a CSS string.
      left - The left value as a CSS string.
      Returns:
      This instance for method chaining.
    • setBorderColor

      public CssStyle setBorderColor(Color top, Color right, Color bottom, Color left)
      Sets the CSS border-color property using individual values for each side.
      Specified by:
      setBorderColor in interface BorderIntf<CssStyle>
      Parameters:
      top - The top value.
      right - The right value.
      bottom - The bottom value.
      left - The left value.
      Returns:
      This instance for method chaining.
    • setBorderImage

      public CssStyle setBorderImage(String attrValue)
      Sets the CSS border-image property.
      Specified by:
      setBorderImage in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderImage

      public CssStyle setBorderImage(String srcUrl, String slice, String width, String outset, String repeat)
      Sets the CSS border-image shorthand property.
      Specified by:
      setBorderImage in interface BorderIntf<CssStyle>
      Parameters:
      srcUrl - The src url value.
      slice - The slice value.
      width - The width value.
      outset - The outset value.
      repeat - The repeat value.
      Returns:
      This instance for method chaining.
    • setBorderImageOutset

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

      public CssStyle setBorderImageRepeat(String attrValue)
      Sets the CSS border-image-repeat property.
      Specified by:
      setBorderImageRepeat in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderImageSlice

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

      public CssStyle setBorderImageSource(String url)
      Sets the CSS border-image-source property.
      Specified by:
      setBorderImageSource in interface BorderIntf<CssStyle>
      Parameters:
      url - The URL value.
      Returns:
      This instance for method chaining.
    • setBorderImageWidth

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

      public CssStyle setBorderLeft(String attrValue)
      Sets the CSS border-left property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(String width, String style, String color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The style value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(int width, BorderStyle style, Color color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(int width, Color color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(Units width, BorderStyle style, Color color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(Units width, Color color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeft

      public CssStyle setBorderLeft(BorderWidth width, Color color)
      Sets the CSS border-left shorthand property.
      Specified by:
      setBorderLeft in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeftColor

      public CssStyle setBorderLeftColor(String attrValue)
      Sets the CSS border-left-color property.
      Specified by:
      setBorderLeftColor in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderLeftColor

      public CssStyle setBorderLeftColor(Color color)
      Sets the CSS border-left-color property using a Color object.
      Specified by:
      setBorderLeftColor in interface BorderIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderLeftStyle

      public CssStyle setBorderLeftStyle(String attrValue)
      Sets the CSS border-left-style property.
      Specified by:
      setBorderLeftStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderLeftStyle

      public CssStyle setBorderLeftStyle(BorderStyle attrValue)
      Sets the CSS border-left-style property.
      Specified by:
      setBorderLeftStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border style.
      Returns:
      This instance for method chaining.
    • setBorderLeftWidth

      public CssStyle setBorderLeftWidth(String attrValue)
      Sets the CSS border-left-width property.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderLeftWidth

      public CssStyle setBorderLeftWidth(BorderWidth attrValue)
      Sets the CSS border-left-width property.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border width.
      Returns:
      This instance for method chaining.
    • setBorderLeftWidth

      public CssStyle setBorderLeftWidth(int pixels)
      Sets the CSS border-left-width property in pixels.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderLeftWidth

      public CssStyle setBorderLeftWidth(Units units)
      Sets the CSS border-left-width property using a CSS unit value.
      Specified by:
      setBorderLeftWidth in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderRadius

      public CssStyle setBorderRadius(String attrValue)
      Sets the CSS border-radius property.
      Specified by:
      setBorderRadius in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderRadius

      public CssStyle setBorderRadius(int pixels)
      Sets the CSS border-radius property in pixels.
      Specified by:
      setBorderRadius in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderRadius

      public CssStyle setBorderRadius(Units units)
      Sets the CSS border-radius property using a CSS unit value.
      Specified by:
      setBorderRadius in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderRadius

      public CssStyle setBorderRadius(String topLeft, String topRight, String bottomRight, String bottomLeft)
      Sets the CSS border-radius property.
      Specified by:
      setBorderRadius in interface BorderIntf<CssStyle>
      Parameters:
      topLeft - The top left value.
      topRight - The top right value.
      bottomRight - The bottom right value.
      bottomLeft - The bottom left value.
      Returns:
      This instance for method chaining.
    • setBorderRadius

      public CssStyle setBorderRadius(int topLeft, int topRight, int bottomRight, int bottomLeft)
      Sets the CSS border-radius property.
      Specified by:
      setBorderRadius in interface BorderIntf<CssStyle>
      Parameters:
      topLeft - The top left value.
      topRight - The top right value.
      bottomRight - The bottom right value.
      bottomLeft - The bottom left value.
      Returns:
      This instance for method chaining.
    • setBorderRadius

      public CssStyle setBorderRadius(Units topLeft, Units topRight, Units bottomRight, Units bottomLeft)
      Sets the CSS border-radius property.
      Specified by:
      setBorderRadius in interface BorderIntf<CssStyle>
      Parameters:
      topLeft - The value as a CSS unit.
      topRight - The value as a CSS unit.
      bottomRight - The value as a CSS unit.
      bottomLeft - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(String attrValue)
      Sets the CSS border-right property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(String width, String style, String color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The style value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(int width, BorderStyle style, Color color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(int width, Color color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(Units width, BorderStyle style, Color color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(Units width, Color color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRight

      public CssStyle setBorderRight(BorderWidth width, Color color)
      Sets the CSS border-right shorthand property.
      Specified by:
      setBorderRight in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRightColor

      public CssStyle setBorderRightColor(String attrValue)
      Sets the CSS border-right-color property.
      Specified by:
      setBorderRightColor in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderRightColor

      public CssStyle setBorderRightColor(Color color)
      Sets the CSS border-right-color property using a Color object.
      Specified by:
      setBorderRightColor in interface BorderIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderRightStyle

      public CssStyle setBorderRightStyle(String attrValue)
      Sets the CSS border-right-style property.
      Specified by:
      setBorderRightStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderRightStyle

      public CssStyle setBorderRightStyle(BorderStyle attrValue)
      Sets the CSS border-right-style property.
      Specified by:
      setBorderRightStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border style.
      Returns:
      This instance for method chaining.
    • setBorderRightWidth

      public CssStyle setBorderRightWidth(String attrValue)
      Sets the CSS border-right-width property.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderRightWidth

      public CssStyle setBorderRightWidth(BorderWidth attrValue)
      Sets the CSS border-right-width property.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border width.
      Returns:
      This instance for method chaining.
    • setBorderRightWidth

      public CssStyle setBorderRightWidth(int pixels)
      Sets the CSS border-right-width property in pixels.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderRightWidth

      public CssStyle setBorderRightWidth(Units units)
      Sets the CSS border-right-width property using a CSS unit value.
      Specified by:
      setBorderRightWidth in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderStyle

      public CssStyle setBorderStyle(String attrValue)
      Sets the CSS border-style property.
      Specified by:
      setBorderStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderStyle

      public CssStyle setBorderStyle(BorderStyle attrValue)
      Sets the CSS border-style property.
      Specified by:
      setBorderStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border style.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(String attrValue)
      Sets the CSS border-top property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(String width, String style, String color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The style value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(int width, BorderStyle style, Color color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(int width, Color color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The width value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(Units width, BorderStyle style, Color color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(Units width, Color color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The value as a CSS unit.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      style - The border style.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTop

      public CssStyle setBorderTop(BorderWidth width, Color color)
      Sets the CSS border-top shorthand property.
      Specified by:
      setBorderTop in interface BorderIntf<CssStyle>
      Parameters:
      width - The border width.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTopColor

      public CssStyle setBorderTopColor(String attrValue)
      Sets the CSS border-top-color property.
      Specified by:
      setBorderTopColor in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderTopColor

      public CssStyle setBorderTopColor(Color color)
      Sets the CSS border-top-color property using a Color object.
      Specified by:
      setBorderTopColor in interface BorderIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBorderTopLeftRadius

      public CssStyle setBorderTopLeftRadius(String attrValue)
      Sets the CSS border-top-left-radius property.
      Specified by:
      setBorderTopLeftRadius in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderTopLeftRadius

      public CssStyle setBorderTopLeftRadius(int pixels)
      Sets the CSS border-top-left-radius property in pixels.
      Specified by:
      setBorderTopLeftRadius in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderTopLeftRadius

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

      public CssStyle setBorderTopRightRadius(String attrValue)
      Sets the CSS border-top-right-radius property.
      Specified by:
      setBorderTopRightRadius in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderTopRightRadius

      public CssStyle setBorderTopRightRadius(int pixels)
      Sets the CSS border-top-right-radius property in pixels.
      Specified by:
      setBorderTopRightRadius in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderTopRightRadius

      public CssStyle setBorderTopRightRadius(Units units)
      Sets the CSS border-top-right-radius property using a CSS unit value.
      Specified by:
      setBorderTopRightRadius in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderTopStyle

      public CssStyle setBorderTopStyle(String attrValue)
      Sets the CSS border-top-style property.
      Specified by:
      setBorderTopStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderTopStyle

      public CssStyle setBorderTopStyle(BorderStyle attrValue)
      Sets the CSS border-top-style property.
      Specified by:
      setBorderTopStyle in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border style.
      Returns:
      This instance for method chaining.
    • setBorderTopWidth

      public CssStyle setBorderTopWidth(String attrValue)
      Sets the CSS border-top-width property.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderTopWidth

      public CssStyle setBorderTopWidth(BorderWidth attrValue)
      Sets the CSS border-top-width property.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border width.
      Returns:
      This instance for method chaining.
    • setBorderTopWidth

      public CssStyle setBorderTopWidth(int pixels)
      Sets the CSS border-top-width property in pixels.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderTopWidth

      public CssStyle setBorderTopWidth(Units units)
      Sets the CSS border-top-width property using a CSS unit value.
      Specified by:
      setBorderTopWidth in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(String attrValue)
      Sets the CSS border-width property.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(BorderWidth attrValue)
      Sets the CSS border-width property.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The border width.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(int pixels)
      Sets the CSS border-width property in pixels.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(Units units)
      Sets the CSS border-width property using a CSS unit value.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(String top, String right, String bottom, String left)
      Sets the CSS border-width property using individual values for each side.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      top - The top value as a CSS string.
      right - The right value as a CSS string.
      bottom - The bottom value as a CSS string.
      left - The left value as a CSS string.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(int top, int right, int bottom, int left)
      Sets the CSS border-width property using individual values for each side.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      top - The top value in pixels.
      right - The right value in pixels.
      bottom - The bottom value in pixels.
      left - The left value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderWidth

      public CssStyle setBorderWidth(Units top, Units right, Units bottom, Units left)
      Sets the CSS border-width property using individual values for each side.
      Specified by:
      setBorderWidth in interface BorderIntf<CssStyle>
      Parameters:
      top - The top value as a CSS unit.
      right - The right value as a CSS unit.
      bottom - The bottom value as a CSS unit.
      left - The left value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBoxShadow

      public CssStyle setBoxShadow(String attrValue)
      Sets the CSS box-shadow property.
      Specified by:
      setBoxShadow in interface BorderIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBoxShadow

      public CssStyle setBoxShadow(String hShadow, String vShadow, String blur, String spread, String color)
      Sets the CSS box-shadow property.
      Specified by:
      setBoxShadow in interface BorderIntf<CssStyle>
      Parameters:
      hShadow - The h shadow value.
      vShadow - The v shadow value.
      blur - The blur value.
      spread - The spread value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBoxShadow

      public CssStyle setBoxShadow(int hShadow, int vShadow, int blur, int spread, Color color)
      Sets the CSS box-shadow property.
      Specified by:
      setBoxShadow in interface BorderIntf<CssStyle>
      Parameters:
      hShadow - The h shadow value.
      vShadow - The v shadow value.
      blur - The blur value.
      spread - The spread value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBoxShadow

      public CssStyle setBoxShadow(Units hShadow, Units vShadow, Units blur, Units spread, Color color)
      Sets the CSS box-shadow property.
      Specified by:
      setBoxShadow in interface BorderIntf<CssStyle>
      Parameters:
      hShadow - The value as a CSS unit.
      vShadow - The value as a CSS unit.
      blur - The value as a CSS unit.
      spread - The value as a CSS unit.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setBoxShadow

      public CssStyle setBoxShadow(BoxShadow boxShadow)
      Sets the CSS box-shadow property from a BoxShadow builder.

      This overload accepts a BoxShadow object for composing multiple layered shadows in a type-safe, fluent manner:

      
       style.setBoxShadow(new BoxShadow()
           .add("0", "4px", "6px", "-1px", "rgba(0,0,0,0.1)")
           .add("0", "2px", "4px", "-2px", "rgba(0,0,0,0.1)"));
       
      Parameters:
      boxShadow - the BoxShadow builder containing the shadow definitions
      Returns:
      This instance for method chaining.
      See Also:
    • setColor

      public CssStyle setColor(String attrValue)
      Sets the CSS color property.
      Specified by:
      setColor in interface com.oorian.css.ColorIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColor

      public CssStyle setColor(Color color)
      Sets the CSS color property using a Color object.
      Specified by:
      setColor in interface com.oorian.css.ColorIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setOpacity

      public CssStyle setOpacity(String attrValue)
      Sets the CSS opacity property.
      Specified by:
      setOpacity in interface com.oorian.css.ColorIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setOpacity

      public CssStyle setOpacity(int opacity)
      Sets the CSS opacity property.
      Specified by:
      setOpacity in interface com.oorian.css.ColorIntf<CssStyle>
      Parameters:
      opacity - The opacity value.
      Returns:
      This instance for method chaining.
    • setCounterIncrement

      public CssStyle setCounterIncrement(String attrValue)
      Sets the CSS counter-increment property.
      Specified by:
      setCounterIncrement in interface CountersIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setCounterReset

      public CssStyle setCounterReset(String keyFrameName)
      Sets the CSS counter-reset property.
      Specified by:
      setCounterReset in interface CountersIntf<CssStyle>
      Parameters:
      keyFrameName - The key frame name value.
      Returns:
      This instance for method chaining.
    • setFilter

      public CssStyle setFilter(String attrValue)
      Sets the CSS filter property.
      Specified by:
      setFilter in interface com.oorian.css.FilterEffectsIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFilter

      public CssStyle setFilter(Filter filter)
      Sets the CSS filter property from a Filter builder.

      This overload accepts a Filter object for composing multiple filter functions in a type-safe, fluent manner:

      
       style.setFilter(new Filter()
           .blur("5px")
           .brightness(1.2f)
           .contrast(1.1f));
       
      Parameters:
      filter - the Filter builder containing the functions to apply
      Returns:
      This instance for method chaining.
      See Also:
    • setBackdropFilter

      public CssStyle setBackdropFilter(String attrValue)
      Sets the CSS backdrop-filter property.
      Specified by:
      setBackdropFilter in interface com.oorian.css.FilterEffectsIntf<CssStyle>
      Parameters:
      attrValue - The CSS backdrop-filter value (e.g., "blur(10px)", "brightness(0.5)").
      Returns:
      This instance for method chaining.
    • setBackdropFilter

      public CssStyle setBackdropFilter(Filter filter)
      Sets the CSS backdrop-filter property from a Filter builder.

      This overload accepts a Filter object for composing multiple backdrop-filter functions in a type-safe, fluent manner:

      
       style.setBackdropFilter(new Filter()
           .blur("10px")
           .brightness(0.8f));
       
      Parameters:
      filter - the Filter builder containing the functions to apply
      Returns:
      This instance for method chaining.
      See Also:
    • setBlur

      public CssStyle setBlur(String value)
      Sets the blur() function within the CSS filter property.

      If a blur() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the CSS length value (e.g., "5px", "0.5rem")
      Returns:
      This instance for method chaining.
    • setBrightness

      public CssStyle setBrightness(float value)
      Sets the brightness() function within the CSS filter property.

      If a brightness() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the brightness factor (e.g., 1.5f for 150%)
      Returns:
      This instance for method chaining.
    • setContrast

      public CssStyle setContrast(float value)
      Sets the contrast() function within the CSS filter property.

      If a contrast() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the contrast factor (e.g., 1.5f for 150%)
      Returns:
      This instance for method chaining.
    • setGrayscale

      public CssStyle setGrayscale(float value)
      Sets the grayscale() function within the CSS filter property.

      If a grayscale() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the grayscale amount from 0.0f (none) to 1.0f (full grayscale)
      Returns:
      This instance for method chaining.
    • setHueRotate

      public CssStyle setHueRotate(float degrees)
      Sets the hue-rotate() function within the CSS filter property.

      If a hue-rotate() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      degrees - the rotation angle in degrees
      Returns:
      This instance for method chaining.
    • setInvert

      public CssStyle setInvert(float value)
      Sets the invert() function within the CSS filter property.

      If an invert() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the inversion amount from 0.0f (none) to 1.0f (full inversion)
      Returns:
      This instance for method chaining.
    • setFilterOpacity

      public CssStyle setFilterOpacity(float value)
      Sets the opacity() function within the CSS filter property.

      This controls the filter opacity, distinct from the CSS opacity property. If an opacity() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the opacity amount from 0.0f (transparent) to 1.0f (opaque)
      Returns:
      This instance for method chaining.
    • setSaturate

      public CssStyle setSaturate(float value)
      Sets the saturate() function within the CSS filter property.

      If a saturate() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the saturation factor (e.g., 1.5f for 150%)
      Returns:
      This instance for method chaining.
    • setSepia

      public CssStyle setSepia(float value)
      Sets the sepia() function within the CSS filter property.

      If a sepia() already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.

      Parameters:
      value - the sepia amount from 0.0f (none) to 1.0f (full sepia)
      Returns:
      This instance for method chaining.
    • setAlignContent

      public CssStyle setAlignContent(String attrValue)
      Sets the CSS align-content property.
      Specified by:
      setAlignContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAlignContent

      public CssStyle setAlignContent(AlignContent attrValue)
      Sets the CSS align-content property.
      Specified by:
      setAlignContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The align content value.
      Returns:
      This instance for method chaining.
    • setAlignItems

      public CssStyle setAlignItems(String attrValue)
      Sets the CSS align-items property.
      Specified by:
      setAlignItems in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAlignItems

      public CssStyle setAlignItems(AlignItems attrValue)
      Sets the CSS align-items property.
      Specified by:
      setAlignItems in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The align items value.
      Returns:
      This instance for method chaining.
    • setAlignSelf

      public CssStyle setAlignSelf(String attrValue)
      Sets the CSS align-self property.
      Specified by:
      setAlignSelf in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setAlignSelf

      public CssStyle setAlignSelf(AlignSelf attrValue)
      Sets the CSS align-self property.
      Specified by:
      setAlignSelf in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The align self value.
      Returns:
      This instance for method chaining.
    • setFlex

      public CssStyle setFlex(String attrValue)
      Sets the CSS flex property.
      Specified by:
      setFlex in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexBasis

      public CssStyle setFlexBasis(String attrValue)
      Sets the CSS flex-basis property.
      Specified by:
      setFlexBasis in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexDirection

      public CssStyle setFlexDirection(String attrValue)
      Sets the CSS flex-direction property.
      Specified by:
      setFlexDirection in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexDirection

      public CssStyle setFlexDirection(FlexDirection attrValue)
      Sets the CSS flex-direction property.
      Specified by:
      setFlexDirection in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The flex direction value.
      Returns:
      This instance for method chaining.
    • setFlexFlow

      public CssStyle setFlexFlow(String attrValue)
      Sets the CSS flex-flow property.
      Specified by:
      setFlexFlow in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexGrow

      public CssStyle setFlexGrow(String attrValue)
      Sets the CSS flex-grow property.
      Specified by:
      setFlexGrow in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexGrow

      public CssStyle setFlexGrow(int attrValue)
      Sets the CSS flex-grow property.
      Specified by:
      setFlexGrow in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The value.
      Returns:
      This instance for method chaining.
    • setFlexShrink

      public CssStyle setFlexShrink(String attrValue)
      Sets the CSS flex-shrink property.
      Specified by:
      setFlexShrink in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexShrink

      public CssStyle setFlexShrink(int attrValue)
      Sets the CSS flex-shrink property using an integer value.
      Specified by:
      setFlexShrink in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The flex-shrink factor as an integer.
      Returns:
      true if the property was set successfully, false otherwise.
    • setFlexWrap

      public CssStyle setFlexWrap(String attrValue)
      Sets the CSS flex-wrap property.
      Specified by:
      setFlexWrap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFlexWrap

      public CssStyle setFlexWrap(FlexWrap attrValue)
      Sets the CSS flex-wrap property.
      Specified by:
      setFlexWrap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The flex wrap value.
      Returns:
      This instance for method chaining.
    • setJustifyContent

      public CssStyle setJustifyContent(String attrValue)
      Sets the CSS justify-content property.
      Specified by:
      setJustifyContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setJustifyContent

      public CssStyle setJustifyContent(JustifyContent attrValue)
      Sets the CSS justify-content property.
      Specified by:
      setJustifyContent in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The justify content value.
      Returns:
      This instance for method chaining.
    • setOrder

      public CssStyle setOrder(String attrValue)
      Sets the CSS order property.
      Specified by:
      setOrder in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setOrder

      public CssStyle setOrder(int order)
      Sets the CSS order property.
      Specified by:
      setOrder in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      order - The order value.
      Returns:
      This instance for method chaining.
    • setColGap

      public CssStyle setColGap(String colgap)
      Sets the CSS column-gap property using a string value.
      Specified by:
      setColGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      colgap - The column gap value (e.g., "10px", "1em").
      Returns:
      true if the property was set successfully, false otherwise.
    • setColGap

      public CssStyle setColGap(int colgap)
      Sets the CSS column-gap property using a pixel value.
      Specified by:
      setColGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      colgap - The column gap in pixels.
      Returns:
      true if the property was set successfully, false otherwise.
    • setGap

      public CssStyle setGap(String gap)
      Sets the CSS gap property using a string value.

      The gap property is a shorthand for row-gap and column-gap.

      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      gap - The gap value (e.g., "10px", "1em").
      Returns:
      true if the property was set successfully, false otherwise.
    • setGap

      public CssStyle setGap(int gap)
      Sets the CSS gap property using a pixel value.

      The gap property is a shorthand for row-gap and column-gap.

      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      gap - The gap in pixels.
      Returns:
      true if the property was set successfully, false otherwise.
    • setGap

      public CssStyle setGap(String rowgap, String colgap)
      Sets the CSS gap property with separate row and column gap values.
      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      rowgap - The row gap value (e.g., "10px", "1em").
      colgap - The column gap value (e.g., "10px", "1em").
      Returns:
      true if the property was set successfully, false otherwise.
    • setGap

      public CssStyle setGap(int rowgap, int colgap)
      Sets the CSS gap property with separate row and column gap values in pixels.
      Specified by:
      setGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      rowgap - The row gap in pixels.
      colgap - The column gap in pixels.
      Returns:
      true if the property was set successfully, false otherwise.
    • setRowGap

      public CssStyle setRowGap(String rowgap)
      Sets the CSS row-gap property using a string value.
      Specified by:
      setRowGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      rowgap - The row gap value (e.g., "10px", "1em").
      Returns:
      true if the property was set successfully, false otherwise.
    • setRowGap

      public CssStyle setRowGap(int rowgap)
      Sets the CSS row-gap property using a pixel value.
      Specified by:
      setRowGap in interface com.oorian.css.FlexibleBoxLayoutIntf<CssStyle>
      Parameters:
      rowgap - The row gap in pixels.
      Returns:
      true if the property was set successfully, false otherwise.
    • setFont

      public CssStyle setFont(String attrValue)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(Font font)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      font - The font value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(String family, String size)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The family value.
      size - The size value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(FontFamily family, float size)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The font family value.
      size - The float value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(String family, float size)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The family value.
      size - The float value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(FontFamily family, Units size)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The font family value.
      size - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(String family, Units size)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The family value.
      size - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(String family, String size, String weight)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The family value.
      size - The size value.
      weight - The weight value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(FontFamily family, float size, FontWeight weight)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The font family value.
      size - The float value.
      weight - The font weight value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(String family, float size, FontWeight weight)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The family value.
      size - The float value.
      weight - The font weight value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(FontFamily family, Units size, FontWeight weight)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The font family value.
      size - The value as a CSS unit.
      weight - The font weight value.
      Returns:
      This instance for method chaining.
    • setFont

      public CssStyle setFont(String family, Units size, FontWeight weight)
      Sets the CSS font property.
      Specified by:
      setFont in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      family - The family value.
      size - The value as a CSS unit.
      weight - The font weight value.
      Returns:
      This instance for method chaining.
    • setFontFamily

      public CssStyle setFontFamily(String attrValue)
      Sets the CSS font-family property.
      Specified by:
      setFontFamily in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontFamily

      public CssStyle setFontFamily(FontFamily attrValue)
      Sets the CSS font-family property.
      Specified by:
      setFontFamily in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The font family value.
      Returns:
      This instance for method chaining.
    • setFontSize

      public CssStyle setFontSize(String attrValue)
      Sets the CSS font-size property.
      Specified by:
      setFontSize in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontSize

      public CssStyle setFontSize(float pts)
      Sets the CSS font-size property.
      Specified by:
      setFontSize in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      pts - The float value.
      Returns:
      This instance for method chaining.
    • setFontSize

      public CssStyle setFontSize(Units units)
      Sets the CSS font-size property using a CSS unit value.
      Specified by:
      setFontSize in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setFontStretch

      public CssStyle setFontStretch(String attrValue)
      Sets the CSS font-stretch property.
      Specified by:
      setFontStretch in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontStretch

      public CssStyle setFontStretch(FontStretch attrValue)
      Sets the CSS font-stretch property.
      Specified by:
      setFontStretch in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The font stretch value.
      Returns:
      This instance for method chaining.
    • setFontStyle

      public CssStyle setFontStyle(String attrValue)
      Sets the CSS font-style property.
      Specified by:
      setFontStyle in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontStyle

      public CssStyle setFontStyle(FontStyle attrValue)
      Sets the CSS font-style property.
      Specified by:
      setFontStyle in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The font style value.
      Returns:
      This instance for method chaining.
    • setFontVariant

      public CssStyle setFontVariant(String attrValue)
      Sets the CSS font-variant property.
      Specified by:
      setFontVariant in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariant

      public CssStyle setFontVariant(FontVariant attrValue)
      Sets the CSS font-variant property.
      Specified by:
      setFontVariant in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The font variant value.
      Returns:
      This instance for method chaining.
    • setFontWeight

      public CssStyle setFontWeight(String attrValue)
      Sets the CSS font-weight property.
      Specified by:
      setFontWeight in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontWeight

      public CssStyle setFontWeight(FontWeight attrValue)
      Sets the CSS font-weight property.
      Specified by:
      setFontWeight in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The font weight value.
      Returns:
      This instance for method chaining.
    • setFontFace

      public CssStyle setFontFace(String attrValue)
      Sets the CSS font-face property.
      Specified by:
      setFontFace in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontFeatureSettings

      public CssStyle setFontFeatureSettings(String attrValue)
      Sets the CSS font-feature-settings property.
      Specified by:
      setFontFeatureSettings in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontKerning

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

      public CssStyle setFontLanguageOverride(String attrValue)
      Sets the CSS font-language-override property.
      Specified by:
      setFontLanguageOverride in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontSizeAdjust

      public CssStyle setFontSizeAdjust(String attrValue)
      Sets the CSS font-size-adjust property.
      Specified by:
      setFontSizeAdjust in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontSynthesis

      public CssStyle setFontSynthesis(String attrValue)
      Sets the CSS font-synthesis property.
      Specified by:
      setFontSynthesis in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariantAlternates

      public CssStyle setFontVariantAlternates(String attrValue)
      Sets the CSS font-variant-alternates property.
      Specified by:
      setFontVariantAlternates in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariantCaps

      public CssStyle setFontVariantCaps(String attrValue)
      Sets the CSS font-variant-caps property.
      Specified by:
      setFontVariantCaps in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariantEastAsian

      public CssStyle setFontVariantEastAsian(String attrValue)
      Sets the CSS font-variant-east-asian property.
      Specified by:
      setFontVariantEastAsian in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariantLigatures

      public CssStyle setFontVariantLigatures(String attrValue)
      Sets the CSS font-variant-ligatures property.
      Specified by:
      setFontVariantLigatures in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariantNumeric

      public CssStyle setFontVariantNumeric(String attrValue)
      Sets the CSS font-variant-numeric property.
      Specified by:
      setFontVariantNumeric in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setFontVariantPosition

      public CssStyle setFontVariantPosition(String attrValue)
      Sets the CSS font-variant-position property.
      Specified by:
      setFontVariantPosition in interface com.oorian.css.FontIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarks

      public CssStyle setMarks(String attrValue)
      Sets the CSS marks property.
      Specified by:
      setMarks in interface com.oorian.css.GeneratedContentForPagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setQuotes

      public CssStyle setQuotes(String attrValue)
      Sets the CSS quotes property.
      Specified by:
      setQuotes in interface com.oorian.css.GeneratedContentForPagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setImageOrientation

      public CssStyle setImageOrientation(String attrValue)
      Sets the CSS image-orientation property.
      Specified by:
      setImageOrientation in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setImageRendering

      public CssStyle setImageRendering(String attrValue)
      Sets the CSS image-rendering property.
      Specified by:
      setImageRendering in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setImageResolution

      public CssStyle setImageResolution(String attrValue)
      Sets the CSS image-resolution property.
      Specified by:
      setImageResolution in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setObjectFit

      public CssStyle setObjectFit(String attrValue)
      Sets the CSS object-fit property.
      Specified by:
      setObjectFit in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setObjectPosition

      public CssStyle setObjectPosition(String attrValue)
      Sets the CSS object-position property.
      Specified by:
      setObjectPosition in interface com.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setListStyle

      public CssStyle setListStyle(String attrValue)
      Sets the CSS list-style property.
      Specified by:
      setListStyle in interface com.oorian.css.ListIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setListStyleImage

      public CssStyle setListStyleImage(String attrValue)
      Sets the CSS list-style-image property.
      Specified by:
      setListStyleImage in interface com.oorian.css.ListIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setListStylePosition

      public CssStyle setListStylePosition(String attrValue)
      Sets the CSS list-style-position property.
      Specified by:
      setListStylePosition in interface com.oorian.css.ListIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setListStylePosition

      public CssStyle setListStylePosition(ListStylePosition attrValue)
      Sets the CSS list-style-position property.
      Specified by:
      setListStylePosition in interface com.oorian.css.ListIntf<CssStyle>
      Parameters:
      attrValue - The list style position value.
      Returns:
      This instance for method chaining.
    • setListStyleType

      public CssStyle setListStyleType(String attrValue)
      Sets the CSS list-style-type property.
      Specified by:
      setListStyleType in interface com.oorian.css.ListIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setListStyleType

      public CssStyle setListStyleType(ListStyleType attrValue)
      Sets the CSS list-style-type property.
      Specified by:
      setListStyleType in interface com.oorian.css.ListIntf<CssStyle>
      Parameters:
      attrValue - The list style type value.
      Returns:
      This instance for method chaining.
    • setMarqueeDirection

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

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

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

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

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

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

      public CssStyle setBreakAfter(String attrValue)
      Sets the CSS break-after property.
      Specified by:
      setBreakAfter in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBreakBefore

      public CssStyle setBreakBefore(String attrValue)
      Sets the CSS break-before property.
      Specified by:
      setBreakBefore in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBreakInside

      public CssStyle setBreakInside(String attrValue)
      Sets the CSS break-inside property.
      Specified by:
      setBreakInside in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnCount

      public CssStyle setColumnCount(String attrValue)
      Sets the CSS column-count property.
      Specified by:
      setColumnCount in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnCount

      public CssStyle setColumnCount(int count)
      Sets the CSS column-count property.
      Specified by:
      setColumnCount in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      count - The iteration count.
      Returns:
      This instance for method chaining.
    • setColumnFill

      public CssStyle setColumnFill(String attrValue)
      Sets the CSS column-fill property.
      Specified by:
      setColumnFill in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnFill

      public CssStyle setColumnFill(ColumnFill attrValue)
      Sets the CSS column-fill property.
      Specified by:
      setColumnFill in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The column fill value.
      Returns:
      This instance for method chaining.
    • setColumnGap

      public CssStyle setColumnGap(String attrValue)
      Sets the CSS column-gap property.
      Specified by:
      setColumnGap in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnRule

      public CssStyle setColumnRule(String attrValue)
      Sets the CSS column-rule property.
      Specified by:
      setColumnRule in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnRuleColor

      public CssStyle setColumnRuleColor(String attrValue)
      Sets the CSS column-rule-color property.
      Specified by:
      setColumnRuleColor in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnRuleColor

      public CssStyle setColumnRuleColor(Color color)
      Sets the CSS column-rule-color property using a Color object.
      Specified by:
      setColumnRuleColor in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setColumnRuleStyle

      public CssStyle setColumnRuleStyle(String attrValue)
      Sets the CSS column-rule-style property.
      Specified by:
      setColumnRuleStyle in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnRuleStyle

      public CssStyle setColumnRuleStyle(ColumnRuleStyle attrValue)
      Sets the CSS column-rule-style property.
      Specified by:
      setColumnRuleStyle in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The column rule style.
      Returns:
      This instance for method chaining.
    • setColumnRuleWidth

      public CssStyle setColumnRuleWidth(String attrValue)
      Sets the CSS column-rule-width property.
      Specified by:
      setColumnRuleWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnRuleWidth

      public CssStyle setColumnRuleWidth(ColumnRuleWidth attrValue)
      Sets the CSS column-rule-width property.
      Specified by:
      setColumnRuleWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The column rule width.
      Returns:
      This instance for method chaining.
    • setColumnSpan

      public CssStyle setColumnSpan(String attrValue)
      Sets the CSS column-span property.
      Specified by:
      setColumnSpan in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnWidth

      public CssStyle setColumnWidth(String attrValue)
      Sets the CSS column-width property.
      Specified by:
      setColumnWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumnWidth

      public CssStyle setColumnWidth(int pixels)
      Sets the CSS column-width property in pixels.
      Specified by:
      setColumnWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setColumnWidth

      public CssStyle setColumnWidth(Units units)
      Sets the CSS column-width property using a CSS unit value.
      Specified by:
      setColumnWidth in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setColumns

      public CssStyle setColumns(String attrValue)
      Sets the CSS columns property.
      Specified by:
      setColumns in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setColumns

      public CssStyle setColumns(int count, int width)
      Sets the CSS columns property.
      Specified by:
      setColumns in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      count - The iteration count.
      width - The width value.
      Returns:
      This instance for method chaining.
    • setColumns

      public CssStyle setColumns(int count, Units width)
      Sets the CSS columns property.
      Specified by:
      setColumns in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      count - The iteration count.
      width - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setWidows

      public CssStyle setWidows(String attrValue)
      Sets the CSS widows property.
      Specified by:
      setWidows in interface com.oorian.css.MultiColumnLayoutIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setOrphans

      public CssStyle setOrphans(String attrValue)
      Sets the CSS orphans property.
      Specified by:
      setOrphans in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPageBreakAfter

      public CssStyle setPageBreakAfter(String attrValue)
      Sets the CSS page-break-after property.
      Specified by:
      setPageBreakAfter in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPageBreakAfter

      public CssStyle setPageBreakAfter(PageBreakAfter attrValue)
      Sets the CSS page-break-after property.
      Specified by:
      setPageBreakAfter in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The page break after value.
      Returns:
      This instance for method chaining.
    • setPageBreakBefore

      public CssStyle setPageBreakBefore(String attrValue)
      Sets the CSS page-break-before property.
      Specified by:
      setPageBreakBefore in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPageBreakBefore

      public CssStyle setPageBreakBefore(PageBreakBefore attrValue)
      Sets the CSS page-break-before property.
      Specified by:
      setPageBreakBefore in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The page break before value.
      Returns:
      This instance for method chaining.
    • setPageBreakInside

      public CssStyle setPageBreakInside(String attrValue)
      Sets the CSS page-break-inside property.
      Specified by:
      setPageBreakInside in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPageBreakInside

      public CssStyle setPageBreakInside(PageBreakInside attrValue)
      Sets the CSS page-break-inside property.
      Specified by:
      setPageBreakInside in interface PagedMediaIntf<CssStyle>
      Parameters:
      attrValue - The page break inside value.
      Returns:
      This instance for method chaining.
    • setMark

      public CssStyle setMark(String attrValue)
      Sets the CSS mark property.
      Specified by:
      setMark in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarkAfter

      public CssStyle setMarkAfter(String attrValue)
      Sets the CSS mark-after property.
      Specified by:
      setMarkAfter in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setMarkBefore

      public CssStyle setMarkBefore(String attrValue)
      Sets the CSS mark-before property.
      Specified by:
      setMarkBefore in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPhonemes

      public CssStyle setPhonemes(String attrValue)
      Sets the CSS phonemes property.
      Specified by:
      setPhonemes in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setRest

      public CssStyle setRest(String attrValue)
      Sets the CSS rest property.
      Specified by:
      setRest in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setRestAfter

      public CssStyle setRestAfter(String attrValue)
      Sets the CSS rest-after property.
      Specified by:
      setRestAfter in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setRestBefore

      public CssStyle setRestBefore(String attrValue)
      Sets the CSS rest-before property.
      Specified by:
      setRestBefore in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoiceBalance

      public CssStyle setVoiceBalance(String attrValue)
      Sets the CSS voice-balance property.
      Specified by:
      setVoiceBalance in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoiceDuration

      public CssStyle setVoiceDuration(String attrValue)
      Sets the CSS voice-duration property.
      Specified by:
      setVoiceDuration in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoicePitch

      public CssStyle setVoicePitch(String attrValue)
      Sets the CSS voice-pitch property.
      Specified by:
      setVoicePitch in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoicePitchRange

      public CssStyle setVoicePitchRange(String attrValue)
      Sets the CSS voice-pitch-range property.
      Specified by:
      setVoicePitchRange in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoiceRate

      public CssStyle setVoiceRate(String attrValue)
      Sets the CSS voice-rate property.
      Specified by:
      setVoiceRate in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoiceStress

      public CssStyle setVoiceStress(String attrValue)
      Sets the CSS voice-stress property.
      Specified by:
      setVoiceStress in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setVoiceVolume

      public CssStyle setVoiceVolume(String attrValue)
      Sets the CSS voice-volume property.
      Specified by:
      setVoiceVolume in interface com.oorian.css.SpeechIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderCollapse

      public CssStyle setBorderCollapse(String attrValue)
      Sets the CSS border-collapse property.
      Specified by:
      setBorderCollapse in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderCollapse

      public CssStyle setBorderCollapse(BorderCollapse attrValue)
      Sets the CSS border-collapse property.
      Specified by:
      setBorderCollapse in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The border collapse value.
      Returns:
      This instance for method chaining.
    • setBorderSpacing

      public CssStyle setBorderSpacing(String attrValue)
      Sets the CSS border-spacing property.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBorderSpacing

      public CssStyle setBorderSpacing(String hspacing, String vspacing)
      Sets the CSS border-spacing property.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      hspacing - The hspacing value.
      vspacing - The vspacing value.
      Returns:
      This instance for method chaining.
    • setBorderSpacing

      public CssStyle setBorderSpacing(int pixels)
      Sets the CSS border-spacing property in pixels.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setBorderSpacing

      public CssStyle setBorderSpacing(int hspacing, int vspacing)
      Sets the CSS border-spacing property.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      hspacing - The hspacing value.
      vspacing - The vspacing value.
      Returns:
      This instance for method chaining.
    • setBorderSpacing

      public CssStyle setBorderSpacing(Units units)
      Sets the CSS border-spacing property using a CSS unit value.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setBorderSpacing

      public CssStyle setBorderSpacing(Units hspacing, Units vspacing)
      Sets the CSS border-spacing property.
      Specified by:
      setBorderSpacing in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      hspacing - The value as a CSS unit.
      vspacing - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setCaptionSide

      public CssStyle setCaptionSide(String attrValue)
      Sets the CSS caption-side property.
      Specified by:
      setCaptionSide in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setCaptionSide

      public CssStyle setCaptionSide(CaptionSide attrValue)
      Sets the CSS caption-side property.
      Specified by:
      setCaptionSide in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The caption side value.
      Returns:
      This instance for method chaining.
    • setEmptyCells

      public CssStyle setEmptyCells(String attrValue)
      Sets the CSS empty-cells property.
      Specified by:
      setEmptyCells in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setEmptyCells

      public CssStyle setEmptyCells(EmptyCells attrValue)
      Sets the CSS empty-cells property.
      Specified by:
      setEmptyCells in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The empty cells value.
      Returns:
      This instance for method chaining.
    • setTableLayout

      public CssStyle setTableLayout(String attrValue)
      Sets the CSS table-layout property.
      Specified by:
      setTableLayout in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTableLayout

      public CssStyle setTableLayout(TableLayout attrValue)
      Sets the CSS table-layout property.
      Specified by:
      setTableLayout in interface com.oorian.css.TableIntf<CssStyle>
      Parameters:
      attrValue - The table layout value.
      Returns:
      This instance for method chaining.
    • setTextDecoration

      public CssStyle setTextDecoration(String attrValue)
      Sets the CSS text-decoration property.
      Specified by:
      setTextDecoration in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextDecoration

      public CssStyle setTextDecoration(TextDecoration attrValue)
      Sets the CSS text-decoration property.
      Specified by:
      setTextDecoration in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The text decoration value.
      Returns:
      This instance for method chaining.
    • setTextDecorationColor

      public CssStyle setTextDecorationColor(String attrValue)
      Sets the CSS text-decoration-color property.
      Specified by:
      setTextDecorationColor in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextDecorationColor

      public CssStyle setTextDecorationColor(Color color)
      Sets the CSS text-decoration-color property using a Color object.
      Specified by:
      setTextDecorationColor in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      color - The color value.
      Returns:
      This instance for method chaining.
    • setTextDecorationLine

      public CssStyle setTextDecorationLine(String attrValue)
      Sets the CSS text-decoration-line property.
      Specified by:
      setTextDecorationLine in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextDecorationLine

      public CssStyle setTextDecorationLine(TextDecorationLine attrValue)
      Sets the CSS text-decoration-line property.
      Specified by:
      setTextDecorationLine in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The text decoration line value.
      Returns:
      This instance for method chaining.
    • setTextDecorationStyle

      public CssStyle setTextDecorationStyle(String attrValue)
      Sets the CSS text-decoration-style property.
      Specified by:
      setTextDecorationStyle in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextDecorationStyle

      public CssStyle setTextDecorationStyle(TextDecorationStyle attrValue)
      Sets the CSS text-decoration-style property.
      Specified by:
      setTextDecorationStyle in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The text decoration style value.
      Returns:
      This instance for method chaining.
    • setTextShadow

      public CssStyle setTextShadow(String attrValue)
      Sets the CSS text-shadow property.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextShadow

      public CssStyle setTextShadow(int hShadow, int vShadow)
      Sets the CSS text-shadow property.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      hShadow - The h shadow value.
      vShadow - The v shadow value.
      Returns:
      This instance for method chaining.
    • setTextShadow

      public CssStyle setTextShadow(int hShadow, int vShadow, int blurRadius)
      Sets the CSS text-shadow property.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      hShadow - The h shadow value.
      vShadow - The v shadow value.
      blurRadius - The blur radius value.
      Returns:
      This instance for method chaining.
    • setTextShadow

      public CssStyle setTextShadow(int hShadow, int vShadow, int blurRadius, Color color)
      Sets the CSS text-shadow property.
      Specified by:
      setTextShadow in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      hShadow - The h shadow value.
      vShadow - The v shadow value.
      blurRadius - The blur radius value.
      color - The color value.
      Returns:
      This instance for method chaining.
    • setTextShadow

      public CssStyle setTextShadow(BoxShadow boxShadow)
      Sets the CSS text-shadow property from a BoxShadow builder.

      This overload accepts a BoxShadow object for composing multiple layered text shadows in a type-safe, fluent manner:

      
       style.setTextShadow(new BoxShadow()
           .add("1px", "1px", "2px", "rgba(0,0,0,0.3)")
           .add("-1px", "-1px", "2px", "rgba(255,255,255,0.3)"));
       
      Parameters:
      boxShadow - the BoxShadow builder containing the shadow definitions
      Returns:
      This instance for method chaining.
      See Also:
    • setTextUnderlinePosition

      public CssStyle setTextUnderlinePosition(String attrValue)
      Sets the CSS text-underline-position property.
      Specified by:
      setTextUnderlinePosition in interface com.oorian.css.TextDecorationIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setHangingPunctuation

      public CssStyle setHangingPunctuation(String attrValue)
      Sets the CSS hanging-punctuation property.
      Specified by:
      setHangingPunctuation in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setHangingPunctuation

      public CssStyle setHangingPunctuation(HangingPunctuation attrValue)
      Sets the CSS hanging-punctuation property.
      Specified by:
      setHangingPunctuation in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The hanging punctuation value.
      Returns:
      This instance for method chaining.
    • setHyphens

      public CssStyle setHyphens(String attrValue)
      Sets the CSS hyphens property.
      Specified by:
      setHyphens in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setLetterSpacing

      public CssStyle setLetterSpacing(String attrValue)
      Sets the CSS letter-spacing property.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setLetterSpacing

      public CssStyle setLetterSpacing(int pixels)
      Sets the CSS letter-spacing property in pixels.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setLetterSpacing

      public CssStyle setLetterSpacing(float pts)
      Sets the CSS letter-spacing property.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pts - The float value.
      Returns:
      This instance for method chaining.
    • setLetterSpacing

      public CssStyle setLetterSpacing(Units units)
      Sets the CSS letter-spacing property using a CSS unit value.
      Specified by:
      setLetterSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setLineBreak

      public CssStyle setLineBreak(String attrValue)
      Sets the CSS line-break property.
      Specified by:
      setLineBreak in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setLineHeight

      public CssStyle setLineHeight(String attrValue)
      Sets the CSS line-height property.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setLineHeight

      public CssStyle setLineHeight(int pixels)
      Sets the CSS line-height property in pixels.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setLineHeight

      public CssStyle setLineHeight(float pts)
      Sets the CSS line-height property.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pts - The float value.
      Returns:
      This instance for method chaining.
    • setLineHeight

      public CssStyle setLineHeight(Units units)
      Sets the CSS line-height property using a CSS unit value.
      Specified by:
      setLineHeight in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setOverflowWrap

      public CssStyle setOverflowWrap(String attrValue)
      Sets the CSS overflow-wrap property.
      Specified by:
      setOverflowWrap in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTabSize

      public CssStyle setTabSize(String attrValue)
      Sets the CSS tab-size property.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTabSize

      public CssStyle setTabSize(int pixels)
      Sets the CSS tab-size property in pixels.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setTabSize

      public CssStyle setTabSize(float pts)
      Sets the CSS tab-size property.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pts - The float value.
      Returns:
      This instance for method chaining.
    • setTabSize

      public CssStyle setTabSize(Units units)
      Sets the CSS tab-size property using a CSS unit value.
      Specified by:
      setTabSize in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setTextAlign

      public CssStyle setTextAlign(String attrValue)
      Sets the CSS text-align property.
      Specified by:
      setTextAlign in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextAlign

      public CssStyle setTextAlign(TextAlign attrValue)
      Sets the CSS text-align property.
      Specified by:
      setTextAlign in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The text align value.
      Returns:
      This instance for method chaining.
    • setTextAlignLast

      public CssStyle setTextAlignLast(String attrValue)
      Sets the CSS text-align-last property.
      Specified by:
      setTextAlignLast in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextAlignLast

      public CssStyle setTextAlignLast(TextAlignLast attrValue)
      Sets the CSS text-align-last property.
      Specified by:
      setTextAlignLast in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The text align last value.
      Returns:
      This instance for method chaining.
    • setTextCombineUpright

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

      public CssStyle setTextIndent(String attrValue)
      Sets the CSS text-indent property.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextIndent

      public CssStyle setTextIndent(int pixels)
      Sets the CSS text-indent property in pixels.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setTextIndent

      public CssStyle setTextIndent(float pts)
      Sets the CSS text-indent property.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pts - The float value.
      Returns:
      This instance for method chaining.
    • setTextIndent

      public CssStyle setTextIndent(Units units)
      Sets the CSS text-indent property using a CSS unit value.
      Specified by:
      setTextIndent in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setTextJustify

      public CssStyle setTextJustify(String attrValue)
      Sets the CSS text-justify property.
      Specified by:
      setTextJustify in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextJustify

      public CssStyle setTextJustify(TextJustify attrValue)
      Sets the CSS text-justify property.
      Specified by:
      setTextJustify in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The text justify value.
      Returns:
      This instance for method chaining.
    • setTextTransform

      public CssStyle setTextTransform(String attrValue)
      Sets the CSS text-transform property.
      Specified by:
      setTextTransform in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextTransform

      public CssStyle setTextTransform(TextTransform attrValue)
      Sets the CSS text-transform property.
      Specified by:
      setTextTransform in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The text transform value.
      Returns:
      This instance for method chaining.
    • setWhiteSpace

      public CssStyle setWhiteSpace(String attrValue)
      Sets the CSS white-space property.
      Specified by:
      setWhiteSpace in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setWhiteSpace

      public CssStyle setWhiteSpace(WhiteSpace attrValue)
      Sets the CSS white-space property.
      Specified by:
      setWhiteSpace in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The white space value.
      Returns:
      This instance for method chaining.
    • setWordBreak

      public CssStyle setWordBreak(String attrValue)
      Sets the CSS word-break property.
      Specified by:
      setWordBreak in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setWordBreak

      public CssStyle setWordBreak(WordBreak attrValue)
      Sets the CSS word-break property.
      Specified by:
      setWordBreak in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The word break value.
      Returns:
      This instance for method chaining.
    • setWordSpacing

      public CssStyle setWordSpacing(String attrValue)
      Sets the CSS word-spacing property.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setWordSpacing

      public CssStyle setWordSpacing(int pixels)
      Sets the CSS word-spacing property in pixels.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setWordSpacing

      public CssStyle setWordSpacing(float pts)
      Sets the CSS word-spacing property.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      pts - The float value.
      Returns:
      This instance for method chaining.
    • setWordSpacing

      public CssStyle setWordSpacing(Units units)
      Sets the CSS word-spacing property using a CSS unit value.
      Specified by:
      setWordSpacing in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setWordWrap

      public CssStyle setWordWrap(String attrValue)
      Sets the CSS word-wrap property.
      Specified by:
      setWordWrap in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setWordWrap

      public CssStyle setWordWrap(WordWrap attrValue)
      Sets the CSS word-wrap property using a WordWrap enum value.
      Specified by:
      setWordWrap in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      attrValue - The WordWrap enum value.
      Returns:
      This CssStyle instance for method chaining.
    • setTextSelectDisabled

      public CssStyle setTextSelectDisabled(boolean flag)
      Enables or disables text selection on this element.

      When disabled, the user cannot select text within this element using the mouse or keyboard. This is achieved by setting the CSS user-select property to "none".

      Specified by:
      setTextSelectDisabled in interface com.oorian.css.TextIntf<CssStyle>
      Parameters:
      flag - true to disable text selection, false to enable.
      Returns:
      This CssStyle instance for method chaining.
    • setBackfaceVisibility

      public CssStyle setBackfaceVisibility(String attrValue)
      Sets the CSS backface-visibility property.
      Specified by:
      setBackfaceVisibility in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setBackfaceVisibility

      public CssStyle setBackfaceVisibility(BackfaceVisibility attrValue)
      Sets the CSS backface-visibility property.
      Specified by:
      setBackfaceVisibility in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The backface visibility value.
      Returns:
      This instance for method chaining.
    • setPerspective

      public CssStyle setPerspective(String attrValue)
      Sets the CSS perspective property.
      Specified by:
      setPerspective in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPerspective

      public CssStyle setPerspective(int pixels)
      Sets the CSS perspective property in pixels.
      Specified by:
      setPerspective in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      pixels - The value in pixels.
      Returns:
      This instance for method chaining.
    • setPerspective

      public CssStyle setPerspective(Units units)
      Sets the CSS perspective property using a CSS unit value.
      Specified by:
      setPerspective in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      units - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setPerspectiveOrigin

      public CssStyle setPerspectiveOrigin(String attrValue)
      Sets the CSS perspective-origin property.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setPerspectiveOrigin

      public CssStyle setPerspectiveOrigin(String xAxis, String yAxis)
      Sets the CSS perspective-origin property.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The x axis value.
      yAxis - The y axis value.
      Returns:
      This instance for method chaining.
    • setPerspectiveOrigin

      public CssStyle setPerspectiveOrigin(Units xAxis, Units yAxis)
      Sets the CSS perspective-origin property.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The value as a CSS unit.
      yAxis - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setPerspectiveOrigin

      public CssStyle setPerspectiveOrigin(Origin xAxis, Origin yAxis)
      Sets the CSS perspective-origin property.
      Specified by:
      setPerspectiveOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The origin value.
      yAxis - The origin value.
      Returns:
      This instance for method chaining.
    • setTransform

      public CssStyle setTransform(String attrValue)
      Sets the CSS transform property.
      Specified by:
      setTransform in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransform

      public CssStyle setTransform(Transform transform)
      Sets the CSS transform property from a Transform builder.

      This overload accepts a Transform object for composing multiple transform functions in a type-safe, fluent manner:

      
       style.setTransform(new Transform()
           .translateX("50px")
           .rotate(45)
           .scale(1.5f));
       
      Parameters:
      transform - the Transform builder containing the functions to apply
      Returns:
      This instance for method chaining.
      See Also:
    • setTranslateX

      public CssStyle setTranslateX(String value)
      Sets the translateX() function within the CSS transform property.

      If a translateX() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS length value (e.g., "50px", "10%", "2rem")
      Returns:
      This instance for method chaining.
    • setTranslateY

      public CssStyle setTranslateY(String value)
      Sets the translateY() function within the CSS transform property.

      If a translateY() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS length value (e.g., "50px", "10%", "2rem")
      Returns:
      This instance for method chaining.
    • setTranslateZ

      public CssStyle setTranslateZ(String value)
      Sets the translateZ() function within the CSS transform property.

      If a translateZ() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS length value (e.g., "50px", "100px")
      Returns:
      This instance for method chaining.
    • setRotate

      public CssStyle setRotate(float degrees)
      Sets the rotate() function within the CSS transform property.

      If a rotate() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      degrees - the rotation angle in degrees
      Returns:
      This instance for method chaining.
    • setRotate

      public CssStyle setRotate(String value)
      Sets the rotate() function within the CSS transform property.

      If a rotate() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS angle value (e.g., "45deg", "0.5turn", "1.57rad")
      Returns:
      This instance for method chaining.
    • setScale

      public CssStyle setScale(float value)
      Sets the scale() function within the CSS transform property.

      If a scale() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the scale factor (e.g., 1.5f for 150%)
      Returns:
      This instance for method chaining.
    • setScale

      public CssStyle setScale(String value)
      Sets the scale() function within the CSS transform property.

      If a scale() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS scale value (e.g., "1.5", "2, 0.5" for non-uniform)
      Returns:
      This instance for method chaining.
    • setSkewX

      public CssStyle setSkewX(String value)
      Sets the skewX() function within the CSS transform property.

      If a skewX() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS angle value (e.g., "15deg")
      Returns:
      This instance for method chaining.
    • setSkewY

      public CssStyle setSkewY(String value)
      Sets the skewY() function within the CSS transform property.

      If a skewY() already exists in the transform, it is replaced. Otherwise the function is appended. Other transform functions are preserved.

      Parameters:
      value - the CSS angle value (e.g., "15deg")
      Returns:
      This instance for method chaining.
    • setTransformOrigin

      public CssStyle setTransformOrigin(String attrValue)
      Sets the CSS transform-origin property.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransformOrigin

      public CssStyle setTransformOrigin(String xAxis, String yAxis, String zAxis)
      Sets the CSS transform-origin property.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The x axis value.
      yAxis - The y axis value.
      zAxis - The z axis value.
      Returns:
      This instance for method chaining.
    • setTransformOrigin

      public CssStyle setTransformOrigin(int xAxis, int yAxis, int zAxis)
      Sets the CSS transform-origin property.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The x axis value.
      yAxis - The y axis value.
      zAxis - The z axis value.
      Returns:
      This instance for method chaining.
    • setTransformOrigin

      public CssStyle setTransformOrigin(Units xAxis, Units yAxis, Units zAxis)
      Sets the CSS transform-origin property.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The value as a CSS unit.
      yAxis - The value as a CSS unit.
      zAxis - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setTransformOrigin

      public CssStyle setTransformOrigin(Origin xAxis, Origin yAxis, Units zAxis)
      Sets the CSS transform-origin property.
      Specified by:
      setTransformOrigin in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      xAxis - The origin value.
      yAxis - The origin value.
      zAxis - The value as a CSS unit.
      Returns:
      This instance for method chaining.
    • setTransformStyle

      public CssStyle setTransformStyle(String attrValue)
      Sets the CSS transform-style property.
      Specified by:
      setTransformStyle in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransformStyle

      public CssStyle setTransformStyle(TransformStyle attrValue)
      Sets the CSS transform-style property.
      Specified by:
      setTransformStyle in interface com.oorian.css.TransformIntf<CssStyle>
      Parameters:
      attrValue - The transform style value.
      Returns:
      This instance for method chaining.
    • setTransition

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

      public CssStyle setTransitionProperty(String attrValue)
      Sets the CSS transition-property property.
      Specified by:
      setTransitionProperty in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransitionDuration

      public CssStyle setTransitionDuration(String attrValue)
      Sets the CSS transition-duration property.
      Specified by:
      setTransitionDuration in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransitionDuration

      public CssStyle setTransitionDuration(float secs)
      Sets the CSS transition-duration property.
      Specified by:
      setTransitionDuration in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      secs - The float value.
      Returns:
      This instance for method chaining.
    • setTransitionDuration

      public CssStyle setTransitionDuration(long msecs)
      Sets the CSS transition-duration property.
      Specified by:
      setTransitionDuration in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      msecs - The long value.
      Returns:
      This instance for method chaining.
    • setTransitionTimingFunction

      public CssStyle setTransitionTimingFunction(String attrValue)
      Sets the CSS transition-timing-function property.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransitionTimingFunction

      public CssStyle setTransitionTimingFunction(TransitionTimingFunction attrValue)
      Sets the CSS transition-timing-function property.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      attrValue - The transition timing function value.
      Returns:
      This instance for method chaining.
    • setTransitionTimingFunction

      public CssStyle setTransitionTimingFunction(int intervals, boolean start)
      Sets the CSS transition-timing-function property.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      intervals - The number of intervals.
      start - true to start the steps from the beginning.
      Returns:
      This instance for method chaining.
    • setTransitionTimingFunction

      public CssStyle setTransitionTimingFunction(float n1, float n2, float n3, float n4)
      Sets the CSS transition-timing-function property.
      Specified by:
      setTransitionTimingFunction in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      n1 - The first cubic-bezier control point value.
      n2 - The second cubic-bezier control point value.
      n3 - The third cubic-bezier control point value.
      n4 - The fourth cubic-bezier control point value.
      Returns:
      This instance for method chaining.
    • setTransitionDelay

      public CssStyle setTransitionDelay(String attrValue)
      Sets the CSS transition-delay property.
      Specified by:
      setTransitionDelay in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTransitionDelay

      public CssStyle setTransitionDelay(int secs)
      Sets the CSS transition-delay property.
      Specified by:
      setTransitionDelay in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      secs - The secs value.
      Returns:
      This instance for method chaining.
    • setTransitionDelay

      public CssStyle setTransitionDelay(long msecs)
      Sets the CSS transition-delay property.
      Specified by:
      setTransitionDelay in interface com.oorian.css.TransitionIntf<CssStyle>
      Parameters:
      msecs - The long value.
      Returns:
      This instance for method chaining.
    • setDirection

      public CssStyle setDirection(String attrValue)
      Sets the CSS direction property.
      Specified by:
      setDirection in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setDirection

      public CssStyle setDirection(TextDirection attrValue)
      Sets the CSS direction property.
      Specified by:
      setDirection in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The text direction value.
      Returns:
      This instance for method chaining.
    • setTextOrientation

      public CssStyle setTextOrientation(String attrValue)
      Sets the CSS text-orientation property.
      Specified by:
      setTextOrientation in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setTextCombineWeight

      public CssStyle setTextCombineWeight(String attrValue)
      Sets the CSS text-combine-weight property.
      Specified by:
      setTextCombineWeight in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setUnicodeBidi

      public CssStyle setUnicodeBidi(String attrValue)
      Sets the CSS unicode-bidi property.
      Specified by:
      setUnicodeBidi in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.
    • setUnicodeBidi

      public CssStyle setUnicodeBidi(UnicodeBidi attrValue)
      Sets the CSS unicode-bidi property.
      Specified by:
      setUnicodeBidi in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The unicode bidi value.
      Returns:
      This instance for method chaining.
    • setWritingMode

      public CssStyle setWritingMode(String attrValue)
      Sets the CSS writing-mode property.
      Specified by:
      setWritingMode in interface com.oorian.css.WritingModeIntf<CssStyle>
      Parameters:
      attrValue - The CSS value.
      Returns:
      This instance for method chaining.