org.apache.pivot.wtk.skin.terra
Class TerraAccordionSkin.SelectionChangeTransition

java.lang.Object
  extended by org.apache.pivot.wtk.effects.Transition
      extended by org.apache.pivot.wtk.skin.terra.TerraAccordionSkin.SelectionChangeTransition
Enclosing class:
TerraAccordionSkin

public class TerraAccordionSkin.SelectionChangeTransition
extends Transition


Field Summary
 Component fromPanel
           
 Component toPanel
           
 
Constructor Summary
TerraAccordionSkin.SelectionChangeTransition(Component fromPanel, Component toPanel)
           
 
Method Summary
 float getEasedPercentComplete()
           
 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 org.apache.pivot.wtk.effects.Transition
end, getCurrentTime, getDuration, getElapsedTime, getInterval, getPercentComplete, getRate, getStartTime, isRepeating, isReversed, isRunning, reverse, setDuration, setRate, setReversed, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromPanel

public final Component fromPanel

toPanel

public final Component toPanel
Constructor Detail

TerraAccordionSkin.SelectionChangeTransition

public TerraAccordionSkin.SelectionChangeTransition(Component fromPanel,
                                                    Component toPanel)
Method Detail

getEasedPercentComplete

public float getEasedPercentComplete()

start

public void start(TransitionListener transitionListener)
Description copied from class: Transition
Starts the transition. Calls 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.

Overrides:
start in class Transition
Parameters:
transitionListener - The listener to get notified when the transition completes, or null if no notification is necessary

stop

public void stop()
Description copied from class: Transition
Stops the transition. Does not fire a TransitionListener.transitionCompleted(Transition) event.

Overrides:
stop in class Transition

update

protected void update()
Description copied from class: Transition
Called repeatedly while the transition is running to update the transition's state.

Specified by:
update in class Transition