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 Summary
Constructors Constructor Description NodeAnimation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract void
animate(CellTreeNodeView<?> node, boolean isAnimationEnabled)
Animate a tree node into its new state.int
getDuration()
Return the duration of the animation in milliseconds.void
setDuration(int duration)
Set the duration of the animation in milliseconds.
-
-
-
Method Detail
-
getDuration
public int getDuration()
Return the duration of the animation in milliseconds.- See Also:
setDuration(int)
-
setDuration
public void setDuration(int duration)
Set the duration of the animation in milliseconds.- Parameters:
duration
- the duration in milliseconds- See Also:
getDuration()
-
animate
abstract void animate(CellTreeNodeView<?> node, boolean isAnimationEnabled)
Animate a tree node into its new state.- Parameters:
node
- the node to animateisAnimationEnabled
- true to animate
-
-