org.openide
Interface WizardDescriptor.BackgroundInstantiatingIterator<Data>
- Type Parameters:
Data - in practice this should be WizardDescriptor
- All Superinterfaces:
- WizardDescriptor.AsynchronousInstantiatingIterator<Data>, WizardDescriptor.InstantiatingIterator<Data>, WizardDescriptor.Iterator<Data>
- Enclosing class:
- WizardDescriptor
public static interface WizardDescriptor.BackgroundInstantiatingIterator<Data>
- extends WizardDescriptor.AsynchronousInstantiatingIterator<Data>
Iterator for a wizard that will create new objects after the wizard has been closed.
Suitable for cases where the instantiation might be quite time consuming, has its own progress/cancellation UI,
or otherwise would be undesirable to run with the wizard dialog open.
- Since:
- org.openide.dialogs 7.22
|
Method Summary |
Set |
instantiate()
Called in a separate thread when the Finish button is clicked and the wizard is closed. |
instantiate
Set instantiate()
throws IOException
- Called in a separate thread when the Finish button is clicked and the wizard is closed.
- Specified by:
instantiate in interface WizardDescriptor.AsynchronousInstantiatingIterator<Data>- Specified by:
instantiate in interface WizardDescriptor.InstantiatingIterator<Data>
- Returns:
- a set of objects created (the exact type is at the discretion of the caller)
- Throws:
IOException - when instantiate fails