Class NumberValue
java.lang.Object
org.xhtmlrenderer.css.style.DerivedValue
org.xhtmlrenderer.css.style.derived.NumberValue
- All Implemented Interfaces:
FSDerivedValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatasFloat()floatgetFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx) booleanMethods inherited from class org.xhtmlrenderer.css.style.DerivedValue
asColor, asIdentValue, asString, asStringArray, getCssSacUnitType, getStringValue, isAbsoluteUnit, isDeclaredInherit, isDependentOnFontSize, isIdent
-
Constructor Details
-
NumberValue
-
-
Method Details
-
asFloat
public float asFloat()- Specified by:
asFloatin interfaceFSDerivedValue- Overrides:
asFloatin classDerivedValue
-
getFloatProportionalTo
- Specified by:
getFloatProportionalToin interfaceFSDerivedValue- Overrides:
getFloatProportionalToin classDerivedValue
-
hasAbsoluteUnit
public boolean hasAbsoluteUnit()- Specified by:
hasAbsoluteUnitin interfaceFSDerivedValue- Overrides:
hasAbsoluteUnitin classDerivedValue
-