Package io.keikai.ui

Interface UserActionManager

All Known Implementing Classes:
DefaultUserActionManagerCtrl, UserActionManagerCtrlImpl

public interface UserActionManager
Author:
dennis
  • Method Summary

    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 Details

    • 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 handler
      action - the action of the handler
      handler - 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 handler
      action - the action of the handler
      handler - the handler