Class CellTree.NodeAnimation

java.lang.Object
com.google.gwt.animation.client.Animation
com.google.gwt.user.cellview.client.CellTree.NodeAnimation
Direct Known Subclasses:
CellTree.RevealAnimation
Enclosing class:
CellTree

public abstract static class CellTree.NodeAnimation extends Animation
A node animation.
  • Constructor Details

    • NodeAnimation

      NodeAnimation()
  • Method Details

    • getDuration

      public int getDuration()
      Return the duration of the animation in milliseconds.
      See Also:
    • setDuration

      public void setDuration(int duration)
      Set the duration of the animation in milliseconds.
      Parameters:
      duration - the duration in milliseconds
      See Also:
    • animate

      abstract void animate(CellTreeNodeView<?> node, boolean isAnimationEnabled)
      Animate a tree node into its new state.
      Parameters:
      node - the node to animate
      isAnimationEnabled - true to animate