EchoPoint
1.0

echopoint.wizard
Interface WizardNavigationListener

All Superinterfaces:
java.util.EventListener

public interface WizardNavigationListener
extends java.util.EventListener

An interface that tells others when the WizardPane is switching between components. The implementors of this interface can throw a WizardNavigationVetoException to stop the navigation.


Method Summary
 void onNavigation(WizardNavigationEvent wizardEvent)
          Called when the user is about to navigate to a new wizard component or has requested to Cancel or Finish the wizard steps.
 

Method Detail

onNavigation

public void onNavigation(WizardNavigationEvent wizardEvent)
                  throws WizardNavigationVetoException
Called when the user is about to navigate to a new wizard component or has requested to Cancel or Finish the wizard steps.

The WizardNavigationListener is allows to set the selected index from within this method. The calling WizardPane will not override this value if it is different from the current selecetd index at the time this method is called.

It can also throw a WizardNavigationVetoException to prevent the navigation event taking place.

Throws:
WizardNavigationVetoException

EchoPoint
1.0