Class Modules

    • Constructor Detail

      • Modules

        public Modules()
        Initializes the menu item with no owner.
      • Modules

        public Modules​(adams.terminal.application.AbstractTerminalApplication owner)
        Initializes the menu item.
        Parameters:
        owner - the owning application
    • Method Detail

      • doRun

        protected void doRun​(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
        Actual execution.
        Specified by:
        doRun in class AbstractMenuItemDefinition
        Parameters:
        context - the context to use
      • getCategory

        public String getCategory()
        Returns the category of the menu item in which it should appear, i.e., the name of the menu.
        Specified by:
        getCategory in class AbstractMenuItemDefinition
        Returns:
        the category/menu name