Class WizardModel
- java.lang.Object
-
- com.evolveum.midpoint.gui.api.component.wizard.WizardModel
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
public class WizardModel extends Object implements org.apache.wicket.util.io.IClusterable
Created by Viliam Repan (lazyman).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_STEP
-
Constructor Summary
Constructors Constructor Description WizardModel(@NotNull List<WizardStep> steps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWizardListener(@NotNull WizardListener listener)
protected void
fireActiveStepChanged(WizardStep step)
protected void
fireWizardCancelled()
protected void
fireWizardFinished()
WizardStep
getActiveStep()
int
getActiveStepIndex()
org.apache.wicket.Component
getHeader()
WizardStep
getNextPanel()
org.apache.wicket.Component
getPanel()
List<WizardStep>
getSteps()
boolean
hasNext()
boolean
hasPrevious()
void
init(org.apache.wicket.Page page)
void
next()
void
previous()
void
removeWizardListener(@NotNull WizardListener listener)
void
setActiveStepById(String id)
void
setPanel(WizardPanel panel)
-
-
-
Field Detail
-
PARAM_STEP
public static final String PARAM_STEP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WizardModel
public WizardModel(@NotNull @NotNull List<WizardStep> steps)
-
-
Method Detail
-
addWizardListener
public void addWizardListener(@NotNull @NotNull WizardListener listener)
-
removeWizardListener
public void removeWizardListener(@NotNull @NotNull WizardListener listener)
-
fireActiveStepChanged
protected final void fireActiveStepChanged(WizardStep step)
-
fireWizardCancelled
protected final void fireWizardCancelled()
-
fireWizardFinished
protected final void fireWizardFinished()
-
init
public void init(org.apache.wicket.Page page)
-
getPanel
public org.apache.wicket.Component getPanel()
-
getHeader
public org.apache.wicket.Component getHeader()
-
setPanel
public void setPanel(WizardPanel panel)
-
getSteps
public List<WizardStep> getSteps()
-
getActiveStep
public WizardStep getActiveStep()
-
setActiveStepById
public void setActiveStepById(String id)
-
getActiveStepIndex
public int getActiveStepIndex()
-
hasNext
public boolean hasNext()
-
next
public void next()
-
hasPrevious
public boolean hasPrevious()
-
previous
public void previous()
-
getNextPanel
public WizardStep getNextPanel()
-
-