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
A node animation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) abstract void
animate
(CellTreeNodeView<?> node, boolean isAnimationEnabled) Animate a tree node into its new state.int
Return the duration of the animation in milliseconds.void
setDuration
(int duration) Set the duration of the animation in milliseconds.
-
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
Animate a tree node into its new state.- Parameters:
node
- the node to animateisAnimationEnabled
- true to animate
-