用户名: 密码: 验证码: QQ--程序群:31736530 动画群:38836599
闪无忧
 
首 页 业界新闻 业界杂谈 Flash教程 Flash源码 Flash图书 Flash酷站 Flex & AIR 供求信息
   本栏目通告:   请大家多多关注[Flex应用案例],更希望大家[推荐好的案例]给我们
当前位置:首页>Flex-AIR>Flex源码>
  Flex源码

Flex TreeControl Search Sample

   作者:Maikel Sibbald
   软件大小:2KB
   软件语言:英文软件
   授权方式:共享软件
   更新时间:2008-04-06
   相关网址:http://labs.flexcoders.nl/samples/TreeControl/001/
   ∷源文件简介∷        收藏
  Flex TreeControl Search Sample

一个在Tree空间中搜索字符串的例子,可以帮助理解如何遍历Tree的节点。

原文地址:http://labs.flexcoders.nl/?p=53

He Flexers,

************************************************************************************
It contained a bug, it stopped searching in a matching node.
It now also is searching in it’s children.
30-03-2007- and another update!!
************************************************************************************

I got a question on my article about my endless (tree)-battle:
“What do you mean by this request, “Find nodes by any containing property, but let’s start with a given id?”? Can you be more specific about what you are trying to do and what you want the Tree to do?”

Well the follwing sample will show what I mean. It’s showing how you can search in a (Array/ArrayCollection based) tree. It will return one object if the object is unique and if it’s not it will return an Array of possible results.

For example: The employee “M. Sibbald” exists three times in the given dataProvider, now if you search for it the method will return an array. If you search on id = 2, you will get one object back.

Now I think such a method should be one of the standard methods of a Tree. Ok ok, maybe not standard….but Adobe could provide some TreeUtils (hint!).

   ∷下载地址∷
进入下载地址列表
   ∷相关源文件∷
·基于flash ide的mvc
·创建Flex中可以使用的Flash MC元
·Flex 2 Email Form
·Drawing With the UIComponent
·FlexSpy组件
   ∷发表评论∷
用户名: 新注册) 密码: 匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
   ∷最新评论∷
   ∷下载说明∷
  ☉推荐使用网际快车下载本站软件,使用 WinRAR v3.10 以上版本解压本站软件。
  ☉如果这个软件总是不能下载的请点击报告错误,谢谢合作!!
  ☉下载本站资源,如果服务器暂不能下载请过一段时间重试!
  ☉如果遇到什么问题,请到本站论坛去咨寻,我们将在那里提供更多 、更好的资源!
  ☉本站提供的一些商业软件是供学习研究之用,如用于商业用途,请购买正版。
  Flex及AIR分类
  Flex资料   Flex动态
  Flex案例   Flex源码
  AIR资讯
  Flex相关
  寻找Flex工作机会
  发布Flex工作机会
关于我们 - 免责声明 - 网站地图 - 商务服务 - 联系我们 - RSS地图
©CopyRight 2006-2008, 5UFlash.COM, Inc. All Rights Reserved
鲁ICP备06034971号