Class CSSOMSVGColor.ColorNumber

java.lang.Object
org.apache.batik.css.dom.CSSOMSVGColor.ColorNumber
All Implemented Interfaces:
org.w3c.dom.svg.SVGNumber
Enclosing class:
CSSOMSVGColor

protected class CSSOMSVGColor.ColorNumber extends 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
    The value of this number, when detached.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    float
    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 Details

    • value

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

    • ColorNumber

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

    • 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