org.jfree.layouting.input.style.values

Class CSSNumericValue

public class CSSNumericValue extends Object implements CSSValue

Creation-Date: 23.11.2005, 11:37:44

Author: Thomas Morgner

Field Summary
static CSSNumericValueZERO_LENGTH
Constructor Summary
protected CSSNumericValue(CSSNumericType type, double value)
Method Summary
static CSSNumericValuecreatePtValue(double value)
static CSSNumericValuecreateValue(CSSNumericType type, double value)
StringgetCSSText()
CSSNumericTypegetType()
doublegetValue()
StringtoString()

Field Detail

ZERO_LENGTH

public static final CSSNumericValue ZERO_LENGTH

Constructor Detail

CSSNumericValue

protected CSSNumericValue(CSSNumericType type, double value)

Method Detail

createPtValue

public static CSSNumericValue createPtValue(double value)

createValue

public static CSSNumericValue createValue(CSSNumericType type, double value)

getCSSText

public String getCSSText()

getType

public CSSNumericType getType()

getValue

public double getValue()

toString

public String toString()