Previous | Next | Frames | No Frames |
Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--mx.controls.menuclasses.MenuDataProvider
Field Summary | ||
addTreeNode: Function | ||
Accessible when mixed-in with TreeDataProvider | ||
addTreeNodeAt: Function | ||
attributes: Object | ||
Accessible when mixed-in with XMLNode | ||
childNodes: Array | ||
getTreeNodeAt: Function | ||
static | mixinProps: Array | |
Mixin support | ||
static | mixins: MenuDataProvider | |
parentNode: Object | ||
removeTreeNode: Function | ||
removeTreeNodeAt: Function | ||
| ||
Constructor | ||
MenuDataProvider ( ) | ||
Method Summary | ||
addMenuItem ( arg : Object ): Object | ||
Add an item to this item's submenu. | ||
addMenuItemAt ( index: Number, arg: Object ): Object | ||
Insert an item into this item's submenu. | ||
getMenuItemAt ( index: Number ): Object | ||
Retrieve a menu item from this menu | ||
indexOf ( item : Object ): Number | ||
Return the index of the given item within this item's submenu. | ||
static | Initialize ( obj: Object ): Boolean | |
Initialize is called to apply the mixinProps above to the given object's prototype. | ||
removeMenuItem ( Void ): Object | ||
Remove this item from it's parent. | ||
removeMenuItemAt ( index: Number ): Object | ||
Remove an item from this item's submenu. | ||
| ||
var addTreeNode: Function |
Accessible when mixed-in with TreeDataProvider |
var addTreeNodeAt: Function |
var attributes: Object |
Accessible when mixed-in with XMLNode |
var childNodes: Array |
var getTreeNodeAt: Function |
static var mixinProps: Array |
Mixin support |
static var mixins: MenuDataProvider |
var parentNode: Object |
var removeTreeNode: Function |
var removeTreeNodeAt: Function |
|
|
Add an item to this item's submenu. If this is the first item added, then the necessary structures will be created to support a submenu. | |||
|
|
Insert an item into this item's submenu. If the index is invalid, then this call will be ignored. | ||||||
|
|
Retrieve a menu item from this menu | |||
|
|
Return the index of the given item within this item's submenu. If the target item does not belong to this item's submenu, then return undefined. | |||
|
|
Initialize is called to apply the mixinProps above to the given object's prototype. Typical usage : MenuDataProvider.Initialize(XMLNode); |
|
Remove this item from it's parent. |
|
|
Remove an item from this item's submenu. | |||
|