public static interface WizardDescriptor.AsynchronousValidatingPanel<Data> extends WizardDescriptor.ValidatingPanel<Data>
During background validation is Next or Finish button disabled. On validation success wizard automatically progress to next panel or finishes.
During background validation Cancel button is hooked to signal the validation thread using interrupt().
Note: It is recommended to use ExtendedAsynchronousValidatingPanel instead as it adds a method to conveniently unlock wizard's user interface when the validation is finished.
Modifier and Type | Method and Description |
---|---|
void |
prepareValidation()
Called synchronously from UI thread when Next
of Finish buttons clicked.
|
void |
validate()
Is called in separate thread when Next of Finish buttons
are clicked and allows deeper check to find out that panel
is in valid state and it is ok to leave it.
|
addChangeListener, getComponent, getHelp, isValid, readSettings, removeChangeListener, storeSettings
void prepareValidation()
void validate() throws WizardValidationException
validate
in interface WizardDescriptor.ValidatingPanel<Data>
WizardValidationException
- when validation fails