Class CellTree.SlideAnimation
java.lang.Object
com.google.gwt.animation.client.Animation
com.google.gwt.user.cellview.client.CellTree.NodeAnimation
com.google.gwt.user.cellview.client.CellTree.RevealAnimation
com.google.gwt.user.cellview.client.CellTree.SlideAnimation
- Enclosing class:
- CellTree
A
CellTree.NodeAnimation that slides children into view.-
Field Summary
Fields inherited from class com.google.gwt.user.cellview.client.CellTree.RevealAnimation
contentContainer, height, opening -
Method Summary
Modifier and TypeMethodDescriptionstatic CellTree.SlideAnimationcreate()Create a newCellTree.RevealAnimation.protected voidCalled immediately after the animation completes.protected voidonStart()Called immediately before the animation starts.protected voidonUpdate(double progress) Called when the animation should be updated.Methods inherited from class com.google.gwt.user.cellview.client.CellTree.RevealAnimation
animateMethods inherited from class com.google.gwt.user.cellview.client.CellTree.NodeAnimation
getDuration, setDuration
-
Method Details
-
create
Create a newCellTree.RevealAnimation.- Returns:
- the new animation
-
onComplete
protected void onComplete()Description copied from class:AnimationCalled immediately after the animation completes.- Overrides:
onCompletein classCellTree.RevealAnimation
-
onStart
protected void onStart()Description copied from class:AnimationCalled immediately before the animation starts.- Overrides:
onStartin classCellTree.RevealAnimation
-
onUpdate
protected void onUpdate(double progress) Description copied from class:AnimationCalled when the animation should be updated. The value of progress is between 0.0 and 1.0 (inclusive) (unless you override theAnimation.interpolate(double)method to provide a wider range of values). There is no guarantee thatAnimation.onUpdate(double)is called with 0.0 or 1.0. If you need to perform setup or tear down procedures, you can overrideAnimation.onStart()andAnimation.onComplete().- Overrides:
onUpdatein classCellTree.RevealAnimation- Parameters:
progress- a double, normally between 0.0 and 1.0 (inclusive)
-