|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WizardPage.WizardResultProducer
Interface that is passed to WizardPage.createWizard(). For wizards created from a set of WizardPages or WizardPage subclasses, this is the object that whose code will be run to create or do whatever the wizard does when the user clicks the Finish button.
Modifier and Type | Field and Description |
---|---|
static WizardPage.WizardResultProducer |
NO_OP
A no-op WizardResultProducer that returns null. |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(java.util.Map settings)
Called when the user presses the cancel button. |
java.lang.Object |
finish(java.util.Map wizardData)
Conclude a wizard, doing whatever the wizard does with the data gathered into the map on the various panels. |
Field Detail |
---|
static final WizardPage.WizardResultProducer NO_OP
Method Detail |
---|
java.lang.Object finish(java.util.Map wizardData) throws WizardException
If an instance of Summary
is returned from this method, the
UI shall display it on a final page and disable all navigation buttons
except the Close/Cancel button.
If an instance of DeferredWizardResult
is returned from this
method, the UI shall display some sort of progress bar while the result
is computed in the background. If that DeferredWizardResult
produces a Summary
object, that summary shall be displayed
as described above.
wizardData
- the map with key-value pairs which has been
populated by the UI as the user progressed through the wizardDeferredWizardResult
or Summary
is returned from this method.WizardException
boolean cancel(java.util.Map settings)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |