Class BorderColorCssValues

    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • BorderColorCssValues

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

        public BorderColorCssValues​(java.lang.String cssValue)
        Parameters:
        cssValue - the css value to set.
      • BorderColorCssValues

        public BorderColorCssValues​(BorderColorCssValues borderColorCssValue)
        Parameters:
        borderColorCssValue - the BorderColorCssValues object from which the cssValue to set.And, null will throw NullValueException
      • BorderColorCssValues

        public BorderColorCssValues​(RgbCssValue rgbCssValue)
        Parameters:
        rgbCssValue -
      • BorderColorCssValues

        public BorderColorCssValues​(RgbaCssValue rgbaCssValue)
        Parameters:
        rgbaCssValue -
      • BorderColorCssValues

        public BorderColorCssValues​(HslCssValue hslCssValue)
        Parameters:
        hslCssValue -
      • BorderColorCssValues

        public BorderColorCssValues​(HslaCssValue hslaCssValue)
        Parameters:
        hslCssValue -
    • Method Detail

      • setRgbaCssValue

        public void setRgbaCssValue​(RgbaCssValue rgbaCssValue)
        Parameters:
        rgbaCssValue2 -
        Since:
        1.0.0
      • setHslaCssValue

        public void setHslaCssValue​(HslaCssValue hslaCssValue)
        Parameters:
        hslaCssValue - the hslaCssValue to set.
        Since:
        1.0.0
      • 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.
        Specified by:
        getValue in interface Bean
        Returns:
        the value in String.
        Since:
        1.0.0
      • setValue

        public BorderColorCssValues setValue​(java.lang.String cssValue)
        Parameters:
        cssValue - the value should be a color/color code/rgb, 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.
        Since:
        1.0.0
      • setAsTransparent

        public void setAsTransparent​()
        sets as transparent
        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
      • getRgbCssValue

        public RgbCssValue getRgbCssValue​()
        Returns:
        the rgbCssValue
        Since:
        1.0.0
      • getRgbaCssValue

        public RgbaCssValue getRgbaCssValue​()
        Returns:
        the rgbaCssValue
        Since:
        1.0.0
      • getHslCssValue

        public HslCssValue getHslCssValue​()
        Returns:
        the hslCssValue
        Since:
        1.0.0
      • getHslaCssValue

        public HslaCssValue getHslaCssValue​()
        Returns:
        the hslaCssValue
        Since:
        1.0.0
      • setRgbCssValue

        public void setRgbCssValue​(RgbCssValue rgbCssValue)
        Parameters:
        rgbCssValue - the rgbCssValue to set
        Since:
        1.0.0
      • setHslCssValue

        public void setHslCssValue​(HslCssValue hslCssValue)
        Parameters:
        hslCssValue - the hslCssValue to set
        Since:
        1.0.0