Interface IsDefaultBaseAnimation
-
- All Known Subinterfaces:
IsAnimation
,IsDefaultAnimation
,IsDefaultAnimationCollection
- All Known Implementing Classes:
Animation
,Animation
,AnimationCollection
,DefaultAnimation
,DefaultAnimationCollection
,DefaultChartAnimation
,DefaultChartAnimationCollection
,UpdateConfiguration
public interface IsDefaultBaseAnimation
Interface to define the base animation properties defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDelay()
Returns the delay before starting the animations.DelayCallback
getDelayCallback()
Returns the callback to set the delay before starting the animations.int
getDuration()
Returns the number of milliseconds an animation takes.DurationCallback
getDurationCallback()
Returns the callback to set the number of milliseconds an animation takes.Easing
getEasing()
Returns the animation easing.EasingCallback
getEasingCallback()
Returns the callback to set the animation easing.LoopCallback
getLoopCallback()
Returns the callback to loop the animations endlessly.boolean
isLoop()
If set totrue
, loops the animations endlessly.
-
-
-
Method Detail
-
getEasing
Easing getEasing()
Returns the animation easing.- Returns:
- animation easing.
-
getDuration
int getDuration()
Returns the number of milliseconds an animation takes.- Returns:
- the number of milliseconds an animation takes.
-
getDelay
int getDelay()
Returns the delay before starting the animations.- Returns:
- the delay before starting the animations
-
isLoop
boolean isLoop()
If set totrue
, loops the animations endlessly.- Returns:
true
if loops the animations endlessly.
-
getDurationCallback
DurationCallback getDurationCallback()
Returns the callback to set the number of milliseconds an animation takes.- Returns:
- the callback instance to use
-
getDelayCallback
DelayCallback getDelayCallback()
Returns the callback to set the delay before starting the animations.- Returns:
- the callback instance to use
-
getLoopCallback
LoopCallback getLoopCallback()
Returns the callback to loop the animations endlessly.- Returns:
- the callback instance to use
-
getEasingCallback
EasingCallback getEasingCallback()
Returns the callback to set the animation easing.- Returns:
- the callback instance to use
-
-