org.xhtmlrenderer.css.style.derived
Class NumberValue
java.lang.Object
org.xhtmlrenderer.css.style.DerivedValue
org.xhtmlrenderer.css.style.derived.NumberValue
- All Implemented Interfaces:
- FSDerivedValue
public class NumberValue
- extends DerivedValue
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberValue
public NumberValue(CSSName cssName,
PropertyValue value)
asFloat
public float asFloat()
- Specified by:
asFloat in interface FSDerivedValue- Overrides:
asFloat in class DerivedValue
getFloatProportionalTo
public float getFloatProportionalTo(CSSName cssName,
float baseValue,
CssContext ctx)
- Specified by:
getFloatProportionalTo in interface FSDerivedValue- Overrides:
getFloatProportionalTo in class DerivedValue
hasAbsoluteUnit
public boolean hasAbsoluteUnit()
- Specified by:
hasAbsoluteUnit in interface FSDerivedValue- Overrides:
hasAbsoluteUnit in class DerivedValue
Copyright © 2013. All Rights Reserved.