Interface IsDefaultAnimationCollection
-
- All Superinterfaces:
IsDefaultBaseAnimation
- All Known Implementing Classes:
AnimationCollection,DefaultAnimationCollection,DefaultChartAnimationCollection
public interface IsDefaultAnimationCollection extends IsDefaultBaseAnimation
Interface to define animation for element properties defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetFrom()Returns the start value for the animation as number.booleangetFromAsBoolean()Returns the start value for the animation as boolean.StringgetFromAsString()Returns the start value for the animation as color string.FromCallbackgetFromCallback()Returns the callback to set the start value for the animation.List<AnimationPropertyKey>getProperties()Returns the properties defined in the animation collection.doublegetTo()Returns the end value for the animation as number.booleangetToAsBoolean()Returns the end value for the animation as boolean.StringgetToAsString()Returns the end value for the animation as color string.ToCallbackgetToCallback()Returns the callback to set the end value for the animation.AnimationTypegetType()Returns the type offromproperty and determines the interpolator used.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultBaseAnimation
getDelay, getDelayCallback, getDuration, getDurationCallback, getEasing, getEasingCallback, getLoopCallback, isLoop
-
-
-
-
Method Detail
-
getType
AnimationType getType()
Returns the type offromproperty and determines the interpolator used.- Returns:
- the type of
fromproperty and determines the interpolator used.
-
getFrom
double getFrom()
Returns the start value for the animation as number.- Returns:
- the start value for the animation as number.
-
getFromAsBoolean
boolean getFromAsBoolean()
Returns the start value for the animation as boolean.- Returns:
- the start value for the animation as boolean.
-
getFromAsString
String getFromAsString()
Returns the start value for the animation as color string.- Returns:
- the start value for the animation as color string.
-
getTo
double getTo()
Returns the end value for the animation as number.- Returns:
- the end value for the animation as number.
-
getToAsBoolean
boolean getToAsBoolean()
Returns the end value for the animation as boolean.- Returns:
- the end value for the animation as boolean.
-
getToAsString
String getToAsString()
Returns the end value for the animation as color string.- Returns:
- the end value for the animation as color string.
-
getProperties
List<AnimationPropertyKey> getProperties()
Returns the properties defined in the animation collection.- Returns:
- the properties defined in the animation collection
-
getFromCallback
FromCallback getFromCallback()
Returns the callback to set the start value for the animation.- Returns:
- the callback instance to use to set the start value for the animation
-
getToCallback
ToCallback getToCallback()
Returns the callback to set the end value for the animation.- Returns:
- the callback instance to use to set the end value for the animation
-
-