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 FSDerivedValuepublic short getCssSacUnitType()
public boolean isAbsoluteUnit()
public float asFloat()
asFloat in interface FSDerivedValuepublic FSColor asColor()
asColor in interface FSDerivedValuepublic float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
getFloatProportionalTo in interface FSDerivedValuepublic java.lang.String asString()
asString in interface FSDerivedValuepublic java.lang.String[] asStringArray()
asStringArray in interface FSDerivedValuepublic IdentValue asIdentValue()
asIdentValue in interface FSDerivedValuepublic boolean hasAbsoluteUnit()
hasAbsoluteUnit in interface FSDerivedValuepublic boolean isIdent()
isIdent in interface FSDerivedValuepublic boolean isDependentOnFontSize()
isDependentOnFontSize in interface FSDerivedValue