Class WebkitColumnRuleColor

java.lang.Object
com.webfirmframework.wffweb.css.core.AbstractCssProperty<WebkitColumnRuleColor>
com.webfirmframework.wffweb.css.css3.WebkitColumnRuleColor
All Implemented Interfaces:
CssProperty, Serializable, Cloneable

public class WebkitColumnRuleColor extends AbstractCssProperty<WebkitColumnRuleColor>
 -webkit-column-rule-color: color|initial|inherit;

 The -webkit-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 Details

  • Constructor Details

    • WebkitColumnRuleColor

      public WebkitColumnRuleColor()
      The initial will be set as the value
    • WebkitColumnRuleColor

      public WebkitColumnRuleColor(String cssValue)
      Parameters:
      cssValue - the css value to set.
    • WebkitColumnRuleColor

      public WebkitColumnRuleColor(WebkitColumnRuleColor webkitColumnRuleColor)
      Parameters:
      webkitColumnRuleColor - the WebkitColumnRuleColor object from which the cssValue to set.And, null will throw NullValueException
  • Method Details

    • setValue

      public WebkitColumnRuleColor setValue(String value)
      the color/color code to set. The alternative method setCssValue can also be used.
      Parameters:
      value -
      Returns:
      the current object
      Since:
      1.0.0
    • getCssName

      public String getCssName()
      Returns:
      the name portion in style, eg align-content for style align-content: center.
    • getCssValue

      public String getCssValue()
      Returns:
      the value portion in style, eg center for style align-content: center.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getValue

      public String 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

      public WebkitColumnRuleColor setCssValue(String cssValue)
      Specified by:
      setCssValue in class AbstractCssProperty<WebkitColumnRuleColor>
      Parameters:
      cssValue - the value should be a color/color code, for example #0000ff. null is considered as an invalid value and it will throw NullValueException.And an empty string is also considered as an invalid value and it will throw InvalidValueException.
      Returns:
      the current object.
      Since:
      1.0.0
    • setAsInitial

      public void setAsInitial()
      sets as initial
      Since:
      1.0.0
    • setAsInherit

      public void setAsInherit()
      sets as inherit
      Since:
      1.0.0
    • isValid

      public static boolean isValid(String cssValue)
      Parameters:
      cssValue -
      Returns:
      true if the given cssValue is valid.
      Since:
      1.0.0