org.apache.batik.css.engine.value
public class FloatValue extends AbstractValue
| Field Summary | |
|---|---|
| protected float | floatValue
The float value |
| protected short | unitType
The unit type |
| protected static String[] | UNITS
The unit types representations |
| Constructor Summary | |
|---|---|
| FloatValue(short unitType, float floatValue)
Creates a new value. | |
| Method Summary | |
|---|---|
| static String | getCssText(short unit, float value)
Returns the CSS text associated with the given type/value pair. |
| String | getCssText()
A string representation of the current value. |
| float | getFloatValue()
Returns the float value. |
| short | getPrimitiveType()
The type of the value. |
| String | toString()
Returns a printable representation of this value. |