public interface Step
Modifier and Type | Method and Description |
---|---|
void |
activate(java.io.Serializable state,
WizardStates allStepsStates,
StepStatusChangedListener stepListener)
activate the step, the serializable state is the current state of the
step,
|
java.lang.String |
getDetails()
get a small explaination of the step
|
java.lang.String |
getId()
get id of the step (for state persistance)
|
java.lang.String |
getLabel()
Current step label
|
javax.swing.Icon |
getPageImage()
get the step icon, if return null, the default image is used
|
Step |
getParentStep()
get the parent step
|
boolean |
isStepCompleted()
can we go to the next element, in other terms, do we have all the
elements to go further
|
void |
setParentStep(Step parent)
set the parent step
|
java.io.Serializable |
unActivateAndGetSavedState()
unactivate the wizzard, and save the step state in the given state
|
java.lang.String getId()
Step getParentStep()
void setParentStep(Step parent)
parent
- java.lang.String getLabel()
void activate(java.io.Serializable state, WizardStates allStepsStates, StepStatusChangedListener stepListener) throws java.lang.Exception
state
- the initial state to fill the panelallStepsStates
- get all the steps permitting to gather information about
previous panelsstepListener
- a listener that must be called for status changedjava.lang.Exception
java.io.Serializable unActivateAndGetSavedState() throws java.lang.Exception
java.lang.Exception
boolean isStepCompleted()
java.lang.String getDetails()
javax.swing.Icon getPageImage()