Package com.iizigo.style.prop
Class CSSStyle
java.lang.Object
com.iizigo.style.prop.CSSStyle
Class used to hold a single definition of a CSS style, e.g. "color" or multiple ones like "margin" that has top/bottom/left/right.
- Author:
- Christopher Mindus
Field Summary
Constructor Summary
Method Summary
Field Details
jsName
The CSS name for JavaScript, e.g. borderLeftColor.cssName
The CSS name for HTML with dashes, e.g. border-Left-Color.value
The CSS value.
Constructor Details
CSSStyle
Constructor for a single value.- Parameters:
cssName
- The CSS name (used to set JavaScript members, e.g. "backgroundColor", "background-color" or complex such as "filter&drop-Shadow").value
- The value.
CSSStyle
Constructor for multiple items, e.g. border-Color- Parameters:
cssName
- The CSS name (used to set JavaScript members, e.g. "backgroundColor" and not "background-color").item
- The item name, e.g. Left or complex such as "filter&drop-Shadow".value
- The value.