Interface Menu
public interface Menu
A menu to be displayed in the
MenuBar.-
Method Summary
Modifier and TypeMethodDescriptioncaption()The caption to be displayed for the menu.static MenuCreate a new instance ofMenu.The list ofMenuItemthat will be displayed in the menu.withCaption(String caption) Create a copy ofMenuwith a new caption.withMenuItems(MenuItem... menuItems) withMenuItems(List<MenuItem> menuItems)
-
Method Details
-
caption
-
withCaption
-
withMenuItems
-