Package io.keikai.ui
Interface UserActionManager
-
- All Known Implementing Classes:
DefaultUserActionManagerCtrl
,UserActionManagerCtrlImpl
public interface UserActionManager
- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-
-
Method Detail
-
registerHandler
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.- Parameters:
category
- the category of the handleraction
- the action of the handlerhandler
- the handler
-
setHandler
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- Parameters:
category
- the category of the handleraction
- the action of the handlerhandler
- the handler
-
-