fi.hut.tml.xsmiles.mlfc.css.value
Class FontSizeResolver
java.lang.Object
fi.hut.tml.xsmiles.mlfc.css.value.AbstractResolver
fi.hut.tml.xsmiles.mlfc.css.value.FontSizeResolver
- All Implemented Interfaces:
- RelativeValueResolver
- public class FontSizeResolver
- extends AbstractResolver
- implements RelativeValueResolver
This class provides a relative value resolver for the 'font-size' CSS
property.
- Version:
- $Id: FontSizeResolver.java 2492 2002-04-11 12:24:11Z ale $
- Author:
- Stephane Hillion
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontSizeResolver
public FontSizeResolver()
isInheritedProperty
public boolean isInheritedProperty()
- Whether the handled property is inherited or not.
- Specified by:
isInheritedProperty in interface RelativeValueResolver
getPropertyName
public java.lang.String getPropertyName()
- Returns the name of the handled property.
- Specified by:
getPropertyName in interface RelativeValueResolver
resolveValue
public void resolveValue(org.w3c.dom.Element element,
java.lang.String pseudoElement,
XSmilesCSSStyleDeclarationImpl styleDeclaration,
XSmilesCSSStyleDeclarationImpl parentStyle)
- Resolves the given value if relative, and puts it in the given table.
- Specified by:
resolveValue in interface RelativeValueResolver
- Parameters:
element - The element to which this value applies.pseudoElement - The pseudo element if one.styleDeclaration - The computed style declaration.
createNewValue
public void createNewValue(int percentage,
org.w3c.dom.css.CSSValue parentV,
XSmilesCSSStyleDeclarationImpl styleDec)
X-Smiles 1.2