|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.
PanelManager
Modifier and Type | Field and Description |
---|
Fields inherited from class com.ibm.as400.ui.framework.java.PanelManager |
---|
m_windowMinHeight, m_windowMinWidth |
Fields inherited from interface com.ibm.as400.ui.framework.java.WindowManager |
---|
OFFSET_FROM_OWNER |
Constructor and Description |
---|
DynamicPanelManager(String baseName,
Locale locale,
String panelName)
Constructs a DynamicPanelManager for the specified panel,
and then serializes the panel definition. |
DynamicPanelManager(String baseName,
Locale locale,
String panelName,
DataBean[] dataBeans,
Container container)
Constructs a DynamicPanelManager for the specified panel,
using the specified container. |
DynamicPanelManager(String baseName,
Locale locale,
String panelName,
DataBean[] dataBeans,
Dimension panelSize)
Constructs a DynamicPanelManager for the specified panel. |
DynamicPanelManager(String baseName,
Locale locale,
String panelName,
DataBean[] dataBeans,
Frame owner)
Constructs a DynamicPanelManager for the specified panel. |
DynamicPanelManager(String baseName,
String panelName,
DataBean[] dataBeans,
Container container)
Constructs a DynamicPanelManager for the specified panel,
using the specified container. |
DynamicPanelManager(String baseName,
String panelName,
DataBean[] dataBeans,
Dimension panelSize)
Constructs a DynamicPanelManager for the specified panel. |
DynamicPanelManager(String baseName,
String panelName,
DataBean[] dataBeans,
Dimension panelSize,
Point panelLocation)
Constructs a DynamicPanelManager for the specified panel. |
DynamicPanelManager(String baseName,
String panelName,
DataBean[] dataBeans,
Frame owner)
Constructs a DynamicPanelManager for the specified panel. |
DynamicPanelManager(String baseName,
String panelName,
DataBean[] dataBeans,
Frame owner,
Dimension panelSize)
Constructs a DynamicPanelManager for the specified panel. |
DynamicPanelManager(String baseName,
String panelName,
DataBean[] dataBeans,
Rectangle panelBounds)
Constructs a DynamicPanelManager for the specified panel. |
Modifier and Type | Method and Description |
---|---|
Dimension |
getCurrentPanelSize()
Gets the prescaled dimensions of the panel as displayed in the current window. |
static void |
main(String[] args)
Provides a command line interface to DynamicPanelManager . |
void |
setMinimumWindowSize(int width,
int height)
Sets the minimum size of the application window owned by this DynamicPanelManager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicPanelManager(String baseName, String panelName, DataBean[] dataBeans, Dimension panelSize) throws DisplayManagerException
DynamicPanelManager
for the specified panel.
The panel will be modeless.
The default locale will be used to load the panel definition.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationpanelName
- the name of the panel, as specified on the PANEL
tag in the PDML documentdataBeans
- a list of DataBean
s which supply data to the panel (may be null)panelSize
- specifies the size for the panel when it is createdDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
public DynamicPanelManager(String baseName, String panelName, DataBean[] dataBeans, Dimension panelSize, Point panelLocation) throws DisplayManagerException
DynamicPanelManager
for the specified panel.
The panel will be modeless.
The default locale will be used to load the panel definition.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationpanelName
- the name of the panel, as specified on the PANEL
tag in the PDML documentdataBeans
- a list of DataBean
s which supply data to the panel (may be null)panelSize
- specifies the size for the panel when it is createdDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
public DynamicPanelManager(String baseName, String panelName, DataBean[] dataBeans, Rectangle panelBounds) throws DisplayManagerException
DynamicPanelManager
for the specified panel.
The panel will be modeless.
The default locale will be used to load the panel definition.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationpanelName
- the name of the panel, as specified on the PANEL
tag in the PDML documentdataBeans
- a list of DataBean
s which supply data to the panel (may be null)panelBounds
- specifies the size and location for the panel when it is createdDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
public DynamicPanelManager(String baseName, Locale locale, String panelName, DataBean[] dataBeans, Dimension panelSize) throws DisplayManagerException
DynamicPanelManager
for the specified panel.
The panel will be modeless.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationlocale
- the desired locale to be used to load the panel definitionpanelName
- the name of the panel, as specified on the PANEL
tag in the PDML documentdataBeans
- a list of DataBean
s which supply data to the panel (may be null)panelSize
- specifies the size for the panel when it is createdDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
public DynamicPanelManager(String baseName, String panelName, DataBean[] dataBeans, Frame owner) throws DisplayManagerException
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.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationpanelName
- the name of the panel, as specified on the PANEL
tag in the PDML documentdataBeans
- a list of DataBean
s which supply data to the panel (may be null)owner
- the owning frameDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
,
PanelManager.setVisible(boolean)
public DynamicPanelManager(String baseName, String panelName, DataBean[] dataBeans, Frame owner, Dimension panelSize) throws DisplayManagerException
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.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationpanelName
- the name of the panel, as specified on the PANEL
tag in the PDML documentdataBeans
- a list of DataBean
s which supply data to the panel (may be null)owner
- the owning framepanelSize
- specifies the size for the panel when it is createdDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
,
PanelManager.setVisible(boolean)
public DynamicPanelManager(String baseName, Locale locale, String panelName, DataBean[] dataBeans, Frame owner) throws DisplayManagerException
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.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationlocale
- the desired locale to be used to load the panel definitionpanelName
- the name of the panel, as specified on the PANEL
tag in the PDMLdataBeans
- a list of DataBean
s which supply data to the panel (may be null)owner
- the owning frameDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
,
PanelManager.setVisible(boolean)
public DynamicPanelManager(String baseName, String panelName, DataBean[] dataBeans, Container container) throws DisplayManagerException
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.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationpanelName
- the name of the panel, as specified on the PANEL
tag in the PDMLdataBeans
- a list of DataBean
s which supply data to the panel (may be null)container
- the application's containerDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
public DynamicPanelManager(String baseName, Locale locale, String panelName, DataBean[] dataBeans, Container container) throws DisplayManagerException
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.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationlocale
- the desired locale to be used to load the panel definitionpanelName
- the name of the panel, as specified on the PANEL
tag in the PDMLdataBeans
- a list of DataBean
s which supply data to the panel (may be null)container
- the application's containerDisplayManagerException
- if an error was encountered accessing the panel definitionDisplayManagerException
public DynamicPanelManager(String baseName, Locale locale, String panelName) throws DisplayManagerException
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.
baseName
- the resource name of the PDML document/resource bundle combination which defines the panel specificationlocale
- 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 PDMLDisplayManagerException
- if an error was encountered accessing or serializing the panel definitionPanelManager.serialize()
Method Detail |
---|
public static void main(String[] args)
DynamicPanelManager
.
The parameters are the same as those for the parent PanelManager
class.
PanelManager
public void setMinimumWindowSize(int width, int height)
width
- The minimum width of the windowheight
- The minimum height of the windowpublic Dimension getCurrentPanelSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |