Chapter 4: Data Providers - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

CHAPTER 4
Data Providers
This topic describes migrating data providers, including the
controls and the ways you access and manipulate the data represented by the
property. For detailed information on using data providers in Flex 2, see Chapter 7, "Using
Data Providers and Collections," in Flex 2 Developer's Guide.
The DataProvider interface and class no longer exist and have been replaced by the collection
package hierarchy. However, you still use the
the data in a control such as DataGrid or Menu. The collection classes include methods for
manipulating the underlying data and the view of that data that is displayed in the control.
The collection package includes the following interfaces and classes:
IList, ICollectionView, and
you use to access and manipulate data. The ICollectionView interface can represent a
sorted or filtered subset of data without modifying the underlying data.
ArrayCollection
class, which implements the IList and ICollectionView interface using a
backing Array.
XMLListCollection
which implements the IList and ICollectionView interface using a
backing E4X XML object.
Sort, and
SortField
for sorting the data representation of an ICollectionView.
ItemResponder, for handling remote paged collections.
ListCollectionView, a building-block class used by XMLListCollection and
ArrayCollection.
For detailed descriptions of all interfaces and classes, see the
Language Reference. For documentation on using the package interfaces and classes, see
Chapter 7, "Using Data Providers and Collections," in Flex 2 Developer's Guide.
dataProvider
IViewCursor
interface, and the
property of Flex
dataProvider
dataProvider
property to specify the source of
CursorBookmark
class which
package in Adobe Flex 2
collection
4
101

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents