org.apache.batik.bridge

Class SVGAnimateColorElementBridge

public class SVGAnimateColorElementBridge extends SVGAnimateElementBridge

Bridge class for the 'animateColor' animation element.
Method Summary
protected booleancanAnimateType(int type)
Returns whether the animation element being handled by this bridge can animate attributes of the specified type.
protected booleancheckValueType(AnimatableValue v)
Returns whether the specified {@link AnimatableValue} is of a type allowed by this animation.
protected AbstractAnimationcreateAnimation(AnimationTarget target)
Creates the animation object for the animation element.
BridgegetInstance()
Returns a new instance of this bridge.
StringgetLocalName()
Returns 'animateColor'.

Method Detail

canAnimateType

protected boolean canAnimateType(int type)
Returns whether the animation element being handled by this bridge can animate attributes of the specified type.

Parameters: type one of the TYPE_ constants defined in {@link SVGTypes}.

checkValueType

protected boolean checkValueType(AnimatableValue v)
Returns whether the specified {@link AnimatableValue} is of a type allowed by this animation.

createAnimation

protected AbstractAnimation createAnimation(AnimationTarget target)
Creates the animation object for the animation element.

getInstance

public Bridge getInstance()
Returns a new instance of this bridge.

getLocalName

public String getLocalName()
Returns 'animateColor'.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.