com.bws42.wizard
Interface WizardFactory

All Superinterfaces:
Multilingual
All Known Implementing Classes:
ExampleWizardFactory

public interface WizardFactory
extends Multilingual

Classes implementing this interface are responsible for providing the wizard with the correct next/previous panel given the information stored in the WizardObject.

Version:
1.0, October 4, 2006
Author:
William P. Roberts, IV

Method Summary
 WizardPanel getPanel(WizardObject wizObj)
          Returns a panel in the sequence.
 WizardPanel getStartPanel()
          Returns the starting panel for the wizard.
 
Methods inherited from interface com.bws42.wizard.Multilingual
setLanguageLoader
 

Method Detail

getPanel

public WizardPanel getPanel(WizardObject wizObj)
Returns a panel in the sequence. Use the position stored in the WizardObject to determin your location.

Parameters:
wizObj - the WizardObject in use
Returns:
the appropriate panel

getStartPanel

public WizardPanel getStartPanel()
Returns the starting panel for the wizard. This is done separately to ensure a safe starting place.

Returns:
the starting panel