Interface MenuBarCustomizer
-
@API(type=EXTENDABLE, src=PUBLIC) public interface MenuBarCustomizer
Customizes components from the main menu bar.- Since:
- 11.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customizeMainMenu(javax.swing.JMenuBar mainMenu)
Customize the components which get displayed on the main menu bar.
-
-
-
Method Detail
-
customizeMainMenu
void customizeMainMenu(javax.swing.JMenuBar mainMenu)
Customize the components which get displayed on the main menu bar. This callback may be received multiple times during the editing session and you need to avoid adding your actions multiple times, check if they have already been added and if they have avoid adding them again to the menu.- Parameters:
mainMenu
- The main menu bar.
-
-