PATH  WebObjects 4.5 Documentation > Applet Controls


Previous Section


RadioGroupApplet



Synopsis

WOApplet { code = "next.wo.client.controls.RadioGroupApplet.class";
iitemList=anArray; selectedItem=itemIndex; action=method;...};

Description

A RadioGroupApplet is a control for mutually exclusive choices. It is a vertical matrix of check boxes (see CheckboxApplet) of which only one box can be checked at a time. The RadioGroupApplet class "wraps" the java.awt.CheckboxGroup class.

iitemList
An array of strings for the titles of the radio buttons.

selectedItem
Numeric index of the check box selected in itemList. Index 0 identifies the first item in the array.

action
The method invoked when a choice is made.

Next Section