MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manuale Utente Pagina 70

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 184
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 69
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
A 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 Chapter 4, “Data Providers,” on page 101.
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
Vedere la pagina 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 183 184

Commenti su questo manuale

Nessun commento