org.apache.batik.css.engine.value

Interface ShorthandManager

public interface ShorthandManager

This interface represents the objects which provide support for shorthand properties.
Nested Class Summary
static interfaceShorthandManager.PropertyHandler
To handle a property value created by a ShorthandManager.
Method Summary
StringgetPropertyName()
Returns the name of the property handled.
booleanisAdditiveProperty()
Whether the handled property can be additively animated.
booleanisAnimatableProperty()
Whether the handled property can be animated.
voidsetValues(CSSEngine eng, ShorthandManager.PropertyHandler ph, LexicalUnit lu, boolean imp)
Sets the properties which are affected by this shorthand property.

Method Detail

getPropertyName

public String getPropertyName()
Returns the name of the property handled.

isAdditiveProperty

public boolean isAdditiveProperty()
Whether the handled property can be additively animated.

isAnimatableProperty

public boolean isAnimatableProperty()
Whether the handled property can be animated.

setValues

public void setValues(CSSEngine eng, ShorthandManager.PropertyHandler ph, LexicalUnit lu, boolean imp)
Sets the properties which are affected by this shorthand property.

Parameters: eng The current CSSEngine. ph The property handler to use. lu The SAC lexical unit used to create the value. imp The property priority.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.