Package io.keikai.ui

Interface UserActionManager

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void registerHandler​(java.lang.String category, java.lang.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​(java.lang.String category, java.lang.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​(java.lang.String category,
                             java.lang.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​(java.lang.String category,
                        java.lang.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