Class WebkitColumnRule
java.lang.Object
com.webfirmframework.wffweb.css.core.AbstractCssProperty<WebkitColumnRule>
com.webfirmframework.wffweb.css.css3.WebkitColumnRule
- All Implemented Interfaces:
CssProperty
,StateChangeInformer<CssProperty>
,Serializable
,Cloneable
public class WebkitColumnRule
extends AbstractCssProperty<WebkitColumnRule>
implements StateChangeInformer<CssProperty>
-webkit-column-rule: -webkit-column-rule-width -webkit-column-rule-style -webkit-column-rule-color|initial|inherit; The -webkit-column-rule property is a shorthand property for setting all the -webkit-column-rule-* properties. The -webkit-column-rule property sets the width, style, and color of the rule between columns. Default value: medium none color Inherited: no Animatable: yes, see individual properties Version: CSS3 JavaScript syntax: object.style.columnRule="3px outset blue"
- Since:
- 1.0.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTheinitial
will be set as the valueWebkitColumnRule
(WebkitColumnRule webkitColumnRule) WebkitColumnRule
(String cssValue) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
gets the value,getCssValue
method can also be used to get the same value.void
sets asinherit
void
sets asinitial
setCssValue
(String cssValue) the color/color code to set.setWebkitColumnRuleColor
(WebkitColumnRuleColor webkitColumnRuleColor) setWebkitColumnRuleStyle
(WebkitColumnRuleStyle webkitColunmRuleStyle) setWebkitColumnRuleWidth
(WebkitColumnRuleWidth webkitColumnRuleWidth) void
stateChanged
(CssProperty stateChangedObject) 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
-
WebkitColumnRule
public WebkitColumnRule()Theinitial
will be set as the value -
WebkitColumnRule
- Parameters:
cssValue
- the css value to set.
-
WebkitColumnRule
- Parameters:
webkitColumnRule
- theWebkitColumnRule
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
- Specified by:
getCssName
in interfaceCssProperty
- Returns:
- the name portion in style, eg
align-content
for stylealign-content: center
.
-
getCssValue
- Specified by:
getCssValue
in interfaceCssProperty
- 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<WebkitColumnRule>
- Parameters:
cssValue
- the value should be for examplemedium none #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
-
getWebkitColumnRuleWidth
- Returns:
- the webkitColumnRuleWidth
- Since:
- 1.0.0
-
setWebkitColumnRuleWidth
- Parameters:
webkitColumnRuleWidth
- the webkitColumnRuleWidth to set- Since:
- 1.0.0
-
getWebkitColumnRuleStyle
- Returns:
- the webkitColunmRuleStyle
- Since:
- 1.0.0
-
setWebkitColumnRuleStyle
- Parameters:
webkitColunmRuleStyle
- the webkitColunmRuleStyle to set- Returns:
- Since:
- 1.0.0
-
getWebkitColumnRuleColor
- Returns:
- the webkitColumnRuleColor
- Since:
- 1.0.0
-
setWebkitColumnRuleColor
- Parameters:
webkitColumnRuleColor
- the webkitColumnRuleColor to set- Returns:
- the current instance.
- Since:
- 1.0.0
-
stateChanged
- Specified by:
stateChanged
in interfaceStateChangeInformer<CssProperty>
-