|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WizardPanel
This is an optional interface for panels that want to be notified when
the next and back buttons are pressed.
The WizardPanelProvider is NOT required to create panels that implement
this interface.
Each of these methods returns a WizardPanelNavResult that can be used to
indicate PROCEED or REMAIN_ON_PAGE.
The result can also be an instance of a subclass of WizardPanelNavResult
that implements the start
method to use a background thread
to determine if the next page can be shown.
Modifier and Type | Method and Description |
---|---|
WizardPanelNavResult |
allowBack(java.lang.String stepName,
java.util.Map settings,
Wizard wizard)
This method is invoked when the "back" button has been pushed, to discard any data from the setings that will not been needed and for which the normal "just hide that data" is not the desired behavior. |
WizardPanelNavResult |
allowFinish(java.lang.String stepName,
java.util.Map settings,
Wizard wizard)
This method is invoked when the "finish" button has been pushed, to allow veto of the finish action BEFORE the wizard finish method is invoked. |
WizardPanelNavResult |
allowNext(java.lang.String stepName,
java.util.Map settings,
Wizard wizard)
This method is invoked when the "next" button has been pushed, to do a final validation of input (such as doing a database login). |
Method Detail |
---|
WizardPanelNavResult allowNext(java.lang.String stepName, java.util.Map settings, Wizard wizard)
stepName
- settings
- wizard
- WizardPanelNavResult allowBack(java.lang.String stepName, java.util.Map settings, Wizard wizard)
stepName
- settings
- wizard
- WizardPanelNavResult allowFinish(java.lang.String stepName, java.util.Map settings, Wizard wizard)
stepName
- settings
- wizard
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |