org.cruxframework.crux.core.client.animation
Class VerticalMotionAnimation

java.lang.Object
  extended by com.google.gwt.animation.client.Animation
      extended by org.cruxframework.crux.core.client.animation.VerticalMotionAnimation

Deprecated.

@Deprecated
public class VerticalMotionAnimation
extends com.google.gwt.animation.client.Animation

Simple vertical motion animation

Author:
Gesse Dafe

Constructor Summary
VerticalMotionAnimation(com.google.gwt.dom.client.Element element)
          Deprecated. Constructor
 
Method Summary
 void move(int startTop, int finalTop, int milliseconds)
          Deprecated. Move the animated element from start position to final position
protected  void onComplete()
          Deprecated.  
protected  void onUpdate(double progress)
          Deprecated.  
 
Methods inherited from class com.google.gwt.animation.client.Animation
cancel, interpolate, isRunning, onCancel, onStart, run, run, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalMotionAnimation

public VerticalMotionAnimation(com.google.gwt.dom.client.Element element)
Deprecated. 
Constructor

Parameters:
element - Element to be animated
Method Detail

move

public void move(int startTop,
                 int finalTop,
                 int milliseconds)
Deprecated. 
Move the animated element from start position to final position

Parameters:
startLeft - start top position
finalLeft - final top position
milliseconds - animation duration

onUpdate

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

onComplete

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


Copyright © 2014. All rights reserved.