|
org.openide.dialogs 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WizardDescriptor.AsynchronousValidatingPanel
A special interface for panels that need to do additional asynchronous validation when Next or Finish button is clicked.
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().
Method Summary | |
---|---|
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. |
Methods inherited from interface org.openide.WizardDescriptor.Panel |
---|
addChangeListener, getComponent, getHelp, isValid, readSettings, removeChangeListener, storeSettings |
Method Detail |
---|
void prepareValidation()
void validate() throws WizardValidationException
validate
in interface WizardDescriptor.ValidatingPanel
WizardValidationException
- when validation fails
|
org.openide.dialogs 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |