public static class CellTree.RevealAnimation extends CellTree.NodeAnimation
CellTree.NodeAnimation
that reveals the contents of child nodes.Modifier and Type | Method and Description |
---|---|
static CellTree.RevealAnimation |
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.RevealAnimation create()
CellTree.RevealAnimation
.protected void onComplete()
Animation
onComplete
in class Animation
protected void onStart()
Animation
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()
.Copyright © 2018. All rights reserved.