public static class CellTree.SlideAnimation extends CellTree.RevealAnimation
CellTree.NodeAnimation that slides children into view.contentContainer, height, opening| Modifier and Type | Method and Description |
|---|---|
static CellTree.SlideAnimation |
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.
|
animategetDuration, setDurationpublic static CellTree.SlideAnimation create()
CellTree.RevealAnimation.protected void onComplete()
AnimationonComplete in class CellTree.RevealAnimationprotected void onStart()
AnimationonStart in class CellTree.RevealAnimationprotected void onUpdate(double progress)
AnimationAnimation.interpolate(double) method to provide a wider range
of values). There is no guarantee that Animation.onUpdate(double) is called
with 0.0 or 1.0.
If you need to perform setup or tear down procedures, you can override
Animation.onStart() and Animation.onComplete().onUpdate in class CellTree.RevealAnimationprogress - a double, normally between 0.0 and 1.0 (inclusive)