摘要: 实现一个自定义组件如果要创建一个自定义组件,你需要重写UIComponent类的某些方法,最少需要重写如下方法:构造函数, createChildren(), commitProperties(), measure(), layoutChrome(), updateDisplayList() 。基础语句结构如下:package myComponents{public class MyCompone... 阅读全文
posted @ 2010-10-26 23:37 只身走天下 阅读(602) 评论(0) 推荐(0)