|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.effects.Transition
pivot.wtk.skin.terra.TerraTabPaneSkin.ExpandTransition
public class TerraTabPaneSkin.ExpandTransition
Field Summary |
---|
Fields inherited from class pivot.wtk.effects.Transition |
---|
DEFAULT_DURATION, DEFAULT_RATE |
Constructor Summary | |
---|---|
TerraTabPaneSkin.ExpandTransition(boolean collapse,
int duration,
int rate)
|
Method Summary | |
---|---|
float |
getScale()
|
void |
start(TransitionListener transitionListener)
Starts the transition. |
void |
stop()
Stops the transition. |
protected void |
update()
Called repeatedly while the transition is running to update the transition's state. |
Methods inherited from class pivot.wtk.effects.Transition |
---|
end, getCurrentTime, getDuration, getElapsedTime, getInterval, getPercentComplete, getRate, getStartTime, isRunning, setDuration, setRate, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TerraTabPaneSkin.ExpandTransition(boolean collapse, int duration, int rate)
Method Detail |
---|
public float getScale()
public void start(TransitionListener transitionListener)
Transition
Transition.update()
to establish the
initial state and starts a timer that will repeatedly call
Transition.update()
at the current rate. The specified
TransitionListener will be notified when the transition
completes.
start
in class Transition
transitionListener
- The listener to get notified when the transition completes, or
null if no notification is necessarypublic void stop()
Transition
TransitionListener.transitionCompleted(Transition)
event.
stop
in class Transition
protected void update()
Transition
update
in class Transition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |