public class SlideTransition extends Transition
DEFAULT_FPS, DEFAULT_T, DIR_DOWN, DIR_LEFT, DIR_RIGHT, DIR_UP
Constructor | Description |
---|---|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFPS, getTotalTransitionTime, setFPS, setTotalTransitionTime, start
public SlideTransition(TransitionManager transitionManager)
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
)transitionManager
- the transition manager to be used to manage transitionspublic SlideTransition(TransitionManager transitionManager, long fps, long T)
transitionManager
- the transition manager to be used to manage transitionsfps
- number of frames per secondT
- the total time the transition effect will take in milliseconds