public interface DialogFactory extends Serializable
Dialog with a
predetermined title.
If the UI generated by the method declared in this interface implements
javax.accessibility.Accessible and supports the Java Accessibility
API, an AccessibleUI attribute
should be placed in the UIDescriptor's attributes set.
| Modifier and Type | Field and Description |
|---|---|
static String |
TOOLKIT
Convenience constant to use in the
toolkit
field of UIDescriptors that contain a
DialogFactory. |
static String |
TYPE_NAME
Convenience constant to use in the
UIFactoryTypes
set in the attributes set of UIDescriptors
that contain a DialogFactory. |
| Modifier and Type | Method and Description |
|---|---|
Dialog |
getDialog(Object roleObject,
Dialog owner)
Returns a non-modal
Dialog with predetermined title
and the specified owner Dialog. |
Dialog |
getDialog(Object roleObject,
Dialog owner,
boolean modal)
Returns a
Dialog with predetermined title and the
specified modality and owner Dialog. |
Dialog |
getDialog(Object roleObject,
Frame owner)
Returns a non-modal
Dialog with predetermined title and the
specified owner Frame. |
Dialog |
getDialog(Object roleObject,
Frame owner,
boolean modal)
Returns a
Dialog with predetermined title and the
specified modality and owner Frame. |
static final String TOOLKIT
toolkit
field of UIDescriptors that contain a
DialogFactory.
The value of this constant is "java.awt".static final String TYPE_NAME
UIFactoryTypes
set in the attributes set of UIDescriptors
that contain a DialogFactory.
The value of this constant is "net.jini.lookup.ui.factory.DialogFactory".Dialog getDialog(Object roleObject, Dialog owner)
Dialog with predetermined title
and the specified owner Dialog.roleObject - an object defined by the semantics of the UI role interface
implemented by the returned UI object. (UI role is indicated in the
role field of UIDescriptors.)owner - the Dialog to act as owner of the returned
DialogDialog UIDialog getDialog(Object roleObject, Frame owner)
Dialog with predetermined title and the
specified owner Frame.roleObject - an object defined by the semantics of the UI role interface
implemented by the returned UI object. (UI role is indicated in the
role field of UIDescriptors.)owner - the Frame to act as owner of the returned
DialogDialog UIDialog getDialog(Object roleObject, Dialog owner, boolean modal)
Dialog with predetermined title and the
specified modality and owner Dialog.roleObject - an object defined by the semantics of the UI role interface
implemented by the returned UI object. (UI role is indicated in the
role field of UIDescriptors.)owner - the Dialog to act as owner of the returned
Dialogmodal - if true, the returned Dialog will block
input to other windows when shownDialog UIDialog getDialog(Object roleObject, Frame owner, boolean modal)
Dialog with predetermined title and the
specified modality and owner Frame.roleObject - an object defined by the semantics of the UI role interface
implemented by the returned UI object. (UI role is indicated in the
role field of UIDescriptors.)owner - the Frame to act as owner of the returned
Dialogmodal - if true, the returned Dialog will block
input to other windows when shownDialog UICopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.