Package com.iizigo.style.prop
Class CSSStyle
- java.lang.Object
- com.iizigo.style.prop.CSSStyle
 
- public class CSSStyle extends java.lang.ObjectClass 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
 
- Constructor Detail- CSSStyle- public CSSStyle(java.lang.String cssName, java.lang.String value)Constructor for a single value.- Parameters:
- cssName- The CSS name (used to set JavaScript members, e.g. "backgroundColor" and not "background-color").
- value- The value.
 
 - CSSStyle- public CSSStyle(java.lang.String cssName, java.lang.String item, java.lang.String value)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.
- value- The value.