Package | ardisia.components.menu |
Class | public class Menu |
Inheritance | Menu mx.controls.Menu |
Subclasses | FlexContextMenu |
View the technical documentation on the Ardisia Labs website for more information.
Default MXML PropertydataProvider
Method | Defined By | ||
---|---|---|---|
Menu() | Menu | ||
createMenu(parent:DisplayObjectContainer, dataProvider:IList, showRoot:Boolean = true, minWidth:Number = 190):Menu [static]
Added to provide consistency with the Halo Menu. | Menu |
Method | Defined By | ||
---|---|---|---|
bringToFront():void
Brings the activeSubMenu to the front of the popup display list. | Menu | ||
eventHandler(event:Event):void
Handles events for the component. | Menu | ||
offsetMenu(menu:Menu):void
Offsets the sub menus and bounds all menus to the screen. | Menu |
Menu | () | Constructor |
public function Menu()
bringToFront | () | method |
protected function bringToFront():void
Brings the activeSubMenu to the front of the popup display list.
createMenu | () | method |
public static function createMenu(parent:DisplayObjectContainer, dataProvider:IList, showRoot:Boolean = true, minWidth:Number = 190):Menu
Added to provide consistency with the Halo Menu.
Parameters
parent:DisplayObjectContainer | |
dataProvider:IList — IList implementing dataProvider (see Halo Menu docs
for explanation of structure)
| |
showRoot:Boolean (default = true )
| |
minWidth:Number (default = 190 )
|
Menu |
eventHandler | () | method |
protected function eventHandler(event:Event):void
Handles events for the component.
Parameters
event:Event — the Event that triggered the handler
|
offsetMenu | () | method |
protected function offsetMenu(menu:Menu):void
Offsets the sub menus and bounds all menus to the screen.
Parameters
menu:Menu — the Menu to offset
|