org.apache.batik.bridge

Class SVGAnimateElementBridge

public class SVGAnimateElementBridge extends SVGAnimationElementBridge

Bridge class for the 'animate' 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.
protected intgetDefaultCalcMode()
Returns the calcMode that the animation defaults to if none is specified.
BridgegetInstance()
Returns a new instance of this bridge.
StringgetLocalName()
Returns 'animate'.
protected booleanparseAccumulate()
Returns the parsed 'accumulate' attribute from the animation element.
protected booleanparseAdditive()
Returns the parsed 'additive' attribute from the animation element.
protected intparseCalcMode()
Returns the parsed 'calcMode' attribute from the animation element.
protected float[]parseKeySplines()
Returns the parsed 'keySplines' attribute from the animation element.
protected float[]parseKeyTimes()
Returns the parsed 'keyTimes' attribute from the animation element.
protected AnimatableValue[]parseValues()
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 org.apache.batik.util.SVGTypes}.

createAnimation

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

getDefaultCalcMode

protected int getDefaultCalcMode()
Returns the calcMode that the animation defaults to if none is specified.

getInstance

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

getLocalName

public String getLocalName()
Returns 'animate'.

parseAccumulate

protected boolean parseAccumulate()
Returns the parsed 'accumulate' attribute from the animation element.

parseAdditive

protected boolean parseAdditive()
Returns the parsed 'additive' attribute from the animation element.

parseCalcMode

protected int parseCalcMode()
Returns the parsed 'calcMode' attribute from the animation element.

parseKeySplines

protected float[] parseKeySplines()
Returns the parsed 'keySplines' attribute from the animation element.

parseKeyTimes

protected float[] parseKeyTimes()
Returns the parsed 'keyTimes' attribute from the animation element.

parseValues

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