Class MainMenuBar

    • Constructor Detail

      • MainMenuBar

        public MainMenuBar​(ControlPanelInfo info)
        Constructor.
        Parameters:
        info - the control panel information.
    • Method Detail

      • addMenus

        protected void addMenus()
        Method that can be overwritten to set specific menus.
      • quitClicked

        public void quitClicked()
        The method called when the user clicks on quick. It will check that there are not ongoing tasks. If there are tasks, it will ask the user for confirmation to quit.
      • createViewMenuBar

        protected JMenu createViewMenuBar()
        Creates the View menu bar.
        Returns:
        the View menu bar.