Class 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>
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanaddAttribute(String name, String value) Adds or updates a CSS property.final booleanaddAttribute(String name, String value, boolean important) Adds a CSS property with optional !important flag.final booleanaddAttributes(Map<String, String> attrs) Adds multiple CSS properties from a map.final StringgetAttribute(String name) Gets the value of a specific CSS property.final AttributeMapReturns a copy of all CSS properties as an AttributeMap.final StringReturns all CSS properties as a semicolon-separated string.final StringgetAttributesString(boolean pretty) Returns all CSS properties as a formatted string.final booleanisEmpty()Checks if this style has no properties defined.final booleanMerges properties from another CssStyle into this style.final booleanremoveAttribute(String name) Removes a CSS property and its vendor-prefixed variants.setAlignContent(AlignContent attrValue) Sets the CSSalign-contentproperty.setAlignContent(String attrValue) Sets the CSSalign-contentproperty.setAlignItems(AlignItems attrValue) Sets the CSSalign-itemsproperty.setAlignItems(String attrValue) Sets the CSSalign-itemsproperty.setAlignSelf(AlignSelf attrValue) Sets the CSSalign-selfproperty.setAlignSelf(String attrValue) Sets the CSSalign-selfproperty.setAnimation(String attrValue) Sets the CSSanimationproperty.setAnimationDelay(int secs) Sets the CSSanimation-delayproperty.setAnimationDelay(long msecs) Sets the CSSanimation-delayproperty.setAnimationDelay(String attrValue) Sets the CSSanimation-delayproperty.setAnimationDirection(AnimationDirection attrValue) Sets the CSSanimation-directionproperty.setAnimationDirection(String attrValue) Sets the CSSanimation-directionproperty.setAnimationDuration(int secs) Sets the CSSanimation-durationproperty.setAnimationDuration(long msecs) Sets the CSSanimation-durationproperty.setAnimationDuration(String attrValue) Sets the CSSanimation-durationproperty.setAnimationFillMode(AnimationFillMode attrValue) Sets the CSSanimation-fill-modeproperty.setAnimationFillMode(String attrValue) Sets the CSSanimation-fill-modeproperty.setAnimationIterationCount(int count) Sets the CSSanimation-iteration-countproperty.Sets the CSSanimation-iteration-countproperty.setAnimationIterationCount(String attrValue) Sets the CSSanimation-iteration-countproperty.setAnimationName(String attrValue) Sets the CSSanimation-nameproperty.setAnimationPlayState(AnimationPlayState attrValue) Sets the CSSanimation-play-stateproperty.setAnimationPlayState(String attrValue) Sets the CSSanimation-play-stateproperty.setAnimationTimingFunction(float n1, float n2, float n3, float n4) Sets the CSSanimation-timing-functionproperty.setAnimationTimingFunction(int intervals, boolean start) Sets the CSSanimation-timing-functionproperty.Sets the CSSanimation-timing-functionproperty.setAnimationTimingFunction(String attrValue) Sets the CSSanimation-timing-functionproperty.setBackdropFilter(Filter filter) Sets the CSSbackdrop-filterproperty from aFilterbuilder.setBackdropFilter(String attrValue) Sets the CSSbackdrop-filterproperty.setBackfaceVisibility(BackfaceVisibility attrValue) Sets the CSSbackface-visibilityproperty.setBackfaceVisibility(String attrValue) Sets the CSSbackface-visibilityproperty.setBackground(Color color) Sets the CSSbackgroundproperty using a Color object.setBackground(String attrValue) Sets the CSSbackgroundproperty.setBackgroundAttachment(BackgroundAttachment attrValue) Sets the CSSbackground-attachmentproperty.setBackgroundAttachment(String attrValue) Sets the CSSbackground-attachmentproperty.setBackgroundBlendMode(BackgroundBlendMode attrValue) Sets the CSSbackground-blend-modeproperty.setBackgroundBlendMode(String attrValue) Sets the CSSbackground-blend-modeproperty.setBackgroundClip(BackgroundClip attrValue) Sets the CSSbackground-clipproperty.setBackgroundClip(String attrValue) Sets the CSSbackground-clipproperty.setBackgroundColor(BackgroundColor attrValue) Sets the CSSbackground-colorproperty.setBackgroundColor(Color color) Sets the CSSbackground-colorproperty using a Color object.setBackgroundColor(String attrValue) Sets the CSSbackground-colorproperty.setBackgroundImage(Gradient gradient) Sets the CSSbackground-imageproperty from aGradientbuilder.setBackgroundImage(String url) Sets the CSSbackground-imageproperty.final CssStylesetBackgroundImage(String url, String repeat) Sets the CSSbackground-imageproperty.setBackgroundOrigin(BackgroundOrigin attrValue) Sets the CSSbackground-originproperty.setBackgroundOrigin(String attrValue) Sets the CSSbackground-originproperty.setBackgroundPosition(int xpos, int ypos) Sets the CSSbackground-positionproperty.setBackgroundPosition(BackgroundPosition attrValue) Sets the CSSbackground-positionproperty.setBackgroundPosition(Units xpos, Units ypos) Sets the CSSbackground-positionproperty.setBackgroundPosition(String attrValue) Sets the CSSbackground-positionproperty.setBackgroundPosition(String xpos, String ypos) Sets the CSSbackground-positionproperty.setBackgroundRepeat(BackgroundRepeat attrValue) Sets the CSSbackground-repeatproperty.setBackgroundRepeat(String attrValue) Sets the CSSbackground-repeatproperty.setBackgroundSize(int width, int height) Sets the CSSbackground-sizeproperty.setBackgroundSize(BackgroundSize attrValue) Sets the CSSbackground-sizeproperty.setBackgroundSize(Units width, Units height) Sets the CSSbackground-sizeproperty.setBackgroundSize(String attrValue) Sets the CSSbackground-sizeproperty.setBackgroundSize(String width, String height) Sets the CSSbackground-sizeproperty.Sets theblur()function within the CSSfilterproperty.setBorder(int width, BorderStyle style, Color color) Sets the CSSbordershorthand property.Sets the CSSbordershorthand property.setBorder(BorderWidth width, BorderStyle style, Color color) Sets the CSSbordershorthand property.setBorder(BorderWidth width, Color color) Sets the CSSbordershorthand property.Sets the CSSborderproperty using a Color object.setBorder(Units width, BorderStyle style, Color color) Sets the CSSbordershorthand property.Sets the CSSbordershorthand property.Sets the CSSborderproperty.Sets the CSSbordershorthand property.setBorderBottom(int width, BorderStyle style, Color color) Sets the CSSborder-bottomshorthand property.setBorderBottom(int width, Color color) Sets the CSSborder-bottomshorthand property.setBorderBottom(BorderWidth width, BorderStyle style, Color color) Sets the CSSborder-bottomshorthand property.setBorderBottom(BorderWidth width, Color color) Sets the CSSborder-bottomshorthand property.setBorderBottom(Units width, BorderStyle style, Color color) Sets the CSSborder-bottomshorthand property.setBorderBottom(Units width, Color color) Sets the CSSborder-bottomshorthand property.setBorderBottom(String attrValue) Sets the CSSborder-bottomproperty.setBorderBottom(String width, String style, String color) Sets the CSSborder-bottomshorthand property.setBorderBottomColor(Color color) Sets the CSSborder-bottom-colorproperty using a Color object.setBorderBottomColor(String attrValue) Sets the CSSborder-bottom-colorproperty.setBorderBottomLeftRadius(int pixels) Sets the CSSborder-bottom-left-radiusproperty in pixels.setBorderBottomLeftRadius(Units units) Sets the CSSborder-bottom-left-radiusproperty using a CSS unit value.setBorderBottomLeftRadius(String attrValue) Sets the CSSborder-bottom-left-radiusproperty.setBorderBottomRightRadius(int pixels) Sets the CSSborder-bottom-right-radiusproperty in pixels.setBorderBottomRightRadius(Units units) Sets the CSSborder-bottom-right-radiusproperty using a CSS unit value.setBorderBottomRightRadius(String attrValue) Sets the CSSborder-bottom-right-radiusproperty.setBorderBottomStyle(BorderStyle attrValue) Sets the CSSborder-bottom-styleproperty.setBorderBottomStyle(String attrValue) Sets the CSSborder-bottom-styleproperty.setBorderBottomWidth(int pixels) Sets the CSSborder-bottom-widthproperty in pixels.setBorderBottomWidth(BorderWidth attrValue) Sets the CSSborder-bottom-widthproperty.setBorderBottomWidth(Units units) Sets the CSSborder-bottom-widthproperty using a CSS unit value.setBorderBottomWidth(String attrValue) Sets the CSSborder-bottom-widthproperty.setBorderCollapse(BorderCollapse attrValue) Sets the CSSborder-collapseproperty.setBorderCollapse(String attrValue) Sets the CSSborder-collapseproperty.setBorderColor(Color color) Sets the CSSborder-colorproperty using a Color object.setBorderColor(Color top, Color right, Color bottom, Color left) Sets the CSSborder-colorproperty using individual values for each side.setBorderColor(String attrValue) Sets the CSSborder-colorproperty.setBorderColor(String top, String right, String bottom, String left) Sets the CSSborder-colorproperty using individual values for each side.setBorderImage(String attrValue) Sets the CSSborder-imageproperty.Sets the CSSborder-imageshorthand property.setBorderImageOutset(String attrValue) Sets the CSSborder-image-outsetproperty.setBorderImageRepeat(String attrValue) Sets the CSSborder-image-repeatproperty.setBorderImageSlice(String attrValue) Sets the CSSborder-image-sliceproperty.Sets the CSSborder-image-sourceproperty.setBorderImageWidth(String attrValue) Sets the CSSborder-image-widthproperty.setBorderLeft(int width, BorderStyle style, Color color) Sets the CSSborder-leftshorthand property.setBorderLeft(int width, Color color) Sets the CSSborder-leftshorthand property.setBorderLeft(BorderWidth width, BorderStyle style, Color color) Sets the CSSborder-leftshorthand property.setBorderLeft(BorderWidth width, Color color) Sets the CSSborder-leftshorthand property.setBorderLeft(Units width, BorderStyle style, Color color) Sets the CSSborder-leftshorthand property.setBorderLeft(Units width, Color color) Sets the CSSborder-leftshorthand property.setBorderLeft(String attrValue) Sets the CSSborder-leftproperty.setBorderLeft(String width, String style, String color) Sets the CSSborder-leftshorthand property.setBorderLeftColor(Color color) Sets the CSSborder-left-colorproperty using a Color object.setBorderLeftColor(String attrValue) Sets the CSSborder-left-colorproperty.setBorderLeftStyle(BorderStyle attrValue) Sets the CSSborder-left-styleproperty.setBorderLeftStyle(String attrValue) Sets the CSSborder-left-styleproperty.setBorderLeftWidth(int pixels) Sets the CSSborder-left-widthproperty in pixels.setBorderLeftWidth(BorderWidth attrValue) Sets the CSSborder-left-widthproperty.setBorderLeftWidth(Units units) Sets the CSSborder-left-widthproperty using a CSS unit value.setBorderLeftWidth(String attrValue) Sets the CSSborder-left-widthproperty.setBorderRadius(int pixels) Sets the CSSborder-radiusproperty in pixels.setBorderRadius(int topLeft, int topRight, int bottomRight, int bottomLeft) Sets the CSSborder-radiusproperty.setBorderRadius(Units units) Sets the CSSborder-radiusproperty using a CSS unit value.setBorderRadius(Units topLeft, Units topRight, Units bottomRight, Units bottomLeft) Sets the CSSborder-radiusproperty.setBorderRadius(String attrValue) Sets the CSSborder-radiusproperty.setBorderRadius(String topLeft, String topRight, String bottomRight, String bottomLeft) Sets the CSSborder-radiusproperty.setBorderRight(int width, BorderStyle style, Color color) Sets the CSSborder-rightshorthand property.setBorderRight(int width, Color color) Sets the CSSborder-rightshorthand property.setBorderRight(BorderWidth width, BorderStyle style, Color color) Sets the CSSborder-rightshorthand property.setBorderRight(BorderWidth width, Color color) Sets the CSSborder-rightshorthand property.setBorderRight(Units width, BorderStyle style, Color color) Sets the CSSborder-rightshorthand property.setBorderRight(Units width, Color color) Sets the CSSborder-rightshorthand property.setBorderRight(String attrValue) Sets the CSSborder-rightproperty.setBorderRight(String width, String style, String color) Sets the CSSborder-rightshorthand property.setBorderRightColor(Color color) Sets the CSSborder-right-colorproperty using a Color object.setBorderRightColor(String attrValue) Sets the CSSborder-right-colorproperty.setBorderRightStyle(BorderStyle attrValue) Sets the CSSborder-right-styleproperty.setBorderRightStyle(String attrValue) Sets the CSSborder-right-styleproperty.setBorderRightWidth(int pixels) Sets the CSSborder-right-widthproperty in pixels.setBorderRightWidth(BorderWidth attrValue) Sets the CSSborder-right-widthproperty.setBorderRightWidth(Units units) Sets the CSSborder-right-widthproperty using a CSS unit value.setBorderRightWidth(String attrValue) Sets the CSSborder-right-widthproperty.setBorderSpacing(int pixels) Sets the CSSborder-spacingproperty in pixels.setBorderSpacing(int hspacing, int vspacing) Sets the CSSborder-spacingproperty.setBorderSpacing(Units units) Sets the CSSborder-spacingproperty using a CSS unit value.setBorderSpacing(Units hspacing, Units vspacing) Sets the CSSborder-spacingproperty.setBorderSpacing(String attrValue) Sets the CSSborder-spacingproperty.setBorderSpacing(String hspacing, String vspacing) Sets the CSSborder-spacingproperty.setBorderStyle(BorderStyle attrValue) Sets the CSSborder-styleproperty.setBorderStyle(String attrValue) Sets the CSSborder-styleproperty.setBorderTop(int width, BorderStyle style, Color color) Sets the CSSborder-topshorthand property.setBorderTop(int width, Color color) Sets the CSSborder-topshorthand property.setBorderTop(BorderWidth width, BorderStyle style, Color color) Sets the CSSborder-topshorthand property.setBorderTop(BorderWidth width, Color color) Sets the CSSborder-topshorthand property.setBorderTop(Units width, BorderStyle style, Color color) Sets the CSSborder-topshorthand property.setBorderTop(Units width, Color color) Sets the CSSborder-topshorthand property.setBorderTop(String attrValue) Sets the CSSborder-topproperty.setBorderTop(String width, String style, String color) Sets the CSSborder-topshorthand property.setBorderTopColor(Color color) Sets the CSSborder-top-colorproperty using a Color object.setBorderTopColor(String attrValue) Sets the CSSborder-top-colorproperty.setBorderTopLeftRadius(int pixels) Sets the CSSborder-top-left-radiusproperty in pixels.setBorderTopLeftRadius(Units units) Sets the CSSborder-top-left-radiusproperty using a CSS unit value.setBorderTopLeftRadius(String attrValue) Sets the CSSborder-top-left-radiusproperty.setBorderTopRightRadius(int pixels) Sets the CSSborder-top-right-radiusproperty in pixels.setBorderTopRightRadius(Units units) Sets the CSSborder-top-right-radiusproperty using a CSS unit value.setBorderTopRightRadius(String attrValue) Sets the CSSborder-top-right-radiusproperty.setBorderTopStyle(BorderStyle attrValue) Sets the CSSborder-top-styleproperty.setBorderTopStyle(String attrValue) Sets the CSSborder-top-styleproperty.setBorderTopWidth(int pixels) Sets the CSSborder-top-widthproperty in pixels.setBorderTopWidth(BorderWidth attrValue) Sets the CSSborder-top-widthproperty.setBorderTopWidth(Units units) Sets the CSSborder-top-widthproperty using a CSS unit value.setBorderTopWidth(String attrValue) Sets the CSSborder-top-widthproperty.setBorderWidth(int pixels) Sets the CSSborder-widthproperty in pixels.setBorderWidth(int top, int right, int bottom, int left) Sets the CSSborder-widthproperty using individual values for each side.setBorderWidth(BorderWidth attrValue) Sets the CSSborder-widthproperty.setBorderWidth(Units units) Sets the CSSborder-widthproperty using a CSS unit value.setBorderWidth(Units top, Units right, Units bottom, Units left) Sets the CSSborder-widthproperty using individual values for each side.setBorderWidth(String attrValue) Sets the CSSborder-widthproperty.setBorderWidth(String top, String right, String bottom, String left) Sets the CSSborder-widthproperty using individual values for each side.setBottom(int pixels) Sets the CSSbottomproperty in pixels.Sets the CSSbottomproperty using a CSS unit value.Sets the CSSbottomproperty.setBoxShadow(int hShadow, int vShadow, int blur, int spread, Color color) Sets the CSSbox-shadowproperty.setBoxShadow(BoxShadow boxShadow) Sets the CSSbox-shadowproperty from aBoxShadowbuilder.Sets the CSSbox-shadowproperty.setBoxShadow(String attrValue) Sets the CSSbox-shadowproperty.Sets the CSSbox-shadowproperty.setBoxSizing(BoxSizing attrValue) Sets the box-sizing property using an enum value.setBoxSizing(String attrValue) Sets the box-sizing property using a string value.setBreakAfter(String attrValue) Sets the CSSbreak-afterproperty.setBreakBefore(String attrValue) Sets the CSSbreak-beforeproperty.setBreakInside(String attrValue) Sets the CSSbreak-insideproperty.setBrightness(float value) Sets thebrightness()function within the CSSfilterproperty.setCaptionSide(CaptionSide attrValue) Sets the CSScaption-sideproperty.setCaptionSide(String attrValue) Sets the CSScaption-sideproperty.Sets the CSSclearproperty.Sets the CSSclearproperty.Sets the CSSclipproperty.setClipPath(ClipPath clipPath) Sets the CSSclip-pathproperty from aClipPathbuilder.setClipPath(String attrValue) Sets the CSSclip-pathproperty.setColGap(int colgap) Sets the CSS column-gap property using a pixel value.Sets the CSS column-gap property using a string value.Sets the CSScolorproperty using a Color object.Sets the CSScolorproperty.setColumnCount(int count) Sets the CSScolumn-countproperty.setColumnCount(String attrValue) Sets the CSScolumn-countproperty.setColumnFill(ColumnFill attrValue) Sets the CSScolumn-fillproperty.setColumnFill(String attrValue) Sets the CSScolumn-fillproperty.setColumnGap(String attrValue) Sets the CSScolumn-gapproperty.setColumnRule(String attrValue) Sets the CSScolumn-ruleproperty.setColumnRuleColor(Color color) Sets the CSScolumn-rule-colorproperty using a Color object.setColumnRuleColor(String attrValue) Sets the CSScolumn-rule-colorproperty.setColumnRuleStyle(ColumnRuleStyle attrValue) Sets the CSScolumn-rule-styleproperty.setColumnRuleStyle(String attrValue) Sets the CSScolumn-rule-styleproperty.setColumnRuleWidth(ColumnRuleWidth attrValue) Sets the CSScolumn-rule-widthproperty.setColumnRuleWidth(String attrValue) Sets the CSScolumn-rule-widthproperty.setColumns(int count, int width) Sets the CSScolumnsproperty.setColumns(int count, Units width) Sets the CSScolumnsproperty.setColumns(String attrValue) Sets the CSScolumnsproperty.setColumnSpan(String attrValue) Sets the CSScolumn-spanproperty.setColumnWidth(int pixels) Sets the CSScolumn-widthproperty in pixels.setColumnWidth(Units units) Sets the CSScolumn-widthproperty using a CSS unit value.setColumnWidth(String attrValue) Sets the CSScolumn-widthproperty.setContrast(float value) Sets thecontrast()function within the CSSfilterproperty.setCounterIncrement(String attrValue) Sets the CSScounter-incrementproperty.setCounterReset(String keyFrameName) Sets the CSScounter-resetproperty.final booleansetCssText(String cssText) Parses a CSS text string and adds the properties to this style.Sets the cursor property using an enum value.Sets the cursor property using a string value.setDirection(TextDirection attrValue) Sets the CSSdirectionproperty.setDirection(String attrValue) Sets the CSSdirectionproperty.setDisplay(Display attrValue) Sets the CSSdisplayproperty.setDisplay(String attrValue) Sets the CSSdisplayproperty.setEmptyCells(EmptyCells attrValue) Sets the CSSempty-cellsproperty.setEmptyCells(String attrValue) Sets the CSSempty-cellsproperty.Sets the CSSfilterproperty from aFilterbuilder.Sets the CSSfilterproperty.setFilterOpacity(float value) Sets theopacity()function within the CSSfilterproperty.Sets the CSSflexproperty.setFlexBasis(String attrValue) Sets the CSSflex-basisproperty.setFlexDirection(FlexDirection attrValue) Sets the CSSflex-directionproperty.setFlexDirection(String attrValue) Sets the CSSflex-directionproperty.setFlexFlow(String attrValue) Sets the CSSflex-flowproperty.setFlexGrow(int attrValue) Sets the CSSflex-growproperty.setFlexGrow(String attrValue) Sets the CSSflex-growproperty.setFlexShrink(int attrValue) Sets the CSS flex-shrink property using an integer value.setFlexShrink(String attrValue) Sets the CSSflex-shrinkproperty.setFlexWrap(FlexWrap attrValue) Sets the CSSflex-wrapproperty.setFlexWrap(String attrValue) Sets the CSSflex-wrapproperty.Sets the CSSfloatproperty.Sets the CSSfloatproperty.Sets the CSSfontproperty.setFont(FontFamily family, float size) Sets the CSSfontproperty.setFont(FontFamily family, float size, FontWeight weight) Sets the CSSfontproperty.setFont(FontFamily family, Units size) Sets the CSSfontproperty.setFont(FontFamily family, Units size, FontWeight weight) Sets the CSSfontproperty.Sets the CSSfontproperty.Sets the CSSfontproperty.setFont(String family, float size, FontWeight weight) Sets the CSSfontproperty.Sets the CSSfontproperty.setFont(String family, Units size, FontWeight weight) Sets the CSSfontproperty.Sets the CSSfontproperty.Sets the CSSfontproperty.setFontFace(String attrValue) Sets the CSSfont-faceproperty.setFontFamily(FontFamily attrValue) Sets the CSSfont-familyproperty.setFontFamily(String attrValue) Sets the CSSfont-familyproperty.setFontFeatureSettings(String attrValue) Sets the CSSfont-feature-settingsproperty.setFontKerning(String attrValue) Sets the CSSfont-kerningproperty.setFontLanguageOverride(String attrValue) Sets the CSSfont-language-overrideproperty.setFontSize(float pts) Sets the CSSfont-sizeproperty.setFontSize(Units units) Sets the CSSfont-sizeproperty using a CSS unit value.setFontSize(String attrValue) Sets the CSSfont-sizeproperty.setFontSizeAdjust(String attrValue) Sets the CSSfont-size-adjustproperty.setFontStretch(FontStretch attrValue) Sets the CSSfont-stretchproperty.setFontStretch(String attrValue) Sets the CSSfont-stretchproperty.setFontStyle(FontStyle attrValue) Sets the CSSfont-styleproperty.setFontStyle(String attrValue) Sets the CSSfont-styleproperty.setFontSynthesis(String attrValue) Sets the CSSfont-synthesisproperty.setFontVariant(FontVariant attrValue) Sets the CSSfont-variantproperty.setFontVariant(String attrValue) Sets the CSSfont-variantproperty.setFontVariantAlternates(String attrValue) Sets the CSSfont-variant-alternatesproperty.setFontVariantCaps(String attrValue) Sets the CSSfont-variant-capsproperty.setFontVariantEastAsian(String attrValue) Sets the CSSfont-variant-east-asianproperty.setFontVariantLigatures(String attrValue) Sets the CSSfont-variant-ligaturesproperty.setFontVariantNumeric(String attrValue) Sets the CSSfont-variant-numericproperty.setFontVariantPosition(String attrValue) Sets the CSSfont-variant-positionproperty.setFontWeight(FontWeight attrValue) Sets the CSSfont-weightproperty.setFontWeight(String attrValue) Sets the CSSfont-weightproperty.setGap(int gap) Sets the CSS gap property using a pixel value.setGap(int rowgap, int colgap) Sets the CSS gap property with separate row and column gap values in pixels.Sets the CSS gap property using a string value.Sets the CSS gap property with separate row and column gap values.setGrayscale(float value) Sets thegrayscale()function within the CSSfilterproperty.setHangingPunctuation(HangingPunctuation attrValue) Sets the CSShanging-punctuationproperty.setHangingPunctuation(String attrValue) Sets the CSShanging-punctuationproperty.setHeight(int pixels) Sets the CSSheightproperty in pixels.Sets the CSSheightproperty using a CSS unit value.Sets the CSSheightproperty.setHueRotate(float degrees) Sets thehue-rotate()function within the CSSfilterproperty.setHyphens(String attrValue) Sets the CSShyphensproperty.setImageOrientation(String attrValue) Sets the CSSimage-orientationproperty.setImageRendering(String attrValue) Sets the CSSimage-renderingproperty.setImageResolution(String attrValue) Sets the CSSimage-resolutionproperty.setImeMode(String attrValue) Sets the ime-mode property using a string value.setInvert(float value) Sets theinvert()function within the CSSfilterproperty.setJustifyContent(JustifyContent attrValue) Sets the CSSjustify-contentproperty.setJustifyContent(String attrValue) Sets the CSSjustify-contentproperty.setKeyFrames(String attrValue) Sets the CSS@keyframesanimation name.setLeft(int pixels) Sets the CSSleftproperty in pixels.Sets the CSSleftproperty using a CSS unit value.Sets the CSSleftproperty.setLetterSpacing(float pts) Sets the CSSletter-spacingproperty.setLetterSpacing(int pixels) Sets the CSSletter-spacingproperty in pixels.setLetterSpacing(Units units) Sets the CSSletter-spacingproperty using a CSS unit value.setLetterSpacing(String attrValue) Sets the CSSletter-spacingproperty.setLineBreak(String attrValue) Sets the CSSline-breakproperty.setLineHeight(float pts) Sets the CSSline-heightproperty.setLineHeight(int pixels) Sets the CSSline-heightproperty in pixels.setLineHeight(Units units) Sets the CSSline-heightproperty using a CSS unit value.setLineHeight(String attrValue) Sets the CSSline-heightproperty.setListStyle(String attrValue) Sets the CSSlist-styleproperty.setListStyleImage(String attrValue) Sets the CSSlist-style-imageproperty.setListStylePosition(ListStylePosition attrValue) Sets the CSSlist-style-positionproperty.setListStylePosition(String attrValue) Sets the CSSlist-style-positionproperty.setListStyleType(ListStyleType attrValue) Sets the CSSlist-style-typeproperty.setListStyleType(String attrValue) Sets the CSSlist-style-typeproperty.setMargin(int pixels) Sets the CSSmarginproperty in pixels.final CssStylesetMargin(int top, int right, int bottom, int left) Sets the CSSmarginproperty using individual values for each side.Sets the CSSmarginproperty using a CSS unit value.Sets the CSSmarginproperty using individual values for each side.Sets the CSSmarginproperty.final CssStyleSets the CSSmarginproperty using individual values for each side.setMarginBottom(int pixels) Sets the CSSmargin-bottomproperty in pixels.setMarginBottom(Units units) Sets the CSSmargin-bottomproperty using a CSS unit value.setMarginBottom(String attrValue) Sets the CSSmargin-bottomproperty.setMarginLeft(int pixels) Sets the CSSmargin-leftproperty in pixels.setMarginLeft(Units units) Sets the CSSmargin-leftproperty using a CSS unit value.setMarginLeft(String attrValue) Sets the CSSmargin-leftproperty.setMarginRight(int pixels) Sets the CSSmargin-rightproperty in pixels.setMarginRight(Units units) Sets the CSSmargin-rightproperty using a CSS unit value.setMarginRight(String attrValue) Sets the CSSmargin-rightproperty.setMarginTop(int pixels) Sets the CSSmargin-topproperty in pixels.setMarginTop(Units units) Sets the CSSmargin-topproperty using a CSS unit value.setMarginTop(String attrValue) Sets the CSSmargin-topproperty.Sets the CSSmarkproperty.setMarkAfter(String attrValue) Sets the CSSmark-afterproperty.setMarkBefore(String attrValue) Sets the CSSmark-beforeproperty.Sets the CSSmarksproperty.setMarqueeDirection(String attrValue) Sets the marquee-direction property for scroll direction.setMarqueePlayCount(String attrValue) Sets the marquee-play-count property for number of scrolling iterations.setMarqueeSpeed(String attrValue) Sets the marquee-speed property for scrolling speed.setMarqueeStyle(String attrValue) Sets the marquee-style property for scrolling behavior style.Sets the mask shorthand property for element masking.setMaskType(String attrValue) Sets the mask-type property for mask element interpretation.setMaxHeight(int pixels) Sets the CSSmax-heightproperty in pixels.setMaxHeight(Units units) Sets the CSSmax-heightproperty using a CSS unit value.setMaxHeight(String attrValue) Sets the CSSmax-heightproperty.setMaxWidth(int pixels) Sets the CSSmax-widthproperty in pixels.setMaxWidth(Units units) Sets the CSSmax-widthproperty using a CSS unit value.setMaxWidth(String maxWidth) Sets the CSSmax-widthproperty.setMinHeight(int pixels) Sets the CSSmin-heightproperty in pixels.setMinHeight(Units units) Sets the CSSmin-heightproperty using a CSS unit value.setMinHeight(String attrValue) Sets the CSSmin-heightproperty.setMinWidth(int pixels) Sets the CSSmin-widthproperty in pixels.setMinWidth(Units units) Sets the CSSmin-widthproperty using a CSS unit value.setMinWidth(String attrValue) Sets the CSSmin-widthproperty.setNavDown(String attrValue) Sets the nav-down property using a string value.setNavIndex(int index) Sets the nav-index property using an integer value.setNavIndex(String attrValue) Sets the nav-index property using a string value.setNavLeft(String attrValue) Sets the nav-left property using a string value.setNavRight(String attrValue) Sets the nav-right property using a string value.Sets the nav-up property using a string value.setObjectFit(String attrValue) Sets the CSSobject-fitproperty.setObjectPosition(String attrValue) Sets the CSSobject-positionproperty.setOpacity(int opacity) Sets the CSSopacityproperty.setOpacity(String attrValue) Sets the CSSopacityproperty.setOrder(int order) Sets the CSSorderproperty.Sets the CSSorderproperty.setOrphans(String attrValue) Sets the CSSorphansproperty.setOutline(Color color, OutlineStyle style, int width) Sets the outline shorthand property using typed values.setOutline(Color color, OutlineStyle style, Units width) Sets the outline shorthand property using typed values.setOutline(String attrValue) Sets the outline shorthand property using a string value.setOutline(String color, String style, String width) Sets the outline shorthand property using string values.setOutlineColor(Color color) Sets the outline-color property using a Color value.setOutlineColor(String attrValue) Sets the outline-color property using a string value.setOutlineOffset(int pixels) Sets the outline-offset property using a pixel value.setOutlineOffset(Units units) Sets the outline-offset property using a unit value.setOutlineOffset(String attrValue) Sets the outline-offset property using a string value.setOutlineStyle(OutlineStyle attrValue) Sets the outline-style property using an enum value.setOutlineStyle(String attrValue) Sets the outline-style property using a string value.setOutlineWidth(int pixels) Sets the outline-width property using a pixel value.setOutlineWidth(OutlineWidth attrValue) Sets the outline-width property using an enum value.setOutlineWidth(Units units) Sets the outline-width property using a unit value.setOutlineWidth(String attrValue) Sets the outline-width property using a string value.setOverflow(Overflow attrValue) Sets the CSSoverflowproperty.setOverflow(Overflow x, Overflow y) Sets the CSSoverflowproperty.setOverflow(String attrValue) Sets the CSSoverflowproperty.setOverflowWrap(String attrValue) Sets the CSSoverflow-wrapproperty.setOverflowX(Overflow attrValue) Sets the CSSoverflow-xproperty.setOverflowX(String attrValue) Sets the CSSoverflow-xproperty.setOverflowY(Overflow attrValue) Sets the CSSoverflow-yproperty.setOverflowY(String attrValue) Sets the CSSoverflow-yproperty.setPadding(int pixels) Sets the CSSpaddingproperty in pixels.setPadding(int topBottom, int leftRight) Sets the CSS padding property using pixel values for vertical and horizontal padding.setPadding(int top, int right, int bottom, int left) Sets the CSSpaddingproperty using individual values for each side.setPadding(Units units) Sets the CSSpaddingproperty using a CSS unit value.setPadding(Units topBottom, Units leftRight) Sets the CSS padding property using Units values for vertical and horizontal padding.setPadding(Units top, Units right, Units bottom, Units left) Sets the CSSpaddingproperty using individual values for each side.setPadding(String attrValue) Sets the CSSpaddingproperty.final CssStylesetPadding(String top, String right, String bottom, String left) Sets the CSSpaddingproperty using individual values for each side.setPaddingBottom(int pixels) Sets the CSSpadding-bottomproperty in pixels.setPaddingBottom(Units units) Sets the CSSpadding-bottomproperty using a CSS unit value.setPaddingBottom(String attrValue) Sets the CSSpadding-bottomproperty.setPaddingLeft(int pixels) Sets the CSSpadding-leftproperty in pixels.setPaddingLeft(Units units) Sets the CSSpadding-leftproperty using a CSS unit value.setPaddingLeft(String attrValue) Sets the CSSpadding-leftproperty.setPaddingRight(int pixels) Sets the CSSpadding-rightproperty in pixels.setPaddingRight(Units units) Sets the CSSpadding-rightproperty using a CSS unit value.setPaddingRight(String attrValue) Sets the CSSpadding-rightproperty.setPaddingTop(int pixels) Sets the CSSpadding-topproperty in pixels.setPaddingTop(Units units) Sets the CSSpadding-topproperty using a CSS unit value.setPaddingTop(String attrValue) Sets the CSSpadding-topproperty.setPageBreakAfter(PageBreakAfter attrValue) Sets the CSSpage-break-afterproperty.setPageBreakAfter(String attrValue) Sets the CSSpage-break-afterproperty.setPageBreakBefore(PageBreakBefore attrValue) Sets the CSSpage-break-beforeproperty.setPageBreakBefore(String attrValue) Sets the CSSpage-break-beforeproperty.setPageBreakInside(PageBreakInside attrValue) Sets the CSSpage-break-insideproperty.setPageBreakInside(String attrValue) Sets the CSSpage-break-insideproperty.setPerspective(int pixels) Sets the CSSperspectiveproperty in pixels.setPerspective(Units units) Sets the CSSperspectiveproperty using a CSS unit value.setPerspective(String attrValue) Sets the CSSperspectiveproperty.setPerspectiveOrigin(Origin xAxis, Origin yAxis) Sets the CSSperspective-originproperty.setPerspectiveOrigin(Units xAxis, Units yAxis) Sets the CSSperspective-originproperty.setPerspectiveOrigin(String attrValue) Sets the CSSperspective-originproperty.setPerspectiveOrigin(String xAxis, String yAxis) Sets the CSSperspective-originproperty.setPhonemes(String attrValue) Sets the CSSphonemesproperty.setPosition(int left, int top) Sets the CSSpositionproperty using individual values for each side.setPosition(Position attrValue) Sets the CSSpositionproperty.setPosition(Units left, Units top) Sets the CSSpositionproperty using individual values for each side.setPosition(String attrValue) Sets the CSSpositionproperty.setPosition(String left, String top) Sets the CSSpositionproperty using individual values for each side.Sets the CSSquotesproperty.Sets the resize property using an enum value.Sets the resize property using a string value.Sets the CSSrestproperty.setRestAfter(String attrValue) Sets the CSSrest-afterproperty.setRestBefore(String attrValue) Sets the CSSrest-beforeproperty.setRight(int pixels) Sets the CSSrightproperty in pixels.Sets the CSSrightproperty using a CSS unit value.Sets the CSSrightproperty.setRotate(float degrees) Sets therotate()function within the CSStransformproperty.Sets therotate()function within the CSStransformproperty.setRowGap(int rowgap) Sets the CSS row-gap property using a pixel value.Sets the CSS row-gap property using a string value.setSaturate(float value) Sets thesaturate()function within the CSSfilterproperty.setScale(float value) Sets thescale()function within the CSStransformproperty.Sets thescale()function within the CSStransformproperty.setSepia(float value) Sets thesepia()function within the CSSfilterproperty.setSize(int width, int height) Sets the CSSsizeproperty.Sets the CSSsizeproperty.Sets the CSSsizeproperty.Sets theskewX()function within the CSStransformproperty.Sets theskewY()function within the CSStransformproperty.final voidCopies all CSS properties from another CssStyle into this style.setTableLayout(TableLayout attrValue) Sets the CSStable-layoutproperty.setTableLayout(String attrValue) Sets the CSStable-layoutproperty.setTabSize(float pts) Sets the CSStab-sizeproperty.setTabSize(int pixels) Sets the CSStab-sizeproperty in pixels.setTabSize(Units units) Sets the CSStab-sizeproperty using a CSS unit value.setTabSize(String attrValue) Sets the CSStab-sizeproperty.setTextAlign(TextAlign attrValue) Sets the CSStext-alignproperty.setTextAlign(String attrValue) Sets the CSStext-alignproperty.setTextAlignLast(TextAlignLast attrValue) Sets the CSStext-align-lastproperty.setTextAlignLast(String attrValue) Sets the CSStext-align-lastproperty.setTextCombineUpright(String attrValue) Sets the CSStext-combine-uprightproperty.setTextCombineWeight(String attrValue) Sets the CSStext-combine-weightproperty.setTextDecoration(TextDecoration attrValue) Sets the CSStext-decorationproperty.setTextDecoration(String attrValue) Sets the CSStext-decorationproperty.setTextDecorationColor(Color color) Sets the CSStext-decoration-colorproperty using a Color object.setTextDecorationColor(String attrValue) Sets the CSStext-decoration-colorproperty.setTextDecorationLine(TextDecorationLine attrValue) Sets the CSStext-decoration-lineproperty.setTextDecorationLine(String attrValue) Sets the CSStext-decoration-lineproperty.setTextDecorationStyle(TextDecorationStyle attrValue) Sets the CSStext-decoration-styleproperty.setTextDecorationStyle(String attrValue) Sets the CSStext-decoration-styleproperty.setTextIndent(float pts) Sets the CSStext-indentproperty.setTextIndent(int pixels) Sets the CSStext-indentproperty in pixels.setTextIndent(Units units) Sets the CSStext-indentproperty using a CSS unit value.setTextIndent(String attrValue) Sets the CSStext-indentproperty.setTextJustify(TextJustify attrValue) Sets the CSStext-justifyproperty.setTextJustify(String attrValue) Sets the CSStext-justifyproperty.setTextOrientation(String attrValue) Sets the CSStext-orientationproperty.setTextOverflow(TextOverflow attrValue) Sets the text-overflow property using an enum value.setTextOverflow(String attrValue) Sets the text-overflow property using a string value.setTextSelectDisabled(boolean flag) Enables or disables text selection on this element.setTextShadow(int hShadow, int vShadow) Sets the CSStext-shadowproperty.setTextShadow(int hShadow, int vShadow, int blurRadius) Sets the CSStext-shadowproperty.setTextShadow(int hShadow, int vShadow, int blurRadius, Color color) Sets the CSStext-shadowproperty.setTextShadow(BoxShadow boxShadow) Sets the CSStext-shadowproperty from aBoxShadowbuilder.setTextShadow(String attrValue) Sets the CSStext-shadowproperty.setTextTransform(TextTransform attrValue) Sets the CSStext-transformproperty.setTextTransform(String attrValue) Sets the CSStext-transformproperty.setTextUnderlinePosition(String attrValue) Sets the CSStext-underline-positionproperty.setTop(int pixels) Sets the CSStopproperty in pixels.Sets the CSStopproperty using a CSS unit value.Sets the CSStopproperty.setTransform(Transform transform) Sets the CSStransformproperty from aTransformbuilder.setTransform(String attrValue) Sets the CSStransformproperty.setTransformOrigin(int xAxis, int yAxis, int zAxis) Sets the CSStransform-originproperty.setTransformOrigin(Origin xAxis, Origin yAxis, Units zAxis) Sets the CSStransform-originproperty.setTransformOrigin(Units xAxis, Units yAxis, Units zAxis) Sets the CSStransform-originproperty.setTransformOrigin(String attrValue) Sets the CSStransform-originproperty.setTransformOrigin(String xAxis, String yAxis, String zAxis) Sets the CSStransform-originproperty.setTransformStyle(TransformStyle attrValue) Sets the CSStransform-styleproperty.setTransformStyle(String attrValue) Sets the CSStransform-styleproperty.setTransition(String attrValue) Sets the CSStransitionproperty.setTransitionDelay(int secs) Sets the CSStransition-delayproperty.setTransitionDelay(long msecs) Sets the CSStransition-delayproperty.setTransitionDelay(String attrValue) Sets the CSStransition-delayproperty.setTransitionDuration(float secs) Sets the CSStransition-durationproperty.setTransitionDuration(long msecs) Sets the CSStransition-durationproperty.setTransitionDuration(String attrValue) Sets the CSStransition-durationproperty.setTransitionProperty(String attrValue) Sets the CSStransition-propertyproperty.setTransitionTimingFunction(float n1, float n2, float n3, float n4) Sets the CSStransition-timing-functionproperty.setTransitionTimingFunction(int intervals, boolean start) Sets the CSStransition-timing-functionproperty.Sets the CSStransition-timing-functionproperty.setTransitionTimingFunction(String attrValue) Sets the CSStransition-timing-functionproperty.setTranslateX(String value) Sets thetranslateX()function within the CSStransformproperty.setTranslateY(String value) Sets thetranslateY()function within the CSStransformproperty.setTranslateZ(String value) Sets thetranslateZ()function within the CSStransformproperty.setUnicodeBidi(UnicodeBidi attrValue) Sets the CSSunicode-bidiproperty.setUnicodeBidi(String attrValue) Sets the CSSunicode-bidiproperty.setVerticalAlign(VerticalAlign attrValue) Sets the CSSvertical-alignproperty.setVerticalAlign(String attrValue) Sets the CSSvertical-alignproperty.setVisibility(Visibility attrValue) Sets the CSSvisibilityproperty.setVisibility(String attrValue) Sets the CSSvisibilityproperty.setVoiceBalance(String attrValue) Sets the CSSvoice-balanceproperty.setVoiceDuration(String attrValue) Sets the CSSvoice-durationproperty.setVoicePitch(String attrValue) Sets the CSSvoice-pitchproperty.setVoicePitchRange(String attrValue) Sets the CSSvoice-pitch-rangeproperty.setVoiceRate(String attrValue) Sets the CSSvoice-rateproperty.setVoiceStress(String attrValue) Sets the CSSvoice-stressproperty.setVoiceVolume(String attrValue) Sets the CSSvoice-volumeproperty.setWhiteSpace(WhiteSpace attrValue) Sets the CSSwhite-spaceproperty.setWhiteSpace(String attrValue) Sets the CSSwhite-spaceproperty.Sets the CSSwidowsproperty.setWidth(int pixels) Sets the CSSwidthproperty in pixels.Sets the CSSwidthproperty using a CSS unit value.Sets the CSSwidthproperty.setWordBreak(WordBreak attrValue) Sets the CSSword-breakproperty.setWordBreak(String attrValue) Sets the CSSword-breakproperty.setWordSpacing(float pts) Sets the CSSword-spacingproperty.setWordSpacing(int pixels) Sets the CSSword-spacingproperty in pixels.setWordSpacing(Units units) Sets the CSSword-spacingproperty using a CSS unit value.setWordSpacing(String attrValue) Sets the CSSword-spacingproperty.setWordWrap(WordWrap attrValue) Sets the CSS word-wrap property using a WordWrap enum value.setWordWrap(String attrValue) Sets the CSSword-wrapproperty.setWritingMode(String attrValue) Sets the CSSwriting-modeproperty.setZIndex(int attrValue) Sets the CSSz-indexproperty.Sets the CSSz-indexproperty.final StringtoString()final booleanChecks if any CSS properties have been modified since the last call to this method.
-
Constructor Details
-
CssStyle
public CssStyle()Constructs an empty CssStyle with no properties set. -
CssStyle
Constructs a CssStyle by copying properties from another CssStyle.- Parameters:
style- the style to copy from
-
CssStyle
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
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
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:
trueif any properties were modified,falseotherwise.
-
addAttribute
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- Iftrue, appends "!important" to the value.- Returns:
trueif the property was modified,falseotherwise.
-
addAttribute
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:
trueif the property was modified,falseif unchanged.
-
addAttributes
Adds multiple CSS properties from a map.- Parameters:
attrs- A map of property names to values.- Returns:
trueif any properties were modified,falseotherwise.
-
removeAttribute
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:
trueif any properties were removed,falseotherwise.
-
merge
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:
trueif any properties were modified,falseotherwise.
-
isEmpty
public final boolean isEmpty()Checks if this style has no properties defined.- Returns:
trueif no CSS properties are set,falseotherwise.
-
getAttributes
Returns a copy of all CSS properties as an AttributeMap.- Returns:
- A new AttributeMap containing all property name-value pairs.
-
getAttribute
Gets the value of a specific CSS property.- Parameters:
name- The CSS property name.- Returns:
- The property value, or
nullif 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:
trueif any properties were modified since the last check,falseotherwise.
-
getAttributesString
Returns all CSS properties as a semicolon-separated string.- Returns:
- The CSS text representation of all properties.
-
getAttributesString
Returns all CSS properties as a formatted string.- Parameters:
pretty-truefor formatted output with line breaks,falsefor compact.- Returns:
- The CSS properties as a semicolon-delimited string.
-
toString
-
setKeyFrames
Sets the CSS@keyframesanimation name.- Specified by:
setKeyFramesin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimation
Sets the CSSanimationproperty.- Specified by:
setAnimationin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationDelay
Sets the CSSanimation-delayproperty.- Specified by:
setAnimationDelayin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationDelay
Sets the CSSanimation-delayproperty.- Specified by:
setAnimationDelayin interfaceAnimationIntf<CssStyle>- Parameters:
secs- The secs value.- Returns:
- This instance for method chaining.
-
setAnimationDelay
Sets the CSSanimation-delayproperty.- Specified by:
setAnimationDelayin interfaceAnimationIntf<CssStyle>- Parameters:
msecs- The long value.- Returns:
- This instance for method chaining.
-
setAnimationDirection
Sets the CSSanimation-directionproperty.- Specified by:
setAnimationDirectionin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationDirection
Sets the CSSanimation-directionproperty.- Specified by:
setAnimationDirectionin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The animation direction value.- Returns:
- This instance for method chaining.
-
setAnimationDuration
Sets the CSSanimation-durationproperty.- Specified by:
setAnimationDurationin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationDuration
Sets the CSSanimation-durationproperty.- Specified by:
setAnimationDurationin interfaceAnimationIntf<CssStyle>- Parameters:
secs- The secs value.- Returns:
- This instance for method chaining.
-
setAnimationDuration
Sets the CSSanimation-durationproperty.- Specified by:
setAnimationDurationin interfaceAnimationIntf<CssStyle>- Parameters:
msecs- The long value.- Returns:
- This instance for method chaining.
-
setAnimationFillMode
Sets the CSSanimation-fill-modeproperty.- Specified by:
setAnimationFillModein interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationFillMode
Sets the CSSanimation-fill-modeproperty.- Specified by:
setAnimationFillModein interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The animation fill mode value.- Returns:
- This instance for method chaining.
-
setAnimationIterationCount
Sets the CSSanimation-iteration-countproperty.- Specified by:
setAnimationIterationCountin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationIterationCount
Sets the CSSanimation-iteration-countproperty.- Specified by:
setAnimationIterationCountin interfaceAnimationIntf<CssStyle>- Parameters:
count- The iteration count.- Returns:
- This instance for method chaining.
-
setAnimationIterationCount
Sets the CSSanimation-iteration-countproperty.- Specified by:
setAnimationIterationCountin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The animation iteration count value.- Returns:
- This instance for method chaining.
-
setAnimationName
Sets the CSSanimation-nameproperty.- Specified by:
setAnimationNamein interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationPlayState
Sets the CSSanimation-play-stateproperty.- Specified by:
setAnimationPlayStatein interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationPlayState
Sets the CSSanimation-play-stateproperty.- Specified by:
setAnimationPlayStatein interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The animation play state value.- Returns:
- This instance for method chaining.
-
setAnimationTimingFunction
Sets the CSSanimation-timing-functionproperty.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAnimationTimingFunction
Sets the CSSanimation-timing-functionproperty.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssStyle>- Parameters:
attrValue- The animation timing function value.- Returns:
- This instance for method chaining.
-
setAnimationTimingFunction
Sets the CSSanimation-timing-functionproperty.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<CssStyle>- Parameters:
intervals- The number of intervals.start-trueto start the steps from the beginning.- Returns:
- This instance for method chaining.
-
setAnimationTimingFunction
Sets the CSSanimation-timing-functionproperty.- Specified by:
setAnimationTimingFunctionin interfaceAnimationIntf<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
Sets the CSSbackgroundproperty.- Specified by:
setBackgroundin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackground
Sets the CSSbackgroundproperty using a Color object.- Specified by:
setBackgroundin interfaceBackgroundIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBackgroundAttachment
Sets the CSSbackground-attachmentproperty.- Specified by:
setBackgroundAttachmentin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundAttachment
Sets the CSSbackground-attachmentproperty.- Specified by:
setBackgroundAttachmentin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background attachment value.- Returns:
- This instance for method chaining.
-
setBackgroundBlendMode
Sets the CSSbackground-blend-modeproperty.- Specified by:
setBackgroundBlendModein interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundBlendMode
Sets the CSSbackground-blend-modeproperty.- Specified by:
setBackgroundBlendModein interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background blend mode value.- Returns:
- This instance for method chaining.
-
setBackgroundColor
Sets the CSSbackground-colorproperty.- Specified by:
setBackgroundColorin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundColor
Sets the CSSbackground-colorproperty using a Color object.- Specified by:
setBackgroundColorin interfaceBackgroundIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBackgroundColor
Sets the CSSbackground-colorproperty.- Specified by:
setBackgroundColorin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background color value.- Returns:
- This instance for method chaining.
-
setBackgroundImage
Sets the CSSbackground-imageproperty.- Specified by:
setBackgroundImagein interfaceBackgroundIntf<CssStyle>- Parameters:
url- The URL value.- Returns:
- This instance for method chaining.
-
setBackgroundImage
Sets the CSSbackground-imageproperty.- Parameters:
url- The URL value.repeat- The repeat value.- Returns:
- This instance for method chaining.
-
setBackgroundImage
Sets the CSSbackground-imageproperty from aGradientbuilder.This overload accepts a
Gradientobject 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
Sets the CSSbackground-positionproperty.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundPosition
Sets the CSSbackground-positionproperty.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background position value.- Returns:
- This instance for method chaining.
-
setBackgroundPosition
Sets the CSSbackground-positionproperty.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssStyle>- Parameters:
xpos- The xpos value.ypos- The ypos value.- Returns:
- This instance for method chaining.
-
setBackgroundPosition
Sets the CSSbackground-positionproperty.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssStyle>- Parameters:
xpos- The xpos value.ypos- The ypos value.- Returns:
- This instance for method chaining.
-
setBackgroundPosition
Sets the CSSbackground-positionproperty.- Specified by:
setBackgroundPositionin interfaceBackgroundIntf<CssStyle>- Parameters:
xpos- The value as a CSS unit.ypos- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBackgroundRepeat
Sets the CSSbackground-repeatproperty.- Specified by:
setBackgroundRepeatin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundRepeat
Sets the CSSbackground-repeatproperty.- Specified by:
setBackgroundRepeatin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background repeat value.- Returns:
- This instance for method chaining.
-
setBackgroundClip
Sets the CSSbackground-clipproperty.- Specified by:
setBackgroundClipin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundClip
Sets the CSSbackground-clipproperty.- Specified by:
setBackgroundClipin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background clip value.- Returns:
- This instance for method chaining.
-
setBackgroundOrigin
Sets the CSSbackground-originproperty.- Specified by:
setBackgroundOriginin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundOrigin
Sets the CSSbackground-originproperty.- Specified by:
setBackgroundOriginin interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background origin value.- Returns:
- This instance for method chaining.
-
setBackgroundSize
Sets the CSSbackground-sizeproperty.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackgroundSize
Sets the CSSbackground-sizeproperty.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssStyle>- Parameters:
attrValue- The background size value.- Returns:
- This instance for method chaining.
-
setBackgroundSize
Sets the CSSbackground-sizeproperty.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssStyle>- Parameters:
width- The width value.height- The height value.- Returns:
- This instance for method chaining.
-
setBackgroundSize
Sets the CSSbackground-sizeproperty.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssStyle>- Parameters:
width- The width value.height- The height value.- Returns:
- This instance for method chaining.
-
setBackgroundSize
Sets the CSSbackground-sizeproperty.- Specified by:
setBackgroundSizein interfaceBackgroundIntf<CssStyle>- Parameters:
width- The value as a CSS unit.height- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setClear
Sets the CSSclearproperty.- Specified by:
setClearin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setClear
Sets the CSSclearproperty.- Specified by:
setClearin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The clear value.- Returns:
- This instance for method chaining.
-
setClip
Sets the CSSclipproperty.- Specified by:
setClipin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setClipPath
Sets the CSSclip-pathproperty.- Specified by:
setClipPathin interfacecom.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
Sets the CSSclip-pathproperty from aClipPathbuilder.This overload accepts a
ClipPathobject 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
Sets the CSSdisplayproperty.- Specified by:
setDisplayin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setDisplay
Sets the CSSdisplayproperty.- Specified by:
setDisplayin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The display value.- Returns:
- This instance for method chaining.
-
setFloat
Sets the CSSfloatproperty.- Specified by:
setFloatin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFloat
Sets the CSSfloatproperty.- Specified by:
setFloatin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The float value.- Returns:
- This instance for method chaining.
-
setMargin
Sets the CSSmarginproperty.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMargin
Sets the CSSmarginproperty in pixels.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMargin
Sets the CSSmarginproperty using a CSS unit value.- Specified by:
setMarginin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMargin
Sets the CSSmarginproperty 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
Sets the CSSmarginproperty using individual values for each side.- Specified by:
setMarginin interfacecom.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
Sets the CSSmarginproperty using individual values for each side.- Specified by:
setMarginin interfacecom.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
Sets the CSSmargin-bottomproperty.- Specified by:
setMarginBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarginBottom
Sets the CSSmargin-bottomproperty in pixels.- Specified by:
setMarginBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMarginBottom
Sets the CSSmargin-bottomproperty using a CSS unit value.- Specified by:
setMarginBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMarginLeft
Sets the CSSmargin-leftproperty.- Specified by:
setMarginLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarginLeft
Sets the CSSmargin-leftproperty in pixels.- Specified by:
setMarginLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMarginLeft
Sets the CSSmargin-leftproperty using a CSS unit value.- Specified by:
setMarginLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMarginRight
Sets the CSSmargin-rightproperty.- Specified by:
setMarginRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarginRight
Sets the CSSmargin-rightproperty in pixels.- Specified by:
setMarginRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMarginRight
Sets the CSSmargin-rightproperty using a CSS unit value.- Specified by:
setMarginRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMarginTop
Sets the CSSmargin-topproperty.- Specified by:
setMarginTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarginTop
Sets the CSSmargin-topproperty in pixels.- Specified by:
setMarginTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMarginTop
Sets the CSSmargin-topproperty using a CSS unit value.- Specified by:
setMarginTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setOverflow
Sets the CSSoverflowproperty.- Specified by:
setOverflowin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setOverflow
Sets the CSSoverflowproperty.- Specified by:
setOverflowin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The overflow value.- Returns:
- This instance for method chaining.
-
setOverflow
Sets the CSSoverflowproperty.- Specified by:
setOverflowin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
x- The overflow value.y- The overflow value.- Returns:
- This instance for method chaining.
-
setOverflowX
Sets the CSSoverflow-xproperty.- Specified by:
setOverflowXin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setOverflowX
Sets the CSSoverflow-xproperty.- Specified by:
setOverflowXin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The overflow value.- Returns:
- This instance for method chaining.
-
setOverflowY
Sets the CSSoverflow-yproperty.- Specified by:
setOverflowYin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setOverflowY
Sets the CSSoverflow-yproperty.- Specified by:
setOverflowYin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The overflow value.- Returns:
- This instance for method chaining.
-
setPadding
Sets the CSSpaddingproperty.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPadding
Sets the CSSpaddingproperty in pixels.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setPadding
Sets the CSSpaddingproperty using a CSS unit value.- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setPadding
Sets the CSSpaddingproperty using individual values for each side.- Specified by:
setPaddingin interfacecom.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
Sets the CSSpaddingproperty using individual values for each side.- Specified by:
setPaddingin interfacecom.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
Sets the CSS padding property using pixel values for vertical and horizontal padding.This is equivalent to the CSS shorthand
padding: topBottom leftRight;- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
topBottom- the top and bottom padding in pixelsleftRight- the left and right padding in pixels- Returns:
- this for method chaining
-
setPadding
Sets the CSS padding property using Units values for vertical and horizontal padding.This is equivalent to the CSS shorthand
padding: topBottom leftRight;- Specified by:
setPaddingin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
topBottom- the top and bottom padding as a Units objectleftRight- the left and right padding as a Units object- Returns:
- this for method chaining
-
setPadding
Sets the CSSpaddingproperty using individual values for each side.- Specified by:
setPaddingin interfacecom.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
Sets the CSSpadding-bottomproperty.- Specified by:
setPaddingBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPaddingBottom
Sets the CSSpadding-bottomproperty in pixels.- Specified by:
setPaddingBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setPaddingBottom
Sets the CSSpadding-bottomproperty using a CSS unit value.- Specified by:
setPaddingBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setPaddingLeft
Sets the CSSpadding-leftproperty.- Specified by:
setPaddingLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPaddingLeft
Sets the CSSpadding-leftproperty in pixels.- Specified by:
setPaddingLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setPaddingLeft
Sets the CSSpadding-leftproperty using a CSS unit value.- Specified by:
setPaddingLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setPaddingRight
Sets the CSSpadding-rightproperty.- Specified by:
setPaddingRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPaddingRight
Sets the CSSpadding-rightproperty in pixels.- Specified by:
setPaddingRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setPaddingRight
Sets the CSSpadding-rightproperty using a CSS unit value.- Specified by:
setPaddingRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setPaddingTop
Sets the CSSpadding-topproperty.- Specified by:
setPaddingTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPaddingTop
Sets the CSSpadding-topproperty in pixels.- Specified by:
setPaddingTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setPaddingTop
Sets the CSSpadding-topproperty using a CSS unit value.- Specified by:
setPaddingTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setPosition
Sets the CSSpositionproperty.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPosition
Sets the CSSpositionproperty.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The position value.- Returns:
- This instance for method chaining.
-
setPosition
Sets the CSSpositionproperty using individual values for each side.- Specified by:
setPositionin interfacecom.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
Sets the CSSpositionproperty using individual values for each side.- Specified by:
setPositionin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
left- The left value in pixels.top- The top value in pixels.- Returns:
- This instance for method chaining.
-
setPosition
Sets the CSSpositionproperty using individual values for each side.- Specified by:
setPositionin interfacecom.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
Sets the CSSbottomproperty.- Specified by:
setBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBottom
Sets the CSSbottomproperty in pixels.- Specified by:
setBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBottom
Sets the CSSbottomproperty using a CSS unit value.- Specified by:
setBottomin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setLeft
Sets the CSSleftproperty.- Specified by:
setLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setLeft
Sets the CSSleftproperty in pixels.- Specified by:
setLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setLeft
Sets the CSSleftproperty using a CSS unit value.- Specified by:
setLeftin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setRight
Sets the CSSrightproperty.- Specified by:
setRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setRight
Sets the CSSrightproperty in pixels.- Specified by:
setRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setRight
Sets the CSSrightproperty using a CSS unit value.- Specified by:
setRightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setTop
Sets the CSStopproperty.- Specified by:
setTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTop
Sets the CSStopproperty in pixels.- Specified by:
setTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setTop
Sets the CSStopproperty using a CSS unit value.- Specified by:
setTopin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setVerticalAlign
Sets the CSSvertical-alignproperty.- Specified by:
setVerticalAlignin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVerticalAlign
Sets the CSSvertical-alignproperty.- Specified by:
setVerticalAlignin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The vertical align value.- Returns:
- This instance for method chaining.
-
setVisibility
Sets the CSSvisibilityproperty.- Specified by:
setVisibilityin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVisibility
Sets the CSSvisibilityproperty.- Specified by:
setVisibilityin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The visibility value.- Returns:
- This instance for method chaining.
-
setHeight
Sets the CSSheightproperty.- Specified by:
setHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setHeight
Sets the CSSheightproperty in pixels.- Specified by:
setHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setHeight
Sets the CSSheightproperty using a CSS unit value.- Specified by:
setHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMaxHeight
Sets the CSSmax-heightproperty.- Specified by:
setMaxHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMaxHeight
Sets the CSSmax-heightproperty in pixels.- Specified by:
setMaxHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMaxHeight
Sets the CSSmax-heightproperty using a CSS unit value.- Specified by:
setMaxHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMinHeight
Sets the CSSmin-heightproperty.- Specified by:
setMinHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMinHeight
Sets the CSSmin-heightproperty in pixels.- Specified by:
setMinHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMinHeight
Sets the CSSmin-heightproperty using a CSS unit value.- Specified by:
setMinHeightin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setWidth
Sets the CSSwidthproperty.- Specified by:
setWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setWidth
Sets the CSSwidthproperty in pixels.- Specified by:
setWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setWidth
Sets the CSSwidthproperty using a CSS unit value.- Specified by:
setWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMaxWidth
Sets the CSSmax-widthproperty.- Specified by:
setMaxWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
maxWidth- The max width value.- Returns:
- This instance for method chaining.
-
setMaxWidth
Sets the CSSmax-widthproperty in pixels.- Specified by:
setMaxWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMaxWidth
Sets the CSSmax-widthproperty using a CSS unit value.- Specified by:
setMaxWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setMinWidth
Sets the CSSmin-widthproperty.- Specified by:
setMinWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMinWidth
Sets the CSSmin-widthproperty in pixels.- Specified by:
setMinWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setMinWidth
Sets the CSSmin-widthproperty using a CSS unit value.- Specified by:
setMinWidthin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setSize
Sets the CSSsizeproperty.- Specified by:
setSizein interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
width- The width value.height- The height value.- Returns:
- This instance for method chaining.
-
setSize
Sets the CSSsizeproperty.- Specified by:
setSizein interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
width- The width value.height- The height value.- Returns:
- This instance for method chaining.
-
setSize
Sets the CSSsizeproperty.- Specified by:
setSizein interfacecom.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
Sets the CSSz-indexproperty.- Specified by:
setZIndexin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setZIndex
Sets the CSSz-indexproperty.- Specified by:
setZIndexin interfacecom.oorian.css.BasicBoxIntf<CssStyle>- Parameters:
attrValue- The value.- Returns:
- This instance for method chaining.
-
setBoxSizing
Sets the box-sizing property using a string value.- Specified by:
setBoxSizingin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setBoxSizing
Sets the box-sizing property using an enum value.- Specified by:
setBoxSizingin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the box-sizing value- Returns:
- this for method chaining
-
setCursor
Sets the cursor property using a string value.- Specified by:
setCursorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setCursor
Sets the cursor property using an enum value.- Specified by:
setCursorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the cursor value- Returns:
- this for method chaining
-
setImeMode
Sets the ime-mode property using a string value.- Specified by:
setImeModein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using a string value.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using string values.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
color- the outline colorstyle- the outline stylewidth- the outline width- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using typed values.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
color- the outline colorstyle- the outline stylewidth- the outline width in pixels- Returns:
- this for method chaining
-
setOutline
Sets the outline shorthand property using typed values.- Specified by:
setOutlinein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
color- the outline colorstyle- the outline stylewidth- the outline width with units- Returns:
- this for method chaining
-
setOutlineColor
Sets the outline-color property using a string value.- Specified by:
setOutlineColorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineColor
Sets the outline-color property using a Color value.- Specified by:
setOutlineColorin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
color- the outline color- Returns:
- this for method chaining
-
setOutlineOffset
Sets the outline-offset property using a string value.- Specified by:
setOutlineOffsetin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineOffset
Sets the outline-offset property using a pixel value.- Specified by:
setOutlineOffsetin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
pixels- the offset in pixels- Returns:
- this for method chaining
-
setOutlineOffset
Sets the outline-offset property using a unit value.- Specified by:
setOutlineOffsetin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
units- the offset with units- Returns:
- this for method chaining
-
setOutlineStyle
Sets the outline-style property using a string value.- Specified by:
setOutlineStylein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineStyle
Sets the outline-style property using an enum value.- Specified by:
setOutlineStylein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the outline style- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using a string value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using an enum value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the outline width- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using a pixel value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
pixels- the width in pixels- Returns:
- this for method chaining
-
setOutlineWidth
Sets the outline-width property using a unit value.- Specified by:
setOutlineWidthin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
units- the width with units- Returns:
- this for method chaining
-
setResize
Sets the resize property using a string value.- Specified by:
setResizein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setResize
Sets the resize property using an enum value.- Specified by:
setResizein interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the resize value- Returns:
- this for method chaining
-
setTextOverflow
Sets the text-overflow property using a string value.- Specified by:
setTextOverflowin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the CSS value- Returns:
- this for method chaining
-
setTextOverflow
Sets the text-overflow property using an enum value.- Specified by:
setTextOverflowin interfacecom.oorian.css.BasicUserInterfaceIntf<CssStyle>- Parameters:
attrValue- the text-overflow value- Returns:
- this for method chaining
-
setBorder
Sets the CSSborderproperty.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The style value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSborderproperty using a Color object.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorder
Sets the CSSbordershorthand property.- Specified by:
setBorderin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomproperty.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The style value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottom
Sets the CSSborder-bottomshorthand property.- Specified by:
setBorderBottomin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottomColor
Sets the CSSborder-bottom-colorproperty.- Specified by:
setBorderBottomColorin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderBottomColor
Sets the CSSborder-bottom-colorproperty using a Color object.- Specified by:
setBorderBottomColorin interfaceBorderIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBorderBottomLeftRadius
Sets the CSSborder-bottom-left-radiusproperty.- Specified by:
setBorderBottomLeftRadiusin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderBottomLeftRadius
Sets the CSSborder-bottom-left-radiusproperty in pixels.- Specified by:
setBorderBottomLeftRadiusin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderBottomLeftRadius
Sets the CSSborder-bottom-left-radiusproperty using a CSS unit value.- Specified by:
setBorderBottomLeftRadiusin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderBottomRightRadius
Sets the CSSborder-bottom-right-radiusproperty.- Specified by:
setBorderBottomRightRadiusin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderBottomRightRadius
Sets the CSSborder-bottom-right-radiusproperty in pixels.- Specified by:
setBorderBottomRightRadiusin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderBottomRightRadius
Sets the CSSborder-bottom-right-radiusproperty using a CSS unit value.- Specified by:
setBorderBottomRightRadiusin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderBottomStyle
Sets the CSSborder-bottom-styleproperty.- Specified by:
setBorderBottomStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderBottomStyle
Sets the CSSborder-bottom-styleproperty.- Specified by:
setBorderBottomStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border style.- Returns:
- This instance for method chaining.
-
setBorderBottomWidth
Sets the CSSborder-bottom-widthproperty.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderBottomWidth
Sets the CSSborder-bottom-widthproperty.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border width.- Returns:
- This instance for method chaining.
-
setBorderBottomWidth
Sets the CSSborder-bottom-widthproperty in pixels.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderBottomWidth
Sets the CSSborder-bottom-widthproperty using a CSS unit value.- Specified by:
setBorderBottomWidthin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderColor
Sets the CSSborder-colorproperty.- Specified by:
setBorderColorin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderColor
Sets the CSSborder-colorproperty using a Color object.- Specified by:
setBorderColorin interfaceBorderIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBorderColor
Sets the CSSborder-colorproperty using individual values for each side.- Specified by:
setBorderColorin interfaceBorderIntf<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
Sets the CSSborder-colorproperty using individual values for each side.- Specified by:
setBorderColorin interfaceBorderIntf<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
Sets the CSSborder-imageproperty.- Specified by:
setBorderImagein interfaceBorderIntf<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 CSSborder-imageshorthand property.- Specified by:
setBorderImagein interfaceBorderIntf<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
Sets the CSSborder-image-outsetproperty.- Specified by:
setBorderImageOutsetin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderImageRepeat
Sets the CSSborder-image-repeatproperty.- Specified by:
setBorderImageRepeatin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderImageSlice
Sets the CSSborder-image-sliceproperty.- Specified by:
setBorderImageSlicein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderImageSource
Sets the CSSborder-image-sourceproperty.- Specified by:
setBorderImageSourcein interfaceBorderIntf<CssStyle>- Parameters:
url- The URL value.- Returns:
- This instance for method chaining.
-
setBorderImageWidth
Sets the CSSborder-image-widthproperty.- Specified by:
setBorderImageWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftproperty.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The style value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeft
Sets the CSSborder-leftshorthand property.- Specified by:
setBorderLeftin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeftColor
Sets the CSSborder-left-colorproperty.- Specified by:
setBorderLeftColorin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderLeftColor
Sets the CSSborder-left-colorproperty using a Color object.- Specified by:
setBorderLeftColorin interfaceBorderIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBorderLeftStyle
Sets the CSSborder-left-styleproperty.- Specified by:
setBorderLeftStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderLeftStyle
Sets the CSSborder-left-styleproperty.- Specified by:
setBorderLeftStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border style.- Returns:
- This instance for method chaining.
-
setBorderLeftWidth
Sets the CSSborder-left-widthproperty.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderLeftWidth
Sets the CSSborder-left-widthproperty.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border width.- Returns:
- This instance for method chaining.
-
setBorderLeftWidth
Sets the CSSborder-left-widthproperty in pixels.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderLeftWidth
Sets the CSSborder-left-widthproperty using a CSS unit value.- Specified by:
setBorderLeftWidthin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderRadius
Sets the CSSborder-radiusproperty.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderRadius
Sets the CSSborder-radiusproperty in pixels.- Specified by:
setBorderRadiusin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderRadius
Sets the CSSborder-radiusproperty using a CSS unit value.- Specified by:
setBorderRadiusin interfaceBorderIntf<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 CSSborder-radiusproperty.- Specified by:
setBorderRadiusin interfaceBorderIntf<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
Sets the CSSborder-radiusproperty.- Specified by:
setBorderRadiusin interfaceBorderIntf<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
Sets the CSSborder-radiusproperty.- Specified by:
setBorderRadiusin interfaceBorderIntf<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
Sets the CSSborder-rightproperty.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The style value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRight
Sets the CSSborder-rightshorthand property.- Specified by:
setBorderRightin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRightColor
Sets the CSSborder-right-colorproperty.- Specified by:
setBorderRightColorin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderRightColor
Sets the CSSborder-right-colorproperty using a Color object.- Specified by:
setBorderRightColorin interfaceBorderIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBorderRightStyle
Sets the CSSborder-right-styleproperty.- Specified by:
setBorderRightStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderRightStyle
Sets the CSSborder-right-styleproperty.- Specified by:
setBorderRightStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border style.- Returns:
- This instance for method chaining.
-
setBorderRightWidth
Sets the CSSborder-right-widthproperty.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderRightWidth
Sets the CSSborder-right-widthproperty.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border width.- Returns:
- This instance for method chaining.
-
setBorderRightWidth
Sets the CSSborder-right-widthproperty in pixels.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderRightWidth
Sets the CSSborder-right-widthproperty using a CSS unit value.- Specified by:
setBorderRightWidthin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderStyle
Sets the CSSborder-styleproperty.- Specified by:
setBorderStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderStyle
Sets the CSSborder-styleproperty.- Specified by:
setBorderStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border style.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topproperty.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The style value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The width value.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The value as a CSS unit.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.style- The border style.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTop
Sets the CSSborder-topshorthand property.- Specified by:
setBorderTopin interfaceBorderIntf<CssStyle>- Parameters:
width- The border width.color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTopColor
Sets the CSSborder-top-colorproperty.- Specified by:
setBorderTopColorin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderTopColor
Sets the CSSborder-top-colorproperty using a Color object.- Specified by:
setBorderTopColorin interfaceBorderIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setBorderTopLeftRadius
Sets the CSSborder-top-left-radiusproperty.- Specified by:
setBorderTopLeftRadiusin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderTopLeftRadius
Sets the CSSborder-top-left-radiusproperty in pixels.- Specified by:
setBorderTopLeftRadiusin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderTopLeftRadius
Sets the CSSborder-top-left-radiusproperty using a CSS unit value.- Specified by:
setBorderTopLeftRadiusin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderTopRightRadius
Sets the CSSborder-top-right-radiusproperty.- Specified by:
setBorderTopRightRadiusin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderTopRightRadius
Sets the CSSborder-top-right-radiusproperty in pixels.- Specified by:
setBorderTopRightRadiusin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderTopRightRadius
Sets the CSSborder-top-right-radiusproperty using a CSS unit value.- Specified by:
setBorderTopRightRadiusin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderTopStyle
Sets the CSSborder-top-styleproperty.- Specified by:
setBorderTopStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderTopStyle
Sets the CSSborder-top-styleproperty.- Specified by:
setBorderTopStylein interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border style.- Returns:
- This instance for method chaining.
-
setBorderTopWidth
Sets the CSSborder-top-widthproperty.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderTopWidth
Sets the CSSborder-top-widthproperty.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border width.- Returns:
- This instance for method chaining.
-
setBorderTopWidth
Sets the CSSborder-top-widthproperty in pixels.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderTopWidth
Sets the CSSborder-top-widthproperty using a CSS unit value.- Specified by:
setBorderTopWidthin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderWidth
Sets the CSSborder-widthproperty.- Specified by:
setBorderWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderWidth
Sets the CSSborder-widthproperty.- Specified by:
setBorderWidthin interfaceBorderIntf<CssStyle>- Parameters:
attrValue- The border width.- Returns:
- This instance for method chaining.
-
setBorderWidth
Sets the CSSborder-widthproperty in pixels.- Specified by:
setBorderWidthin interfaceBorderIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderWidth
Sets the CSSborder-widthproperty using a CSS unit value.- Specified by:
setBorderWidthin interfaceBorderIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderWidth
Sets the CSSborder-widthproperty using individual values for each side.- Specified by:
setBorderWidthin interfaceBorderIntf<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
Sets the CSSborder-widthproperty using individual values for each side.- Specified by:
setBorderWidthin interfaceBorderIntf<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
Sets the CSSborder-widthproperty using individual values for each side.- Specified by:
setBorderWidthin interfaceBorderIntf<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
Sets the CSSbox-shadowproperty.- Specified by:
setBoxShadowin interfaceBorderIntf<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 CSSbox-shadowproperty.- Specified by:
setBoxShadowin interfaceBorderIntf<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
Sets the CSSbox-shadowproperty.- Specified by:
setBoxShadowin interfaceBorderIntf<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
Sets the CSSbox-shadowproperty.- Specified by:
setBoxShadowin interfaceBorderIntf<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
Sets the CSSbox-shadowproperty from aBoxShadowbuilder.This overload accepts a
BoxShadowobject 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
Sets the CSScolorproperty.- Specified by:
setColorin interfacecom.oorian.css.ColorIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColor
Sets the CSScolorproperty using a Color object.- Specified by:
setColorin interfacecom.oorian.css.ColorIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setOpacity
Sets the CSSopacityproperty.- Specified by:
setOpacityin interfacecom.oorian.css.ColorIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setOpacity
Sets the CSSopacityproperty.- Specified by:
setOpacityin interfacecom.oorian.css.ColorIntf<CssStyle>- Parameters:
opacity- The opacity value.- Returns:
- This instance for method chaining.
-
setCounterIncrement
Sets the CSScounter-incrementproperty.- Specified by:
setCounterIncrementin interfaceCountersIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setCounterReset
Sets the CSScounter-resetproperty.- Specified by:
setCounterResetin interfaceCountersIntf<CssStyle>- Parameters:
keyFrameName- The key frame name value.- Returns:
- This instance for method chaining.
-
setFilter
Sets the CSSfilterproperty.- Specified by:
setFilterin interfacecom.oorian.css.FilterEffectsIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFilter
Sets the CSSfilterproperty from aFilterbuilder.This overload accepts a
Filterobject 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
Sets the CSSbackdrop-filterproperty.- Specified by:
setBackdropFilterin interfacecom.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
Sets the CSSbackdrop-filterproperty from aFilterbuilder.This overload accepts a
Filterobject 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
Sets theblur()function within the CSSfilterproperty.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
Sets thebrightness()function within the CSSfilterproperty.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.5ffor 150%)- Returns:
- This instance for method chaining.
-
setContrast
Sets thecontrast()function within the CSSfilterproperty.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.5ffor 150%)- Returns:
- This instance for method chaining.
-
setGrayscale
Sets thegrayscale()function within the CSSfilterproperty.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 from0.0f(none) to1.0f(full grayscale)- Returns:
- This instance for method chaining.
-
setHueRotate
Sets thehue-rotate()function within the CSSfilterproperty.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
Sets theinvert()function within the CSSfilterproperty.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 from0.0f(none) to1.0f(full inversion)- Returns:
- This instance for method chaining.
-
setFilterOpacity
Sets theopacity()function within the CSSfilterproperty.This controls the filter opacity, distinct from the CSS
opacityproperty. If anopacity()already exists in the filter, it is replaced. Otherwise the function is appended. Other filter functions are preserved.- Parameters:
value- the opacity amount from0.0f(transparent) to1.0f(opaque)- Returns:
- This instance for method chaining.
-
setSaturate
Sets thesaturate()function within the CSSfilterproperty.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.5ffor 150%)- Returns:
- This instance for method chaining.
-
setSepia
Sets thesepia()function within the CSSfilterproperty.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 from0.0f(none) to1.0f(full sepia)- Returns:
- This instance for method chaining.
-
setAlignContent
Sets the CSSalign-contentproperty.- Specified by:
setAlignContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAlignContent
Sets the CSSalign-contentproperty.- Specified by:
setAlignContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The align content value.- Returns:
- This instance for method chaining.
-
setAlignItems
Sets the CSSalign-itemsproperty.- Specified by:
setAlignItemsin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAlignItems
Sets the CSSalign-itemsproperty.- Specified by:
setAlignItemsin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The align items value.- Returns:
- This instance for method chaining.
-
setAlignSelf
Sets the CSSalign-selfproperty.- Specified by:
setAlignSelfin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setAlignSelf
Sets the CSSalign-selfproperty.- Specified by:
setAlignSelfin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The align self value.- Returns:
- This instance for method chaining.
-
setFlex
Sets the CSSflexproperty.- Specified by:
setFlexin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexBasis
Sets the CSSflex-basisproperty.- Specified by:
setFlexBasisin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexDirection
Sets the CSSflex-directionproperty.- Specified by:
setFlexDirectionin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexDirection
Sets the CSSflex-directionproperty.- Specified by:
setFlexDirectionin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The flex direction value.- Returns:
- This instance for method chaining.
-
setFlexFlow
Sets the CSSflex-flowproperty.- Specified by:
setFlexFlowin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexGrow
Sets the CSSflex-growproperty.- Specified by:
setFlexGrowin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexGrow
Sets the CSSflex-growproperty.- Specified by:
setFlexGrowin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The value.- Returns:
- This instance for method chaining.
-
setFlexShrink
Sets the CSSflex-shrinkproperty.- Specified by:
setFlexShrinkin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexShrink
Sets the CSS flex-shrink property using an integer value.- Specified by:
setFlexShrinkin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The flex-shrink factor as an integer.- Returns:
trueif the property was set successfully,falseotherwise.
-
setFlexWrap
Sets the CSSflex-wrapproperty.- Specified by:
setFlexWrapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFlexWrap
Sets the CSSflex-wrapproperty.- Specified by:
setFlexWrapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The flex wrap value.- Returns:
- This instance for method chaining.
-
setJustifyContent
Sets the CSSjustify-contentproperty.- Specified by:
setJustifyContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setJustifyContent
Sets the CSSjustify-contentproperty.- Specified by:
setJustifyContentin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The justify content value.- Returns:
- This instance for method chaining.
-
setOrder
Sets the CSSorderproperty.- Specified by:
setOrderin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setOrder
Sets the CSSorderproperty.- Specified by:
setOrderin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
order- The order value.- Returns:
- This instance for method chaining.
-
setColGap
Sets the CSS column-gap property using a string value.- Specified by:
setColGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
colgap- The column gap value (e.g., "10px", "1em").- Returns:
trueif the property was set successfully,falseotherwise.
-
setColGap
Sets the CSS column-gap property using a pixel value.- Specified by:
setColGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
colgap- The column gap in pixels.- Returns:
trueif the property was set successfully,falseotherwise.
-
setGap
Sets the CSS gap property using a string value.The gap property is a shorthand for row-gap and column-gap.
- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
gap- The gap value (e.g., "10px", "1em").- Returns:
trueif the property was set successfully,falseotherwise.
-
setGap
Sets the CSS gap property using a pixel value.The gap property is a shorthand for row-gap and column-gap.
- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
gap- The gap in pixels.- Returns:
trueif the property was set successfully,falseotherwise.
-
setGap
Sets the CSS gap property with separate row and column gap values.- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
rowgap- The row gap value (e.g., "10px", "1em").colgap- The column gap value (e.g., "10px", "1em").- Returns:
trueif the property was set successfully,falseotherwise.
-
setGap
Sets the CSS gap property with separate row and column gap values in pixels.- Specified by:
setGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
rowgap- The row gap in pixels.colgap- The column gap in pixels.- Returns:
trueif the property was set successfully,falseotherwise.
-
setRowGap
Sets the CSS row-gap property using a string value.- Specified by:
setRowGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
rowgap- The row gap value (e.g., "10px", "1em").- Returns:
trueif the property was set successfully,falseotherwise.
-
setRowGap
Sets the CSS row-gap property using a pixel value.- Specified by:
setRowGapin interfacecom.oorian.css.FlexibleBoxLayoutIntf<CssStyle>- Parameters:
rowgap- The row gap in pixels.- Returns:
trueif the property was set successfully,falseotherwise.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
font- The font value.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
family- The family value.size- The size value.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
family- The font family value.size- The float value.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
family- The family value.size- The float value.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
family- The font family value.size- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
family- The family value.size- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
family- The family value.size- The size value.weight- The weight value.- Returns:
- This instance for method chaining.
-
setFont
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.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
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.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
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.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
Sets the CSSfontproperty.- Specified by:
setFontin interfacecom.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
Sets the CSSfont-familyproperty.- Specified by:
setFontFamilyin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontFamily
Sets the CSSfont-familyproperty.- Specified by:
setFontFamilyin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The font family value.- Returns:
- This instance for method chaining.
-
setFontSize
Sets the CSSfont-sizeproperty.- Specified by:
setFontSizein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontSize
Sets the CSSfont-sizeproperty.- Specified by:
setFontSizein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
pts- The float value.- Returns:
- This instance for method chaining.
-
setFontSize
Sets the CSSfont-sizeproperty using a CSS unit value.- Specified by:
setFontSizein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setFontStretch
Sets the CSSfont-stretchproperty.- Specified by:
setFontStretchin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontStretch
Sets the CSSfont-stretchproperty.- Specified by:
setFontStretchin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The font stretch value.- Returns:
- This instance for method chaining.
-
setFontStyle
Sets the CSSfont-styleproperty.- Specified by:
setFontStylein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontStyle
Sets the CSSfont-styleproperty.- Specified by:
setFontStylein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The font style value.- Returns:
- This instance for method chaining.
-
setFontVariant
Sets the CSSfont-variantproperty.- Specified by:
setFontVariantin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariant
Sets the CSSfont-variantproperty.- Specified by:
setFontVariantin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The font variant value.- Returns:
- This instance for method chaining.
-
setFontWeight
Sets the CSSfont-weightproperty.- Specified by:
setFontWeightin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontWeight
Sets the CSSfont-weightproperty.- Specified by:
setFontWeightin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The font weight value.- Returns:
- This instance for method chaining.
-
setFontFace
Sets the CSSfont-faceproperty.- Specified by:
setFontFacein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontFeatureSettings
Sets the CSSfont-feature-settingsproperty.- Specified by:
setFontFeatureSettingsin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontKerning
Sets the CSSfont-kerningproperty.- Specified by:
setFontKerningin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontLanguageOverride
Sets the CSSfont-language-overrideproperty.- Specified by:
setFontLanguageOverridein interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontSizeAdjust
Sets the CSSfont-size-adjustproperty.- Specified by:
setFontSizeAdjustin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontSynthesis
Sets the CSSfont-synthesisproperty.- Specified by:
setFontSynthesisin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariantAlternates
Sets the CSSfont-variant-alternatesproperty.- Specified by:
setFontVariantAlternatesin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariantCaps
Sets the CSSfont-variant-capsproperty.- Specified by:
setFontVariantCapsin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariantEastAsian
Sets the CSSfont-variant-east-asianproperty.- Specified by:
setFontVariantEastAsianin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariantLigatures
Sets the CSSfont-variant-ligaturesproperty.- Specified by:
setFontVariantLigaturesin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariantNumeric
Sets the CSSfont-variant-numericproperty.- Specified by:
setFontVariantNumericin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setFontVariantPosition
Sets the CSSfont-variant-positionproperty.- Specified by:
setFontVariantPositionin interfacecom.oorian.css.FontIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarks
Sets the CSSmarksproperty.- Specified by:
setMarksin interfacecom.oorian.css.GeneratedContentForPagedMediaIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setQuotes
Sets the CSSquotesproperty.- Specified by:
setQuotesin interfacecom.oorian.css.GeneratedContentForPagedMediaIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setImageOrientation
Sets the CSSimage-orientationproperty.- Specified by:
setImageOrientationin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setImageRendering
Sets the CSSimage-renderingproperty.- Specified by:
setImageRenderingin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setImageResolution
Sets the CSSimage-resolutionproperty.- Specified by:
setImageResolutionin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setObjectFit
Sets the CSSobject-fitproperty.- Specified by:
setObjectFitin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setObjectPosition
Sets the CSSobject-positionproperty.- Specified by:
setObjectPositionin interfacecom.oorian.css.ImageValuesAndReplacedContentIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setListStyle
Sets the CSSlist-styleproperty.- Specified by:
setListStylein interfacecom.oorian.css.ListIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setListStyleImage
Sets the CSSlist-style-imageproperty.- Specified by:
setListStyleImagein interfacecom.oorian.css.ListIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setListStylePosition
Sets the CSSlist-style-positionproperty.- Specified by:
setListStylePositionin interfacecom.oorian.css.ListIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setListStylePosition
Sets the CSSlist-style-positionproperty.- Specified by:
setListStylePositionin interfacecom.oorian.css.ListIntf<CssStyle>- Parameters:
attrValue- The list style position value.- Returns:
- This instance for method chaining.
-
setListStyleType
Sets the CSSlist-style-typeproperty.- Specified by:
setListStyleTypein interfacecom.oorian.css.ListIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setListStyleType
Sets the CSSlist-style-typeproperty.- Specified by:
setListStyleTypein interfacecom.oorian.css.ListIntf<CssStyle>- Parameters:
attrValue- The list style type value.- Returns:
- This instance for method chaining.
-
setMarqueeDirection
Sets the marquee-direction property for scroll direction.- Specified by:
setMarqueeDirectionin interfacecom.oorian.css.MarqueeIntf<CssStyle>- Parameters:
attrValue- the CSS value (e.g., "forward", "reverse")- Returns:
- this for method chaining
-
setMarqueePlayCount
Sets the marquee-play-count property for number of scrolling iterations.- Specified by:
setMarqueePlayCountin interfacecom.oorian.css.MarqueeIntf<CssStyle>- Parameters:
attrValue- the CSS value (e.g., "infinite", "1", "3")- Returns:
- this for method chaining
-
setMarqueeSpeed
Sets the marquee-speed property for scrolling speed.- Specified by:
setMarqueeSpeedin interfacecom.oorian.css.MarqueeIntf<CssStyle>- Parameters:
attrValue- the CSS value (e.g., "slow", "normal", "fast")- Returns:
- this for method chaining
-
setMarqueeStyle
Sets the marquee-style property for scrolling behavior style.- Specified by:
setMarqueeStylein interfacecom.oorian.css.MarqueeIntf<CssStyle>- Parameters:
attrValue- the CSS value (e.g., "scroll", "slide", "alternate")- Returns:
- this for method chaining
-
setMask
Sets the mask shorthand property for element masking.- Specified by:
setMaskin interfacecom.oorian.css.MaskingIntf<CssStyle>- Parameters:
attrValue- the CSS value (e.g., "none", "url(mask.svg)", "linear-gradient(...)")- Returns:
- this for method chaining
-
setMaskType
Sets the mask-type property for mask element interpretation.- Specified by:
setMaskTypein interfacecom.oorian.css.MaskingIntf<CssStyle>- Parameters:
attrValue- the CSS value (e.g., "luminance", "alpha")- Returns:
- this for method chaining
-
setBreakAfter
Sets the CSSbreak-afterproperty.- Specified by:
setBreakAfterin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBreakBefore
Sets the CSSbreak-beforeproperty.- Specified by:
setBreakBeforein interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBreakInside
Sets the CSSbreak-insideproperty.- Specified by:
setBreakInsidein interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnCount
Sets the CSScolumn-countproperty.- Specified by:
setColumnCountin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnCount
Sets the CSScolumn-countproperty.- Specified by:
setColumnCountin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
count- The iteration count.- Returns:
- This instance for method chaining.
-
setColumnFill
Sets the CSScolumn-fillproperty.- Specified by:
setColumnFillin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnFill
Sets the CSScolumn-fillproperty.- Specified by:
setColumnFillin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The column fill value.- Returns:
- This instance for method chaining.
-
setColumnGap
Sets the CSScolumn-gapproperty.- Specified by:
setColumnGapin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnRule
Sets the CSScolumn-ruleproperty.- Specified by:
setColumnRulein interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnRuleColor
Sets the CSScolumn-rule-colorproperty.- Specified by:
setColumnRuleColorin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnRuleColor
Sets the CSScolumn-rule-colorproperty using a Color object.- Specified by:
setColumnRuleColorin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setColumnRuleStyle
Sets the CSScolumn-rule-styleproperty.- Specified by:
setColumnRuleStylein interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnRuleStyle
Sets the CSScolumn-rule-styleproperty.- Specified by:
setColumnRuleStylein interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The column rule style.- Returns:
- This instance for method chaining.
-
setColumnRuleWidth
Sets the CSScolumn-rule-widthproperty.- Specified by:
setColumnRuleWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnRuleWidth
Sets the CSScolumn-rule-widthproperty.- Specified by:
setColumnRuleWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The column rule width.- Returns:
- This instance for method chaining.
-
setColumnSpan
Sets the CSScolumn-spanproperty.- Specified by:
setColumnSpanin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnWidth
Sets the CSScolumn-widthproperty.- Specified by:
setColumnWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumnWidth
Sets the CSScolumn-widthproperty in pixels.- Specified by:
setColumnWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setColumnWidth
Sets the CSScolumn-widthproperty using a CSS unit value.- Specified by:
setColumnWidthin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setColumns
Sets the CSScolumnsproperty.- Specified by:
setColumnsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setColumns
Sets the CSScolumnsproperty.- Specified by:
setColumnsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
count- The iteration count.width- The width value.- Returns:
- This instance for method chaining.
-
setColumns
Sets the CSScolumnsproperty.- Specified by:
setColumnsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
count- The iteration count.width- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setWidows
Sets the CSSwidowsproperty.- Specified by:
setWidowsin interfacecom.oorian.css.MultiColumnLayoutIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setOrphans
Sets the CSSorphansproperty.- Specified by:
setOrphansin interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPageBreakAfter
Sets the CSSpage-break-afterproperty.- Specified by:
setPageBreakAfterin interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPageBreakAfter
Sets the CSSpage-break-afterproperty.- Specified by:
setPageBreakAfterin interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The page break after value.- Returns:
- This instance for method chaining.
-
setPageBreakBefore
Sets the CSSpage-break-beforeproperty.- Specified by:
setPageBreakBeforein interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPageBreakBefore
Sets the CSSpage-break-beforeproperty.- Specified by:
setPageBreakBeforein interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The page break before value.- Returns:
- This instance for method chaining.
-
setPageBreakInside
Sets the CSSpage-break-insideproperty.- Specified by:
setPageBreakInsidein interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPageBreakInside
Sets the CSSpage-break-insideproperty.- Specified by:
setPageBreakInsidein interfacePagedMediaIntf<CssStyle>- Parameters:
attrValue- The page break inside value.- Returns:
- This instance for method chaining.
-
setMark
Sets the CSSmarkproperty.- Specified by:
setMarkin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarkAfter
Sets the CSSmark-afterproperty.- Specified by:
setMarkAfterin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setMarkBefore
Sets the CSSmark-beforeproperty.- Specified by:
setMarkBeforein interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPhonemes
Sets the CSSphonemesproperty.- Specified by:
setPhonemesin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setRest
Sets the CSSrestproperty.- Specified by:
setRestin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setRestAfter
Sets the CSSrest-afterproperty.- Specified by:
setRestAfterin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setRestBefore
Sets the CSSrest-beforeproperty.- Specified by:
setRestBeforein interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoiceBalance
Sets the CSSvoice-balanceproperty.- Specified by:
setVoiceBalancein interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoiceDuration
Sets the CSSvoice-durationproperty.- Specified by:
setVoiceDurationin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoicePitch
Sets the CSSvoice-pitchproperty.- Specified by:
setVoicePitchin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoicePitchRange
Sets the CSSvoice-pitch-rangeproperty.- Specified by:
setVoicePitchRangein interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoiceRate
Sets the CSSvoice-rateproperty.- Specified by:
setVoiceRatein interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoiceStress
Sets the CSSvoice-stressproperty.- Specified by:
setVoiceStressin interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setVoiceVolume
Sets the CSSvoice-volumeproperty.- Specified by:
setVoiceVolumein interfacecom.oorian.css.SpeechIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderCollapse
Sets the CSSborder-collapseproperty.- Specified by:
setBorderCollapsein interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderCollapse
Sets the CSSborder-collapseproperty.- Specified by:
setBorderCollapsein interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The border collapse value.- Returns:
- This instance for method chaining.
-
setBorderSpacing
Sets the CSSborder-spacingproperty.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBorderSpacing
Sets the CSSborder-spacingproperty.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
hspacing- The hspacing value.vspacing- The vspacing value.- Returns:
- This instance for method chaining.
-
setBorderSpacing
Sets the CSSborder-spacingproperty in pixels.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setBorderSpacing
Sets the CSSborder-spacingproperty.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
hspacing- The hspacing value.vspacing- The vspacing value.- Returns:
- This instance for method chaining.
-
setBorderSpacing
Sets the CSSborder-spacingproperty using a CSS unit value.- Specified by:
setBorderSpacingin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setBorderSpacing
Sets the CSSborder-spacingproperty.- Specified by:
setBorderSpacingin interfacecom.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
Sets the CSScaption-sideproperty.- Specified by:
setCaptionSidein interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setCaptionSide
Sets the CSScaption-sideproperty.- Specified by:
setCaptionSidein interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The caption side value.- Returns:
- This instance for method chaining.
-
setEmptyCells
Sets the CSSempty-cellsproperty.- Specified by:
setEmptyCellsin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setEmptyCells
Sets the CSSempty-cellsproperty.- Specified by:
setEmptyCellsin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The empty cells value.- Returns:
- This instance for method chaining.
-
setTableLayout
Sets the CSStable-layoutproperty.- Specified by:
setTableLayoutin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTableLayout
Sets the CSStable-layoutproperty.- Specified by:
setTableLayoutin interfacecom.oorian.css.TableIntf<CssStyle>- Parameters:
attrValue- The table layout value.- Returns:
- This instance for method chaining.
-
setTextDecoration
Sets the CSStext-decorationproperty.- Specified by:
setTextDecorationin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextDecoration
Sets the CSStext-decorationproperty.- Specified by:
setTextDecorationin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The text decoration value.- Returns:
- This instance for method chaining.
-
setTextDecorationColor
Sets the CSStext-decoration-colorproperty.- Specified by:
setTextDecorationColorin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextDecorationColor
Sets the CSStext-decoration-colorproperty using a Color object.- Specified by:
setTextDecorationColorin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
color- The color value.- Returns:
- This instance for method chaining.
-
setTextDecorationLine
Sets the CSStext-decoration-lineproperty.- Specified by:
setTextDecorationLinein interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextDecorationLine
Sets the CSStext-decoration-lineproperty.- Specified by:
setTextDecorationLinein interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The text decoration line value.- Returns:
- This instance for method chaining.
-
setTextDecorationStyle
Sets the CSStext-decoration-styleproperty.- Specified by:
setTextDecorationStylein interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextDecorationStyle
Sets the CSStext-decoration-styleproperty.- Specified by:
setTextDecorationStylein interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The text decoration style value.- Returns:
- This instance for method chaining.
-
setTextShadow
Sets the CSStext-shadowproperty.- Specified by:
setTextShadowin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextShadow
Sets the CSStext-shadowproperty.- Specified by:
setTextShadowin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
hShadow- The h shadow value.vShadow- The v shadow value.- Returns:
- This instance for method chaining.
-
setTextShadow
Sets the CSStext-shadowproperty.- Specified by:
setTextShadowin interfacecom.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
Sets the CSStext-shadowproperty.- Specified by:
setTextShadowin interfacecom.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
Sets the CSStext-shadowproperty from aBoxShadowbuilder.This overload accepts a
BoxShadowobject 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
Sets the CSStext-underline-positionproperty.- Specified by:
setTextUnderlinePositionin interfacecom.oorian.css.TextDecorationIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setHangingPunctuation
Sets the CSShanging-punctuationproperty.- Specified by:
setHangingPunctuationin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setHangingPunctuation
Sets the CSShanging-punctuationproperty.- Specified by:
setHangingPunctuationin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The hanging punctuation value.- Returns:
- This instance for method chaining.
-
setHyphens
Sets the CSShyphensproperty.- Specified by:
setHyphensin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setLetterSpacing
Sets the CSSletter-spacingproperty.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setLetterSpacing
Sets the CSSletter-spacingproperty in pixels.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setLetterSpacing
Sets the CSSletter-spacingproperty.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pts- The float value.- Returns:
- This instance for method chaining.
-
setLetterSpacing
Sets the CSSletter-spacingproperty using a CSS unit value.- Specified by:
setLetterSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setLineBreak
Sets the CSSline-breakproperty.- Specified by:
setLineBreakin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setLineHeight
Sets the CSSline-heightproperty.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setLineHeight
Sets the CSSline-heightproperty in pixels.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setLineHeight
Sets the CSSline-heightproperty.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pts- The float value.- Returns:
- This instance for method chaining.
-
setLineHeight
Sets the CSSline-heightproperty using a CSS unit value.- Specified by:
setLineHeightin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setOverflowWrap
Sets the CSSoverflow-wrapproperty.- Specified by:
setOverflowWrapin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTabSize
Sets the CSStab-sizeproperty.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTabSize
Sets the CSStab-sizeproperty in pixels.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setTabSize
Sets the CSStab-sizeproperty.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pts- The float value.- Returns:
- This instance for method chaining.
-
setTabSize
Sets the CSStab-sizeproperty using a CSS unit value.- Specified by:
setTabSizein interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setTextAlign
Sets the CSStext-alignproperty.- Specified by:
setTextAlignin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextAlign
Sets the CSStext-alignproperty.- Specified by:
setTextAlignin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The text align value.- Returns:
- This instance for method chaining.
-
setTextAlignLast
Sets the CSStext-align-lastproperty.- Specified by:
setTextAlignLastin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextAlignLast
Sets the CSStext-align-lastproperty.- Specified by:
setTextAlignLastin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The text align last value.- Returns:
- This instance for method chaining.
-
setTextCombineUpright
Sets the CSStext-combine-uprightproperty.- Specified by:
setTextCombineUprightin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextIndent
Sets the CSStext-indentproperty.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextIndent
Sets the CSStext-indentproperty in pixels.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setTextIndent
Sets the CSStext-indentproperty.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pts- The float value.- Returns:
- This instance for method chaining.
-
setTextIndent
Sets the CSStext-indentproperty using a CSS unit value.- Specified by:
setTextIndentin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setTextJustify
Sets the CSStext-justifyproperty.- Specified by:
setTextJustifyin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextJustify
Sets the CSStext-justifyproperty.- Specified by:
setTextJustifyin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The text justify value.- Returns:
- This instance for method chaining.
-
setTextTransform
Sets the CSStext-transformproperty.- Specified by:
setTextTransformin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextTransform
Sets the CSStext-transformproperty.- Specified by:
setTextTransformin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The text transform value.- Returns:
- This instance for method chaining.
-
setWhiteSpace
Sets the CSSwhite-spaceproperty.- Specified by:
setWhiteSpacein interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setWhiteSpace
Sets the CSSwhite-spaceproperty.- Specified by:
setWhiteSpacein interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The white space value.- Returns:
- This instance for method chaining.
-
setWordBreak
Sets the CSSword-breakproperty.- Specified by:
setWordBreakin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setWordBreak
Sets the CSSword-breakproperty.- Specified by:
setWordBreakin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The word break value.- Returns:
- This instance for method chaining.
-
setWordSpacing
Sets the CSSword-spacingproperty.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setWordSpacing
Sets the CSSword-spacingproperty in pixels.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setWordSpacing
Sets the CSSword-spacingproperty.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
pts- The float value.- Returns:
- This instance for method chaining.
-
setWordSpacing
Sets the CSSword-spacingproperty using a CSS unit value.- Specified by:
setWordSpacingin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setWordWrap
Sets the CSSword-wrapproperty.- Specified by:
setWordWrapin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setWordWrap
Sets the CSS word-wrap property using a WordWrap enum value.- Specified by:
setWordWrapin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
attrValue- The WordWrap enum value.- Returns:
- This CssStyle instance for method chaining.
-
setTextSelectDisabled
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:
setTextSelectDisabledin interfacecom.oorian.css.TextIntf<CssStyle>- Parameters:
flag-trueto disable text selection,falseto enable.- Returns:
- This CssStyle instance for method chaining.
-
setBackfaceVisibility
Sets the CSSbackface-visibilityproperty.- Specified by:
setBackfaceVisibilityin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setBackfaceVisibility
Sets the CSSbackface-visibilityproperty.- Specified by:
setBackfaceVisibilityin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The backface visibility value.- Returns:
- This instance for method chaining.
-
setPerspective
Sets the CSSperspectiveproperty.- Specified by:
setPerspectivein interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPerspective
Sets the CSSperspectiveproperty in pixels.- Specified by:
setPerspectivein interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
pixels- The value in pixels.- Returns:
- This instance for method chaining.
-
setPerspective
Sets the CSSperspectiveproperty using a CSS unit value.- Specified by:
setPerspectivein interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
units- The value as a CSS unit.- Returns:
- This instance for method chaining.
-
setPerspectiveOrigin
Sets the CSSperspective-originproperty.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setPerspectiveOrigin
Sets the CSSperspective-originproperty.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
xAxis- The x axis value.yAxis- The y axis value.- Returns:
- This instance for method chaining.
-
setPerspectiveOrigin
Sets the CSSperspective-originproperty.- Specified by:
setPerspectiveOriginin interfacecom.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
Sets the CSSperspective-originproperty.- Specified by:
setPerspectiveOriginin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
xAxis- The origin value.yAxis- The origin value.- Returns:
- This instance for method chaining.
-
setTransform
Sets the CSStransformproperty.- Specified by:
setTransformin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransform
Sets the CSStransformproperty from aTransformbuilder.This overload accepts a
Transformobject 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
Sets thetranslateX()function within the CSStransformproperty.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
Sets thetranslateY()function within the CSStransformproperty.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
Sets thetranslateZ()function within the CSStransformproperty.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
Sets therotate()function within the CSStransformproperty.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
Sets therotate()function within the CSStransformproperty.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
Sets thescale()function within the CSStransformproperty.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.5ffor 150%)- Returns:
- This instance for method chaining.
-
setScale
Sets thescale()function within the CSStransformproperty.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
Sets theskewX()function within the CSStransformproperty.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
Sets theskewY()function within the CSStransformproperty.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
Sets the CSStransform-originproperty.- Specified by:
setTransformOriginin interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransformOrigin
Sets the CSStransform-originproperty.- Specified by:
setTransformOriginin interfacecom.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
Sets the CSStransform-originproperty.- Specified by:
setTransformOriginin interfacecom.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
Sets the CSStransform-originproperty.- Specified by:
setTransformOriginin interfacecom.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
Sets the CSStransform-originproperty.- Specified by:
setTransformOriginin interfacecom.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
Sets the CSStransform-styleproperty.- Specified by:
setTransformStylein interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransformStyle
Sets the CSStransform-styleproperty.- Specified by:
setTransformStylein interfacecom.oorian.css.TransformIntf<CssStyle>- Parameters:
attrValue- The transform style value.- Returns:
- This instance for method chaining.
-
setTransition
Sets the CSStransitionproperty.- Specified by:
setTransitionin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransitionProperty
Sets the CSStransition-propertyproperty.- Specified by:
setTransitionPropertyin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransitionDuration
Sets the CSStransition-durationproperty.- Specified by:
setTransitionDurationin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransitionDuration
Sets the CSStransition-durationproperty.- Specified by:
setTransitionDurationin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
secs- The float value.- Returns:
- This instance for method chaining.
-
setTransitionDuration
Sets the CSStransition-durationproperty.- Specified by:
setTransitionDurationin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
msecs- The long value.- Returns:
- This instance for method chaining.
-
setTransitionTimingFunction
Sets the CSStransition-timing-functionproperty.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransitionTimingFunction
Sets the CSStransition-timing-functionproperty.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
attrValue- The transition timing function value.- Returns:
- This instance for method chaining.
-
setTransitionTimingFunction
Sets the CSStransition-timing-functionproperty.- Specified by:
setTransitionTimingFunctionin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
intervals- The number of intervals.start-trueto start the steps from the beginning.- Returns:
- This instance for method chaining.
-
setTransitionTimingFunction
Sets the CSStransition-timing-functionproperty.- Specified by:
setTransitionTimingFunctionin interfacecom.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
Sets the CSStransition-delayproperty.- Specified by:
setTransitionDelayin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTransitionDelay
Sets the CSStransition-delayproperty.- Specified by:
setTransitionDelayin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
secs- The secs value.- Returns:
- This instance for method chaining.
-
setTransitionDelay
Sets the CSStransition-delayproperty.- Specified by:
setTransitionDelayin interfacecom.oorian.css.TransitionIntf<CssStyle>- Parameters:
msecs- The long value.- Returns:
- This instance for method chaining.
-
setDirection
Sets the CSSdirectionproperty.- Specified by:
setDirectionin interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setDirection
Sets the CSSdirectionproperty.- Specified by:
setDirectionin interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The text direction value.- Returns:
- This instance for method chaining.
-
setTextOrientation
Sets the CSStext-orientationproperty.- Specified by:
setTextOrientationin interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setTextCombineWeight
Sets the CSStext-combine-weightproperty.- Specified by:
setTextCombineWeightin interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setUnicodeBidi
Sets the CSSunicode-bidiproperty.- Specified by:
setUnicodeBidiin interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-
setUnicodeBidi
Sets the CSSunicode-bidiproperty.- Specified by:
setUnicodeBidiin interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The unicode bidi value.- Returns:
- This instance for method chaining.
-
setWritingMode
Sets the CSSwriting-modeproperty.- Specified by:
setWritingModein interfacecom.oorian.css.WritingModeIntf<CssStyle>- Parameters:
attrValue- The CSS value.- Returns:
- This instance for method chaining.
-