import { BarLineChartBase } from '../charts/BarLineChartBase'; import { Transformer } from '../utils/Transformer'; import { ViewPortHandler } from '../utils/ViewPortHandler'; import { ViewPortJob } from './ViewPortJob'; import { Tween } from '../animation/Tween'; export interface AnimatorUpdateListener { onAnimationUpdate(animation: Tween): any; } export interface AnimatorListener { onAnimationEnd(animation: Tween): any; onAnimationCancel(animation: Tween): any; } /** * Created by Philipp Jahoda on 19/02/16. */ export declare abstract class AnimatedViewPortJob extends ViewPortJob implements AnimatorUpdateListener, AnimatorListener { private duration; animator: Tween; phase: any; xOrigin: number; yOrigin: number; constructor(viewPortHandler: ViewPortHandler, xValue: any, yValue: any, trans: Transformer, v: BarLineChartBase, xOrigin: number, yOrigin: number, duration: number); createAnimator(duration: any): void; run(): void; abstract recycleSelf(): any; protected resetAnimator(): void; onAnimationStart(animation: Tween): void; onAnimationEnd(animation: Tween): void; onAnimationCancel(animation: Tween): void; onAnimationUpdate(animation: Tween): void; }