Top Fields Constructors Methods
com.openhtmltopdf.css.style

public abstract Class DerivedValue

extends Object
implements FSDerivedValue
Class Inheritance
All Implemented Interfaces
com.openhtmltopdf.css.style.FSDerivedValue
Known Direct Subclasses
com.openhtmltopdf.css.style.derived.ColorValue, com.openhtmltopdf.css.style.derived.CountersValue, com.openhtmltopdf.css.style.derived.FunctionValue, com.openhtmltopdf.css.style.derived.LengthValue, com.openhtmltopdf.css.style.derived.ListValue, com.openhtmltopdf.css.style.derived.NumberValue, com.openhtmltopdf.css.style.derived.StringValue
Imports
com.openhtmltopdf.css.constants.CSSName, .IdentValue, .ValueConstants, com.openhtmltopdf.css.parser.CSSPrimitiveValue, .FSColor, com.openhtmltopdf.util.XRRuntimeException

Field Summary

Modifier and TypeField and Description
private String
private short

Constructor Summary

AccessConstructor and Description
protected
protected
DerivedValue(CSSName name, short cssSACUnitType, String cssText, String cssStringValue)

Method Summary

Modifier and TypeMethod and Description
public FSColor
public float
public IdentValue
public String
public String[]
private String
deriveStringValue(String cssText, String cssStringValue)

public short
public float
public String
getStringValue()

The getCssText() or getStringValue(), depending.

public boolean
public boolean
public boolean
isDeclaredInherit()

Implements com.openhtmltopdf.css.style.FSDerivedValue.isDeclaredInherit.

If value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValue

public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_asStringback to summary
private String _asString
_cssSacUnitTypeback to summary
private short _cssSacUnitType

Constructor Detail

DerivedValueback to summary
protected DerivedValue()
DerivedValueback to summary
protected DerivedValue(CSSName name, short cssSACUnitType, String cssText, String cssStringValue)

Method Detail

asColorback to summary
public FSColor asColor()

Implements com.openhtmltopdf.css.style.FSDerivedValue.asColor.

Annotations
@Override
asFloatback to summary
public float asFloat()

Implements com.openhtmltopdf.css.style.FSDerivedValue.asFloat.

Annotations
@Override
asIdentValueback to summary
public IdentValue asIdentValue()

Implements com.openhtmltopdf.css.style.FSDerivedValue.asIdentValue.

Annotations
@Override
asStringback to summary
public String asString()

Implements com.openhtmltopdf.css.style.FSDerivedValue.asString.

Annotations
@Override
asStringArrayback to summary
public String[] asStringArray()

Implements com.openhtmltopdf.css.style.FSDerivedValue.asStringArray.

Annotations
@Override
deriveStringValueback to summary
private String deriveStringValue(String cssText, String cssStringValue)
getCssSacUnitTypeback to summary
public short getCssSacUnitType()
getFloatProportionalToback to summary
public float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)

Implements com.openhtmltopdf.css.style.FSDerivedValue.getFloatProportionalTo.

Annotations
@Override
getStringValueback to summary
public String getStringValue()

The getCssText() or getStringValue(), depending.

hasAbsoluteUnitback to summary
public boolean hasAbsoluteUnit()

Implements com.openhtmltopdf.css.style.FSDerivedValue.hasAbsoluteUnit.

Annotations
@Override
isAbsoluteUnitback to summary
public boolean isAbsoluteUnit()
isDeclaredInheritback to summary
public boolean isDeclaredInherit()

Implements com.openhtmltopdf.css.style.FSDerivedValue.isDeclaredInherit.

If value is declared INHERIT should always be the IdentValue.INHERIT, not a DerivedValue

Annotations
@Override
isDependentOnFontSizeback to summary
public boolean isDependentOnFontSize()

Implements com.openhtmltopdf.css.style.FSDerivedValue.isDependentOnFontSize.

Annotations
@Override
isIdentback to summary
public boolean isIdent()

Implements com.openhtmltopdf.css.style.FSDerivedValue.isIdent.

Annotations
@Override