Package apps

Class AppsMainMenu


  • public class AppsMainMenu
    extends java.lang.Object
    Create the main menu for PanelPro and related apps. Includes opening PanelPro from DecoderPro3.

    Redundant menu code was removed from Apps and AppsLaunchFrame.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static javax.swing.Action prefsAction  
      (package private) static java.util.ResourceBundle rb  
    • Constructor Summary

      Constructors 
      Constructor Description
      AppsMainMenu()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void createMenus​(javax.swing.JMenuBar menuBar, WindowInterface wi, javax.swing.JPanel pane, java.lang.String windowHelpID)
      Add menus to a menu bar.
      • Methods inherited from class java.lang.Object

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

      • rb

        static final java.util.ResourceBundle rb
    • Method Detail

      • createMenus

        protected static void createMenus​(javax.swing.JMenuBar menuBar,
                                          WindowInterface wi,
                                          javax.swing.JPanel pane,
                                          java.lang.String windowHelpID)
        Add menus to a menu bar.

        This does not include the development menu.

        Parameters:
        menuBar - The existing menu bar
        wi - The WindowInterface to associate actions in menus with
        pane - The JPanel to associate actions in menus with
        windowHelpID - The the help id to be assigned to Help / Window Help...