MenuDataProvider class

ActionScript Class Name mx.controls.menuclasses.MenuDataProvider

The MenuDataProvider class is a decorator (mix-in) class that adds functionality to the XMLNode global class. This functionality lets XML instances assigned to a Menu.dataProvider property use the MenuDataProvider methods and properties to manipulate their own data as well as the associated menu views.

Keep in mind these concepts about the MenuDataProvider class:

Method summary for the MenuDataProvider class

The following table lists the methods of the MenuDataProvider class.

Method

Description

MenuDataProvider.addMenuItem()

Adds a child item.

MenuDataProvider.addMenuItemAt()

Adds a child item at a specified location.

MenuDataProvider.getMenuItemAt()

Gets a reference to a menu item at a specified location.

MenuDataProvider.indexOf()

Returns the index of a specified menu item.

MenuDataProvider.removeMenuItem()

Removes a menu item.

MenuDataProvider.removeMenuItemAt()

Removes a menu item at a specified location.


Version 8

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00003849.html