Package 

Class DoNothingMenuAction

  • All Implemented Interfaces:
    io.mattcarroll.hover.content.menus.MenuAction

    
    public class DoNothingMenuAction
     implements MenuAction
                        

    MenuAction that does nothing. Use this for temporary stubbing of menu item behavior.

    • Method Summary

      Modifier and Type Method Description
      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

         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