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