org.apache.batik.anim

Class SetAnimation

public class SetAnimation extends AbstractAnimation

An animation class for 'set' animations.
Field Summary
protected AnimatableValueto
The set animation value.
Constructor Summary
SetAnimation(TimedElement timedElement, AnimatableElement animatableElement, AnimatableValue to)
Creates a new SetAnimation.
Method Summary
protected voidsampledAt(float simpleTime, float simpleDur, int repeatIteration)
Called when the element is sampled at the given time.
protected voidsampledLastValue(int repeatIteration)
Called when the element is sampled for its "last" value.

Field Detail

to

protected AnimatableValue to
The set animation value.

Constructor Detail

SetAnimation

public SetAnimation(TimedElement timedElement, AnimatableElement animatableElement, AnimatableValue to)
Creates a new SetAnimation.

Method Detail

sampledAt

protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration)
Called when the element is sampled at the given time.

sampledLastValue

protected void sampledLastValue(int repeatIteration)
Called when the element is sampled for its "last" value.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.