Package 

Interface MenuAction


  • 
    public interface MenuAction
    
                        

    Represents an action that executes when the user selects an item in a Hover menu.

    • Method Summary

      Modifier and Type Method Description
      abstract void execute(@NonNull() Context context, @NonNull() Navigator navigator) Executes a desired action, possibly navigating to new content by using the given {@code navigator}.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

         abstract void execute(@NonNull() Context context, @NonNull() Navigator navigator)

        Executes a desired action, possibly navigating to new content by using the given {@code navigator}.

        Parameters:
        context - context
        navigator - the Navigator that holds the menu that this action belongs to