net.jini.lookup.ui.factory
Interface JDialogFactory


public interface JDialogFactory
extends java.io.Serializable

UI factory for a modal or non-modal Swing JDialog 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.


Field Summary
static java.lang.String TOOLKIT
          Convenience constant to use in the toolkit field of UIDescriptors that contain a JDialogFactory.
static java.lang.String TYPE_NAME
          Convenience constant to use in the UIFactoryTypes set in the attributes set of UIDescriptors that contain a JDialogFactory.
 
Method Summary
 javax.swing.JDialog getDialog(java.lang.Object roleObject, java.awt.Dialog owner, boolean modal)
          Returns a JDialog with predetermined title and the specified modality and owner Dialog.
 javax.swing.JDialog getDialog(java.lang.Object roleObject, java.awt.Frame owner, boolean modal)
          Returns a JDialog with predetermined title and the specified modality and owner Frame.
 javax.swing.JDialog getJDialog(java.lang.Object roleObject)
          Returns a non-modal JDialog with predetermined title and no specified owner.
 javax.swing.JDialog getJDialog(java.lang.Object roleObject, java.awt.Dialog owner)
          Returns a non-modal JDialog with a predetermined title with the specified owner Dialog.
 javax.swing.JDialog getJDialog(java.lang.Object roleObject, java.awt.Frame owner)
          Returns a non-modal JDialog with a predetermined title with the specified owner Frame.
 

Field Detail

TOOLKIT

public static final java.lang.String TOOLKIT
Convenience constant to use in the toolkit field of UIDescriptors that contain a JDialogFactory. The value of this constant is "javax.swing".

TYPE_NAME

public static final java.lang.String TYPE_NAME
Convenience constant to use in the UIFactoryTypes set in the attributes set of UIDescriptors that contain a JDialogFactory. The value of this constant is "net.jini.lookup.ui.factory.JDialogFactory".
Method Detail

getJDialog

public javax.swing.JDialog getJDialog(java.lang.Object roleObject)
Returns a non-modal JDialog with predetermined title and no specified owner.

getJDialog

public javax.swing.JDialog getJDialog(java.lang.Object roleObject,
                                      java.awt.Dialog owner)
Returns a non-modal JDialog with a predetermined title with the specified owner Dialog.

getJDialog

public javax.swing.JDialog getJDialog(java.lang.Object roleObject,
                                      java.awt.Frame owner)
Returns a non-modal JDialog with a predetermined title with the specified owner Frame.

getDialog

public javax.swing.JDialog getDialog(java.lang.Object roleObject,
                                     java.awt.Dialog owner,
                                     boolean modal)
Returns a JDialog with predetermined title and the specified modality and owner Dialog.

getDialog

public javax.swing.JDialog getDialog(java.lang.Object roleObject,
                                     java.awt.Frame owner,
                                     boolean modal)
Returns a JDialog with predetermined title and the specified modality and owner Frame.