Class CmsMoveAnimation


  • public class CmsMoveAnimation
    extends A_CmsAnimation
    Move animation. Moving the given element from it's start to it's end position and executing the given call-back on complete.

    Since:
    8.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsMoveAnimation​(com.google.gwt.dom.client.Element element, int startTop, int startLeft, int endTop, int endLeft, com.google.gwt.user.client.Command callback)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onUpdate​(double progress)  
      • 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

      • CmsMoveAnimation

        public CmsMoveAnimation​(com.google.gwt.dom.client.Element element,
                                int startTop,
                                int startLeft,
                                int endTop,
                                int endLeft,
                                com.google.gwt.user.client.Command callback)
        Constructor. Setting the element to animate, it's start and end position.

        Parameters:
        element - the element
        startTop - the start top
        startLeft - the start left
        endTop - the end top
        endLeft - the end left
        callback - the call-back to execute on complete
    • Method Detail

      • onUpdate

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