Interface BorderIntf<T extends BorderIntf<T>>

All Known Implementing Classes:
ClassRule, CssRule, CssStyle, ElementRule, IdRule, KeyFrameRule, TagRule

public interface BorderIntf<T extends BorderIntf<T>>
CSS property setters for border properties.

This interface provides comprehensive methods for setting CSS border properties including border colors, styles, widths, radii, images, and shadows. Supports setting borders for all sides collectively or individually (top, right, bottom, left).

Properties:

  • border - Shorthand for width, style, and color
  • border-width - Thickness of borders
  • border-style - Line style (solid, dashed, dotted, etc.)
  • border-color - Border colors
  • border-radius - Rounded corners
  • border-image - Image-based borders
  • box-shadow - Shadow effects

Usage:


 element.setBorder(new Px(1), BorderStyle.SOLID, Color.BLACK);
 element.setBorderRadius(new Px(5));
 element.setBorderTop(Color.RED);
 element.setBoxShadow(2, 2, 5, 0, Color.GRAY);
 
Since:
2016
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Method Details

    • setBorder

      T setBorder(String attrValue)
      Sets the CSS border shorthand property using a string value.
      Parameters:
      attrValue - the border value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorder

      T setBorder(String width, String style, String color)
      Sets the CSS border shorthand property with separate string values.
      Parameters:
      width - the border width (e.g., "1px", "thin")
      style - the border style (e.g., "solid", "dashed")
      color - the border color (e.g., "black", "#000")
      Returns:
      this for method chaining
    • setBorder

      T setBorder(int width, BorderStyle style, Color color)
      Sets the CSS border shorthand property with typed values.
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      T setBorder(int width, Color color)
      Sets the CSS border property with width and color (solid style implied).
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      T setBorder(Color color)
      Sets the CSS border property with color only.
      Parameters:
      color - the Color object for the border
      Returns:
      this for method chaining
    • setBorder

      T setBorder(Units width, BorderStyle style, Color color)
      Sets the CSS border shorthand property with Units width.
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      T setBorder(Units width, Color color)
      Sets the CSS border property with Units width and color.
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      T setBorder(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border shorthand property with BorderWidth enum.
      Parameters:
      width - the BorderWidth enum value (e.g., THIN, MEDIUM, THICK)
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorder

      T setBorder(BorderWidth width, Color color)
      Sets the CSS border property with BorderWidth enum and color.
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(String attrValue)
      Sets the CSS border-bottom property using a string value.
      Parameters:
      attrValue - the border-bottom value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(String width, String style, String color)
      Sets the CSS border-bottom property with separate string values.
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(int width, BorderStyle style, Color color)
      Sets the CSS border-bottom property with typed values.
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(int width, Color color)
      Sets the CSS border-bottom property with width and color.
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(Units width, BorderStyle style, Color color)
      Sets the CSS border-bottom property with Units width.
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(Units width, Color color)
      Sets the CSS border-bottom property with Units width and color.
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-bottom property with BorderWidth enum.
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottom

      T setBorderBottom(BorderWidth width, Color color)
      Sets the CSS border-bottom property with BorderWidth enum and color.
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderBottomColor

      T setBorderBottomColor(String attrValue)
      Sets the CSS border-bottom-color property using a string value.
      Parameters:
      attrValue - the color value (e.g., "red", "#ff0000")
      Returns:
      this for method chaining
    • setBorderBottomColor

      T setBorderBottomColor(Color attrValue)
      Sets the CSS border-bottom-color property using a Color object.
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderBottomLeftRadius

      T setBorderBottomLeftRadius(String attrValue)
      Sets the CSS border-bottom-left-radius property using a string value.
      Parameters:
      attrValue - the radius value (e.g., "5px", "10%")
      Returns:
      this for method chaining
    • setBorderBottomLeftRadius

      T setBorderBottomLeftRadius(int pixels)
      Sets the CSS border-bottom-left-radius property using a pixel value.
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderBottomLeftRadius

      T setBorderBottomLeftRadius(Units units)
      Sets the CSS border-bottom-left-radius property using a Units value.
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderBottomRightRadius

      T setBorderBottomRightRadius(String attrValue)
      Sets the CSS border-bottom-right-radius property using a string value.
      Parameters:
      attrValue - the radius value (e.g., "5px", "10%")
      Returns:
      this for method chaining
    • setBorderBottomRightRadius

      T setBorderBottomRightRadius(int pixels)
      Sets the CSS border-bottom-right-radius property using a pixel value.
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderBottomRightRadius

      T setBorderBottomRightRadius(Units units)
      Sets the CSS border-bottom-right-radius property using a Units value.
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderBottomStyle

      T setBorderBottomStyle(String attrValue)
      Sets the CSS border-bottom-style property using a string value.
      Parameters:
      attrValue - the style value (e.g., "solid", "dashed", "dotted")
      Returns:
      this for method chaining
    • setBorderBottomStyle

      T setBorderBottomStyle(BorderStyle attrValue)
      Sets the CSS border-bottom-style property using a BorderStyle enum.
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderBottomWidth

      T setBorderBottomWidth(String attrValue)
      Sets the CSS border-bottom-width property using a string value.
      Parameters:
      attrValue - the width value (e.g., "1px", "thin")
      Returns:
      this for method chaining
    • setBorderBottomWidth

      T setBorderBottomWidth(BorderWidth attrValue)
      Sets the CSS border-bottom-width property using a BorderWidth enum.
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderBottomWidth

      T setBorderBottomWidth(int pixels)
      Sets the CSS border-bottom-width property using a pixel value.
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderBottomWidth

      T setBorderBottomWidth(Units units)
      Sets the CSS border-bottom-width property using a Units value.
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderColor

      T setBorderColor(String attrValue)
      Sets the CSS border-color property using a string value.
      Parameters:
      attrValue - the color value (e.g., "red", "#ff0000", "red blue green yellow")
      Returns:
      this for method chaining
    • setBorderColor

      T setBorderColor(Color color)
      Sets the CSS border-color property for all sides using a Color object.
      Parameters:
      color - the Color object
      Returns:
      this for method chaining
    • setBorderColor

      T setBorderColor(String top, String right, String bottom, String left)
      Sets the CSS border-color property with individual string values for each side.
      Parameters:
      top - the top border color
      right - the right border color
      bottom - the bottom border color
      left - the left border color
      Returns:
      this for method chaining
    • setBorderColor

      T setBorderColor(Color top, Color right, Color bottom, Color left)
      Sets the CSS border-color property with individual Color objects for each side.
      Parameters:
      top - the top border Color
      right - the right border Color
      bottom - the bottom border Color
      left - the left border Color
      Returns:
      this for method chaining
    • setBorderImage

      T setBorderImage(String attrValue)
      Sets the CSS border-image shorthand property using a string value.
      Parameters:
      attrValue - the border-image value
      Returns:
      this for method chaining
    • setBorderImage

      T setBorderImage(String srcUrl, String slice, String width, String outset, String repeat)
      Sets the CSS border-image shorthand property with all components.
      Parameters:
      srcUrl - the image source URL
      slice - the slice value
      width - the border image width
      outset - the outset value
      repeat - the repeat value (e.g., "stretch", "repeat", "round")
      Returns:
      this for method chaining
    • setBorderImageOutset

      T setBorderImageOutset(String attrValue)
      Sets the CSS border-image-outset property.
      Parameters:
      attrValue - the outset value
      Returns:
      this for method chaining
    • setBorderImageRepeat

      T setBorderImageRepeat(String attrValue)
      Sets the CSS border-image-repeat property.
      Parameters:
      attrValue - the repeat value (e.g., "stretch", "repeat", "round", "space")
      Returns:
      this for method chaining
    • setBorderImageSlice

      T setBorderImageSlice(String attrValue)
      Sets the CSS border-image-slice property.
      Parameters:
      attrValue - the slice value
      Returns:
      this for method chaining
    • setBorderImageSource

      T setBorderImageSource(String attrValue)
      Sets the CSS border-image-source property.
      Parameters:
      attrValue - the image source URL
      Returns:
      this for method chaining
    • setBorderImageWidth

      T setBorderImageWidth(String attrValue)
      Sets the CSS border-image-width property.
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(String attrValue)
      Sets the CSS border-left property using a string value.
      Parameters:
      attrValue - the border-left value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(String width, String style, String color)
      Sets the CSS border-left property with separate string values.
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(int width, BorderStyle style, Color color)
      Sets the CSS border-left property with typed values.
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(int width, Color color)
      Sets the CSS border-left property with width and color.
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(Units width, BorderStyle style, Color color)
      Sets the CSS border-left property with Units width.
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(Units width, Color color)
      Sets the CSS border-left property with Units width and color.
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-left property with BorderWidth enum.
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeft

      T setBorderLeft(BorderWidth width, Color color)
      Sets the CSS border-left property with BorderWidth enum and color.
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderLeftColor

      T setBorderLeftColor(String attrValue)
      Sets the CSS border-left-color property using a string value.
      Parameters:
      attrValue - the color value
      Returns:
      this for method chaining
    • setBorderLeftColor

      T setBorderLeftColor(Color attrValue)
      Sets the CSS border-left-color property using a Color object.
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderLeftStyle

      T setBorderLeftStyle(String attrValue)
      Sets the CSS border-left-style property using a string value.
      Parameters:
      attrValue - the style value
      Returns:
      this for method chaining
    • setBorderLeftStyle

      T setBorderLeftStyle(BorderStyle attrValue)
      Sets the CSS border-left-style property using a BorderStyle enum.
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderLeftWidth

      T setBorderLeftWidth(String attrValue)
      Sets the CSS border-left-width property using a string value.
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderLeftWidth

      T setBorderLeftWidth(BorderWidth attrValue)
      Sets the CSS border-left-width property using a BorderWidth enum.
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderLeftWidth

      T setBorderLeftWidth(int pixels)
      Sets the CSS border-left-width property using a pixel value.
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderLeftWidth

      T setBorderLeftWidth(Units units)
      Sets the CSS border-left-width property using a Units value.
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderRadius

      T setBorderRadius(String attrValue)
      Sets the CSS border-radius property using a string value.
      Parameters:
      attrValue - the radius value (e.g., "5px", "10px 20px")
      Returns:
      this for method chaining
    • setBorderRadius

      T setBorderRadius(int pixels)
      Sets the CSS border-radius property for all corners using a pixel value.
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderRadius

      T setBorderRadius(Units units)
      Sets the CSS border-radius property for all corners using a Units value.
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderRadius

      T setBorderRadius(String topLeft, String topRight, String bottomRight, String bottomLeft)
      Sets the CSS border-radius property with individual string values for each corner.
      Parameters:
      topLeft - the top-left corner radius
      topRight - the top-right corner radius
      bottomRight - the bottom-right corner radius
      bottomLeft - the bottom-left corner radius
      Returns:
      this for method chaining
    • setBorderRadius

      T setBorderRadius(int topLeft, int topRight, int bottomRight, int bottomLeft)
      Sets the CSS border-radius property with individual pixel values for each corner.
      Parameters:
      topLeft - the top-left corner radius in pixels
      topRight - the top-right corner radius in pixels
      bottomRight - the bottom-right corner radius in pixels
      bottomLeft - the bottom-left corner radius in pixels
      Returns:
      this for method chaining
    • setBorderRadius

      T setBorderRadius(Units topLeft, Units topRight, Units bottomRight, Units bottomLeft)
      Sets the CSS border-radius property with individual Units values for each corner.
      Parameters:
      topLeft - the top-left corner radius as a Units object
      topRight - the top-right corner radius as a Units object
      bottomRight - the bottom-right corner radius as a Units object
      bottomLeft - the bottom-left corner radius as a Units object
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(String attrValue)
      Sets the CSS border-right property using a string value.
      Parameters:
      attrValue - the border-right value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(String width, String style, String color)
      Sets the CSS border-right property with separate string values.
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(int width, BorderStyle style, Color color)
      Sets the CSS border-right property with typed values.
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(int width, Color color)
      Sets the CSS border-right property with width and color.
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(Units width, BorderStyle style, Color color)
      Sets the CSS border-right property with Units width.
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(Units width, Color color)
      Sets the CSS border-right property with Units width and color.
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-right property with BorderWidth enum.
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRight

      T setBorderRight(BorderWidth width, Color color)
      Sets the CSS border-right property with BorderWidth enum and color.
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderRightColor

      T setBorderRightColor(String attrValue)
      Sets the CSS border-right-color property using a string value.
      Parameters:
      attrValue - the color value
      Returns:
      this for method chaining
    • setBorderRightColor

      T setBorderRightColor(Color attrValue)
      Sets the CSS border-right-color property using a Color object.
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderRightStyle

      T setBorderRightStyle(String attrValue)
      Sets the CSS border-right-style property using a string value.
      Parameters:
      attrValue - the style value
      Returns:
      this for method chaining
    • setBorderRightStyle

      T setBorderRightStyle(BorderStyle attrValue)
      Sets the CSS border-right-style property using a BorderStyle enum.
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderRightWidth

      T setBorderRightWidth(String attrValue)
      Sets the CSS border-right-width property using a string value.
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderRightWidth

      T setBorderRightWidth(BorderWidth attrValue)
      Sets the CSS border-right-width property using a BorderWidth enum.
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderRightWidth

      T setBorderRightWidth(int pixels)
      Sets the CSS border-right-width property using a pixel value.
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderRightWidth

      T setBorderRightWidth(Units units)
      Sets the CSS border-right-width property using a Units value.
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderStyle

      T setBorderStyle(String attrValue)
      Sets the CSS border-style property using a string value.
      Parameters:
      attrValue - the style value (e.g., "solid", "dashed dotted")
      Returns:
      this for method chaining
    • setBorderStyle

      T setBorderStyle(BorderStyle attrValue)
      Sets the CSS border-style property for all sides using a BorderStyle enum.
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(String attrValue)
      Sets the CSS border-top property using a string value.
      Parameters:
      attrValue - the border-top value (e.g., "1px solid black")
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(String width, String style, String color)
      Sets the CSS border-top property with separate string values.
      Parameters:
      width - the border width
      style - the border style
      color - the border color
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(int width, BorderStyle style, Color color)
      Sets the CSS border-top property with typed values.
      Parameters:
      width - the border width in pixels
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(int width, Color color)
      Sets the CSS border-top property with width and color.
      Parameters:
      width - the border width in pixels
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(Units width, BorderStyle style, Color color)
      Sets the CSS border-top property with Units width.
      Parameters:
      width - the border width as a Units object
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(Units width, Color color)
      Sets the CSS border-top property with Units width and color.
      Parameters:
      width - the border width as a Units object
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(BorderWidth width, BorderStyle style, Color color)
      Sets the CSS border-top property with BorderWidth enum.
      Parameters:
      width - the BorderWidth enum value
      style - the BorderStyle enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTop

      T setBorderTop(BorderWidth width, Color color)
      Sets the CSS border-top property with BorderWidth enum and color.
      Parameters:
      width - the BorderWidth enum value
      color - the Color object
      Returns:
      this for method chaining
    • setBorderTopColor

      T setBorderTopColor(String attrValue)
      Sets the CSS border-top-color property using a string value.
      Parameters:
      attrValue - the color value
      Returns:
      this for method chaining
    • setBorderTopColor

      T setBorderTopColor(Color attrValue)
      Sets the CSS border-top-color property using a Color object.
      Parameters:
      attrValue - the Color object
      Returns:
      this for method chaining
    • setBorderTopLeftRadius

      T setBorderTopLeftRadius(String attrValue)
      Sets the CSS border-top-left-radius property using a string value.
      Parameters:
      attrValue - the radius value
      Returns:
      this for method chaining
    • setBorderTopLeftRadius

      T setBorderTopLeftRadius(int pixels)
      Sets the CSS border-top-left-radius property using a pixel value.
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderTopLeftRadius

      T setBorderTopLeftRadius(Units units)
      Sets the CSS border-top-left-radius property using a Units value.
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderTopRightRadius

      T setBorderTopRightRadius(String attrValue)
      Sets the CSS border-top-right-radius property using a string value.
      Parameters:
      attrValue - the radius value
      Returns:
      this for method chaining
    • setBorderTopRightRadius

      T setBorderTopRightRadius(int pixels)
      Sets the CSS border-top-right-radius property using a pixel value.
      Parameters:
      pixels - the radius in pixels
      Returns:
      this for method chaining
    • setBorderTopRightRadius

      T setBorderTopRightRadius(Units units)
      Sets the CSS border-top-right-radius property using a Units value.
      Parameters:
      units - the radius as a Units object
      Returns:
      this for method chaining
    • setBorderTopStyle

      T setBorderTopStyle(String attrValue)
      Sets the CSS border-top-style property using a string value.
      Parameters:
      attrValue - the style value
      Returns:
      this for method chaining
    • setBorderTopStyle

      T setBorderTopStyle(BorderStyle attrValue)
      Sets the CSS border-top-style property using a BorderStyle enum.
      Parameters:
      attrValue - the BorderStyle enum value
      Returns:
      this for method chaining
    • setBorderTopWidth

      T setBorderTopWidth(String attrValue)
      Sets the CSS border-top-width property using a string value.
      Parameters:
      attrValue - the width value
      Returns:
      this for method chaining
    • setBorderTopWidth

      T setBorderTopWidth(BorderWidth attrValue)
      Sets the CSS border-top-width property using a BorderWidth enum.
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderTopWidth

      T setBorderTopWidth(int pixels)
      Sets the CSS border-top-width property using a pixel value.
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderTopWidth

      T setBorderTopWidth(Units units)
      Sets the CSS border-top-width property using a Units value.
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(String attrValue)
      Sets the CSS border-width property using a string value.
      Parameters:
      attrValue - the width value (e.g., "1px", "1px 2px 3px 4px")
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(BorderWidth attrValue)
      Sets the CSS border-width property for all sides using a BorderWidth enum.
      Parameters:
      attrValue - the BorderWidth enum value
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(int pixels)
      Sets the CSS border-width property for all sides using a pixel value.
      Parameters:
      pixels - the width in pixels
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(Units units)
      Sets the CSS border-width property for all sides using a Units value.
      Parameters:
      units - the width as a Units object
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(String top, String right, String bottom, String left)
      Sets the CSS border-width property with individual string values for each side.
      Parameters:
      top - the top border width
      right - the right border width
      bottom - the bottom border width
      left - the left border width
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(int top, int right, int bottom, int left)
      Sets the CSS border-width property with individual pixel values for each side.
      Parameters:
      top - the top border width in pixels
      right - the right border width in pixels
      bottom - the bottom border width in pixels
      left - the left border width in pixels
      Returns:
      this for method chaining
    • setBorderWidth

      T setBorderWidth(Units top, Units right, Units bottom, Units left)
      Sets the CSS border-width property with individual Units values for each side.
      Parameters:
      top - the top border width as a Units object
      right - the right border width as a Units object
      bottom - the bottom border width as a Units object
      left - the left border width as a Units object
      Returns:
      this for method chaining
    • setBoxShadow

      T setBoxShadow(String attrValue)
      Sets the CSS box-shadow property using a string value.
      Parameters:
      attrValue - the box-shadow value (e.g., "2px 2px 5px rgba(0,0,0,0.3)")
      Returns:
      this for method chaining
    • setBoxShadow

      T setBoxShadow(String hShadow, String vShadow, String blur, String spread, String color)
      Sets the CSS box-shadow property with separate string values.
      Parameters:
      hShadow - the horizontal shadow offset
      vShadow - the vertical shadow offset
      blur - the blur radius
      spread - the spread radius
      color - the shadow color
      Returns:
      this for method chaining
    • setBoxShadow

      T setBoxShadow(int hShadow, int vShadow, int blur, int spread, Color color)
      Sets the CSS box-shadow property with pixel values and Color object.
      Parameters:
      hShadow - the horizontal shadow offset in pixels
      vShadow - the vertical shadow offset in pixels
      blur - the blur radius in pixels
      spread - the spread radius in pixels
      color - the shadow Color object
      Returns:
      this for method chaining
    • setBoxShadow

      T setBoxShadow(Units hShadow, Units vShadow, Units blur, Units spread, Color color)
      Sets the CSS box-shadow property with Units values and Color object.
      Parameters:
      hShadow - the horizontal shadow offset as a Units object
      vShadow - the vertical shadow offset as a Units object
      blur - the blur radius as a Units object
      spread - the spread radius as a Units object
      color - the shadow Color object
      Returns:
      this for method chaining