`
文章列表
老公啊,我们什么时候能结婚啊?“老公啊,我们什么时候能结婚啊?”女人一脸好奇的问,从声音分辨,她是很轻快的询问!他们在一起时间不久,两年而已,相处两年的情侣到处都是,随便就能抓出一大把,而现在的人,能 ...
1. 请谈谈如何看待开源软件,如何在项目中使用开源软件 2. 软件开发和软件服务的关系是什么?软件项目在实施过程中如何确保项目的进度和质量? 3. A省B省和C省都有某软件产品的项目,并已经上线。假设他们之间有80%是相 ...
<?xml version="1.0"?> <!-- DataGrid control example. --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:XMLList id="employees"> <employee> <name>Christina Coenraets</name> ...
<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2007/09/25/specifying-a-custom-label-field-on-a-flex-combobox-control/ --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" ...
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" backgroundGradientColors="[#ffffff, #ffffff]"> <mx:Script> <![CDATA[ ...
在app里加入 private function preinit():void            {                UIComponent.mx_internal::dispatchEventHook=myHook;            }             private function myHook(e:Event, uic:UIComponent):void            {                if (e.type == "preinitialize")                {                ...
下面是一些常见的编译器参数: 1,【verbose-stacktraces】 指定SWF在运行时异常信息中包含行号和文件名,这将使产生的SWF文件更大些,带 verbose-stacktraces的SWF还是和调试版本的SWF有区别的。 2,【source-path path-element】 添加其他源代码目录或文件,可以使用通配符来添加目录中所有文件或子目录,也可使用 += 在默认路径上来追加新参数,例如 -source-path+=/Users/base/Project 3,【include-libraries】 指定SWF文件被编译到程序中并链接库中所有类和资源到SWF上。如果你的程序需 ...
I had the problem that I wanted to show text in a DataGrid column which could be far longer then the available space. It was not important that the text is visible all the time so a custom cellrenderer was not needed and the solution very simple.Just define DataGridColumn like: <mx:DataGridCo ...
<?xml version="1.0" encoding="utf-8"?><students><student name="jimmy" id="111">  <grade id="math">100</grade>  <grade id="history">120</grade></student> <student name="lucy" id=&q ...
大家好,在此谈一些在ORACLE9I和PL/SQL Developer作为开发工具的环境下,对于如何编写性能好的存储过程,提一些自己的看法: 1、代码的清晰性是第一步的,代码应该整齐、缩进一致、注释充分。     PL/SQL DEV这个工具里面提供了 ...
1、缺省处理 Oracle在Order by 时缺省认为null是最大值,所以如果是ASC升序则排在最后,DESC降序则排在最前2、使用nvl函数 nvl函数可以将输入参数为空时转换为一特定值,如nvl(employee_name,’张三’)表示当employee_name为空时则返回’张 ...
  SQL中的单记录函数1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual;         A         A      ZERO     SPACE--------- --------- --------- ---------       65        97        48        32 2.CHR给出整数,返回对应的字符;SQL> select chr(54740) zhao,chr(65) ch ...
众所周知的几个结果集集合操作命令,今天详细地测试了一下,发现一些问题,记录备考。 假设我们有一个表Student,包括以下字段与数据: drop table student; create table student(id int primary key,name nvarchar2(50) not null,score number not null); insert into student values(1,'Aaron',78);insert into student values(2,'Bill',76);insert into student values(3,'Cind ...
自增字段: 表atable(id,a) id需要自增 首先建立一个序列: create sequence seq_atable minvalue 1 maxvalue 999999999999999999 start with 1 increment by 1 nocache 有二种方式使用自增字段: 使用序列+触发器实现自增,插入语句不需要管自增字段 如:create or replace trigger trg_atable before insert on atable for each row begin select seq_atable.nextval into :new.id fr ...

ClassFactory的使用

    博客分类:
  • Flex
ClassFactory 实例是一个“工厂对象”,Flex 可用其生成其它类的实例,每个实例拥有相同的属性。 它的好处是: var productRenderer:ClassFactory = new ClassFactory(ProductRenderer);  productRenderer.properties = { showProductImage: true };  myList.itemRenderer = productRenderer;其属性可以这样设置 productRenderer.properties = { showProductImage: true };<m ...
Global site tag (gtag.js) - Google Analytics