org.jfree.layouting.input.style.values
Class CSSNumericValue
java.lang.Object
org.jfree.layouting.input.style.values.CSSNumericValue
- All Implemented Interfaces:
- java.io.Serializable, CSSValue
- Direct Known Subclasses:
- CSSTimeValue
public class CSSNumericValue
- extends java.lang.Object
- implements CSSValue
Creation-Date: 23.11.2005, 11:37:44
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZERO_LENGTH
public static final CSSNumericValue ZERO_LENGTH
CSSNumericValue
protected CSSNumericValue(CSSNumericType type,
double value)
getValue
public double getValue()
getType
public CSSNumericType getType()
getCSSText
public java.lang.String getCSSText()
- Specified by:
getCSSText
in interface CSSValue
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createPtValue
public static CSSNumericValue createPtValue(double value)
createValue
public static CSSNumericValue createValue(CSSNumericType type,
double value)