隨筆-75  評(píng)論-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.

          數(shù)據(jù)綁定特性可以在運(yùn)行時(shí)自動(dòng)將一個(gè)客戶端對(duì)象的屬性復(fù)制到另一個(gè)客戶端對(duì)象的屬性。數(shù)據(jù)綁定通常當(dāng)一個(gè)原對(duì)象的屬性改變時(shí)被觸發(fā)。你可以使用數(shù)據(jù)綁定將用戶輸入數(shù)據(jù)傳遞至數(shù)據(jù)服務(wù)端。你也可以使用數(shù)據(jù)綁定將數(shù)據(jù)服務(wù)端的返回值傳遞至用戶交互界面。

          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.

          數(shù)據(jù)模型特性可以將數(shù)據(jù)存儲(chǔ)于客戶端,一個(gè)數(shù)據(jù)模型是一個(gè)ActionScript對(duì)象,這個(gè)對(duì)象的屬性與要存儲(chǔ)的數(shù)據(jù)對(duì)應(yīng),這個(gè)對(duì)象也可能包含一些其它方法。數(shù)據(jù)模型對(duì)于將程序中的用戶交互界面與數(shù)據(jù)分離非常有效。

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

          數(shù)據(jù)校驗(yàn)特性使得程序在使用數(shù)據(jù)前,確保數(shù)據(jù)符合一定的標(biāo)準(zhǔn)。

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

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

          posted on 2006-10-30 23:26 The Matrix 閱讀(290) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): Flex2
          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          隨筆分類(lèi)(72)

          隨筆檔案(67)

          文章分類(lèi)(5)

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 化隆| 镇康县| 广河县| 齐齐哈尔市| 始兴县| 门源| 公安县| 高阳县| 舒城县| 南阳市| 桂平市| 宜昌市| 会泽县| 内江市| 都江堰市| 瑞丽市| 广南县| 凭祥市| 南川市| 民县| 克什克腾旗| 陈巴尔虎旗| 鲜城| 大方县| 北宁市| 镇康县| 蚌埠市| 武强县| 嘉鱼县| 安国市| 莱阳市| 陆良县| 彩票| 云和县| 枣庄市| 昭苏县| 城步| 隆回县| 民权县| 宁波市| 颍上县|