fi.hut.tml.xsmiles.mlfc.css.value
Class FontWeightResolver
java.lang.Object
fi.hut.tml.xsmiles.mlfc.css.value.AbstractResolver
fi.hut.tml.xsmiles.mlfc.css.value.FontWeightResolver
- All Implemented Interfaces:
- RelativeValueResolver
- public class FontWeightResolver
- extends AbstractResolver
- implements RelativeValueResolver
This class provides a relative value resolver for the 'font-weight' CSS
property.
- Version:
- $Id: FontWeightResolver.java 4266 2003-06-29 06:00:47Z ronald $
- Author:
- Stephane Hillion
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightDefault
public static final float WeightDefault
- See Also:
- Constant Field Values
FontWeightResolver
public FontWeightResolver()
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.
X-Smiles 1.2