User Guide
List class 773
Property summary for the List class
The following table lists properties of the List class.
Property Description
List.cellRenderer Assigns the class or symbol to use to display each row of
the list.
List.dataProvider The source of the list items.
List.hPosition The horizontal position of the list.
List.hScrollPolicy Indicates whether the horizontal scroll bar is displayed ("on")
or not (
"off").
List.iconField A field in each item to be used to specify icons.
List.iconFunction A function that determines which icon to use.
List.labelField Specifies a field of each item to be used as label text.
List.labelFunction A function that determines which fields of each item to use
for the label text.
List.length The number of items in the list. This property is read-only.
List.maxHPosition The number of pixels the list can scroll to the right, when
List.hScrollPolicy is set to "on".
List.multipleSelection Indicates whether multiple selection is allowed in the list
(
true) or not (false).
List.rowCount The number of rows that are at least partially visible in the list.
List.rowHeight The pixel height of every row in the list.
List.selectable Indicates whether the list is selectable (true) or not (false).
List.selectedIndex The index of a selection in a single-selection list.
List.selectedIndices An array of the selected items in a multiple-selection list.
List.selectedItem The selected item in a single-selection list. This property is
read-only.
List.selectedItems The selected item objects in a multiple-selection list. This
property is read-only.
List.vPosition The topmost visible item of the list.
List.vScrollPolicy Indicates whether the vertical scroll bar is displayed ("on"),
not displayed (
"off"), or displayed when needed ("auto").