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 ValueManager.
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements createValue.
ValuegetDefaultValue()
Implements getDefaultValue.
StringgetPropertyName()
Implements getPropertyName.
intgetPropertyType()
Implements getPropertyType.
booleanisAdditiveProperty()
Implements isAdditiveProperty.
booleanisAnimatableProperty()
booleanisInheritedProperty()
Implements 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 ValueManager.

createValue

public Value createValue(LexicalUnit lu, CSSEngine engine)
Implements createValue.

getDefaultValue

public Value getDefaultValue()
Implements getDefaultValue.

getPropertyName

public String getPropertyName()
Implements getPropertyName.

getPropertyType

public int getPropertyType()
Implements getPropertyType.

isAdditiveProperty

public boolean isAdditiveProperty()
Implements isAdditiveProperty.

isAnimatableProperty

public boolean isAnimatableProperty()
Implements isAnimatableProperty.

isInheritedProperty

public boolean isInheritedProperty()
Implements isInheritedProperty.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.