net.jini.lookup.ui.factory
Interface JWindowFactory


public interface JWindowFactory
extends java.io.Serializable

UI factory for a Swing JWindow.

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 JWindowFactory.
static java.lang.String TYPE_NAME
          Convenience constant to use in the UIFactoryTypes set in the attributes set of UIDescriptors that contain a JWindowFactory.
 
Method Summary
 javax.swing.JWindow getJWindow(java.lang.Object roleObject)
          Returns a JWindow with no specified owner.
 javax.swing.JWindow getJWindow(java.lang.Object roleObject, java.awt.Frame owner)
          Returns a JWindow with specified owner Frame.
 javax.swing.JWindow getJWindow(java.lang.Object roleObject, java.awt.Window owner)
          Returns a JWindow with specified owner Window.
 

Field Detail

TOOLKIT

public static final java.lang.String TOOLKIT
Convenience constant to use in the toolkit field of UIDescriptors that contain a JWindowFactory. 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 JWindowFactory. The value of this constant is "net.jini.lookup.ui.factory.JWindowFactory".
Method Detail

getJWindow

public javax.swing.JWindow getJWindow(java.lang.Object roleObject)
Returns a JWindow with no specified owner.

getJWindow

public javax.swing.JWindow getJWindow(java.lang.Object roleObject,
                                      java.awt.Window owner)
Returns a JWindow with specified owner Window.

getJWindow

public javax.swing.JWindow getJWindow(java.lang.Object roleObject,
                                      java.awt.Frame owner)
Returns a JWindow with specified owner Frame.