码迷,mamicode.com
首页 >  
搜索关键字:component    ( 5606个结果
1 Set up
1 download the angular2.0 demo from githubhttps://github.com/angular/quickstart2 new index.html 3 add app.es6import {Component, Template,...
分类:其他好文   时间:2015-07-20 22:55:47    阅读次数:100
Unity3d中的属性(Attributes)整理
Attributes属性属于U3D的RunTimeClass,所以加上以下的命名空间是必须的了。其它倒没什么需要注意的。本文将所有运行属性过一遍罢了。using UnityEngine; using System.Collections;1. [AddComponentMenu] 添加组件菜单这函数只是起方便用,原本的脚本(组建)都会在“Component/Script”菜单下,在类之前声明一下这...
分类:编程语言   时间:2015-07-20 21:40:50    阅读次数:776
Composite Pattern
1.将对象组合成树形结构以表示“部分--整体”的层次结构。组合模式使得用户对单个对象和组合对象的使用具有一致性。2.Composite 模式结构图3.实现 1 #ifndef _COMPONENT_H_ 2 #define _COMPONENT_H_ 3 4 class Component 5...
分类:其他好文   时间:2015-07-20 19:11:59    阅读次数:212
修改app的默认设置(包括修改默认launcher)
1、改为自己的launcher ComponentName component = new ComponentName( context.getPackageName(), MainActivity.class.getName()); ComponentName[] components = new ComponentName[] { new ComponentName("com.andr...
分类:移动开发   时间:2015-07-20 16:38:25    阅读次数:156
Decorator Pattern
1.Decorator 模式通过组合的方式提供了一种给类增加职责(操作)的方法。2.Decorator模式结构图3.实现 1 #ifndef _DECORATOR_H_ 2 #define _DECORATOR_H_ 3 4 class Component 5 { 6 public: 7 ...
分类:其他好文   时间:2015-07-20 16:13:37    阅读次数:95
Swing 学习1
AWT和swing中框架和组件类的继承 Object Component ContainerJComponent WindowJPanel Frame JFrame
分类:Windows程序   时间:2015-07-20 15:45:06    阅读次数:145
springmvc 中controller与jsp传值
在springmvc中的controller所对应的函数中,如果需要从*.jsp页面中获取数据,可以自行在函数括号中写,springmvc会自动封装传过来的。 spring-mvc.xml 中加入 1???<!--?自动扫描?--> 2?<context:component-...
分类:编程语言   时间:2015-07-20 09:24:03    阅读次数:132
sql两表联合查询
SELECT yt_fault_componentId FROM yt_fault_component a join yt_fault_assembly b on a.yt_fault_assembly=b.yt_fault_assemblyId where a.yt_code='' and...
分类:数据库   时间:2015-07-20 09:16:05    阅读次数:151
CSS组件化思考
为什么组件化?分层设计,代码复用,减少冗余;维护方便,弹性好;如何组件化?目前代码分成三级:第一级粒度最细,是基础,主要包含字体配置,颜色配置,UI框架(比如MUI或者pure.css);第二级是组件层,项目中出现两次及以上的样式单独抽离成一个组件,如果组件小于15个,单独放到一个component...
分类:Web程序   时间:2015-07-20 01:19:49    阅读次数:201
自定义标签在IE6-8的困境
或许未来前端组件化之路都是自定义标签,但这东西早在20年前,JSTL已在搞了。现在Web Component还只有webkit支持。但一个组件库,还需要一个特殊的标识它们是一块的。不过这个XML已经帮我们搞定了,使用scopeName,如""。在我继续往下想如何处理如何为这个标签绑定数据,与其他组件...
分类:其他好文   时间:2015-07-19 23:06:15    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!