Class CSSNumericValue
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.values.CSSNumericValue
-
- All Implemented Interfaces:
Serializable,CSSValue
- Direct Known Subclasses:
CSSTimeValue
public class CSSNumericValue extends Object implements CSSValue
Creation-Date: 23.11.2005, 11:37:44- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CSSNumericValueZERO_LENGTH
-
Constructor Summary
Constructors Modifier Constructor Description protectedCSSNumericValue(CSSNumericType type, double value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSSNumericValuecreatePtValue(double value)static CSSNumericValuecreateValue(CSSNumericType type, double value)booleanequals(Object obj)Compares the input obj parameter to the current object and returns true if equal.StringgetCSSText()CSSNumericTypegetNumericType()CSSTypegetType()doublegetValue()StringtoString()
-
-
-
Field Detail
-
ZERO_LENGTH
public static final CSSNumericValue ZERO_LENGTH
-
-
Constructor Detail
-
CSSNumericValue
protected CSSNumericValue(CSSNumericType type, double value)
-
-
Method Detail
-
getValue
public double getValue()
-
getNumericType
public CSSNumericType getNumericType()
-
getCSSText
public String getCSSText()
- Specified by:
getCSSTextin interfaceCSSValue
-
createPtValue
public static CSSNumericValue createPtValue(double value)
-
createValue
public static CSSNumericValue createValue(CSSNumericType type, double value)
-
-