net.jini.lookup.ui.factory
Interface WindowFactory
- public interface WindowFactory
- extends java.io.Serializable
UI factory for an AWT Window that isn't a Frame
or a Dialog.
AWT Frames should be produced by a FrameFactory.
AWT Dialogs should be produced by a DialogFactory.)
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
WindowFactory. |
static java.lang.String |
TYPE_NAME
Convenience constant to use in the UIFactoryTypes
set in the attributes set of UIDescriptors
that contain a WindowFactory. |
|
Method Summary |
java.awt.Window |
getWindow(java.lang.Object roleObject,
java.awt.Frame owner)
Returns a Window with specified
owner Frame |
java.awt.Window |
getWindow(java.lang.Object roleObject,
java.awt.Window owner)
Returns a Window with specified
owner Window |
TOOLKIT
public static final java.lang.String TOOLKIT
- Convenience constant to use in the
toolkit
field of UIDescriptors that contain a
WindowFactory.
The value of this constant is "java.awt".
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 WindowFactory.
The value of this constant is "net.jini.lookup.ui.factory.WindowFactory".
getWindow
public java.awt.Window getWindow(java.lang.Object roleObject,
java.awt.Window owner)
- Returns a
Window with specified
owner Window
getWindow
public java.awt.Window getWindow(java.lang.Object roleObject,
java.awt.Frame owner)
- Returns a
Window with specified
owner Frame