转载:http://www.cnblogs.com/fxair/archive/2010/08/09/1795614.html Flex 里[Exclude]标签的作用:对外忽略/隐藏内部某对象 比如,采用mxml来自定义组件 CustomComponent: 1. <?xml version="1.0" encoding="utf-8"?> 2. <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"> 3. <mx:Button id="mybt"/> 4. </mx:Canvas> 别的地方在使用此组件的时候,是可以访问到 mybt的,在输入属性设置的时候,都会有mybt属性的提示: 如果说不想让外部访问mybt,这个时候就用到了[Exclude]标签了。 修改自定义组件的代码为: 1. <?xml version="1.0" encoding="utf-8"?> 2. <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"> 3. <mx:Metadata> 4. [Exclude(name="mybt",kind="property")] 5. </mx:Metadata> 6. <mx:Button id="mybt"/> 7. </mx:Canvas> 这样外部在调用CustomComponent的时候,就访问不到mybt了。
发表评论
-
某设计项目功能
2012-12-21 16:24 0IDS1000(集群); 箱体选型 ... -
flex中的排序--很简单的写法
2012-12-19 14:50 1419floorRoomPoints.sortOn(" ... -
flex反射的一个应用,获取类的相关信息
2012-12-14 16:00 0public class DemoImage ... -
flex前后台交互通用类
2012-12-14 14:29 0/** * 通用flex响应对象 */ ... -
验证点是否在封闭图形内
2012-12-14 14:28 01. 我自己想了个办法: 直接沿这个目标 ... -
twaver flex 和 flex开发中总结的一些知识点
2012-12-14 14:25 0对于twaver,只能用hall ... -
绘制网格
2012-12-13 09:30 0/** * 将画图区域用网格填充, ... -
flex中的隐藏组件实现(去掉原来所占的位置)
2012-12-13 09:23 0flex中的隐藏组件实现(去掉原来所占的位置): 使用inc ... -
自定义通用事件
2012-12-13 09:20 0import flash.events.Event; ... -
twaver flex为node活link添加事件
2012-12-11 10:58 0第1种办法. var linkUI:LinkUI = ... -
twaver flex摘要
2012-12-11 10:52 0//控制移动 network.mova ... -
flex相对坐标转化成全局坐标
2012-12-06 15:02 0var point:Point = new Point ... -
flex验证
2012-12-04 09:29 0private function validata( ... -
itemRenderer
2012-11-12 10:09 865tree.itemRenderer=new ClassFac ... -
flex缺点分析带补充
2012-09-29 09:11 9571.编译后的文件较大 2.swf不利于搜索引擎 -
解决flex builder调试时提示要下载最新调试版本问题
2012-09-25 09:45 1292有时公司没连网,flash player官方有更新时,会提示要 ... -
flash plaer 调试下载地址
2012-09-24 16:48 750http://www.adobe.com/go/flashpl ... -
flex绘制不规则形状图形,并填充背景色
2012-09-03 17:43 2587protected function button ... -
flex反编译软件,能反编译出资源和代码
2012-08-25 16:36 1548flex反编译软件,能反编译出资源和代码: Sothink S ... -
twaver flex旋转问题
2012-07-16 17:32 1102var nodeUI:NodeUI = this.networ ...
相关推荐
exclude: ".noExl",//不被导出的表格行的CSS class类。 name: "Excel Document Name",//导出的Excel文档的名称。 filename: "myFileName" + new Date().toISOString().replace(/[\-\:\.]/g, ""),//Excel文件的...
exclude: ".noExl", // 可以将CSS类“noExl”添加到任何tr标记,以在导出时忽略指定的表数据 name: "Excel Document Name", filename: "xxx.xlsx", fileext: ".xlsx", exclude_img: true, // 确定是否排除图像...
15 // If you want to only create a database in memory, exclude the +fileName 16 Connection conn = DriverManager.getConnection("jdbc:sqlite:"+fileName); 17 // Create a Statement object for the database...
./sqlmap.py -u http://www.evil0x.com/ test.php?p=2 -b –dump -C “user,pass” -v 1 –exclude-sysdbs 5. ./sqlmap.py -u http://www.evil0x.com/ test.php?p=2 -b –sql-shell -v 2 6. ./sqlmap.py -u ...
This way I can find out what devices can and cant be supported and exclude this app from showing in the market for those devices (HTC + many others). I will make the dataset public.
rsync使用–include参数与–exclude参数来实现同步指定目录,并且–exclude目录放在后面。 例如: linux上文件目录 代码如下: ls /usr/local/apache/htdocs/site aa bb cc dd ee .. zz 只想同步aa,bb,ee这三个目录...
* It is possible to exclude system databases when enumerating tables, useful when dumping the entire DBMS databases tables entries and you want to skip the default DBMS data; * It is possible to ...
# FlexLM Licenses to be monitored.---licenses: - name: app1 license_file: /usr/local/flexlm/licenses/license.dat.app1 features_to_exclude: feature1,feature2 monitor_users: True monito
假设最开始的命令是这样的 rsync -e ‘ssh -p 30000’ -avl –delete –stats –progress demo@123.45.67.890:/home/demo /backup/ 一、排除单独的文件夹和文件 要排除sources文件夹,我们可以添加 ‘–exclude’ ...
- exclude/this/path/* - " *.tmp " - " *.pdf " - " *.gz " regex : - ' .*\.(tmp|bin|tar)$ ' 您可以提供每种类型的零个或多个模式。 (如果您不提供任何模式,那么将不会发生任何事情!)
js $ / , exclude : / ( node_modules | bower_components ) / , use : { // Use `.swcrc` to configure swc loader : "swc-loader" } } ] ;} 您可以使用option属性将选项传递给加载程序。module:
Myeclipse--->> Exclude From Validation忽略红色的问题 5、看TypeScript例子源碼情況.ts文件,javascript源碼是.js 6、参考博客.. http://ju.outofmemory.cn/entry/954 ...
用于 Webpack 的 JSXHint 加载器使用现有的和以及预加载器提示的配置。用法jshint: { //Options to jshint-loader .../, exclude: __dirname + '/node_modules', loader: 'jsxhint-loader' }]
问题:如何避开同步指定的文件夹? –exclude rsync –exclude files and folders ...直接添加–exclude 即可 比如–exclude “proc” –exclude ‘sources’ Note: the directory path is relative to the folder yo
loy :delivery_truck: 最小的rsync部署 用法 npm i rploy -D 将源和目标选项添加到您的package.json : { " rploy " : { " source " : " public/ " , ... " exclude " : [ " .DS_Store " , " Icon " ,
clamAV clamAV查杀恶意程序 开启服务 # service clamd start # netstat -nltup |grep clamd # chkconfig clamd on # clamdscan - V ...(6) --exclude=REGEX:不扫描与正则表达式匹配的文件 (7) --exc
粘贴(或输入) https://github.com/gruehle/exclude-folders并单击“安装” 默认情况下,此扩展排除所有的node_modules文件夹。 如果要排除其他文件夹,请在main.js第41行中编辑正则表达式。 例如,如果要排除所有...
环ui许可证检查器 ... 愉快地发展(R) 选项 filename :字符串 format :(参数= {模块:模块[]})=>字符串 exclude :RegExp forceAddPackages :模块[] customLicenses :模块[] ... 选项用法和module对象结构示例:
exclude ( [ '::1/127' ] , [ '::1/128' ] ) //=> ['::/128'] cidrTools . expand ( [ '2001:db8::/126' ] ) //=> ['2001:db8::', '2001:db8::1', '2001:db8::2', '2001:db8::3'] cidrTools . overlap ( '1.0.0.0/...
使用方法: 进入新捡出的目录 svn log -v --xml > logfile.log java -jar statsvn.jar -title ...**/*.py -exclude **/*.gif;**/*.jpg;**/*.png;**/*.bmp;**/*.zip;**/*.rar -threads 50 e:/abc/logfile.log e:\abc