Class A_CmsAnimation

java.lang.Object
com.google.gwt.animation.client.Animation
org.opencms.gwt.client.util.A_CmsAnimation
Direct Known Subclasses:
CmsChangeHeightAnimation, CmsFadeAnimation, CmsMoveAnimation, CmsSlideAnimation

public abstract class A_CmsAnimation extends com.google.gwt.animation.client.Animation
Abstract animation class.

Since:
8.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.gwt.user.client.Command
    The call-back function to execute on animation complete.
  • Constructor Summary

    Constructors
    Constructor
    Description
    A_CmsAnimation(com.google.gwt.user.client.Command callback)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.gwt.animation.client.Animation

    cancel, interpolate, isRunning, onCancel, onStart, onUpdate, run, run, run, run

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • m_callback

      protected com.google.gwt.user.client.Command m_callback
      The call-back function to execute on animation complete.
  • Constructor Details

    • A_CmsAnimation

      public A_CmsAnimation(com.google.gwt.user.client.Command callback)
      Constructor. Setting the call-back to be executed on animation complete.

      Parameters:
      callback - the call-back function
  • Method Details

    • onComplete

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