Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.css.style
Class DerivedValue

java.lang.Object
  extended by 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
 FSColor asColor()
           
 float asFloat()
           
 IdentValue asIdentValue()
           
 java.lang.String asString()
           
 java.lang.String[] asStringArray()
           
 short getCssSacUnitType()
           
 float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
           
 java.lang.String getStringValue()
          The getCssText() or getStringValue(), depending.
 boolean hasAbsoluteUnit()
           
 boolean isAbsoluteUnit()
           
 boolean isDeclaredInherit()
          If value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValue
 boolean isDependentOnFontSize()
           
 boolean isIdent()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
isDeclaredInherit in interface FSDerivedValue

getCssSacUnitType

public short getCssSacUnitType()

isAbsoluteUnit

public boolean isAbsoluteUnit()

asFloat

public float asFloat()
Specified by:
asFloat in interface FSDerivedValue

asColor

public FSColor asColor()
Specified by:
asColor in interface FSDerivedValue

getFloatProportionalTo

public float getFloatProportionalTo(CSSName cssName,
                                    float baseValue,
                                    CssContext ctx)
Specified by:
getFloatProportionalTo in interface FSDerivedValue

asString

public java.lang.String asString()
Specified by:
asString in interface FSDerivedValue

asStringArray

public java.lang.String[] asStringArray()
Specified by:
asStringArray in interface FSDerivedValue

asIdentValue

public IdentValue asIdentValue()
Specified by:
asIdentValue in interface FSDerivedValue

hasAbsoluteUnit

public boolean hasAbsoluteUnit()
Specified by:
hasAbsoluteUnit in interface FSDerivedValue

isIdent

public boolean isIdent()
Specified by:
isIdent in interface FSDerivedValue

isDependentOnFontSize

public boolean isDependentOnFontSize()
Specified by:
isDependentOnFontSize in interface FSDerivedValue

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home