info.magnolia.ui.vaadin.gwt.client.magnoliashell.viewport.animation
Class JQueryAnimation

java.lang.Object
  extended by com.google.gwt.animation.client.Animation
      extended by info.magnolia.ui.vaadin.gwt.client.magnoliashell.viewport.animation.JQueryAnimation
Direct Known Subclasses:
FadeAnimation, SlideAnimation

public class JQueryAnimation
extends com.google.gwt.animation.client.Animation

GWT Animation wrapper for JQuery Animations.


Constructor Summary
JQueryAnimation()
           
JQueryAnimation(com.vaadin.client.ApplicationConnection connection)
           
 
Method Summary
 void addCallback(JQueryCallback callback)
           
 void cancel()
           
 void clearTopAfterThisAnimation()
           
 com.google.gwt.dom.client.Element getCurrentElement()
           
protected  JQueryWrapper getJQueryWrapper()
           
 boolean isRunning()
           
protected  void onComplete()
           
protected  void onStart()
           
protected  void onUpdate(double progress)
           
 void run(int duration, double startTime, com.google.gwt.dom.client.Element element)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class com.google.gwt.animation.client.Animation
interpolate, onCancel, run, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JQueryAnimation

public JQueryAnimation(com.vaadin.client.ApplicationConnection connection)

JQueryAnimation

public JQueryAnimation()
Method Detail

setProperty

public void setProperty(String property,
                        Object value)

addCallback

public void addCallback(JQueryCallback callback)

clearTopAfterThisAnimation

public void clearTopAfterThisAnimation()

run

public void run(int duration,
                double startTime,
                com.google.gwt.dom.client.Element element)
Overrides:
run in class com.google.gwt.animation.client.Animation

getJQueryWrapper

protected JQueryWrapper getJQueryWrapper()

onUpdate

protected void onUpdate(double progress)
Specified by:
onUpdate in class com.google.gwt.animation.client.Animation

cancel

public void cancel()
Overrides:
cancel in class com.google.gwt.animation.client.Animation

onStart

protected void onStart()
Overrides:
onStart in class com.google.gwt.animation.client.Animation

onComplete

protected void onComplete()
Overrides:
onComplete in class com.google.gwt.animation.client.Animation

isRunning

public boolean isRunning()
Overrides:
isRunning in class com.google.gwt.animation.client.Animation

getCurrentElement

public com.google.gwt.dom.client.Element getCurrentElement()


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.