Documentation Archive Developer
Search

Table of Contents Previous Section


ChoiceApplet



Synopsis

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

Description

A ChoiceApplet displays a non-editable list of items from which the user can select one item.This control looks and behaves like a pull-down list or combo box. This class is based on the java.awt.Choice class.

itemList
An array of strings representing the choices available.

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

action
The method invoked when a choice is made.

Table of Contents Next Section