org.apache.batik.css.engine.value.css2

Class FontWeightManager

public class FontWeightManager extends IdentifierManager

This class provides a manager for the 'font-weight' property values.
Field Summary
protected static StringMapvalues
The identifier values.
Method Summary
ValuecomputeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
Implements {@link ValueManager#computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)}.
ValuecreateFloatValue(short type, float floatValue)
Implements {@link ValueManager#createFloatValue(short,float)}.
protected ValuecreateFontWeight(float f)
Returns the CSS value associated with the given font-weight.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.
ValuegetDefaultValue()
Implements {@link ValueManager#getDefaultValue()}.
StringMapgetIdentifiers()
Implements {@link IdentifierManager#getIdentifiers()}.
StringgetPropertyName()
Implements {@link ValueManager#getPropertyName()}.
intgetPropertyType()
Implements {@link ValueManager#getPropertyType()}.
booleanisAdditiveProperty()
Implements {@link ValueManager#isAdditiveProperty()}.
booleanisAnimatableProperty()
Implements {@link ValueManager#isAnimatableProperty()}.
booleanisInheritedProperty()
Implements {@link ValueManager#isInheritedProperty()}.

Field Detail

values

protected static final StringMap values
The identifier values.

Method Detail

computeValue

public Value computeValue(CSSStylableElement elt, String pseudo, CSSEngine engine, int idx, StyleMap sm, Value value)
Implements {@link ValueManager#computeValue(CSSStylableElement,String,CSSEngine,int,StyleMap,Value)}.

createFloatValue

public Value createFloatValue(short type, float floatValue)
Implements {@link ValueManager#createFloatValue(short,float)}.

createFontWeight

protected Value createFontWeight(float f)
Returns the CSS value associated with the given font-weight.

createValue

public Value createValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.

getDefaultValue

public Value getDefaultValue()
Implements {@link ValueManager#getDefaultValue()}.

getIdentifiers

public StringMap getIdentifiers()
Implements {@link IdentifierManager#getIdentifiers()}.

getPropertyName

public String getPropertyName()
Implements {@link ValueManager#getPropertyName()}.

getPropertyType

public int getPropertyType()
Implements {@link ValueManager#getPropertyType()}.

isAdditiveProperty

public boolean isAdditiveProperty()
Implements {@link ValueManager#isAdditiveProperty()}.

isAnimatableProperty

public boolean isAnimatableProperty()
Implements {@link ValueManager#isAnimatableProperty()}.

isInheritedProperty

public boolean isInheritedProperty()
Implements {@link ValueManager#isInheritedProperty()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.