All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.ui.framework.java.DynamicPanelManager

java.lang.Object
   |
   +----com.ibm.as400.ui.framework.java.PanelManager
           |
           +----com.ibm.as400.ui.framework.java.DynamicPanelManager

public class DynamicPanelManager
extends PanelManager
Creates a resizable graphical panel defined using the Panel Definition Markup Language (PDML). The panel may be either a standalone window or a modal dialog. See the class description for PanelManager for usage information.

See Also:
PanelManager

Constructor Index

 o DynamicPanelManager(String, Locale, String)
Constructs a DynamicPanelManager for the specified panel, and then serializes the panel definition.
 o DynamicPanelManager(String, Locale, String, DataBean[])
Constructs a DynamicPanelManager for the specified panel.
 o DynamicPanelManager(String, Locale, String, DataBean[], Container)
Constructs a DynamicPanelManager for the specified panel, using the specified container.
 o DynamicPanelManager(String, Locale, String, DataBean[], Frame)
Constructs a DynamicPanelManager for the specified panel.
 o DynamicPanelManager(String, String, DataBean[])
Constructs a DynamicPanelManager for the specified panel.
 o DynamicPanelManager(String, String, DataBean[], Container)
Constructs a DynamicPanelManager for the specified panel, using the specified container.
 o DynamicPanelManager(String, String, DataBean[], Frame)
Constructs a DynamicPanelManager for the specified panel.

Method Index

 o main(String[])
Provides a command line interface to DynamicPanelManager.

Constructors

 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            String panelName,
                            DataBean dataBeans[]) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel. The panel will be modeless.

The default locale will be used to load the panel definition.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
panelName - the name of the panel, as specified on the PANEL tag in the PDML document
dataBeans - a list of DataBeans which supply data to the panel (may be null)
Throws: DisplayManagerException
if an error was encountered accessing the panel definition
See Also:
DisplayManagerException
 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            Locale locale,
                            String panelName,
                            DataBean dataBeans[]) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel. The panel will be modeless.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
locale - the desired locale to be used to load the panel definition
panelName - the name of the panel, as specified on the PANEL tag in the PDML document
dataBeans - a list of DataBeans which supply data to the panel (may be null)
Throws: DisplayManagerException
if an error was encountered accessing the panel definition
See Also:
DisplayManagerException
 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            String panelName,
                            DataBean dataBeans[],
                            Frame owner) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel. The panel will be modal, with the specified Frame as its owner. The application will block on the call to setVisible until the panel has closed.

The default locale will be used to load the panel definition.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
panelName - the name of the panel, as specified on the PANEL tag in the PDML document
dataBeans - a list of DataBeans which supply data to the panel (may be null)
owner - the owning frame
Throws: DisplayManagerException
if an error was encountered accessing the panel definition
See Also:
DisplayManagerException, setVisible
 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            Locale locale,
                            String panelName,
                            DataBean dataBeans[],
                            Frame owner) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel. The panel will be modal, with the specified Frame as its owner. The application will block on the call to setVisible until the panel has closed.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
locale - the desired locale to be used to load the panel definition
panelName - the name of the panel, as specified on the PANEL tag in the PDML
dataBeans - a list of DataBeans which supply data to the panel (may be null)
owner - the owning frame
Throws: DisplayManagerException
if an error was encountered accessing the panel definition
See Also:
DisplayManagerException, setVisible
 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            String panelName,
                            DataBean dataBeans[],
                            Container container) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel, using the specified container. This constructor allows the application to supply its own container, rather than relying on this object to create a container of the appropriate type.

The default locale will be used to load the panel definition.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
panelName - the name of the panel, as specified on the PANEL tag in the PDML
dataBeans - a list of DataBeans which supply data to the panel (may be null)
container - the application's container
Throws: DisplayManagerException
if an error was encountered accessing the panel definition
See Also:
DisplayManagerException
 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            Locale locale,
                            String panelName,
                            DataBean dataBeans[],
                            Container container) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel, using the specified container. This constructor allows the application to supply its own container, rather than relying on this object to create a container of the appropriate type.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
locale - the desired locale to be used to load the panel definition
panelName - the name of the panel, as specified on the PANEL tag in the PDML
dataBeans - a list of DataBeans which supply data to the panel (may be null)
container - the application's container
Throws: DisplayManagerException
if an error was encountered accessing the panel definition
See Also:
DisplayManagerException
 o DynamicPanelManager
 public DynamicPanelManager(String baseName,
                            Locale locale,
                            String panelName) throws DisplayManagerException
Constructs a DynamicPanelManager for the specified panel, and then serializes the panel definition. This constructor cannot be used to display the panel.

If a null locale is specified, the default locale will be used to load the panel definition. If resources for the default locale cannot be found, an attempt will be made to use the base resources for the panel.

Parameters:
baseName - the resource name of the PDML document/resource bundle combination which defines the panel specification
locale - the desired locale to be used to load the panel definition (may be null)
panelName - the name of the panel, as specified on the PANEL tag in the PDML
Throws: DisplayManagerException
if an error was encountered accessing or serializing the panel definition
See Also:
serialize

Methods

 o main
 public static void main(String args[])
Provides a command line interface to DynamicPanelManager. The parameters are the same as those for the parent PanelManager class.

See Also:
PanelManager

All Packages  Class Hierarchy  This Package  Previous  Next  Index