|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWizardStep
Models one step in a wizard, and is the equivalent of one panel in a wizard from an end-user's perspective.
Typically, you would extend panel based wizard steps and provide a custom
panel for the step instead of directly implementing this interface.
Swing Wizard Framework served as a valuable source of inspiration.
| Method Summary | |
|---|---|
void |
applyState()
This method is called whenever the user presses next while this step is active. |
org.apache.wicket.Component |
getHeader(java.lang.String id,
org.apache.wicket.Component parent,
IWizard wizard)
Gets the header component for this step. |
org.apache.wicket.Component |
getView(java.lang.String id,
org.apache.wicket.Component parent,
IWizard wizard)
Returns the current view this step is displaying. |
void |
init(IWizardModel wizardModel)
Initializes this step with the model it will belong to. |
boolean |
isComplete()
Checks if this step is compete. |
| Method Detail |
|---|
void applyState()
This method will only be called if IWizardModel.isNextAvailable() and
isComplete() return true.
org.apache.wicket.Component getHeader(java.lang.String id,
org.apache.wicket.Component parent,
IWizard wizard)
id - The id that the component should be created withparent - The parent component (for post 1.2)wizard - The wizard component the header will be placed on
org.apache.wicket.Component getView(java.lang.String id,
org.apache.wicket.Component parent,
IWizard wizard)
id - The id that the component should be created withparent - The parent component (for post 1.2)wizard - The wizard component the header will be placed on
void init(IWizardModel wizardModel)
wizardModel - the owning wizard modelboolean isComplete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||