Class JMeterMenuBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement, LocaleChangeListener

public class JMeterMenuBar extends JMenuBar implements LocaleChangeListener
See Also:
  • Field Details

  • Constructor Details

    • JMeterMenuBar

      public JMeterMenuBar()
  • Method Details

    • setFileSaveEnabled

      public void setFileSaveEnabled(boolean enabled)
    • setFileLoadEnabled

      public void setFileLoadEnabled(boolean enabled)
    • setFileRevertEnabled

      public void setFileRevertEnabled(boolean enabled)
    • setProjectFileLoaded

      public void setProjectFileLoaded(String file)
    • setEditEnabled

      public void setEditEnabled(boolean enabled)
    • setEditAddMenu

      public void setEditAddMenu(JMenu menu)
    • setEditMenu

      public void setEditMenu(JPopupMenu menu)
    • setEditAddEnabled

      public void setEditAddEnabled(boolean enabled)
    • createMenuBar

      public void createMenuBar()
      Creates the MenuBar for this application. I believe in my heart that this should be defined in a file somewhere, but that is for later.
    • getLanguages

      public static String[] getLanguages()
      Generate the list of supported languages.
      Returns:
      array of language Strings
    • setRunning

      public void setRunning(boolean running, String host)
    • setEnabled

      public void setEnabled(boolean enable)
      Overrides:
      setEnabled in class JComponent
    • localeChanged

      public void localeChanged(LocaleChangeEvent event)
      Specified by:
      localeChanged in interface LocaleChangeListener
    • getAllLAFs

      public static UIManager.LookAndFeelInfo[] getAllLAFs()
      Get a list of all installed LAFs plus CrossPlatform and System.
      Returns:
      The list of available UIManager.LookAndFeelInfos