Class DefaultAnimations
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultAnimations
-
- All Implemented Interfaces:
IsDefaultAnimations
public class DefaultAnimations extends Object implements IsDefaultAnimations
CHART.JS default values for ANIMATION element.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Key collection)
Returnstrue
if an animation collection instance is stored in the animation options.IsDefaultAnimationCollection
get(Key collection)
Returns an animation collection instance if stored in the animation options.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultAnimations
contains, get
-
-
-
-
Method Detail
-
contains
public boolean contains(Key collection)
Description copied from interface:IsDefaultAnimations
Returnstrue
if an animation collection instance is stored in the animation options.- Specified by:
contains
in interfaceIsDefaultAnimations
- Parameters:
collection
- collection instance used to check in the animation options- Returns:
true
if an animation collection instance is stored in the animation options
-
get
public IsDefaultAnimationCollection get(Key collection)
Description copied from interface:IsDefaultAnimations
Returns an animation collection instance if stored in the animation options.- Specified by:
get
in interfaceIsDefaultAnimations
- Parameters:
collection
- collection instance used to get for animation options- Returns:
- an animation collection instance or
null
if does not exists
-
-