|
GWT 2.5.0.rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.animation.client.Animation
com.google.gwt.user.cellview.client.CellTree.NodeAnimation
com.google.gwt.user.cellview.client.CellTree.RevealAnimation
public static class CellTree.RevealAnimation
A CellTree.NodeAnimation that reveals the contents of child nodes.
| Field Summary | |
|---|---|
(package private) Element |
contentContainer
The container that holds the content, includind the children. |
(package private) int |
height
The target height when opening, the start height when closing. |
(package private) boolean |
opening
True if the node is opening, false if closing. |
| Method Summary | |
|---|---|
(package private) void |
animate(CellTreeNodeView<?> node,
boolean isAnimationEnabled)
Animate a CellTreeNodeView into its new state. |
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. |
| Methods inherited from class com.google.gwt.user.cellview.client.CellTree.NodeAnimation |
|---|
getDuration, setDuration |
| Methods inherited from class com.google.gwt.animation.client.Animation |
|---|
cancel, interpolate, onCancel, run, run, run, run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Element contentContainer
int height
boolean opening
| Method Detail |
|---|
public static CellTree.RevealAnimation create()
CellTree.RevealAnimation.
protected void onComplete()
Animation
onComplete in class Animationprotected void onStart()
Animation
onStart in class Animationprotected void onUpdate(double progress)
AnimationAnimation.interpolate(double) method to provide a wider range
of values). You can override Animation.onStart() and Animation.onComplete()
to perform setup and tear down procedures.
onUpdate in class Animationprogress - a double, normally between 0.0 and 1.0 (inclusive)
void animate(CellTreeNodeView<?> node,
boolean isAnimationEnabled)
CellTreeNodeView into its new state.
animate in class CellTree.NodeAnimationnode - the CellTreeNodeView to animateisAnimationEnabled - true to animate
|
GWT 2.5.0.rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||