public class CSSNumericValue extends Object implements CSSValue
Modifier and Type | Field and Description |
---|---|
static CSSNumericValue |
ZERO_LENGTH |
Modifier and Type | Method and 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() |
public static final CSSNumericValue ZERO_LENGTH
public double getValue()
public CSSNumericType getNumericType()
public String getCSSText()
getCSSText
in interface CSSValue
public static CSSNumericValue createPtValue(double value)
public static CSSNumericValue createValue(CSSNumericType type, double value)