Class CustomCssProperty
java.lang.Object
com.webfirmframework.wffweb.css.core.AbstractCssProperty<CustomCssProperty>
com.webfirmframework.wffweb.csswff.CustomCssProperty
- All Implemented Interfaces:
CssProperty, Serializable, Cloneable
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCustomCssProperty(CustomCssProperty customCssProperty) CustomCssProperty(String cssName, String cssValue) -
Method Summary
Methods inherited from class AbstractCssProperty
clone, getStateChangeInformer, isAlreadyInUse, setAlreadyInUse, setStateChangeInformer, toCssString
-
Constructor Details
-
CustomCssProperty
-
CustomCssProperty
- Parameters:
customCssProperty- theCustomCssobject from which the cssName and cssValue to set.
-
-
Method Details
-
getCssName
- Returns:
- the name portion in style, eg
align-contentfor stylealign-content: center.
-
getCssValue
- Returns:
- the value portion in style, eg
centerfor stylealign-content: center.
-
toString
-
setCssValue
- Specified by:
setCssValuein classAbstractCssProperty<CustomCssProperty>- Parameters:
cssValue-nullis considered as an invalid value.- Returns:
- the current object.
- Since:
- 1.0.0
-