Interface HasAnimationOptions
-
- All Superinterfaces:
IsDefaultAnimationContainer
,IsDefaultAnimationTransition
- All Known Implementing Classes:
AreaDataset
,BarDataset
,BubbleDataset
,BubbleMapDataset
,ChartOptions
,ChoroplethDataset
,Dataset
,DoughnutDataset
,ExtendedOptions
,GaugeDataset
,GlobalOptions
,HorizontalBarDataset
,HoverDataset
,HoverFlexDataset
,LineDataset
,LiningDataset
,MatrixDataset
,MeterDataset
,Options
,OptionsNode
,PieDataset
,PolarAreaDataset
,RadarDataset
,RegressionDataset
,SankeyDataset
,ScaledOptions
,ScatterDataset
,StackedAreaDataset
,StackedBarDataset
,StackedHorizontalBarDataset
,StackedLineDataset
,StackedVerticalLineDataset
,TimeSeriesBarDataset
,TimeSeriesHorizontalBarDataset
,TimeSeriesLineDataset
,Tooltips
,TreeMapDataset
,TypedDataset
,VerticalLineDataset
public interface HasAnimationOptions extends IsDefaultAnimationContainer
Defines a configuration element which is managing the animation options items, ANIMATION, ANIMATIONS and TRANSITIONS.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Animation
getAnimation()
Returns the animation element.AnimationContainer
getAnimationContainer()
Returns an animation container instance to use in the default methods of this interface.default Animations
getAnimations()
Returns the animations collection element.default Transitions
getTransitions()
Returns the animation transition element.default boolean
isAnimationEnabled()
Returnstrue
if animation is enabled, otherwisefalse
.default void
setAnimationEnabled(boolean enabled)
Enables or disables the animation.
-
-
-
Method Detail
-
getAnimationContainer
AnimationContainer getAnimationContainer()
Returns an animation container instance to use in the default methods of this interface.- Returns:
- an animation container instance
-
getAnimation
default Animation getAnimation()
Returns the animation element.- Specified by:
getAnimation
in interfaceIsDefaultAnimationTransition
- Returns:
- the animation
-
getAnimations
default Animations getAnimations()
Returns the animations collection element.- Specified by:
getAnimations
in interfaceIsDefaultAnimationTransition
- Returns:
- the animations collection
-
getTransitions
default Transitions getTransitions()
Returns the animation transition element.- Specified by:
getTransitions
in interfaceIsDefaultAnimationContainer
- Returns:
- the animation transition
-
setAnimationEnabled
default void setAnimationEnabled(boolean enabled)
Enables or disables the animation.- Parameters:
enabled
- iftrue
the animation is enabled otherwisefalse
to disable it.
-
isAnimationEnabled
default boolean isAnimationEnabled()
Returnstrue
if animation is enabled, otherwisefalse
.- Returns:
true
if animation is enabled, otherwisefalse
-
-