MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manuel d'utilisateur Page 110

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 184
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 109
110 Binding
Binding with Flex component properties
You can no longer use all properties of Flex components as the source of a data binding
expression without extending those controls. Properties of Flex components that can be used
as the source of a data binding expression contain the following description in their entry in
the ActionScript 3.0 Language Reference:
This property can be used as the source for data binding.
Binding with Arrays
In Flex 1.5, the DataProvider class had convenience functions that it inherited from Array
such as
addItem() and removeItemAt(). These functions dispatched events so that Arrays
and Array subclasses could be used as the source of a data binding expression. In Flex 2,
Arrays supports only one-time binding. If you want your DataProviders to support binding,
you must convert them to Collections.
For more information on migrating applications that use the DataProvider class, see
mx.controls.listclasses.DataProvider” on page 70.
For more information on using Collections, see Flex 2 Developers Guide.
Vue de la page 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 183 184

Commentaires sur ces manuels

Pas de commentaire