public final class DefaultChartAnimation extends Object implements IsDefaultAnimation
| Constructor and Description |
|---|
DefaultChartAnimation(IsDefaultAnimation animation)
Creates the object by animation option element instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay()
Returns the delay before starting the animations.
|
DelayCallback |
getDelayCallback()
Returns the callback to set the delay before starting the animations.
|
int |
getDuration()
Returns the number of milliseconds an animation takes.
|
DurationCallback |
getDurationCallback()
Returns the callback to set the number of milliseconds an animation takes.
|
Easing |
getEasing()
Returns the animation easing.
|
EasingCallback |
getEasingCallback()
Returns the callback to set the animation easing.
|
LoopCallback |
getLoopCallback()
Returns the callback to loop the animations endlessly.
|
boolean |
isAnimateRotate()
If
true, the chart will animate in with a rotation animation. |
boolean |
isAnimateScale()
If
true, will animate scaling the chart from the center outwards. |
boolean |
isLoop()
If set to
true, loops the animations endlessly. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDelay, getDelayCallback, getDuration, getDurationCallback, getEasing, getEasingCallback, getLoopCallback, isLooppublic DefaultChartAnimation(IsDefaultAnimation animation)
animation - animation option element instance.public boolean isAnimateRotate()
IsDefaultAnimationtrue, the chart will animate in with a rotation animation.isAnimateRotate in interface IsDefaultAnimationtrue, the chart will animate in with a rotation animation.public boolean isAnimateScale()
IsDefaultAnimationtrue, will animate scaling the chart from the center outwards.isAnimateScale in interface IsDefaultAnimationtrue, will animate scaling the chart from the center outwards.public Easing getEasing()
IsDefaultBaseAnimationgetEasing in interface IsDefaultBaseAnimationpublic int getDuration()
IsDefaultBaseAnimationgetDuration in interface IsDefaultBaseAnimationpublic int getDelay()
IsDefaultBaseAnimationgetDelay in interface IsDefaultBaseAnimationpublic boolean isLoop()
IsDefaultBaseAnimationtrue, loops the animations endlessly.isLoop in interface IsDefaultBaseAnimationtrue if loops the animations endlessly.public DurationCallback getDurationCallback()
IsDefaultBaseAnimationgetDurationCallback in interface IsDefaultBaseAnimationpublic DelayCallback getDelayCallback()
IsDefaultBaseAnimationgetDelayCallback in interface IsDefaultBaseAnimationpublic LoopCallback getLoopCallback()
IsDefaultBaseAnimationgetLoopCallback in interface IsDefaultBaseAnimationpublic EasingCallback getEasingCallback()
IsDefaultBaseAnimationgetEasingCallback in interface IsDefaultBaseAnimation