org.apache.batik.css.engine.value.svg

Class OpacityManager

public class OpacityManager extends AbstractValueManager

This class provides a manager for the '*-opacity' property values.
Field Summary
protected booleaninherited
Whether the managed property is inherited.
protected Stringproperty
The managed property name.
Constructor Summary
OpacityManager(String prop, boolean inherit)
Creates a new OpacityManager.
Method Summary
ValuecreateFloatValue(short type, float floatValue)
Implements {@link ValueManager#createFloatValue(short,float)}.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.
ValuegetDefaultValue()
Implements {@link ValueManager#getDefaultValue()}.
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

inherited

protected boolean inherited
Whether the managed property is inherited.

property

protected String property
The managed property name.

Constructor Detail

OpacityManager

public OpacityManager(String prop, boolean inherit)
Creates a new OpacityManager.

Method Detail

createFloatValue

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

createValue

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

getDefaultValue

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

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.