Class SetAnimation
java.lang.Object
org.apache.batik.anim.AbstractAnimation
org.apache.batik.anim.SetAnimation
An animation class for 'set' animations.
-
Field Summary
FieldsFields inherited from class AbstractAnimation
animatableElement, beginTime, CALC_MODE_DISCRETE, CALC_MODE_LINEAR, CALC_MODE_PACED, CALC_MODE_SPLINE, composedValue, higherAnimation, isActive, isDirty, isFrozen, lowerAnimation, timedElement, toAnimation, usesUnderlyingValue, value -
Constructor Summary
ConstructorsConstructorDescriptionSetAnimation(TimedElement timedElement, AnimatableElement animatableElement, AnimatableValue to) Creates a new SetAnimation. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.Methods inherited from class AbstractAnimation
getComposedValue, getTimedElement, getValue, markDirty, toString, usesUnderlyingValue, willReplace
-
Field Details
-
to
The set animation value.
-
-
Constructor Details
-
SetAnimation
public SetAnimation(TimedElement timedElement, AnimatableElement animatableElement, AnimatableValue to) Creates a new SetAnimation.
-
-
Method Details
-
sampledAt
protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration) Called when the element is sampled at the given time.- Specified by:
sampledAtin classAbstractAnimation
-
sampledLastValue
protected void sampledLastValue(int repeatIteration) Called when the element is sampled for its "last" value.- Overrides:
sampledLastValuein classAbstractAnimation
-