Package io.keikai.ui
Interface UserActionManager
- All Known Implementing Classes:
DefaultUserActionManagerCtrl,UserActionManagerCtrlImpl
public interface UserActionManager
- Author:
- dennis
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterHandler(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.voidsetHandler(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
-
Method Details
-
registerHandler
Register a handler to the handler list of category/action, append to the last handler of same category/action.- Parameters:
category- the category of the handleraction- the action of the handlerhandler- the handler
-
setHandler
set a handler to the handler list of category/action, it will remove all other handlers in same category/action- Parameters:
category- the category of the handleraction- the action of the handlerhandler- the handler
-