Class MozColumnRuleColor

  • All Implemented Interfaces:
    CssProperty, java.io.Serializable, java.lang.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:
    Serialized Form
    • Constructor Detail

      • MozColumnRuleColor

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

        public MozColumnRuleColor​(java.lang.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 Detail

      • setValue

        public MozColumnRuleColor setValue​(java.lang.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 java.lang.String getCssName​()
        Returns:
        the name portion in style, eg align-content for style align-content: center.
      • getCssValue

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

        public java.lang.String toString​()
        Overrides:
        toString in class java.lang.Object
      • getValue

        public java.lang.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​(java.lang.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​(java.lang.String cssValue)
        Parameters:
        cssValue -
        Returns:
        true if the given cssValue is valid.
        Since:
        1.0.0