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, wait
getDelay, getDelayCallback, getDuration, getDurationCallback, getEasing, getEasingCallback, getLoopCallback, isLoop
public DefaultChartAnimation(IsDefaultAnimation animation)
animation
- animation option element instance.public boolean isAnimateRotate()
IsDefaultAnimation
true
, the chart will animate in with a rotation animation.isAnimateRotate
in interface IsDefaultAnimation
true
, the chart will animate in with a rotation animation.public boolean isAnimateScale()
IsDefaultAnimation
true
, will animate scaling the chart from the center outwards.isAnimateScale
in interface IsDefaultAnimation
true
, will animate scaling the chart from the center outwards.public Easing getEasing()
IsDefaultBaseAnimation
getEasing
in interface IsDefaultBaseAnimation
public int getDuration()
IsDefaultBaseAnimation
getDuration
in interface IsDefaultBaseAnimation
public int getDelay()
IsDefaultBaseAnimation
getDelay
in interface IsDefaultBaseAnimation
public boolean isLoop()
IsDefaultBaseAnimation
true
, loops the animations endlessly.isLoop
in interface IsDefaultBaseAnimation
true
if loops the animations endlessly.public DurationCallback getDurationCallback()
IsDefaultBaseAnimation
getDurationCallback
in interface IsDefaultBaseAnimation
public DelayCallback getDelayCallback()
IsDefaultBaseAnimation
getDelayCallback
in interface IsDefaultBaseAnimation
public LoopCallback getLoopCallback()
IsDefaultBaseAnimation
getLoopCallback
in interface IsDefaultBaseAnimation
public EasingCallback getEasingCallback()
IsDefaultBaseAnimation
getEasingCallback
in interface IsDefaultBaseAnimation