<MENUBAR> : Menu bar

Java class : leon.view.LyMenuBar

ROLE

A menu bar allows displaying a set of menus.
It can be displayed in a main window of a Application Engine application

ATTRIBUTES

<!ATTLIST MENUBAR
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the menu bar.  
template no MENUBAR.template  
font no MENUBAR.font  
color no MENUBAR.color  
fontColor no MENUBAR.fontColor  

ELEMENTS

<!ELEMENT MENUBAR 
	  (ICON?,
	   MENU*)>
Element Mand. Mult. Description
ICON no no Icon of the menu bar.
MENU no yes Menus contained in the menu bar.

SAMPLE

<!-- Menu bar containing 2 menus -->
<MENUBAR id="_menuBar">
	<!-- Actions menu -->
	<MENU label="LY_MENU_ACTIONS">
		<ITEM id="_consult" label="LY_ACTION_CONSULT" enabled="false"/>
		<ITEM id="_export" label="LY_ACTION_EXPORT" enabled="false"/>
		<SEP/>
		<!-- Sub-menu of the Actions menu -->
		<MENU label="LY_ITEM_XREF">
			<ITEM id="user_cls" label="CLASS_USER" enabled="false"/>
			<ITEM id="admin_cls" label="CLASS_ADMIN" enabled="true"/>
		</MENU>
	</MENU>
	<!-- Help menu-->
	<MENU id="_menu_help" label="LY_MENU_HELP">
		<ITEM id="_version" label="LY_ITEM_VERSION" dialog="true"/>
		<ITEM id="_about" label="LY_ITEM_ABOUT" dialog="true"/>
	</MENU>
</MENUBAR>