org.apache.batik.bridge

Class SVGAnimateTransformElementBridge

public class SVGAnimateTransformElementBridge extends SVGAnimateElementBridge

Bridge class for the 'animateTransform' 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 AbstractAnimationcreateAnimation(AnimationTarget target)
Creates the animation object for the animation element.
BridgegetInstance()
Returns a new instance of this bridge.
StringgetLocalName()
Returns 'animateTransform'.
protected shortparseType()
Returns the parsed 'type' attribute from the animation element.
protected AnimatableValueparseValue(String s, short type, AnimationTarget target)
Parses a transform value.
protected AnimatableValue[]parseValues(short type, AnimationTarget target)
Returns the parsed 'values' attribute from the animation element.

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}.

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 'animateTransform'.

parseType

protected short parseType()
Returns the parsed 'type' attribute from the animation element.

parseValue

protected AnimatableValue parseValue(String s, short type, AnimationTarget target)
Parses a transform value.

parseValues

protected AnimatableValue[] parseValues(short type, AnimationTarget target)
Returns the parsed 'values' attribute from the animation element.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.