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.

    • Constructor Summary

      Constructor Description
      CmsMoveAnimation​( element, int startTop, int startLeft, int endTop, int endLeft, callback)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onUpdate​(double progress)  
      • Methods inherited from class

        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​( element,
                                int startTop,
                                int startLeft,
                                int endTop,
                                int endLeft,
        Constructor. Setting the element to animate, it's start and end position.

        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
        See Also: