|
org.openide.dialogs 6.5.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Dialogs API | |
---|---|
org.openide | Miscellaneous general classes, especially the util classes to handle a user notifications, displaying dialogs and wizards. |
AsynchronousInstantiatingIterator
added
The AsynchronousInstantiatingIterator
allows to implement
asynchronous instantating of newly created objects. Wizard's framework
esures that the method AsynchronousInstantiatingIterator.instantiate()
will be called ouside of an event queue.
AsynchronousValidationgPanel
added
The AsynchronousValidatingPanel
allows to implement
background validation that does not block UI thread. I.e. UI
thread can be used to render validation progress.
NotifyDescriptor.getDefaultValue()
The NotifyDescriptor.getDefaultValue()
returns object which represents the default value.
This default value is introduced in the constructor of NotifyDescriptor
.
leaf
to DialogDescriptor
Added the parameter leaf
in constructor of the DialogDescriptor
.
The parameter is not mandatory and can be set manually.
If this parameter is false
(as default), all works as before.
If the parameter leaf
is true
, then a dialog which is created by this
descriptor cannot own any other windows.
Added the new method Set getInstantiatedObjects
. This method
returns set of newly instantiated objects if the wizard has been correctly finished.
The empty set is returned as default, if the wizard uses the InstantiatingIterator
then returns a set of Object
as same as InstantiatingIterator.instantiate()
does.
The method throws the exception IllegalStateException
if this method
is called on the unfinished wizard.
A: You can change the format of your wizard's title by WizardDescriptor.setTitleFormat(MessageFormat format) and rid of 'wizard' word in the default wizard's title.
|
Read more about the implementation in the answers to architecture questions.
|
org.openide.dialogs 6.5.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |