public class CommunicationRegistry extends Object
| 构造器和说明 |
|---|
CommunicationRegistry() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
getAction(EventType eventType)
获得事件对应的Action
|
static void |
regist(EventType[] eventTypes,
Object action)
注册一组事件处理对象
|
static void |
regist(EventType eventType,
Object action)
注册一个事件对应的处理对象
|
static void |
unregist(EventType eventType)
注册一个事件处理对象
|
static void |
unregist(Object action)
注销调一个Action
|
public static void regist(EventType eventType, Object action)
eventType - action - public static void regist(EventType[] eventTypes, Object action)
eventType - action - public static void unregist(EventType eventType)
eventType - public static void unregist(Object action)
action - Copyright © 2011-2015 alibaba. All Rights Reserved.