public static interface WizardDescriptor.AsynchronousValidatingPanel<Data> extends WizardDescriptor.ValidatingPanel<Data>
During backround validation is Next or Finish button disabled. On validation success wizard automatically progress to next panel or finishes.
During backround validation Cancel button is hooked to signal the validation thread using interrupt().
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 failsBuilt on August 17 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.