* Class to access protected methods in Animation. \r
*/\r
public static abstract class GQAnimation extends Animation {\r
+ \r
+ protected Element e;\r
+ \r
protected void onStart() {\r
super.onStart();\r
}\r
protected void onComplete() {\r
+ $(e).remove(ACTUAL_ANIMATION);\r
super.onComplete();\r
}\r
}\r
public void cancel(Element e) {\r
Animation anim = (Animation) data(e, ACTUAL_ANIMATION, null);\r
if (anim != null) {\r
+ remove(ACTUAL_ANIMATION);\r
anim.cancel();\r
}\r
}\r
return new Fx(key, val, start, end, unit, rkey);\r
}\r
\r
- private Element e;\r
private Easing easing = Easing.SWING;\r
private JsObjectArray<Fx> effects = JsObjectArray.create();\r
private Function[] funcs;\r