Interface IsAnimation
-
- All Superinterfaces:
IsDefaultAnimation,IsDefaultBaseAnimation
- All Known Implementing Classes:
Animation,Animation,UpdateConfiguration
public interface IsAnimation extends IsDefaultAnimation
Interface to map a animations element, ANIMATIONS name space.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetAnimateRotate(boolean animateRotate)Iftrue, the chart will animate in with a rotation animation.voidsetAnimateScale(boolean animateScale)Iftrue, will animate scaling the chart from the center outwards.voidsetDelay(int delay)Sets the delay before starting the animations.voidsetDelay(DelayCallback delayCallback)Sets the delay before starting the animations by a callback.voidsetDelay(NativeCallback delayCallback)Sets the delay before starting the animations by a callback.voidsetDuration(int milliseconds)Sets the number of milliseconds an animation takes.voidsetDuration(DurationCallback durationCallback)Sets the number of milliseconds an animation takes by a callback.voidsetDuration(NativeCallback durationCallback)Sets the number of milliseconds an animation takes by a callback.voidsetEasing(EasingCallback easingCallback)Sets the animation easing by a callback.voidsetEasing(NativeCallback easingCallback)Sets the animation easing by a callback.voidsetEasing(Easing easing)Sets the animation easing.voidsetLoop(boolean loop)If set totrue, loops the animations endlessly.voidsetLoop(LoopCallback loopCallback)Sets to loop the animations endlessly by a callback.voidsetLoop(NativeCallback loopCallback)Sets to loop the animations endlessly by a callback.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultAnimation
isAnimateRotate, isAnimateScale
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultBaseAnimation
getDelay, getDelayCallback, getDuration, getDurationCallback, getEasing, getEasingCallback, getLoopCallback, isLoop
-
-
-
-
Method Detail
-
setAnimateRotate
void setAnimateRotate(boolean animateRotate)
Iftrue, the chart will animate in with a rotation animation.- Parameters:
animateRotate- Iftrue, the chart will animate in with a rotation animation.
-
setAnimateScale
void setAnimateScale(boolean animateScale)
Iftrue, will animate scaling the chart from the center outwards.- Parameters:
animateScale- Iftrue, will animate scaling the chart from the center outwards.
-
setEasing
void setEasing(Easing easing)
Sets the animation easing.- Parameters:
easing- animation easing.
-
setDuration
void setDuration(int milliseconds)
Sets the number of milliseconds an animation takes.- Parameters:
milliseconds- the number of milliseconds an animation takes.
-
setDelay
void setDelay(int delay)
Sets the delay before starting the animations.- Parameters:
delay- the delay before starting the animations
-
setLoop
void setLoop(boolean loop)
If set totrue, loops the animations endlessly.- Parameters:
loop-trueif loops the animations endlessly.
-
setDuration
void setDuration(DurationCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.- Parameters:
durationCallback- the callback instance to use
-
setDuration
void setDuration(NativeCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.- Parameters:
durationCallback- the callback instance to use
-
setDelay
void setDelay(DelayCallback delayCallback)
Sets the delay before starting the animations by a callback.- Parameters:
delayCallback- the callback instance to use
-
setDelay
void setDelay(NativeCallback delayCallback)
Sets the delay before starting the animations by a callback.- Parameters:
delayCallback- the callback instance to use
-
setLoop
void setLoop(LoopCallback loopCallback)
Sets to loop the animations endlessly by a callback.- Parameters:
loopCallback- the callback instance to use
-
setLoop
void setLoop(NativeCallback loopCallback)
Sets to loop the animations endlessly by a callback.- Parameters:
loopCallback- the callback instance to use
-
setEasing
void setEasing(EasingCallback easingCallback)
Sets the animation easing by a callback.- Parameters:
easingCallback- the callback instance to use
-
setEasing
void setEasing(NativeCallback easingCallback)
Sets the animation easing by a callback.- Parameters:
easingCallback- the callback instance to use
-
-