org.apache.batik.css.dom

Class CSSOMSVGColor.ColorNumber

protected class CSSOMSVGColor.ColorNumber extends Object implements SVGNumber

To represent a SVGNumber which is part of a color list.
Field Summary
protected floatvalue
The value of this number, when detached.
Constructor Summary
ColorNumber(float f)
Creates a new ColorNumber.
Method Summary
floatgetValue()
Implements {@link SVGNumber#getValue()}.
voidsetValue(float f)
Implements {@link SVGNumber#setValue(float)}.

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 {@link SVGNumber#getValue()}.

setValue

public void setValue(float f)
Implements {@link SVGNumber#setValue(float)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.