Menus
A collection of menus.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the Menu.
Menu item( Mixed index )
Returns the Menu with the specified index or name.
Parameters
Menu itemByName( String name )
Returns the Menu with the specified name.
Parameters
Menu itemByRange( Mixed from, Mixed to )
Returns the Menus within the specified range.
Parameters
Menu firstItem()
Returns the first Menu in the collection.
Menu lastItem()
Returns the last Menu in the collection.
Menu middleItem()
Returns the middle Menu in the collection.
Menu previousItem( Menu obj )
Returns the Menu with the index previous to the specified index.
Parameters
Menu nextItem( Menu obj )
Returns the Menu whose index follows the specified Menu in the collection.
Parameters
Menu anyItem()
Returns any Menu in the collection.
Menu everyItem()
Returns every Menu in the collection.
String toSource()
Generates a string which, if executed, will return the Menu.
Menu []( Number index )
Returns the Menu with the specified index.