Start change Textfield tag

The following is the basic syntax of the textfield tag :

<TEXTFIELD name=name>

where name identifies the text field programmatically.

The textfield tag can be expanded with the following elements:
<TEXTFIELD name=name>
	<TITLE>title</TITLE>
	<LOCATION>location</LOCATION>
	<SIZE>size</SIZE>
	<DATACLASS>class_name</DATACLASS>
	<ATTRIBUTE>attribute_name</ATTRIBUTE>
	<SHORT></SHORT>
	<INTEGER></INTEGER>
	<LONG></LONG>
	<FLOAT></FLOAT>
	<STRING></STRING>
	<FORMAT></FORMAT>
	<FLYOVER>helptext</FLYOVER>
	<HELPALIAS>component_name</HELPALIAS>
</TEXTFIELD>
	
ATTRIBUTEVALUEDESCRIPTION
<TITLE> title Displays the text string in the text field label.

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.

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

This tag is required.

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

This tag is required.

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

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.
<SHORT> See the data format tags.
<INTEGER> See the data format tags.
<LONG> See the data format tags.
<FLOAT> See the data format tags.
<STRING> See the data format tags.
<FORMAT> See the data format tags.
<FLYOVER> helptext Should be displayed when context help is requested for this component.

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 ]