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 double
getFrom()
Returns the start value for the animation as number.boolean
getFromAsBoolean()
Returns the start value for the animation as boolean.String
getFromAsString()
Returns the start value for the animation as color string.FromCallback
getFromCallback()
Returns the callback to set the start value for the animation.List<Key>
getProperties()
Returns the properties defined in the animation collection.double
getTo()
Returns the end value for the animation as number.boolean
getToAsBoolean()
Returns the end value for the animation as boolean.String
getToAsString()
Returns the end value for the animation as color string.ToCallback
getToCallback()
Returns the callback to set the end value for the animation.AnimationType
getType()
Returns the type offrom
property 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 offrom
property and determines the interpolator used.- Returns:
- the type of
from
property 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<Key> 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
-
-