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
public abstract class DerivedValue extends java.lang.Object implements FSDerivedValue
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FSColorasColor()floatasFloat()IdentValueasIdentValue()java.lang.StringasString()java.lang.String[]asStringArray()shortgetCssSacUnitType()floatgetFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)java.lang.StringgetStringValue()The getCssText() or getStringValue(), depending.booleanhasAbsoluteUnit()booleanisAbsoluteUnit()booleanisDeclaredInherit()If value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValuebooleanisDependentOnFontSize()booleanisIdent()
-
-
-
Method Detail
-
getStringValue
public java.lang.String 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
public FSColor asColor()
- Specified by:
asColorin interfaceFSDerivedValue
-
getFloatProportionalTo
public float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
- Specified by:
getFloatProportionalToin interfaceFSDerivedValue
-
asString
public java.lang.String asString()
- Specified by:
asStringin interfaceFSDerivedValue
-
asStringArray
public java.lang.String[] asStringArray()
- Specified by:
asStringArrayin interfaceFSDerivedValue
-
asIdentValue
public IdentValue 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
-
-