Interface MenuBarCustomizer
@API(type=EXTENDABLE,
src=PUBLIC)
public interface MenuBarCustomizer
Customizes components from the main menu bar.
- Since:
- 11.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeMainMenu
(JMenuBar mainMenu) Customize the components which get displayed on the main menu bar.
-
Method Details
-
customizeMainMenu
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.
-