Class CSSOMSVGColor.ColorNumber

  • All Implemented Interfaces:
    org.w3c.dom.svg.SVGNumber
    Enclosing class:
    CSSOMSVGColor

    protected class CSSOMSVGColor.ColorNumber
    extends java.lang.Object
    implements org.w3c.dom.svg.SVGNumber
    To represent a SVGNumber which is part of a color list.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected float value
      The value of this number, when detached.
    • Constructor Summary

      Constructors 
      Constructor Description
      ColorNumber​(float f)
      Creates a new ColorNumber.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getValue()
      Implements SVGNumber.getValue().
      void setValue​(float f)
      Implements SVGNumber.setValue(float).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        protected float value
        The value of this number, when detached.
    • Constructor Detail

      • ColorNumber

        public ColorNumber​(float f)
        Creates a new ColorNumber.
    • Method Detail

      • getValue

        public float getValue()
        Implements SVGNumber.getValue().
        Specified by:
        getValue in interface org.w3c.dom.svg.SVGNumber
      • setValue

        public void setValue​(float f)
        Implements SVGNumber.setValue(float).
        Specified by:
        setValue in interface org.w3c.dom.svg.SVGNumber