User Guide

218 Chapter 9: Using Flash, Flash Components, and Other Interactive Media Types
Property summary for the List class
NumericStepper component
The NumericStepper component allows a user to step through an ordered set of numbers. The
component consists of a number displayed beside small up and down arrow buttons. When a user
pushes the buttons, the number is raised or lowered incrementally. If the user clicks either of the
arrow buttons, the number increases or decreases, based on the value of the stepSize parameter,
until the user releases the mouse or until the maximum or minimum value is reached.
The NumericStepper only handles numeric data. Also, you must resize the stepper while
authoring to display more than two numeric places (for example, the numbers 5246 or 1.34).
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 within 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 length of the list in items. This property is read-only.
List.maxHPosition
Specifies 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
Scrolls the list so the topmost visible item is the number assigned.
List.vScrollPolicy
Indicates whether the vertical scroll bar is displayed ("on"), not displayed
(
"off"), or displayed when needed ("auto").