addEventListener()、removeEventListener()实现机制
摘要:
UML图OnListener接口1 public interface OnListener {2 void handleMessage(Event evt);3 }IEventDispatcher接口1 public interface IEventDispatcher {2 void addEventListener(String type, OnListener listener);3 void removeListener(String type, OnListener listener);4 void dispatchEvent(Event event)... 阅读全文
posted @ 2012-02-09 23:09 RTFSC 阅读(2093) 评论(0) 推荐(0) 编辑