Start changeCheckbox tag

The following is the basic syntax of the checkbox tag :

<CHECKBOX name= name>

where name identifies the check box programmatically.

The checkbox tag can be expanded with the following elements:
<CHECKBOX name=name>
	<TITLE>title</TITLE>
	<LOCATION>location</LOCATION>
	<SIZE>size</SIZE>
	<DATACLASS>class_name</DATACLASS>
	<ATTRIBUTE>attribute_name</ATTRIBUTE>
	<SELECTED>selected</SELECTED>
	<DESELECTED>deselected</DESELECTED>
	<FLYOVER>helptext</FLYOVER>
	<HELPALIAS>component_name</HELPALIAS>
</CHECKBOX>
	
ATTRIBUTEVALUEDESCRIPTION
<TITLE> title Displays the text string as the check box label.

This tag is required.

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

Use the "%" character to make the character that immediately follows the "%" the "mnemonic" or "keyboard shortcut key" for the using a button. Use "%%" to use "%" as a literal character.

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 check box using the DataBean interface.
<ATTRIBUTE> attribute_name Contains the data for the check box. The tag must be present if the dataclass tag is present.

GETTOR PROTOCOLS:
The gettor does not have to be used if the choice tag statically defines the check box elements.
boolean is<attribute_name>()
where the return value indicates whether the check box is selected.

SETTOR PROTOCOLS:
void set<attribute_name>(boolean selected)
where selected indicates whether the check box is selected.
<SELECTED> selected See the select tag.
<DESELECTED> deselected See the deselect tag.
<FLYOVER> helptext An optional tag that displays the help topic over the check box.
Helptext defines the key for loading the text string from the resource bundle. If the sting is not found, the helptext text string appears as it does in the Panel Definition Markup Language (PDML) source file.
<HELPALIAS> component_name An optional tag whose help topic should be displayed when context help is requested for this component.
End change


[ Legal | AS/400 Glossary ]