|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WizardModel
Models a sequence of steps.
Step
,
WizardModelListener
Method Summary | |
---|---|
void |
addWizardModelListener(WizardModelListener l)
Adds a listener for the back, next and finish actions. |
void |
cancelWizard()
Cancels the wizard. |
boolean |
contains(Step step)
Returns whether the sequence contains the given step. |
void |
finishWizard()
Finishes the wizard if possible. |
int |
getCurrentIndex()
Returns the index of the currently visible step in the sequence. |
Step |
getCurrentStep()
Returns the currently visible step. |
int |
getStepCount()
Returns the number of steps in this sequence. |
Step[] |
getSteps()
Returns the sequence of steps as a plain array. |
void |
goBack()
Requests that the previous step should be shown if possible. |
void |
goNext()
Requests that the next step should be shown if possible. |
void |
removeWizardModelListener(WizardModelListener l)
Removes a previously added listener. |
Method Detail |
---|
void addWizardModelListener(WizardModelListener l)
void removeWizardModelListener(WizardModelListener l)
Step getCurrentStep()
int getCurrentIndex()
boolean contains(Step step)
Step[] getSteps()
int getStepCount()
void goNext()
void goBack()
void cancelWizard()
void finishWizard()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |