org.eclipse.nebula.effects.stw.transitions
Class SlideTransition

java.lang.Object
  extended by org.eclipse.nebula.effects.stw.Transition
      extended by org.eclipse.nebula.effects.stw.transitions.SlideTransition

public class SlideTransition
extends Transition

Applies a slide effect. The from control slides out and the the to control slides in smoothly accelerating up then down after a while until it stops.

Author:
Ahmed Mahran (ahmahran@gmail.com)

Field Summary
 
Fields inherited from class org.eclipse.nebula.effects.stw.Transition
DEFAULT_FPS, DEFAULT_T, DIR_DOWN, DIR_LEFT, DIR_RIGHT, DIR_UP
 
Constructor Summary
SlideTransition(TransitionManager transitionManager)
          This constructor creates a SlideTransition with number of frames per second of Transition.DEFAULT_FPS and total transition time of Transition.DEFAULT_T milliseconds.
SlideTransition(TransitionManager transitionManager, long fps, long T)
          This constructor creates a SlideTransition with fps number of frames per second and T total transition time in milliseconds.
 
Method Summary
 
Methods inherited from class org.eclipse.nebula.effects.stw.Transition
getFPS, getTotalTransitionTime, setFPS, setTotalTransitionTime, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideTransition

public SlideTransition(TransitionManager transitionManager)
This constructor creates a SlideTransition with number of frames per second of Transition.DEFAULT_FPS and total transition time of Transition.DEFAULT_T milliseconds. It is similar to new SlideTransition(transitionManager, Transition.DEFAULT_FPS, Transition.DEFAULT_T)

Parameters:
transitionManager - the transition manager to be used to manage transitions

SlideTransition

public SlideTransition(TransitionManager transitionManager,
                       long fps,
                       long T)
This constructor creates a SlideTransition with fps number of frames per second and T total transition time in milliseconds.

Parameters:
transitionManager - the transition manager to be used to manage transitions
fps - number of frames per second
T - the total time the transition effect will take in milliseconds