站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

WizardDescriptor.AsynchronousInstantiatingIterator (NetBeans Dialogs API) - NetBeans API Javadoc 5.0.0

 

org.openide
Interface WizardDescriptor.AsynchronousInstantiatingIterator

All Superinterfaces:
WizardDescriptor.InstantiatingIterator, WizardDescriptor.Iterator
Enclosing interface:
WizardDescriptor

public static interface WizardDescriptor.AsynchronousInstantiatingIterator
extends WizardDescriptor.InstantiatingIterator

Iterator for a wizard that needs to somehow instantiate new objects outside ATW queue. (This interface can replace TemplateWizard.Iterator in a template's declaration.)

Since:
org.openide/1 6.5

Method Summary
 Set instantiate()
          Is called in separate thread when the Finish button are clicked and allows implement asynchronous instantating of newly created objects.
 
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

public Set instantiate()
                throws IOException
Is called in separate thread when the Finish button are clicked and allows implement asynchronous instantating of newly created objects.

Specified by:
instantiate in interface WizardDescriptor.InstantiatingIterator
Returns:
a set of objects created (the exact type is at the discretion of the caller)
Throws:
IOException - when instantiate fails

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.