Interface WizardDescriptor.ValidatingPanel<Data>
- All Superinterfaces:
WizardDescriptor.Panel<Data>
- All Known Subinterfaces:
WizardDescriptor.AsynchronousValidatingPanel<Data>
,WizardDescriptor.ExtendedAsynchronousValidatingPanel<Data>
- Enclosing class:
WizardDescriptor
A special interface for panels that need to do additional
validation when Next or Finish button is clicked.
- Since:
- 4.28
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Is called 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 Details
-
validate
Is called 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.- Throws:
WizardValidationException
- when validation fails- Since:
- 4.28
-