ADOBE DIRECTOR 11.0
User Guide
226
Method summary for the List class
Property summary for the List class
selectionDisabledColo
r
The color of a row if it has been selected and disabled.
selectionDuration
The length of any transitions when selecting items.
useRollOver
Determines whether rolling over a row activates highlighting.
Method
Description
List.addItem("Labels"
,"Data")
Adds an item to the end of the list.
List.addItemAt()
Adds an item to the list at the specified index.
List.getItemAt()
Returns the item at the specified index.
List.removeAll()
Removes all items from the list.
List.removeItemAt()
Removes the item at the specified index.
List.replaceItemAt()
Replaces the item at the specified index with another item.
List.setPropertiesAt(
)
Applies the specified properties to the specified item.
List.sortItems()
Sorts the items in the list according to the specified compare function.
List.sortItemsBy()
Sorts the items in the list according to a specified property.
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.multipleSelectio
n
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.
Style (Continued)
Description (Continued)