public class PieDonutSeriesSweepAnimator extends java.lang.Object implements ISeriesAnimator, android.animation.Animator.AnimatorListener, android.animation.ValueAnimator.AnimatorUpdateListener
PieRenderableSeries
or DonutRenderableSeries
Modifier and Type | Field and Description |
---|---|
protected android.animation.ValueAnimator |
animator |
protected IPieRenderableSeries |
series |
Constructor and Description |
---|
PieDonutSeriesSweepAnimator()
Create new instance of
PieDonutSeriesSweepAnimator class. |
Modifier and Type | Method and Description |
---|---|
void |
animate(long duration)
Animates associated series with specified duration.
|
void |
animate(long duration,
android.animation.TimeInterpolator interpolator)
Animates associated series with specified duration.
|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
cancelAnimation()
Cancels running animation.
|
void |
detach() |
boolean |
isAnimating()
Gets the value indicating whether the animation is running.
|
boolean |
isAttached() |
void |
onAnimationCancel(android.animation.Animator animation) |
void |
onAnimationEnd(android.animation.Animator animation) |
void |
onAnimationRepeat(android.animation.Animator animation) |
void |
onAnimationStart(android.animation.Animator animation) |
void |
onAnimationUpdate(android.animation.ValueAnimator animation) |
protected IPieRenderableSeries series
protected android.animation.ValueAnimator animator
public PieDonutSeriesSweepAnimator()
PieDonutSeriesSweepAnimator
class.public final boolean isAnimating()
isAnimating
in interface ISeriesAnimator
public void onAnimationStart(android.animation.Animator animation)
onAnimationStart
in interface android.animation.Animator.AnimatorListener
public void onAnimationEnd(android.animation.Animator animation)
onAnimationEnd
in interface android.animation.Animator.AnimatorListener
public void onAnimationCancel(android.animation.Animator animation)
onAnimationCancel
in interface android.animation.Animator.AnimatorListener
public void onAnimationRepeat(android.animation.Animator animation)
onAnimationRepeat
in interface android.animation.Animator.AnimatorListener
public void onAnimationUpdate(android.animation.ValueAnimator animation)
onAnimationUpdate
in interface android.animation.ValueAnimator.AnimatorUpdateListener
public void animate(long duration)
animate
in interface ISeriesAnimator
duration
- The duration of animation in milliseconds.public void animate(long duration, android.animation.TimeInterpolator interpolator)
animate
in interface ISeriesAnimator
duration
- The duration of animation in milliseconds.interpolator
- The interpolator to be used by this animation. A value of null
will result in LinearInterpolator
public void cancelAnimation()
cancelAnimation
in interface ISeriesAnimator
public void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable