Java Gui Builder |
|
You are here: | Home > Documentation > JGB Elements Documentation > Menu Element |
Group membership: Menu & items
Declares a new menu inside a menuBar element.
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. |
mnemonic | CDATA | No |
Identifies the character that will be used as this control's mnemonic. |
refaction | IDREF | No |
More information forthcoming |
text | CDATA | No |
Specifies the text that will appear on the control. Do not add an underline (_) or ampersand (&) to the text attribute to identify the mnemonic. Use this element's mnemonic attribute for that purpose. |
… <menuBar> <menu id="fileMenu" text="File" mnemonic="f"> … </menu> <menu id="editMenu" text="Edit" mnemonic="e"> … </menu> </menuBar> …
Hosted on SourceForge.net |
Valid XHTML 1.0 ! |
Valid CSS ! |
Code Coverage provided by Clover |