隨筆-75  評論-193  文章-5  trackbacks-0

          P980
          Representing Data

          RepresentingData.JPG
          Data binding
          The data binding feature provides a syntax for automatically copying the value of a property
          of one client-side object to a property of another object at run time. Data binding is usually
          triggered when the value of the source property changes. You can use data binding to pass user
          input data from user interface controls to a data service. You can also use data binding to pass
          results returned from a data service to user interface controls.

          數據綁定特性可以在運行時自動將一個客戶端對象的屬性復制到另一個客戶端對象的屬性。數據綁定通常當一個原對象的屬性改變時被觸發。你可以使用數據綁定將用戶輸入數據傳遞至數據服務端。你也可以使用數據綁定將數據服務端的返回值傳遞至用戶交互界面。

          Data models
          The data model feature lets you store data in client-side objects. A data model is an
          ActionScript object that contains properties for storing data, and that optionally contains
          methods for additional functionality. Data models are useful for partitioning the user interface
          and data in an application.

          數據模型特性可以將數據存儲于客戶端,一個數據模型是一個ActionScript對象,這個對象的屬性與要存儲的數據對應,這個對象也可能包含一些其它方法。數據模型對于將程序中的用戶交互界面與數據分離非常有效。

          Data validation
          The data validation feature lets you ensure that data meets specific criteria before the
          application uses the data.

          數據校驗特性使得程序在使用數據前,確保數據符合一定的標準。

          Data formatting
          The data formatting feature lets you change the format of data before displaying it in a user
          interface control.

          數據格式特性使得在將數據顯示于用戶交互界面前可以改變數據的顯示格式。

          posted on 2006-10-30 23:26 The Matrix 閱讀(286) 評論(0)  編輯  收藏 所屬分類: Flex2
          主站蜘蛛池模板: 河源市| 凌源市| 吉木乃县| 宁德市| 南漳县| 宜兴市| 梁平县| 齐齐哈尔市| 彭水| 淮安市| 嘉祥县| 安远县| 六盘水市| 鄯善县| 鲜城| 静宁县| 巴南区| 博罗县| 来宾市| 东阿县| 昌图县| 秀山| 神农架林区| 普安县| 永吉县| 张掖市| 泰和县| 酉阳| 福建省| 托克逊县| 浠水县| 商南县| 博野县| 正阳县| 昂仁县| 来安县| 庆元县| 广德县| 滕州市| 南昌县| 永新县|