Interface MenuItem

    • Method Detail

      • getTitle

        String getTitle()
        Returns the title of the window (and text of menuitem).
        Returns:
        the title
      • getRunnable

        Runnable getRunnable​(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
        Returns the Runnable to use.
        Parameters:
        context - the context to use
        Returns:
        the runnable