org.jdesktop.animation.transitions
Interface TransitionTarget


public interface TransitionTarget

This interface is implemented by the "target" of ScreenTransition. This target will be called by ScreenTransition during the transition setup process, so that the application can modify the application state appropriately.


Method Summary
 void setupNextScreen()
          This method is called during the start method of TransitionPanel.
 

Method Detail

setupNextScreen

void setupNextScreen()
This method is called during the start method of TransitionPanel.

Implementors will change the UI in their transition container in this method. This tells ScreenTransition the end-state of the components for the upcoming transition. After this method is complete, ScreenTransition has the information it needs to run the transition and the animation will begin.

See Also:
ScreenTransition.ScreenTransition(JComponent, TransitionTarget, int), ScreenTransition.ScreenTransition(JComponent, TransitionTarget, Animator)