Start change Label tag

The following is the basic syntax of the label tag:

<LABEL name=name>

where name identifies the label programmatically.

The label tag can be expanded with the following elements:
<LABEL name=name>
	<TITLE>title</TITLE>
	<LOCATION>location</LOCATION>
	<SIZE>size</SIZE>
	<FLYOVER>helptext</FLYOVER>
	<HELPALIAS>component_name</HELPALIAS>
</LABEL>
ATTRIBUTEVALUEDESCRIPTION
<TITLE> title Displays the text string as static text.

Title defines the key for loading the text string from the resource bundle. If the string is not found, the title string will appear as it does in the Panel Definition Markup Language (PDML) source file.

This tag is required.

<LOCATION> location Expresses the x- and y-coordinates of the panel's location from the top left corner of the panel in logical units.

This tag is required.

<SIZE> size Expresses the width and height, respectively, of the label in logical units.

This tag is required.

<DATACLASS> class_name Supplies the data for the label, using the DataBean interface.
<ATTRIBUTE> attribute_name Contains the data for the label.

GETTOR PROTOCOLS:
String get<attribute_name>()
where the return value is the string to be inserted into the text field.


SETTOR PROTOCOLS:
void set<attribute_name>(String text)
where text is the string that was extracted from the text field.
<FLYOVER> helptext Creates a help window that hovers over the label.

Helptext defines the key for loading the text string from the resource bundle. If the string is not found, the helptext string will appear as it does in the PDML source file.

<HELPALIAS> component_name Should be displayed when context help is requested for this component.
End change


[ Legal | AS/400 Glossary ]