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 void
setAnimateRotate(boolean animateRotate)
Iftrue
, the chart will animate in with a rotation animation.void
setAnimateScale(boolean animateScale)
Iftrue
, will animate scaling the chart from the center outwards.void
setDelay(int delay)
Sets the delay before starting the animations.void
setDelay(DelayCallback delayCallback)
Sets the delay before starting the animations by a callback.void
setDelay(NativeCallback delayCallback)
Sets the delay before starting the animations by a callback.void
setDuration(int milliseconds)
Sets the number of milliseconds an animation takes.void
setDuration(DurationCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.void
setDuration(NativeCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.void
setEasing(EasingCallback easingCallback)
Sets the animation easing by a callback.void
setEasing(NativeCallback easingCallback)
Sets the animation easing by a callback.void
setEasing(Easing easing)
Sets the animation easing.void
setLoop(boolean loop)
If set totrue
, loops the animations endlessly.void
setLoop(LoopCallback loopCallback)
Sets to loop the animations endlessly by a callback.void
setLoop(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
-true
if 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
-
-