GWT 2.3.0

com.google.gwt.user.cellview.client
Class CellTree.RevealAnimation

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

public static class CellTree.RevealAnimation
extends CellTree.NodeAnimation

A CellTree.NodeAnimation that reveals the contents of child nodes.


Method Summary
static CellTree.RevealAnimation create()
          Create a new CellTree.RevealAnimation.
protected  void onComplete()
          Called immediately after the animation completes.
protected  void onStart()
          Called immediately before the animation starts.
protected  void onUpdate(double progress)
          Called when the animation should be updated.
 
Methods inherited from class com.google.gwt.user.cellview.client.CellTree.NodeAnimation
getDuration, setDuration
 
Methods inherited from class com.google.gwt.animation.client.Animation
cancel, interpolate, onCancel, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static CellTree.RevealAnimation create()
Create a new CellTree.RevealAnimation.

Returns:
the new animation

onComplete

protected void onComplete()
Description copied from class: Animation
Called immediately after the animation completes.

Overrides:
onComplete in class Animation

onStart

protected void onStart()
Description copied from class: Animation
Called immediately before the animation starts.

Overrides:
onStart in class Animation

onUpdate

protected void onUpdate(double progress)
Description copied from class: Animation
Called when the animation should be updated. The value of progress is between 0.0 and 1.0 (inclusive) (unless you override the Animation.interpolate(double) method to provide a wider range of values). You can override Animation.onStart() and Animation.onComplete() to perform setup and tear down procedures.

Specified by:
onUpdate in class Animation
Parameters:
progress - a double, normally between 0.0 and 1.0 (inclusive)

GWT 2.3.0