abstractpublic class AbstractWizardModel implements WizardModel(Code)
This class provides a base for implementors of
WizardModel . It provides the basic
PropertyChangeListener management and fires the appropriate events when the various
properties are changed.
Checks if the last button should be displayed. This method should only return true if
the
AbstractWizardModel.isLastAvailable will return true at any point. Returning false will prevent
the last button from appearing on the wizard at all.
true if the previou last should be displayed, false otherwise.
Removes a
PropertyChangeListener from this model.
Parameters: propertyName - the property to stop listening to. Parameters: listener - the listener to remove.
Provided for subclasses to change the current step in response to a call to
AbstractWizardModel.nextStep or its related methods.
Parameters: activeStep - the new step.
Configures if the last button should be enabled.
Parameters: lastAvailable - true to enable the last button, false otherwise.
setLastVisible
public void setLastVisible(boolean lastVisible)(Code)
Configures if the last button should be displayed.
Parameters: lastVisible - true to display the last button, false otherwise. See Also:AbstractWizardModel.isLastVisible