Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.css.style.derived
Class NumberValue

java.lang.Object
  extended by org.xhtmlrenderer.css.style.DerivedValue
      extended by org.xhtmlrenderer.css.style.derived.NumberValue
All Implemented Interfaces:
FSDerivedValue

public class NumberValue
extends DerivedValue


Constructor Summary
NumberValue(CSSName cssName, PropertyValue value)
           
 
Method Summary
 float asFloat()
           
 float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
           
 boolean hasAbsoluteUnit()
           
 
Methods inherited from class org.xhtmlrenderer.css.style.DerivedValue
asColor, asIdentValue, asString, asStringArray, getCssSacUnitType, getStringValue, isAbsoluteUnit, isDeclaredInherit, isDependentOnFontSize, isIdent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberValue

public NumberValue(CSSName cssName,
                   PropertyValue value)
Method Detail

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

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home