Package com.oorian.css
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 Summary
Modifier and TypeMethodDescriptionsetBorder(int width, BorderStyle style, Color color) Sets the CSS border shorthand property with typed values.Sets the CSS border property with width and color (solid style implied).setBorder(BorderWidth width, BorderStyle style, Color color) Sets the CSS border shorthand property with BorderWidth enum.setBorder(BorderWidth width, Color color) Sets the CSS border property with BorderWidth enum and color.Sets the CSS border property with color only.setBorder(Units width, BorderStyle style, Color color) Sets the CSS border shorthand property with Units width.Sets the CSS border property with Units width and color.Sets the CSS border shorthand property using a string value.Sets the CSS border shorthand property with separate string values.setBorderBottom(int width, BorderStyle style, Color color) Sets the CSS border-bottom property with typed values.setBorderBottom(int width, Color color) Sets the CSS border-bottom property with width and color.setBorderBottom(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-bottom property with BorderWidth enum.setBorderBottom(BorderWidth width, Color color) Sets the CSS border-bottom property with BorderWidth enum and color.setBorderBottom(Units width, BorderStyle style, Color color) Sets the CSS border-bottom property with Units width.setBorderBottom(Units width, Color color) Sets the CSS border-bottom property with Units width and color.setBorderBottom(String attrValue) Sets the CSS border-bottom property using a string value.setBorderBottom(String width, String style, String color) Sets the CSS border-bottom property with separate string values.setBorderBottomColor(Color attrValue) Sets the CSS border-bottom-color property using a Color object.setBorderBottomColor(String attrValue) Sets the CSS border-bottom-color property using a string value.setBorderBottomLeftRadius(int pixels) Sets the CSS border-bottom-left-radius property using a pixel value.setBorderBottomLeftRadius(Units units) Sets the CSS border-bottom-left-radius property using a Units value.setBorderBottomLeftRadius(String attrValue) Sets the CSS border-bottom-left-radius property using a string value.setBorderBottomRightRadius(int pixels) Sets the CSS border-bottom-right-radius property using a pixel value.setBorderBottomRightRadius(Units units) Sets the CSS border-bottom-right-radius property using a Units value.setBorderBottomRightRadius(String attrValue) Sets the CSS border-bottom-right-radius property using a string value.setBorderBottomStyle(BorderStyle attrValue) Sets the CSS border-bottom-style property using a BorderStyle enum.setBorderBottomStyle(String attrValue) Sets the CSS border-bottom-style property using a string value.setBorderBottomWidth(int pixels) Sets the CSS border-bottom-width property using a pixel value.setBorderBottomWidth(BorderWidth attrValue) Sets the CSS border-bottom-width property using a BorderWidth enum.setBorderBottomWidth(Units units) Sets the CSS border-bottom-width property using a Units value.setBorderBottomWidth(String attrValue) Sets the CSS border-bottom-width property using a string value.setBorderColor(Color color) Sets the CSS border-color property for all sides using a Color object.setBorderColor(Color top, Color right, Color bottom, Color left) Sets the CSS border-color property with individual Color objects for each side.setBorderColor(String attrValue) Sets the CSS border-color property using a string value.setBorderColor(String top, String right, String bottom, String left) Sets the CSS border-color property with individual string values for each side.setBorderImage(String attrValue) Sets the CSS border-image shorthand property using a string value.Sets the CSS border-image shorthand property with all components.setBorderImageOutset(String attrValue) Sets the CSS border-image-outset property.setBorderImageRepeat(String attrValue) Sets the CSS border-image-repeat property.setBorderImageSlice(String attrValue) Sets the CSS border-image-slice property.setBorderImageSource(String attrValue) Sets the CSS border-image-source property.setBorderImageWidth(String attrValue) Sets the CSS border-image-width property.setBorderLeft(int width, BorderStyle style, Color color) Sets the CSS border-left property with typed values.setBorderLeft(int width, Color color) Sets the CSS border-left property with width and color.setBorderLeft(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-left property with BorderWidth enum.setBorderLeft(BorderWidth width, Color color) Sets the CSS border-left property with BorderWidth enum and color.setBorderLeft(Units width, BorderStyle style, Color color) Sets the CSS border-left property with Units width.setBorderLeft(Units width, Color color) Sets the CSS border-left property with Units width and color.setBorderLeft(String attrValue) Sets the CSS border-left property using a string value.setBorderLeft(String width, String style, String color) Sets the CSS border-left property with separate string values.setBorderLeftColor(Color attrValue) Sets the CSS border-left-color property using a Color object.setBorderLeftColor(String attrValue) Sets the CSS border-left-color property using a string value.setBorderLeftStyle(BorderStyle attrValue) Sets the CSS border-left-style property using a BorderStyle enum.setBorderLeftStyle(String attrValue) Sets the CSS border-left-style property using a string value.setBorderLeftWidth(int pixels) Sets the CSS border-left-width property using a pixel value.setBorderLeftWidth(BorderWidth attrValue) Sets the CSS border-left-width property using a BorderWidth enum.setBorderLeftWidth(Units units) Sets the CSS border-left-width property using a Units value.setBorderLeftWidth(String attrValue) Sets the CSS border-left-width property using a string value.setBorderRadius(int pixels) Sets the CSS border-radius property for all corners using a pixel value.setBorderRadius(int topLeft, int topRight, int bottomRight, int bottomLeft) Sets the CSS border-radius property with individual pixel values for each corner.setBorderRadius(Units units) Sets the CSS border-radius property for all corners using a Units value.setBorderRadius(Units topLeft, Units topRight, Units bottomRight, Units bottomLeft) Sets the CSS border-radius property with individual Units values for each corner.setBorderRadius(String attrValue) Sets the CSS border-radius property using a string value.setBorderRadius(String topLeft, String topRight, String bottomRight, String bottomLeft) Sets the CSS border-radius property with individual string values for each corner.setBorderRight(int width, BorderStyle style, Color color) Sets the CSS border-right property with typed values.setBorderRight(int width, Color color) Sets the CSS border-right property with width and color.setBorderRight(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-right property with BorderWidth enum.setBorderRight(BorderWidth width, Color color) Sets the CSS border-right property with BorderWidth enum and color.setBorderRight(Units width, BorderStyle style, Color color) Sets the CSS border-right property with Units width.setBorderRight(Units width, Color color) Sets the CSS border-right property with Units width and color.setBorderRight(String attrValue) Sets the CSS border-right property using a string value.setBorderRight(String width, String style, String color) Sets the CSS border-right property with separate string values.setBorderRightColor(Color attrValue) Sets the CSS border-right-color property using a Color object.setBorderRightColor(String attrValue) Sets the CSS border-right-color property using a string value.setBorderRightStyle(BorderStyle attrValue) Sets the CSS border-right-style property using a BorderStyle enum.setBorderRightStyle(String attrValue) Sets the CSS border-right-style property using a string value.setBorderRightWidth(int pixels) Sets the CSS border-right-width property using a pixel value.setBorderRightWidth(BorderWidth attrValue) Sets the CSS border-right-width property using a BorderWidth enum.setBorderRightWidth(Units units) Sets the CSS border-right-width property using a Units value.setBorderRightWidth(String attrValue) Sets the CSS border-right-width property using a string value.setBorderStyle(BorderStyle attrValue) Sets the CSS border-style property for all sides using a BorderStyle enum.setBorderStyle(String attrValue) Sets the CSS border-style property using a string value.setBorderTop(int width, BorderStyle style, Color color) Sets the CSS border-top property with typed values.setBorderTop(int width, Color color) Sets the CSS border-top property with width and color.setBorderTop(BorderWidth width, BorderStyle style, Color color) Sets the CSS border-top property with BorderWidth enum.setBorderTop(BorderWidth width, Color color) Sets the CSS border-top property with BorderWidth enum and color.setBorderTop(Units width, BorderStyle style, Color color) Sets the CSS border-top property with Units width.setBorderTop(Units width, Color color) Sets the CSS border-top property with Units width and color.setBorderTop(String attrValue) Sets the CSS border-top property using a string value.setBorderTop(String width, String style, String color) Sets the CSS border-top property with separate string values.setBorderTopColor(Color attrValue) Sets the CSS border-top-color property using a Color object.setBorderTopColor(String attrValue) Sets the CSS border-top-color property using a string value.setBorderTopLeftRadius(int pixels) Sets the CSS border-top-left-radius property using a pixel value.setBorderTopLeftRadius(Units units) Sets the CSS border-top-left-radius property using a Units value.setBorderTopLeftRadius(String attrValue) Sets the CSS border-top-left-radius property using a string value.setBorderTopRightRadius(int pixels) Sets the CSS border-top-right-radius property using a pixel value.setBorderTopRightRadius(Units units) Sets the CSS border-top-right-radius property using a Units value.setBorderTopRightRadius(String attrValue) Sets the CSS border-top-right-radius property using a string value.setBorderTopStyle(BorderStyle attrValue) Sets the CSS border-top-style property using a BorderStyle enum.setBorderTopStyle(String attrValue) Sets the CSS border-top-style property using a string value.setBorderTopWidth(int pixels) Sets the CSS border-top-width property using a pixel value.setBorderTopWidth(BorderWidth attrValue) Sets the CSS border-top-width property using a BorderWidth enum.setBorderTopWidth(Units units) Sets the CSS border-top-width property using a Units value.setBorderTopWidth(String attrValue) Sets the CSS border-top-width property using a string value.setBorderWidth(int pixels) Sets the CSS border-width property for all sides using a pixel value.setBorderWidth(int top, int right, int bottom, int left) Sets the CSS border-width property with individual pixel values for each side.setBorderWidth(BorderWidth attrValue) Sets the CSS border-width property for all sides using a BorderWidth enum.setBorderWidth(Units units) Sets the CSS border-width property for all sides using a Units value.setBorderWidth(Units top, Units right, Units bottom, Units left) Sets the CSS border-width property with individual Units values for each side.setBorderWidth(String attrValue) Sets the CSS border-width property using a string value.setBorderWidth(String top, String right, String bottom, String left) Sets the CSS border-width property with individual string values for each side.setBoxShadow(int hShadow, int vShadow, int blur, int spread, Color color) Sets the CSS box-shadow property with pixel values and Color object.Sets the CSS box-shadow property with Units values and Color object.setBoxShadow(String attrValue) Sets the CSS box-shadow property using a string value.Sets the CSS box-shadow property with separate string values.
-
Method Details
-
setBorder
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
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
Sets the CSS border shorthand property with typed values.- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with width and color (solid style implied).- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with color only.- Parameters:
color- the Color object for the border- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property with Units width.- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with Units width and color.- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border shorthand property with BorderWidth enum.- Parameters:
width- the BorderWidth enum value (e.g., THIN, MEDIUM, THICK)style- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorder
Sets the CSS border property with BorderWidth enum and color.- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property using a string value.- Parameters:
attrValue- the border-bottom value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with separate string values.- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with typed values.- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with width and color.- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with Units width.- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with Units width and color.- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with BorderWidth enum.- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottom
Sets the CSS border-bottom property with BorderWidth enum and color.- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderBottomColor
Sets the CSS border-bottom-color property using a string value.- Parameters:
attrValue- the color value (e.g., "red", "#ff0000")- Returns:
- this for method chaining
-
setBorderBottomColor
Sets the CSS border-bottom-color property using a Color object.- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderBottomLeftRadius
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
Sets the CSS border-bottom-left-radius property using a pixel value.- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderBottomLeftRadius
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
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
Sets the CSS border-bottom-right-radius property using a pixel value.- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderBottomRightRadius
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
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
Sets the CSS border-bottom-style property using a BorderStyle enum.- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderBottomWidth
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
Sets the CSS border-bottom-width property using a BorderWidth enum.- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderBottomWidth
Sets the CSS border-bottom-width property using a pixel value.- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderBottomWidth
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
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
Sets the CSS border-color property for all sides using a Color object.- Parameters:
color- the Color object- Returns:
- this for method chaining
-
setBorderColor
Sets the CSS border-color property with individual string values for each side.- Parameters:
top- the top border colorright- the right border colorbottom- the bottom border colorleft- the left border color- Returns:
- this for method chaining
-
setBorderColor
Sets the CSS border-color property with individual Color objects for each side.- Parameters:
top- the top border Colorright- the right border Colorbottom- the bottom border Colorleft- the left border Color- Returns:
- this for method chaining
-
setBorderImage
Sets the CSS border-image shorthand property using a string value.- Parameters:
attrValue- the border-image value- Returns:
- this for method chaining
-
setBorderImage
Sets the CSS border-image shorthand property with all components.- Parameters:
srcUrl- the image source URLslice- the slice valuewidth- the border image widthoutset- the outset valuerepeat- the repeat value (e.g., "stretch", "repeat", "round")- Returns:
- this for method chaining
-
setBorderImageOutset
Sets the CSS border-image-outset property.- Parameters:
attrValue- the outset value- Returns:
- this for method chaining
-
setBorderImageRepeat
Sets the CSS border-image-repeat property.- Parameters:
attrValue- the repeat value (e.g., "stretch", "repeat", "round", "space")- Returns:
- this for method chaining
-
setBorderImageSlice
Sets the CSS border-image-slice property.- Parameters:
attrValue- the slice value- Returns:
- this for method chaining
-
setBorderImageSource
Sets the CSS border-image-source property.- Parameters:
attrValue- the image source URL- Returns:
- this for method chaining
-
setBorderImageWidth
Sets the CSS border-image-width property.- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderLeft
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
Sets the CSS border-left property with separate string values.- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with typed values.- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with width and color.- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with Units width.- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with Units width and color.- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with BorderWidth enum.- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeft
Sets the CSS border-left property with BorderWidth enum and color.- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderLeftColor
Sets the CSS border-left-color property using a string value.- Parameters:
attrValue- the color value- Returns:
- this for method chaining
-
setBorderLeftColor
Sets the CSS border-left-color property using a Color object.- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderLeftStyle
Sets the CSS border-left-style property using a string value.- Parameters:
attrValue- the style value- Returns:
- this for method chaining
-
setBorderLeftStyle
Sets the CSS border-left-style property using a BorderStyle enum.- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a string value.- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a BorderWidth enum.- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderLeftWidth
Sets the CSS border-left-width property using a pixel value.- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderLeftWidth
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
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
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
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
Sets the CSS border-radius property with individual string values for each corner.- Parameters:
topLeft- the top-left corner radiustopRight- the top-right corner radiusbottomRight- the bottom-right corner radiusbottomLeft- the bottom-left corner radius- Returns:
- this for method chaining
-
setBorderRadius
Sets the CSS border-radius property with individual pixel values for each corner.- Parameters:
topLeft- the top-left corner radius in pixelstopRight- the top-right corner radius in pixelsbottomRight- the bottom-right corner radius in pixelsbottomLeft- the bottom-left corner radius in pixels- Returns:
- this for method chaining
-
setBorderRadius
Sets the CSS border-radius property with individual Units values for each corner.- Parameters:
topLeft- the top-left corner radius as a Units objecttopRight- the top-right corner radius as a Units objectbottomRight- the bottom-right corner radius as a Units objectbottomLeft- the bottom-left corner radius as a Units object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property using a string value.- Parameters:
attrValue- the border-right value (e.g., "1px solid black")- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with separate string values.- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with typed values.- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with width and color.- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with Units width.- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with Units width and color.- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with BorderWidth enum.- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRight
Sets the CSS border-right property with BorderWidth enum and color.- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderRightColor
Sets the CSS border-right-color property using a string value.- Parameters:
attrValue- the color value- Returns:
- this for method chaining
-
setBorderRightColor
Sets the CSS border-right-color property using a Color object.- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderRightStyle
Sets the CSS border-right-style property using a string value.- Parameters:
attrValue- the style value- Returns:
- this for method chaining
-
setBorderRightStyle
Sets the CSS border-right-style property using a BorderStyle enum.- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a string value.- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a BorderWidth enum.- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderRightWidth
Sets the CSS border-right-width property using a pixel value.- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderRightWidth
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
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
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
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
Sets the CSS border-top property with separate string values.- Parameters:
width- the border widthstyle- the border stylecolor- the border color- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with typed values.- Parameters:
width- the border width in pixelsstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with width and color.- Parameters:
width- the border width in pixelscolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with Units width.- Parameters:
width- the border width as a Units objectstyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with Units width and color.- Parameters:
width- the border width as a Units objectcolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with BorderWidth enum.- Parameters:
width- the BorderWidth enum valuestyle- the BorderStyle enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTop
Sets the CSS border-top property with BorderWidth enum and color.- Parameters:
width- the BorderWidth enum valuecolor- the Color object- Returns:
- this for method chaining
-
setBorderTopColor
Sets the CSS border-top-color property using a string value.- Parameters:
attrValue- the color value- Returns:
- this for method chaining
-
setBorderTopColor
Sets the CSS border-top-color property using a Color object.- Parameters:
attrValue- the Color object- Returns:
- this for method chaining
-
setBorderTopLeftRadius
Sets the CSS border-top-left-radius property using a string value.- Parameters:
attrValue- the radius value- Returns:
- this for method chaining
-
setBorderTopLeftRadius
Sets the CSS border-top-left-radius property using a pixel value.- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderTopLeftRadius
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
Sets the CSS border-top-right-radius property using a string value.- Parameters:
attrValue- the radius value- Returns:
- this for method chaining
-
setBorderTopRightRadius
Sets the CSS border-top-right-radius property using a pixel value.- Parameters:
pixels- the radius in pixels- Returns:
- this for method chaining
-
setBorderTopRightRadius
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
Sets the CSS border-top-style property using a string value.- Parameters:
attrValue- the style value- Returns:
- this for method chaining
-
setBorderTopStyle
Sets the CSS border-top-style property using a BorderStyle enum.- Parameters:
attrValue- the BorderStyle enum value- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a string value.- Parameters:
attrValue- the width value- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a BorderWidth enum.- Parameters:
attrValue- the BorderWidth enum value- Returns:
- this for method chaining
-
setBorderTopWidth
Sets the CSS border-top-width property using a pixel value.- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setBorderTopWidth
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
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
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
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
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
Sets the CSS border-width property with individual string values for each side.- Parameters:
top- the top border widthright- the right border widthbottom- the bottom border widthleft- the left border width- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property with individual pixel values for each side.- Parameters:
top- the top border width in pixelsright- the right border width in pixelsbottom- the bottom border width in pixelsleft- the left border width in pixels- Returns:
- this for method chaining
-
setBorderWidth
Sets the CSS border-width property with individual Units values for each side.- Parameters:
top- the top border width as a Units objectright- the right border width as a Units objectbottom- the bottom border width as a Units objectleft- the left border width as a Units object- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSS box-shadow property using a string value.- Parameters:
attrValue- the box-shadow value (e.g., "2px 2px 5px rgba(0,0,0,0.3)")- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSS box-shadow property with separate string values.- Parameters:
hShadow- the horizontal shadow offsetvShadow- the vertical shadow offsetblur- the blur radiusspread- the spread radiuscolor- the shadow color- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSS box-shadow property with pixel values and Color object.- Parameters:
hShadow- the horizontal shadow offset in pixelsvShadow- the vertical shadow offset in pixelsblur- the blur radius in pixelsspread- the spread radius in pixelscolor- the shadow Color object- Returns:
- this for method chaining
-
setBoxShadow
Sets the CSS box-shadow property with Units values and Color object.- Parameters:
hShadow- the horizontal shadow offset as a Units objectvShadow- the vertical shadow offset as a Units objectblur- the blur radius as a Units objectspread- the spread radius as a Units objectcolor- the shadow Color object- Returns:
- this for method chaining
-