Class DefaultAnimation
- java.lang.Object
- 
- org.pepstock.charba.client.defaults.globals.DefaultAnimation
 
- 
- All Implemented Interfaces:
- IsDefaultAnimation,- IsDefaultBaseAnimation
 
 public class DefaultAnimation extends Object implements IsDefaultAnimation CHART.JS default values for ANIMATION element.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDelay()Returns the delay before starting the animations.DelayCallbackgetDelayCallback()Returns the callback to set the delay before starting the animations.intgetDuration()Returns the number of milliseconds an animation takes.DurationCallbackgetDurationCallback()Returns the callback to set the number of milliseconds an animation takes.EasinggetEasing()Returns the animation easing.EasingCallbackgetEasingCallback()Returns the callback to set the animation easing.LoopCallbackgetLoopCallback()Returns the callback to loop the animations endlessly.booleanisAnimateRotate()Iftrue, the chart will animate in with a rotation animation.booleanisAnimateScale()Iftrue, will animate scaling the chart from the center outwards.booleanisLoop()If set totrue, loops the animations endlessly.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultBaseAnimationgetDelay, getDelayCallback, getDuration, getDurationCallback, getEasing, getEasingCallback, getLoopCallback, isLoop
 
- 
 
- 
- 
- 
Method Detail- 
isAnimateRotatepublic boolean isAnimateRotate() Description copied from interface:IsDefaultAnimationIftrue, the chart will animate in with a rotation animation.- Specified by:
- isAnimateRotatein interface- IsDefaultAnimation
- Returns:
- If true, the chart will animate in with a rotation animation.
 
 - 
isAnimateScalepublic boolean isAnimateScale() Description copied from interface:IsDefaultAnimationIftrue, will animate scaling the chart from the center outwards.- Specified by:
- isAnimateScalein interface- IsDefaultAnimation
- Returns:
- If true, will animate scaling the chart from the center outwards.
 
 - 
getEasingpublic Easing getEasing() Description copied from interface:IsDefaultBaseAnimationReturns the animation easing.- Specified by:
- getEasingin interface- IsDefaultBaseAnimation
- Returns:
- animation easing.
 
 - 
getDurationpublic int getDuration() Description copied from interface:IsDefaultBaseAnimationReturns the number of milliseconds an animation takes.- Specified by:
- getDurationin interface- IsDefaultBaseAnimation
- Returns:
- the number of milliseconds an animation takes.
 
 - 
getDelaypublic int getDelay() Description copied from interface:IsDefaultBaseAnimationReturns the delay before starting the animations.- Specified by:
- getDelayin interface- IsDefaultBaseAnimation
- Returns:
- the delay before starting the animations
 
 - 
isLooppublic boolean isLoop() Description copied from interface:IsDefaultBaseAnimationIf set totrue, loops the animations endlessly.- Specified by:
- isLoopin interface- IsDefaultBaseAnimation
- Returns:
- trueif loops the animations endlessly.
 
 - 
getDurationCallbackpublic DurationCallback getDurationCallback() Description copied from interface:IsDefaultBaseAnimationReturns the callback to set the number of milliseconds an animation takes.- Specified by:
- getDurationCallbackin interface- IsDefaultBaseAnimation
- Returns:
- the callback instance to use
 
 - 
getDelayCallbackpublic DelayCallback getDelayCallback() Description copied from interface:IsDefaultBaseAnimationReturns the callback to set the delay before starting the animations.- Specified by:
- getDelayCallbackin interface- IsDefaultBaseAnimation
- Returns:
- the callback instance to use
 
 - 
getLoopCallbackpublic LoopCallback getLoopCallback() Description copied from interface:IsDefaultBaseAnimationReturns the callback to loop the animations endlessly.- Specified by:
- getLoopCallbackin interface- IsDefaultBaseAnimation
- Returns:
- the callback instance to use
 
 - 
getEasingCallbackpublic EasingCallback getEasingCallback() Description copied from interface:IsDefaultBaseAnimationReturns the callback to set the animation easing.- Specified by:
- getEasingCallbackin interface- IsDefaultBaseAnimation
- Returns:
- the callback instance to use
 
 
- 
 
-