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 CSSNumericValue
ZERO_LENGTH
-
Constructor Summary
Constructors Modifier Constructor Description protected
CSSNumericValue(CSSNumericType type, double value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSSNumericValue
createPtValue(double value)
static CSSNumericValue
createValue(CSSNumericType type, double value)
boolean
equals(Object obj)
Compares the input obj parameter to the current object and returns true if equal.String
getCSSText()
CSSNumericType
getNumericType()
CSSType
getType()
double
getValue()
String
toString()
-
-
-
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:
getCSSText
in interfaceCSSValue
-
createPtValue
public static CSSNumericValue createPtValue(double value)
-
createValue
public static CSSNumericValue createValue(CSSNumericType type, double value)
-
-