Class DefaultTransitions
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultTransitions
-
- All Implemented Interfaces:
IsDefaultTransitions
public final class DefaultTransitions extends Object implements IsDefaultTransitions
CHART.JS default values for ANIMATION element.- Author:
- Andrea "Stock" Stocchero
-
-
Field Summary
Fields Modifier and Type Field Description static IsDefaultAnimationTransition
DEFAULT_ANIMATION_TRANSITION
Default animation mode element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsDefaultAnimationTransition
get(TransitionKey transition)
Returns an animation transition instance if stored in the animation options.boolean
has(TransitionKey transition)
Returnstrue
if an animation transition instance is stored in the animation options.
-
-
-
Field Detail
-
DEFAULT_ANIMATION_TRANSITION
public static final IsDefaultAnimationTransition DEFAULT_ANIMATION_TRANSITION
Default animation mode element.
-
-
Method Detail
-
has
public boolean has(TransitionKey transition)
Description copied from interface:IsDefaultTransitions
Returnstrue
if an animation transition instance is stored in the animation options.- Specified by:
has
in interfaceIsDefaultTransitions
- Parameters:
transition
- transition instance used to check in the animation options- Returns:
true
if an animation collection instance is stored in the animation options
-
get
public IsDefaultAnimationTransition get(TransitionKey transition)
Description copied from interface:IsDefaultTransitions
Returns an animation transition instance if stored in the animation options.- Specified by:
get
in interfaceIsDefaultTransitions
- Parameters:
transition
- transition instance used to get for animation options- Returns:
- an animation transition instance or
null
if does not exists
-
-