public final class WizardState extends Object implements Serializable
Constructor and Description |
---|
WizardState(WizardsConfigElement.WizardConfig config,
IWizardBean wizard)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
WizardsConfigElement.WizardConfig |
getConfig()
Returns the configuration for the current wizard
|
WizardsConfigElement.PageConfig |
getCurrentPageCfg()
Returns the configuration for the current page of the wizard
|
int |
getCurrentStep()
The current step the wizard is on
|
List<WizardsConfigElement.StepConfig> |
getSteps()
Returns the list of steps the wizard has
|
IWizardBean |
getWizard()
Returns the wizard bean instance
|
void |
setCurrentPageCfg(WizardsConfigElement.PageConfig currentPageCfg)
Sets the configuration for the current page of the wizard
|
void |
setCurrentStep(int currentStep)
Sets the current step the wizard is on
|
String |
toString() |
public WizardState(WizardsConfigElement.WizardConfig config, IWizardBean wizard)
config
- The configuration for the wizardwizard
- The wizard bean instancepublic void setCurrentPageCfg(WizardsConfigElement.PageConfig currentPageCfg)
currentPageCfg
- The configurationpublic void setCurrentStep(int currentStep)
currentStep
- The current step numberpublic IWizardBean getWizard()
public WizardsConfigElement.WizardConfig getConfig()
public WizardsConfigElement.PageConfig getCurrentPageCfg()
public int getCurrentStep()
public List<WizardsConfigElement.StepConfig> getSteps()
Copyright © 2005–2017 Alfresco Software. All rights reserved.