Interface IWizardModel

All Superinterfaces:
IClusterable, Serializable
All Known Implementing Classes:
AbstractWizardModel, DynamicWizardModel, WizardModel

public interface IWizardModel extends IClusterable
This interface defines the model for wizards. This model knows about the wizard's steps and the transitions between them, and it holds a reference to the currently active step. It might function as a generic state holder for the wizard too, though you might find it more convenient to use the wizard component itself for that, or even an external model.

wizard model listeners can be registered to be notified of important events (changing the active step) using the add listener method.

Typically, you would use the default implementation of this interface, but if you need to do more sophisticated stuff, like branching etc, you can consider creating your own implementation. In that case, it is recommended you start by extending from AbstractWizardModel.

Swing Wizard Framework served as a valuable source of inspiration.

Eelco Hillenius
See Also: