net.jini.lookup.ui.factory
Interface FrameFactory
- public interface FrameFactory
- extends java.io.Serializable
UI factory for an AWT Frame
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 UIDescriptor s that contain a
FrameFactory . |
static java.lang.String |
TYPE_NAME
Convenience constant to use in the UIFactoryTypes
set in the attributes set of UIDescriptor s
that contain a FrameFactory . |
Method Summary |
java.awt.Frame |
getFrame(java.lang.Object roleObject)
Returns a Frame with predetermined title. |
TOOLKIT
public static final java.lang.String TOOLKIT
- Convenience constant to use in the
toolkit
field of UIDescriptor
s that contain a
FrameFactory
.
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 UIDescriptor
s
that contain a FrameFactory
.
The value of this constant is "net.jini.lookup.ui.factory.FrameFactory"
.
getFrame
public java.awt.Frame getFrame(java.lang.Object roleObject)
- Returns a
Frame
with predetermined title.