public interface JWindowFactory extends Serializable
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
TOOLKIT
Convenience constant to use in the
toolkit
field of UIDescriptors that contain a
JWindowFactory. |
static String |
TYPE_NAME
Convenience constant to use in the
UIFactoryTypes
set in the attributes set of UIDescriptors
that contain a JWindowFactory. |
| Modifier and Type | Method and Description |
|---|---|
JWindow |
getJWindow(Object roleObject)
Returns a
JWindow with no specified
owner. |
JWindow |
getJWindow(Object roleObject,
Frame owner)
Returns a
JWindow with specified
owner Frame. |
JWindow |
getJWindow(Object roleObject,
Window owner)
Returns a
JWindow with specified
owner Window. |
static final String TOOLKIT
toolkit
field of UIDescriptors that contain a
JWindowFactory.
The value of this constant is "javax.swing".static final String TYPE_NAME
UIFactoryTypes
set in the attributes set of UIDescriptors
that contain a JWindowFactory.
The value of this constant is "net.jini.lookup.ui.factory.JWindowFactory".JWindow getJWindow(Object roleObject)
JWindow with no specified
owner.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.)JWindow UIJWindow getJWindow(Object roleObject, Window owner)
JWindow with specified
owner Window.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 Window to act as owner of the returned
JWindowJWindow UIJWindow getJWindow(Object roleObject, Frame owner)
JWindow with 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
JWindowJWindow UICopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.