Class SampleToolsMenuItem.SampleToolsMenuPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
SampleToolsMenuItem

  • Constructor Details

  • Method Details

    • initComponents

      public void initComponents()
      Your initialization code for your GUI goes here. 2nd stage of initialization, invoked after the constructor is complete.
      Overrides:
      initComponents in class JmriPanel
    • getTitle

      public String getTitle()
      This is where you define the title of your new pane. Provide a recommended title for an enclosing frame.
      Overrides:
      getTitle in class JmriPanel
      Returns:
      the title; a null value will be treated as "" by the enclosing frame
    • getMenus

      public List<JMenu> getMenus()
      This is where you define menus that go with your new panel. Provide menu items to add to a menu bar.
      Overrides:
      getMenus in class JmriPanel
      Returns:
      a list of menu items to add or an empty list