Extras
MenuBarPane
Class Hierarchy:

MenuBarPane component: a menu bar containing "pull down" menus. This component is a Pane, and is generally best used as the first child of a SplitPane component whose autoPositioned property is set to true. May not contain child components.

Class Field Summary
Public DEFAULT_INSETS
Default inset margin.
Public componentType
Public modalSupport

Instance Method Summary
Public doAction()
Processes the user selection an item.

Methods inherited from class Echo.Component
getFocusComponent, add, addListener, fireEvent, get, getComponent, getComponentCount, getIndex, getLayoutDirection, getLocale, getLocalStyleData, getRenderLayoutDirection, getRenderLocale, getStyle, getStyleName, indexOf, isActive, isAncestorOf, isEnabled, isRenderEnabled, register, render, renderIndex, remove, removeAll, removeListener, set, setEnabled, setIndex, setLayoutDirection, setLocale, setStyle, setStyleName, toString

Style Properties
animationTime Number the animation time (in milliseconds) ( A value of zero indicates animation is disabled)
backgroundImage FillImage (String or Object) the background image that will be displayed in the menu bar (This image will also be used in child menus unless a value is specified for the menuBackgroundImage property.)
border Border (String or Object) the border that will be displayed around the menu bar (This border will also be used around child menus unless a value is specified for the menuBorder property.)
disabledBackground Color (String) the background color used to render disabled menu items
disabledBackgroundImage FillImage (String or Object) the background image used to render disabled menu items
disabledForeground Color (String) the foreground color used to render disabled menu items
menuBackground Color (String) the background color that will be displayed in child menus
menuBackgroundImage FillImage (String or Object) the background image that will be displayed in child menus
menuBorder Border (String or Object) the border that will be displayed around child menus
menuExpandIcon ImageReference (String or Object) the icon used to expand child menus
menuForeground Color (String) the foreground color that will be displayed in child menus
menuOpacity Number the opacity setting (percent) that will be used for the background color/image displayed in pulldown menus (Valid values are between 1 and 100. Some clients may not support this setting and will always render menus with 100% opacity)
selectionBackground Color (String) the background color used to highlight the currently selected menu item
selectionBackgroundImage FillImage (String or Object) the background image used to highlight the currently selected menu item
selectionForeground Color (String) the foreground color used to highlight the currently selected menu item

Instance Method Detail
doAction
Processes the user selection an item.
Parameters:
itemModel (Extras.ItemModel) - the selected item