net.jini.lookup.ui.factory
Interface PanelFactory

All Superinterfaces:
Serializable

public interface PanelFactory
extends Serializable

UI factory for an AWT Panel.

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.

A PreferredTitle may be placed in the attributes set to indicate a preferred title of a pop-up window containing this component.

Author:
Bill Venners

Field Summary
static String TOOLKIT
          Convenience constant to use in the toolkit field of UIDescriptors that contain a PanelFactory.
static String TYPE_NAME
          Convenience constant to use in the UIFactoryTypes set in the attributes set of UIDescriptors that contain a JPanelFactory.
 
Method Summary
 Panel getPanel(Object roleObject)
          Returns a Panel.
 

Field Detail

TOOLKIT

static final String TOOLKIT
Convenience constant to use in the toolkit field of UIDescriptors that contain a PanelFactory. The value of this constant is "java.awt".

See Also:
Constant Field Values

TYPE_NAME

static final String TYPE_NAME
Convenience constant to use in the UIFactoryTypes set in the attributes set of UIDescriptors that contain a JPanelFactory. The value of this constant is "net.jini.lookup.ui.factory.PanelFactory".

See Also:
Constant Field Values
Method Detail

getPanel

Panel getPanel(Object roleObject)
Returns a Panel.



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.