??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美精品乱码久久久久久 ,亚洲精品国产精品国自产观看,91精品国产自产在线http://www.aygfsteel.com/bjwulin/category/32079.html正在行走的h...zh-cnThu, 17 Mar 2011 17:04:17 GMTThu, 17 Mar 2011 17:04:17 GMT60Flex真正实现as3对象和json的相互{?/title><link>http://www.aygfsteel.com/bjwulin/archive/2011/03/17/346500.html</link><dc:creator>不做躁的h</dc:creator><author>不做躁的h</author><pubDate>Thu, 17 Mar 2011 15:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/bjwulin/archive/2011/03/17/346500.html</guid><wfw:comment>http://www.aygfsteel.com/bjwulin/comments/346500.html</wfw:comment><comments>http://www.aygfsteel.com/bjwulin/archive/2011/03/17/346500.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bjwulin/comments/commentRss/346500.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bjwulin/services/trackbacks/346500.html</trackback:ping><description><![CDATA[首先Q我不是专门做前端的Q用的时候研I下Q目前希望将flex的class instance串行化成为Json以及从Json转换成class instance?br /> <br /> 目前已经有比较好的实玎ͼ是在as3corelib。代码比较好懂。不qas3corelib只是json和Object的instance转换Q而我的应用中需要{换成具体的class的instanceQ因此,我hack了代码,扩展好像不容易,很多代码都是privateQextendscL义不大?br /> <br /> 1、JsonEncodercR?br /> ?82行修改ؓQ?br /> return "{" + '"className":"' + flash.utils.getQualifiedClassName(o) + '"' + (s.length > 0 ? ',' : '') + s + "}";<br /> 增加classNameQ标C个对象是什么类的?br /> <br /> 2、JsonDecorderc?br /> ?35行增加:<br /> if (key == 'className') {<br />        var className:String=parseValue().toString();<br />        var clazz:Class=getDefinitionByName(className) as Class;<br />        o=new clazz();<br />       } else {<br />        o[key]=parseValue();<br />       }<br /> <br /> q行良好Q有两点要注意的是:1、我始终className攑֜最前面Q?Q这些持久类的构造方法不要带参数?br /> <br /> Ƣ迎转蝲Q请标明来自Q?a href="http://www.aygfsteel.com/bjwulin/archive/2011/03/17/346500.html">http://www.aygfsteel.com/bjwulin/archive/2011/03/17/346500.html</a> <img src ="http://www.aygfsteel.com/bjwulin/aggbug/346500.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bjwulin/" target="_blank">不做躁的h</a> 2011-03-17 23:08 <a href="http://www.aygfsteel.com/bjwulin/archive/2011/03/17/346500.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>LCCS的基本概?/title><link>http://www.aygfsteel.com/bjwulin/archive/2010/11/20/338522.html</link><dc:creator>不做躁的h</dc:creator><author>不做躁的h</author><pubDate>Sat, 20 Nov 2010 01:43:00 GMT</pubDate><guid>http://www.aygfsteel.com/bjwulin/archive/2010/11/20/338522.html</guid><wfw:comment>http://www.aygfsteel.com/bjwulin/comments/338522.html</wfw:comment><comments>http://www.aygfsteel.com/bjwulin/archive/2010/11/20/338522.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bjwulin/comments/commentRss/338522.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bjwulin/services/trackbacks/338522.html</trackback:ping><description><![CDATA[  <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">1.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">application</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Q应用是Z服务的Rooms的集合管理,应用Ҏ有Rooms讄账单消费的限制以及ؓ新的Room创徏提供模板?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">2.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">room</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Qroom指客Lq接的服务上的一个虚拟位|。在一个Room里面的client能够互相发送和接受数据。可以认为Room是现实中的会议地点。我们能够在E序中手工徏立RoomQ也可以使用Room Console?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">3.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Session</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Q会话是客户端连接上一个RoomQ只要连接还存在Q那么会话也会存在?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">4.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">application template</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Q一个应用模板主要保存Room的配|信息,包括collectionNodes, nodes, configurations, items, 和room settingsQRooms也可以保存ؓ应用E序模板。我们可以通过Room Console或者RoomTemplater Api来徏立模ѝ?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">5.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Collection node</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Q处于节点层ơ中的最高层Q它是Room messages的主要目的地。通常来说Q共享模型中的模型类QPod和SharedManager实例化ƈ且自我管理,它们都在Room的根目录下有自己的Collection node?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">6.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Node</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">QCollection node分支Z个或多个nodes。Nodes发布可以存储在服务上的消息项。一般来_一个Node大致包含和它的Collection node相同的权限和存储Q同时也支持消息权限和存储策略、用戯色等个别节点的配|?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">7.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Provisioning</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Q创Z个新的Room以及可选的Room配置Q比如所需要的控g和设|等?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">8.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Templating</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">Q保存一个Room的组Ӟ讄以及应用模板的细节信息。这个模板能够用于创建新的Room?/span></p> <p style="line-height: 150%; text-indent: -18pt; margin-left: 18pt" class="MsoListParagraph"><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">9.</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">room settings:Room</span><span style="line-height: 150%; font-family: 仿宋; font-size: 14pt">的设|?/span></p> <img src ="http://www.aygfsteel.com/bjwulin/aggbug/338522.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bjwulin/" target="_blank">不做躁的h</a> 2010-11-20 09:43 <a href="http://www.aygfsteel.com/bjwulin/archive/2010/11/20/338522.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Text Layout FrameWork增加wordSpacing新属性?/title><link>http://www.aygfsteel.com/bjwulin/archive/2010/11/17/338250.html</link><dc:creator>不做躁的h</dc:creator><author>不做躁的h</author><pubDate>Wed, 17 Nov 2010 05:44:00 GMT</pubDate><guid>http://www.aygfsteel.com/bjwulin/archive/2010/11/17/338250.html</guid><wfw:comment>http://www.aygfsteel.com/bjwulin/comments/338250.html</wfw:comment><comments>http://www.aygfsteel.com/bjwulin/archive/2010/11/17/338250.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bjwulin/comments/commentRss/338250.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bjwulin/services/trackbacks/338250.html</trackback:ping><description><![CDATA[<p>wordSpacing主要用于更好地控制词的空间。如果是非调整性文本,一般是Ҏ字体的字W空间来讄词的I间Q不同的字体有不同的I间?br /> <br /> 如果我们要调整文本,wordSpacing主要是段落格式属性,接收三个癑ֈ数的数组Q第一个定义是希望选定的空_W二个和W三个分别是最间距和最大空间。比如缺省设|ؓQwordSpacing=”100%,50%,150%”?/p> <img src ="http://www.aygfsteel.com/bjwulin/aggbug/338250.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bjwulin/" target="_blank">不做躁的h</a> 2010-11-17 13:44 <a href="http://www.aygfsteel.com/bjwulin/archive/2010/11/17/338250.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Flex mxmlc~译命o选项http://www.aygfsteel.com/bjwulin/archive/2010/11/12/337912.html不做躁的h不做躁的hFri, 12 Nov 2010 06:56:00 GMThttp://www.aygfsteel.com/bjwulin/archive/2010/11/12/337912.htmlhttp://www.aygfsteel.com/bjwulin/comments/337912.htmlhttp://www.aygfsteel.com/bjwulin/archive/2010/11/12/337912.html#Feedback0http://www.aygfsteel.com/bjwulin/comments/commentRss/337912.htmlhttp://www.aygfsteel.com/bjwulin/services/trackbacks/337912.html阅读全文

不做躁的h 2010-11-12 14:56 发表评论
]]>
flex应用开发工h版本 http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337818.html不做躁的h不做躁的hThu, 11 Nov 2010 08:48:00 GMThttp://www.aygfsteel.com/bjwulin/archive/2010/11/11/337818.htmlhttp://www.aygfsteel.com/bjwulin/comments/337818.htmlhttp://www.aygfsteel.com/bjwulin/archive/2010/11/11/337818.html#Feedback0http://www.aygfsteel.com/bjwulin/comments/commentRss/337818.htmlhttp://www.aygfsteel.com/bjwulin/services/trackbacks/337818.html"hero"是flex sdk 4.5的版本?/p>

"Burrito"是flash builder 4.5的版本?/p>

"Panini"是flash catalyst的下一个版本?/p>

"Helios"是eclipse 3.6的版本代受?/p>

hero已经包含了spark的Form,Image,DataGrid的控Ӟ以前的mx的可以考虑q移了?/p>

hero是以前slide的新名字Qflex mobile的架构。用flex sdk开发mobileQ大概有两种方式Q第一U就是写U的as3应用Q第二种是用hero sdkQ两U都要基于air2.5 for android rt。还有另外一U方式,是Christophe Coenraets提出的变通方式,大概是WindowedApplicationҎApplication的air。我试q,q种方式的开发效 率高Q基本上很多flex的组仉可以使用Q但是效率确实不是很好,官方也不提倡这么做。个人推荐hero sdk方式?/p>

 

Burritoh以下特色Q?/p>

1、可以开发mobile和多屏幕应用?/p>

2、加速Flex或者as目的编码,整个工具易用了不?/p>

3、提高设计者和开发者的配合?/p>

4、更新^台支持以及提高性能?/p>

5、其它方面的提升。大概两点值得xQ第一个是可以建立spark only的项目,W二个是预览和调试可以直接在flash player中执行,不用html wrapper了?/p>

Burrito只发行一个版本,取消以前的插件版和独立版的概c要Burrito集成到eclipse里面Q只需要用utilities目录的一个小功能配置到已l存在的eclipse中即可?/p>

不做躁的h 2010-11-11 16:48 发表评论
]]>
flex mobile开发的一些考虑?/title><link>http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337817.html</link><dc:creator>不做躁的h</dc:creator><author>不做躁的h</author><pubDate>Thu, 11 Nov 2010 08:47:00 GMT</pubDate><guid>http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337817.html</guid><wfw:comment>http://www.aygfsteel.com/bjwulin/comments/337817.html</wfw:comment><comments>http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337817.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/bjwulin/comments/commentRss/337817.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/bjwulin/services/trackbacks/337817.html</trackback:ping><description><![CDATA[在移动触摸屏上的应用和传l桌面应用以及web 应用在设计上有以下的考虑Q?br /> <br /> 1、ؓ了更好在触摸屏幕上输入,界面lg必须有更大的点击区域Q尤其在像素点密集的手持讑֤屏幕上?br /> <br /> 2、一些交互动作的方式Q比如滚动,都和传统应用有比较大的差别?br /> <br /> 3、由于手持设备的屏幕,因此界面设计上和传统要有很大的差别,一般徏议用在一个展现界面用较少的组件。另外还得考虑手持讑֤的屏q大的不一致性?br /> <br /> 4、尽手持设备的处理能力来强Q但是和传统的台式机相比依然有很大的差别?br /> <br /> 5、由于手持设备的内存很有限,所以,应用E序需要仔l考虑如何节约内存Q也需要考虑它们会被操作pȝ在Q何时候退出和重启动,需要保存应用的当前状态?br /> <br /> <img src ="http://www.aygfsteel.com/bjwulin/aggbug/337817.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/bjwulin/" target="_blank">不做躁的h</a> 2010-11-11 16:47 <a href="http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337817.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>flex web Application讄最高度和宽度?http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337815.html不做躁的h不做躁的hThu, 11 Nov 2010 08:46:00 GMThttp://www.aygfsteel.com/bjwulin/archive/2010/11/11/337815.htmlhttp://www.aygfsteel.com/bjwulin/comments/337815.htmlhttp://www.aygfsteel.com/bjwulin/archive/2010/11/11/337815.html#Feedback0http://www.aygfsteel.com/bjwulin/comments/commentRss/337815.htmlhttp://www.aygfsteel.com/bjwulin/services/trackbacks/337815.html我们希望flex web能够充分利用客户览器的内容昄I间Q也希望当用L览器内容空间太的情况下不至于我们的flex web压羃的难看,因此Q我们希望flex web有个minHeight和minwidth。而width和height能够充分适应屏幕。花了几个小时解冻I记蝲下:

1、在swfobject.js中填充代码:

function addResizeEvent(fn) {
        if (typeof win.addEventListener != UNDEF) {
            win.addEventListener("resize", fn, false);
        }
        else if (typeof doc.addEventListener != UNDEF) {
            doc.addEventListener("resize", fn, false);
        }
        else if (typeof win.attachEvent != UNDEF) {
            addListener(win, "onresize", fn);
        }
        else if (typeof win.onresize == "function") {
            var fnOld = win.onresize;
            win.onresize = function() {
                fnOld();
                fn();
            };
        }
        else {
            win.onresize = fn;
        }
    }

Z用swfobject.addResizeEventQ在swfobject原型定义上增加一行代码:

addResizeEvent: addResizeEvent,


2、修改html templateQ增加:

    var appSwf=null;
            var minHeight=600;
            var minWidth=900;
           
            swfobject.addLoadEvent(function(){
                appSwf=swfobject.getObjectById("${application}");
                adjustAppSwfSize();
            });
           
            swfobject.addResizeEvent(function(){
                adjustAppSwfSize();
            });

            //调整Flex app的大?br />             function adjustAppSwfSize(){
                if (appSwf!=null){
                    if (getBrowserContentWidth()<minWidth){
                        if (appSwf.width!=minWidth){
                            appSwf.width=minWidth;
                        }
                    }else if (appSwf.width!="100%"){
                        appSwf.width="100%";
                    }


                    if (getBrowserContentHeight()<minHeight){
                        if (appSwf.height!=minHeight){
                            appSwf.height=minHeight;
                        }
                    }else if (appSwf.height!="100%"){
                        appSwf.height="100%";
                    }                   
                }
            }

            //得到览器内容区宽度
            function getBrowserContentWidth(){
                 if (document.documentElement && document.documentElement.clientWidth) {
                        return document.documentElement.clientWidth;
                 } else if (document.body) {
                        return document.body.clientWidth;
                 }
            }
            //得到览器内容区高度
            function getBrowserContentHeight(){
                 if (document.documentElement && document.documentElement.clientHeight) {
                        return document.documentElement.clientHeight;
                 } else if (document.body) {
                        return document.body.clientHeight;
                 }
            }


以上代码目前的浏览器都跨了。我很久不写js代码了,生疏了?br />



不做躁的h 2010-11-11 16:46 发表评论
]]>
hero开发mobile的一些点?http://www.aygfsteel.com/bjwulin/archive/2010/11/11/337816.html不做躁的h不做躁的hThu, 11 Nov 2010 08:46:00 GMThttp://www.aygfsteel.com/bjwulin/archive/2010/11/11/337816.htmlhttp://www.aygfsteel.com/bjwulin/comments/337816.htmlhttp://www.aygfsteel.com/bjwulin/archive/2010/11/11/337816.html#Feedback0http://www.aygfsteel.com/bjwulin/comments/commentRss/337816.htmlhttp://www.aygfsteel.com/bjwulin/services/trackbacks/337816.html
2、目前这个阶D,只有如下lgq行优化Qƈ且具有mobile主题的皮肤。所以徏议目前开发的mobile app使用如下控gQ?br />
Controls Button
CheckBox
Image (BitmapImage is also supported)
Label
List (supports touch scrolling, includes scroll indicator)
RadioButton / RadioButtonGroup
TextArea
TextInput
Layout DataGroup
Group
HGroup
Scroller (supports touch scrolling, includes scroll indicator)
TileGroup
VGroup
Charts All (add mx.swc and datavisualization.swc to library path)


3、hero sdk增加View,ActionBar,ViewNavigator,MobileApplicationlg?br />
4、ViewlgQ每个Viewlg都有一个data属性,用于展现在该View上的数据。当用户切换屏幕的方向时QView能够自动Ҏ横向或者纵向的比例调整界面。如果开发过E中采用Flex的标准布局理器,则徏议最好在View中中实现portrait ?landscape 两种State?br />
5、ActionBarQ标准的昄在View上的头部控g栏。一般都是包含一个标题和一个或多个按钮。按钮能够贯穿整个应用的按钮或者是专属于每个view的按钮?br />
6、ViewNavigator:用堆栈机制管理ActionBar和Views。当应用启动ӞViewNavigator昄 mobileApplication的firstView指定的View。启动之后,可以通过pushView()一个新的View昄在界面上Q或者通过popView()q回C一个界面。ؓ了节U内存,在一个时刻,只有一个View攑֜内存里。其他的都以数据持久的方式保存,当切换到其它界面Ӟ都会Ҏ持久的数据重新初始化View?br />
7、MobileApplicationQ基于该cȝ应用Q可以自动获得ViewNavigator来管理Views?MobileApplication也针对硬件的q回按钮提供了默认行为,即popView()。当屏幕方向发生改变Ӟ向ViewNavigator和当前View发送方向改变事件。另外,当你的应用退出时QMobileApplication提供一个方式保存你的应用状态和数据Q以便于下次启动时直接回复当前视图以及历史视N合。这个很重要Q因为移动操作系l很容终端或者kill你的应用?br />
当然Q我们也可以直接用Spark application来创建mobile appQ而不用View navigator的模式。但是依然徏议尽量去使用优化q的mobile主题?br />
8、mobile app性能优化Q?br />
8.1Q创建ItemRendererӞ使用As3而不要去使用Mxml。因为列表滚动非常耗性能QHeroq提供了 MobileIconItemRendererQ该cd以配|显CZ个或两个文本itemQ一个可选的左边的图标或者图片itemQ一个可选的双的装饰器。一般徏议扩展这个类来满x的需求?br />
8.2Q尽量用As3或者编译过的FXG囑Ş或者位图作为控件的皮肤Q而不是用mxml或者mxmlq行时图形?br />
8.3Q不在mobile app中用mx控gQ尽量用spark控gQmx:charts已经做过优化Q可以在mobile中用。在mobile中用mx:charts需要手工加入mx.swc和datavisualization.swc

8.4Q尽量用Spark的label,TextInput,TextAreaQ避免用RichText和RichEditableText.


不做躁的h 2010-11-11 16:46 发表评论
]]>
dto是flex应用pȝ的最佛_践之一http://www.aygfsteel.com/bjwulin/archive/2008/06/10/206923.html不做躁的h不做躁的hTue, 10 Jun 2008 06:36:00 GMThttp://www.aygfsteel.com/bjwulin/archive/2008/06/10/206923.htmlhttp://www.aygfsteel.com/bjwulin/comments/206923.htmlhttp://www.aygfsteel.com/bjwulin/archive/2008/06/10/206923.html#Feedback2http://www.aygfsteel.com/bjwulin/comments/commentRss/206923.htmlhttp://www.aygfsteel.com/bjwulin/services/trackbacks/206923.html1、ؓ每一个java dtocd义一个对{的ASc?br />AS:
package datasource.dto {

    [RemoteClass(alias="datasource.dto.CustomerDTO")]
    public class CustomerDTO {
        public  var firstName : String;
        public  var birthDate: Date;
    }
}

JAVA:
public class CustomerDTO {
    public String firstName;
    public java.util.Date birthDate;
}   

2、让AS的DTOcȝ所有属性都是绑定的Q因此,最好是在类的前面加上绑定的元数?font color="#000000">
package datasource.dto {
    [RemoteClass(alias="datasource.dto.CustomerDTO")]
    [Bindable]
    public class CustomerDTO {
        public  var firstName : String;
        public  var birthDate: Date;
    }
}

3、ؓServer和Client的Dtoc都讑֮UUID的属性,便于在表格等集合中排序用,比如Qh员信息中Q按性别排序Q由于性别是不唯一的数据,因此必须加上性别和UUID的组合排序,在性能上,也会有所提升?br />
4、尽量用getter和setterҎ代替Public属性?br />
5、可以考虑做Dto的扩展类来实C些定制的目的Q比如在c里面有个计列Q我们可以扩展一个类Q?font color="#000000">
package datasource.dto {
    [RemoteClass(alias="datasource.dto.CustomerDTO")]
    public class PortfolioItemExtendedDTO extends PortfolioItemDTO

    public function get unrealizedGain():Number {
        return lastPrice - costBasis;
    }
   而不是在表格的ItemEditEnd事g来实现相似功能?br />
6、如果存在计列Q可以考虑计算列的l定。可以写一个无效的setterҎ?br />Bindable(event="propertyChange")]
    public function get unrealizedGain():Number {
        return lastPrice - costBasis;
    }
    public function set unrealizedGain(value:Number):void {
        // Ain't gonna happen, but Flex won't consider Bindable without the setter
    }





不做躁的h 2008-06-10 14:36 发表评论
]]>
վ֩ģ壺 Դ| | | | ְ| | | | ľ| | ³ɽ| ˮ| | ˻| ƽ| | | Զ| İ| ˮ| ƽ| | | | | ɽ| | Դ| ¡| »| ƽԶ| | | | | | °Ͷ| | | | |