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 IsDefaultAnimationTransitionDEFAULT_ANIMATION_TRANSITIONDefault animation mode element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsDefaultAnimationTransitionget(TransitionKey transition)Returns an animation transition instance if stored in the animation options.booleanhas(TransitionKey transition)Returnstrueif 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:IsDefaultTransitionsReturnstrueif an animation transition instance is stored in the animation options.- Specified by:
hasin interfaceIsDefaultTransitions- Parameters:
transition- transition instance used to check in the animation options- Returns:
trueif an animation collection instance is stored in the animation options
-
get
public IsDefaultAnimationTransition get(TransitionKey transition)
Description copied from interface:IsDefaultTransitionsReturns an animation transition instance if stored in the animation options.- Specified by:
getin interfaceIsDefaultTransitions- Parameters:
transition- transition instance used to get for animation options- Returns:
- an animation transition instance or
nullif does not exists
-
-