Java Gui Builder |
|
You are here: | Home > Documentation > JGB Elements Documentation > MenuBar Element |
Group membership: Menu & items
Declares a menu bar that will be added to the enclosing window.
Upon declaration, the parent window will immediately receive a request to attach a menu bar. This means that the last declared menu bar (in document order) will be the one active when the window opens.
Name | Type | Required | Description |
---|---|---|---|
id | ID | No |
Identifies the name by which this control will be referenced by other parts of the JGB XML file or Java code. |
… <!-- Declare a first menu bar --> <menuBar id="menuBar-WhenReadingMessage"> … </menuBar> <!-- Declare a second one. This one will be on-screen when the window opens. --> <menuBar id="menuBar-WhenBrowsingMessages"> … </menuBar> …
Hosted on SourceForge.net |
Valid XHTML 1.0 ! |
Valid CSS ! |
Code Coverage provided by Clover |