public abstract class DerivedValue extends java.lang.Object implements FSDerivedValue
Modifier and Type | Method and Description |
---|---|
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() |
public java.lang.String getStringValue()
public boolean isDeclaredInherit()
isDeclaredInherit
in interface FSDerivedValue
public short getCssSacUnitType()
public boolean isAbsoluteUnit()
public float asFloat()
asFloat
in interface FSDerivedValue
public FSColor asColor()
asColor
in interface FSDerivedValue
public float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
getFloatProportionalTo
in interface FSDerivedValue
public java.lang.String asString()
asString
in interface FSDerivedValue
public java.lang.String[] asStringArray()
asStringArray
in interface FSDerivedValue
public IdentValue asIdentValue()
asIdentValue
in interface FSDerivedValue
public boolean hasAbsoluteUnit()
hasAbsoluteUnit
in interface FSDerivedValue
public boolean isIdent()
isIdent
in interface FSDerivedValue
public boolean isDependentOnFontSize()
isDependentOnFontSize
in interface FSDerivedValue