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
Created by IntelliJ IDEA.
User: patrick
Date: Oct 17, 2005
Time: 12:53:07 PM
To change this template use File | Settings | File Templates.
-
Method Summary
Modifier and TypeMethodDescriptionasColor()
float
asFloat()
asString()
String[]
short
float
getFloatProportionalTo
(CSSName cssName, float baseValue, CssContext ctx) The getCssText() or getStringValue(), depending.boolean
boolean
boolean
If value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValueboolean
boolean
isIdent()
-
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:
isDeclaredInherit
in interfaceFSDerivedValue
-
getCssSacUnitType
public short getCssSacUnitType() -
isAbsoluteUnit
public boolean isAbsoluteUnit() -
asFloat
public float asFloat()- Specified by:
asFloat
in interfaceFSDerivedValue
-
asColor
- Specified by:
asColor
in interfaceFSDerivedValue
-
getFloatProportionalTo
- Specified by:
getFloatProportionalTo
in interfaceFSDerivedValue
-
asString
- Specified by:
asString
in interfaceFSDerivedValue
-
asStringArray
- Specified by:
asStringArray
in interfaceFSDerivedValue
-
asIdentValue
- Specified by:
asIdentValue
in interfaceFSDerivedValue
-
hasAbsoluteUnit
public boolean hasAbsoluteUnit()- Specified by:
hasAbsoluteUnit
in interfaceFSDerivedValue
-
isIdent
public boolean isIdent()- Specified by:
isIdent
in interfaceFSDerivedValue
-
isDependentOnFontSize
public boolean isDependentOnFontSize()- Specified by:
isDependentOnFontSize
in interfaceFSDerivedValue
-