Macromedia flex 2-migrating applications to flex 2 Manual De Usuario

Descargar
Página de 184
70
Flex Classes
mx.controls.List
The following table describes changes made to the List class:
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
dragManager
 property has been added to the List classes. If you are using the drag-and- 
drop operation in the List classes, you must set 
dragManager="DragManager"
 in order for 
the drag-and-drop operation to work properly.
mx.controls.listclasses.DataProvider
The DataProvider class is removed. Use Collections instead.
For more information, see 
.
Member
Change description
cellBeginEdit
itemEditBegin
cellEditor
itemEditorInstance
cellEndEdit
itemEditEnd
cellFocusIn
itemFocusIn
cellFocusOut
itemFocusOut
cellRequestEdit
itemEditBeginning
editedCell
editedItemRenderer
focusedCell
editedItemPosition
getItemAt()
DataProvider APIs are no longer on the list-based classes. 
Instead of myList.getItemAt(index), you use 
myList.dataProvider.getItemAt(index)
.
isCellEditor
rendererIsEditor