Data
- public static interface WizardDescriptor.ExtendedAsynchronousValidatingPanel<Data> extends WizardDescriptor.AsynchronousValidatingPanel<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().
Modifier and Type | Method and Description |
---|---|
void |
finishValidation()
Called synchronously from UI thread when the background validation
is finished (even when throwing validation exception).
|
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()
prepareValidation
in interface WizardDescriptor.AsynchronousValidatingPanel<Data>
void validate() throws WizardValidationException
validate
in interface WizardDescriptor.AsynchronousValidatingPanel<Data>
validate
in interface WizardDescriptor.ValidatingPanel<Data>
WizardValidationException
- when validation failsvoid finishValidation()