public static class CellTree.SlideAnimation extends CellTree.RevealAnimation
CellTree.NodeAnimation
that slides children into view.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.
|
getDuration, setDuration
public static CellTree.SlideAnimation create()
CellTree.RevealAnimation
.protected void onComplete()
Animation
onComplete
in class CellTree.RevealAnimation
protected void onStart()
Animation
onStart
in class CellTree.RevealAnimation
protected void onUpdate(double progress)
Animation
Animation.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.RevealAnimation
progress
- a double, normally between 0.0 and 1.0 (inclusive)Copyright © 2018. All rights reserved.