MenuBar type (joe.win)


Extends: Control

The MenuBar type is the base class for JavaFX labels like MenuBar widgets.

Initializer

Methods

Control Methods

Region Methods

Node Methods

Properties

MenuBar widgets have the following properties, in addition to those inherited from superclasses.

PropertyTypeDescription
#useSystemMenuBarBooleanUse system menu bar.

MenuBar Initializer


MenuBar([text]) → MenuBar

Returns a MenuBar.

Methods



menuBar.menu(menu) → this

Adds a Menu to the menu bar.


menuBar.menus() → joe.List

Gets the list of the menu bar's menus, which can be updated freely. All items must be instances of Menu.