public interface UserActionManager
Modifier and Type | Method and Description |
---|---|
void |
registerHandler(String category,
String action,
UserActionHandler handler)
Register a handler to the handler list of category/action, append to the last handler of same category/action.
|
void |
setHandler(String category,
String action,
UserActionHandler handler)
set a handler to the handler list of category/action, it will remove all other handlers in same category/action
|
void registerHandler(String category, String action, UserActionHandler handler)
category
- the category of the handleraction
- the action of the handlerhandler
- the handlervoid setHandler(String category, String action, UserActionHandler handler)
category
- the category of the handleraction
- the action of the handlerhandler
- the handlerCopyright © 2020. All rights reserved.