org.apache.batik.css.engine.value.svg12

Class MarginLengthManager

public class MarginLengthManager extends LengthManager

This class provides a factory for the 'margin-*' properties values.
Field Summary
protected Stringprop
Constructor Summary
MarginLengthManager(String prop)
Method Summary
ValuecreateValue(LexicalUnit lu, CSSEngine engine)
Implements {@link ValueManager#createValue(LexicalUnit,CSSEngine)}.
ValuegetDefaultValue()
Implements {@link ValueManager#getDefaultValue()}.
protected intgetOrientation()
Indicates the orientation of the property associated with this manager.
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

prop

protected String prop

Constructor Detail

MarginLengthManager

public MarginLengthManager(String prop)

Method Detail

createValue

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

getDefaultValue

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

getOrientation

protected int getOrientation()
Indicates the orientation of the property associated with this manager.

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.