fi.hut.tml.xsmiles.mlfc.css.value
Class FontWeightResolver

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.css.value.AbstractResolver
      extended byfi.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

Field Summary
static float WeightDefault
           
 
Constructor Summary
FontWeightResolver()
           
 
Method Summary
 java.lang.String getPropertyName()
          Returns the name of the handled property.
 boolean isInheritedProperty()
          Whether the handled property is inherited or not.
 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.
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.css.value.AbstractResolver
getIsImportant, resolvePercentage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WeightDefault

public static final float WeightDefault
See Also:
Constant Field Values
Constructor Detail

FontWeightResolver

public FontWeightResolver()
Method Detail

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