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