org.openide.dialogs 7.25

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.
 
Methods inherited from interface org.openide.WizardDescriptor.InstantiatingIterator
initialize, uninitialize
 
Methods inherited from interface org.openide.WizardDescriptor.Iterator
addChangeListener, current, hasNext, hasPrevious, name, nextPanel, previousPanel, removeChangeListener
 

Method Detail

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

org.openide.dialogs 7.25

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.