Class MozColumnRuleColor

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

public class MozColumnRuleColor extends AbstractCssProperty<MozColumnRuleColor>
 -moz-column-rule-color: color|initial|inherit;

 The -moz-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

    • MozColumnRuleColor

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

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

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

    • setValue

      public MozColumnRuleColor 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 MozColumnRuleColor setCssValue(String cssValue)
      Specified by:
      setCssValue in class AbstractCssProperty<MozColumnRuleColor>
      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