public class VisibleRangeAnimator extends java.lang.Object implements IVisibleRangeAnimator, android.animation.Animator.AnimatorListener, android.animation.ValueAnimator.AnimatorUpdateListener
LogarithmicNumericAxis
.Modifier and Type | Field and Description |
---|---|
protected android.animation.ValueAnimator |
animator |
protected IAxisCore |
axis |
Constructor and Description |
---|
VisibleRangeAnimator() |
Modifier and Type | Method and Description |
---|---|
void |
animate(com.scichart.data.model.IRange to,
long duration)
Animates VisibleRange to specified range
|
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 IAxisCore axis
protected final android.animation.ValueAnimator animator
public final boolean isAnimating()
IVisibleRangeAnimator
isAnimating
in interface IVisibleRangeAnimator
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(com.scichart.data.model.IRange to, long duration)
IVisibleRangeAnimator
animate
in interface IVisibleRangeAnimator
to
- The IRange
instance to animate toduration
- The duration of animation in millisecondspublic void cancelAnimation()
IVisibleRangeAnimator
cancelAnimation
in interface IVisibleRangeAnimator
public void attachTo(@NonNull 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