Package org.xhtmlrenderer.css.style
Class DerivedValue
java.lang.Object
org.xhtmlrenderer.css.style.DerivedValue
- All Implemented Interfaces:
FSDerivedValue
- Direct Known Subclasses:
ColorValue,FunctionValue,LengthValue,ListValue,NumberValue,StringValue
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedDerivedValue(CSSName name, short cssSACUnitType, String cssText, String cssStringValue) -
Method Summary
Modifier and TypeMethodDescriptionasColor()floatasFloat()asString()String[]shortfloatgetFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx) The getCssText() or getStringValue(), depending.booleanbooleanbooleanIf value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValuebooleanbooleanisIdent()
-
Constructor Details
-
DerivedValue
protected DerivedValue() -
DerivedValue
-
-
Method Details
-
getStringValue
The getCssText() or getStringValue(), depending. -
isDeclaredInherit
public boolean isDeclaredInherit()If value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValue- Specified by:
isDeclaredInheritin interfaceFSDerivedValue
-
getCssSacUnitType
public short getCssSacUnitType() -
isAbsoluteUnit
public boolean isAbsoluteUnit() -
asFloat
public float asFloat()- Specified by:
asFloatin interfaceFSDerivedValue
-
asColor
- Specified by:
asColorin interfaceFSDerivedValue
-
getFloatProportionalTo
- Specified by:
getFloatProportionalToin interfaceFSDerivedValue
-
asString
- Specified by:
asStringin interfaceFSDerivedValue
-
asStringArray
- Specified by:
asStringArrayin interfaceFSDerivedValue
-
asIdentValue
- Specified by:
asIdentValuein interfaceFSDerivedValue
-
hasAbsoluteUnit
public boolean hasAbsoluteUnit()- Specified by:
hasAbsoluteUnitin interfaceFSDerivedValue
-
isIdent
public boolean isIdent()- Specified by:
isIdentin interfaceFSDerivedValue
-
isDependentOnFontSize
public boolean isDependentOnFontSize()- Specified by:
isDependentOnFontSizein interfaceFSDerivedValue
-