Extras
DropDownMenu
Class Hierarchy:

DropDownMenu component. If the selectionEnabled property is set, the component will display the last chosen menu item in its closed state. May not contain child components.

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 drop down box (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 drop down box (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
disabledExpandIcon ImageReference (String or Object) the expand icon displayed in the drop down box
disabledForeground Color (String) the foreground color used to render disabled menu items
expandIcon ImageReference (String or Object) the expand icon displayed in the drop down box
expandIconWidth ImageReference (String or Object) the width of the expand icon displayed in the drop down box
height Extent (Number or String) the height of the drop down box
insets Insets (Number, String, or Object) the insets of the drop down box
lineWrap Boolean flag indicating whether long lines should be wrapped
menuBackground Color (String) the background color that will be shown in child menus
menuBackgroundImage FillImage (String or Object) the background image that will be drawn in child menus
menuBorder Border (String or Object) the border that will be drawn around child menus
menuExpandIcon ImageReference (String or Object) the icon used to expand child menus
menuFont Font (Object) the font that will be shown in child menus
menuForeground Color (String) the foreground color that will be shown in child menus
menuHeight Extent (Number or String) the height of the expanded menu
menuWidth Extent (Number or String) the width of the expanded menu
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
selectionEnabled Boolean flag indicating whether item selection is enabled
selectionForeground Color (String) the foreground color used to highlight the currently selected menu item
selectionText String the text displayed in the drop down box when no item is selected
width Extent (Number or String) the width of the drop down box

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