public class ChartAnimationGroup extends Object implements ChartAnimation, Runnable
Constructor and Description |
---|
ChartAnimationGroup(ChartSeries series) |
Modifier and Type | Method and Description |
---|---|
void |
addAnimation(ChartAnimation animation) |
void |
addAnimationFinishedListener(ChartAnimationFinishedListener listener) |
long |
getDuration() |
long |
getInitialDelay() |
Interpolator |
getInterpolator() |
ChartSeries |
getSeries() |
void |
removeAnimation(ChartAnimation animation) |
void |
removeAnimationFinishedListener(ChartAnimationFinishedListener listener) |
void |
run() |
void |
setDuration(long value) |
void |
setInitialDelay(long value) |
void |
setInitialValues(SeriesAnimationView view) |
void |
setInterpolator(Interpolator value) |
void |
setSequenceMode(ChartAnimationSequenceMode value) |
ViewPropertyAnimatorCompat |
start(SeriesAnimationView viewToAnimate) |
public ChartAnimationGroup(ChartSeries series)
public void addAnimation(ChartAnimation animation)
public void removeAnimation(ChartAnimation animation)
public void setSequenceMode(ChartAnimationSequenceMode value)
public ViewPropertyAnimatorCompat start(SeriesAnimationView viewToAnimate)
start
in interface ChartAnimation
public void setInitialValues(SeriesAnimationView view)
setInitialValues
in interface ChartAnimation
public void setDuration(long value)
setDuration
in interface ChartAnimation
public long getDuration()
getDuration
in interface ChartAnimation
public void setInterpolator(Interpolator value)
setInterpolator
in interface ChartAnimation
public Interpolator getInterpolator()
getInterpolator
in interface ChartAnimation
public void setInitialDelay(long value)
setInitialDelay
in interface ChartAnimation
public long getInitialDelay()
getInitialDelay
in interface ChartAnimation
public ChartSeries getSeries()
getSeries
in interface ChartAnimation
public void addAnimationFinishedListener(ChartAnimationFinishedListener listener)
addAnimationFinishedListener
in interface ChartAnimation
public void removeAnimationFinishedListener(ChartAnimationFinishedListener listener)
removeAnimationFinishedListener
in interface ChartAnimation