Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual page 70

Migrating applications to flex 2
Table of Contents

Advertisement

mx.controls.List
The following table describes changes made to the List class:
Member
cellBeginEdit
cellEditor
cellEndEdit
cellFocusIn
cellFocusOut
cellRequestEdit
editedCell
focusedCell
getItemAt()
isCellEditor
mx.controls.listclasses.*
The listclasses package name has been changed to listClasses.
The class hierarchy for the list-based classes has changed, as follows:
ListBase
+-GridBase
+-DataGrid
+-List
+-Menu
+-Tree
+-TileBase
+-HorizontalList
+-TileList
A
property has been added to the List classes. If you are using the drag-and-
dragManager
drop operation in the List classes, you must set
the drag-and-drop operation to work properly.
mx.controls.listclasses.DataProvider
The DataProvider class is removed. Use Collections instead.
For more information, see
70
Flex Classes
Change description
itemEditBegin
itemEditorInstance
itemEditEnd
itemFocusIn
itemFocusOut
itemEditBeginning
editedItemRenderer
editedItemPosition
DataProvider APIs are no longer on the list-based classes.
Instead of myList.getItemAt(index), you use
myList.dataProvider.getItemAt(index).
rendererIsEditor
dragManager="DragManager"
Chapter 4, "Data Providers," on page
in order for
101.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents