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 SummaryFields
- Constructor SummaryConstructors
- Method Summary
- Field Details- jsNameThe CSS name for JavaScript, e.g. borderLeftColor.
- cssNameThe CSS name for HTML with dashes, e.g. border-Left-Color.
- valueThe CSS value.
 
- Constructor Details- CSSStyleConstructor 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.
 
- CSSStyleConstructor 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.