| Constructor and Description |
|---|
CssUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addStyle(XMLTag inTag,
String inValue)
Adds the specified style attribute content to the specified tag.
|
static String |
colorToCssValue(Color inValue) |
static void |
removeStyleProperty(XMLTag inTag,
CSSProperty inProperty)
Removes the specified CSS property from the style attribute content of the specified tag if it is present.
|
public CssUtil()
public static String colorToCssValue(Color inValue)
public static void addStyle(XMLTag inTag, String inValue)
inTag - extends XMLTag instead of HTMLTag so that the SVG classes can use it as well.inValue - style value to addpublic static void removeStyleProperty(XMLTag inTag, CSSProperty inProperty)
inTag - extends XMLTag instead of HTMLTag so that the SVG classes can use it as well.inProperty - CSS property to remove
jataylor@hairyfatguy.com