public class

GrowHorizontalAnimationCreator

extends Object
implements SeriesAnimationCreator<T, U>
java.lang.Object
   ↳ com.shinobicontrols.charts.GrowHorizontalAnimationCreator

Class Overview

Creates Animation objects that animate the getScaleX() property of a Series. The createEntryAnimation(Series) method creates an Animation that makes the series appear to grow in the horizontal direction from its getPivotX() to full scale, while the createExitAnimation(Series) method creates an Animation that makes the series appear to shrink in the horizontal direction from full scale to its getPivotX().

This SeriesAnimationCreator will automatically assign appropriate Animation.Listener objects to the Animation to make the Series animate as described above. In order to make the Series animate from its baseline, its getPivotX() value should be set to null.

This is the default SeriesAnimationCreator as returned by newDefaultSeriesAnimationCreator(Class) for BarSeries.

Summary

Public Constructors
GrowHorizontalAnimationCreator()
Public Methods
Animation<Float> createEntryAnimation(Series<?> series)
Creates an Animation that animates a given Series' getScaleX() value from 0.0 to 1.0, making it appear to grow in the horizontal direction from its getPivotX().
Animation<Float> createExitAnimation(Series<?> series)
Creates an Animation that animates a given Series' getScaleX() value from 1.0 to 0.0, making it appear to shrink in the horizontal direction to its getPivotX().
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.shinobicontrols.charts.SeriesAnimationCreator

Public Constructors

public GrowHorizontalAnimationCreator ()

Public Methods

public Animation<Float> createEntryAnimation (Series<?> series)

Creates an Animation that animates a given Series' getScaleX() value from 0.0 to 1.0, making it appear to grow in the horizontal direction from its getPivotX().

Parameters
series the Series to create the Animation for
Returns

public Animation<Float> createExitAnimation (Series<?> series)

Creates an Animation that animates a given Series' getScaleX() value from 1.0 to 0.0, making it appear to shrink in the horizontal direction to its getPivotX().

Parameters
series the Series to create the Animation for
Returns