The panel tag creates the actual panel within a Panel
Definition Markup Language (PDML) document. More than one panel tag can
be included within a document, depending on how many panels need to be
created. For the form of the panel tag within the scope of an entire document,
see the PDML syntax. The panel tag, itself,
takes the following form:
<PANEL name=name>
where name is the name of the panel. The
name of the panel must be unique to the document it is found in because
the name is used to identify the panel programmatically.
The panel tag can be expanded upon with the following
elements:
<PANEL name=name>
<TITLE>title</TITLE>
<SIZE>size</SIZE>
<ICON>icon</ICON>
<ACTIVATE>class_name</ACTIVATE>
</PANEL>
|
NAME | VALUE | DESCRIPTION |
<TITLE> |
title |
Displays the text
string in the title bar of the panel. |
<SIZE> |
size |
Expresses the width
and height, respectively, of the panel in logical units. |
<ICON> |
icon |
Provides the width
and height, respectively, in logical units of the panel. |
<ACTIVATE> |
class_name |
Serves as
the qualified name of a handler class that receives control when the
panel is initially displayed. The class must extend the EventHandler
class, and implement the interface java.awt.event.ActionListener.
The framework automatically creates an object of the specified class,
and calls its actionPerformed method. |
[ Legal | AS/400 Glossary ]