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 Object
- implements FSDerivedValue
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerivedValue
protected DerivedValue()
DerivedValue
protected DerivedValue(CSSName name,
short cssSACUnitType,
String cssText,
String cssStringValue)
getStringValue
public 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 String asString()
- Specified by:
asString in interface FSDerivedValue
asStringArray
public 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
Copyright © 2013. All Rights Reserved.