Class ColumnRuleColor
java.lang.Object
com.webfirmframework.wffweb.css.core.AbstractCssProperty<ColumnRuleColor>
com.webfirmframework.wffweb.css.css3.ColumnRuleColor
- All Implemented Interfaces:
CssProperty
,Serializable
,Cloneable
column-rule-color: color|initial|inherit; The column-rule-color property specifies the color of the rule between columns. Default value: The current color of the element (In this java class it will be as initial) Inherited: no Animatable: yes Version: CSS3 JavaScript syntax: object.style.columnRuleColor="#0000ff"
- Since:
- 1.0.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTheinitial
will be set as the valueColumnRuleColor
(ColumnRuleColor columnRuleColor) ColumnRuleColor
(String cssValue) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
gets the value,getCssValue
method can also be used to get the same value.static boolean
void
sets asinherit
void
sets asinitial
setCssValue
(String cssValue) the color/color code to set.toString()
Methods inherited from class com.webfirmframework.wffweb.css.core.AbstractCssProperty
clone, getStateChangeInformer, isAlreadyInUse, setAlreadyInUse, setStateChangeInformer, toCssString
-
Field Details
-
INITIAL
- See Also:
-
INHERIT
- See Also:
-
-
Constructor Details
-
ColumnRuleColor
public ColumnRuleColor()Theinitial
will be set as the value -
ColumnRuleColor
- Parameters:
cssValue
- the css value to set.
-
ColumnRuleColor
- Parameters:
columnRuleColor
- theColumnRuleColor
object from which the cssValue to set.And,null
will throwNullValueException
-
-
Method Details
-
setValue
the color/color code to set. The alternative methodsetCssValue
can also be used.- Parameters:
value
-- Returns:
- the current object
- Since:
- 1.0.0
-
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
-
getValue
gets the value,getCssValue
method can also be used to get the same value.- Returns:
- the value in String.
- Since:
- 1.0.0
-
setCssValue
- Specified by:
setCssValue
in classAbstractCssProperty<ColumnRuleColor>
- Parameters:
cssValue
- the value should be a color/color code, for example#0000ff
.null
is considered as an invalid value and it will throwNullValueException
.And an empty string is also considered as an invalid value and it will throwInvalidValueException
.- Returns:
- the current object.
- Since:
- 1.0.0
-
setAsInitial
public void setAsInitial()sets asinitial
- Since:
- 1.0.0
-
setAsInherit
public void setAsInherit()sets asinherit
- Since:
- 1.0.0
-
isValid
- Parameters:
cssValue
-- Returns:
- true if the given
cssValue
is valid. - Since:
- 1.0.0
-