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

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

Deprecated.

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

Simple horizontal motion animation.

Author:
Gesse Dafe

Constructor Summary
HorizontalMotionAnimation(com.google.gwt.dom.client.Element element)
          Deprecated. Constructor
 
Method Summary
 void move(int startLeft, int finalLeft, 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

HorizontalMotionAnimation

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

Parameters:
element - Element to be animated
Method Detail

move

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

Parameters:
startLeft - start left position
finalLeft - final left 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.