Class DefaultChartAnimations
- java.lang.Object
-
- org.pepstock.charba.client.defaults.chart.DefaultChartAnimations
-
- All Implemented Interfaces:
IsDefaultAnimations
public final class DefaultChartAnimations extends Object implements IsDefaultAnimations
Defaults for animations option element, based on chart type.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description DefaultChartAnimations(IsDefaultAnimations animations)Creates the object by animations option element instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Key collection)Returnstrueif an animation collection instance is stored in the animation options.IsDefaultAnimationCollectionget(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
-
-
-
-
Constructor Detail
-
DefaultChartAnimations
public DefaultChartAnimations(IsDefaultAnimations animations)
Creates the object by animations option element instance.- Parameters:
animations- animations option element instance.
-
-
Method Detail
-
contains
public boolean contains(Key collection)
Description copied from interface:IsDefaultAnimationsReturnstrueif an animation collection instance is stored in the animation options.- Specified by:
containsin interfaceIsDefaultAnimations- Parameters:
collection- collection instance used to check in the animation options- Returns:
trueif an animation collection instance is stored in the animation options
-
get
public IsDefaultAnimationCollection get(Key collection)
Description copied from interface:IsDefaultAnimationsReturns an animation collection instance if stored in the animation options.- Specified by:
getin interfaceIsDefaultAnimations- Parameters:
collection- collection instance used to get for animation options- Returns:
- an animation collection instance or
nullif does not exists
-
-