public abstract static class CellTree.NodeAnimation extends Animation
Constructor and Description |
---|
NodeAnimation() |
Modifier and Type | Method and 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.
|
public int getDuration()
setDuration(int)
public void setDuration(int duration)
duration
- the duration in millisecondsgetDuration()
abstract void animate(CellTreeNodeView<?> node, boolean isAnimationEnabled)
node
- the node to animateisAnimationEnabled
- true to animate