public abstract class ChartAnimationBase extends Object implements ChartAnimation, Runnable
Constructor and Description |
---|
ChartAnimationBase() |
ChartAnimationBase(ChartSeries series) |
Modifier and Type | Method and Description |
---|---|
void |
addAnimationFinishedListener(ChartAnimationFinishedListener listener) |
long |
getDuration() |
long |
getInitialDelay() |
Interpolator |
getInterpolator() |
ChartSeries |
getSeries() |
void |
removeAnimationFinishedListener(ChartAnimationFinishedListener listener) |
void |
run() |
void |
setDuration(long value) |
void |
setInitialDelay(long value) |
void |
setInterpolator(Interpolator value) |
ViewPropertyAnimatorCompat |
start(SeriesAnimationView viewToAnimate) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setInitialValues
public ChartAnimationBase()
public ChartAnimationBase(ChartSeries series)
public ChartSeries getSeries()
getSeries
in interface ChartAnimation
public void setDuration(long value)
setDuration
in interface ChartAnimation
public void setInterpolator(Interpolator value)
setInterpolator
in interface ChartAnimation
public void setInitialDelay(long value)
setInitialDelay
in interface ChartAnimation
public long getDuration()
getDuration
in interface ChartAnimation
public Interpolator getInterpolator()
getInterpolator
in interface ChartAnimation
public long getInitialDelay()
getInitialDelay
in interface ChartAnimation
public ViewPropertyAnimatorCompat start(SeriesAnimationView viewToAnimate)
start
in interface ChartAnimation
public void addAnimationFinishedListener(ChartAnimationFinishedListener listener)
addAnimationFinishedListener
in interface ChartAnimation
public void removeAnimationFinishedListener(ChartAnimationFinishedListener listener)
removeAnimationFinishedListener
in interface ChartAnimation