Interface DynamicMenuProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void update​(javax.swing.JMenu menu)
      Adds the menu items to the given menu.
      boolean updateEveryTime()
      Returns true if the menu should be updated each time it is shown.
    • Method Detail

      • updateEveryTime

        boolean updateEveryTime()
        Returns true if the menu should be updated each time it is shown. Otherwise, it will only be updated when the menu is first created, and if the menu receives a DynamicMenuChanged message.
      • update

        void update​(javax.swing.JMenu menu)
        Adds the menu items to the given menu.
        Parameters:
        menu - The menu