MenuElement
A menu elements
Superclass of MenuItem, MenuSeparator, and Submenu
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
index | number | readonly | The index of the MenuElement within its containing object. |
parent | MenuSubmenu | readonly | The parent of the MenuElement (a Menu or Submenu). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
Array
of MenuElement getElements ()
Resolves the object specifier, creating an array of object references.
void remove ()
Deletes the MenuElement.
string toSource ()
Generates a string which, if executed, will return the MenuElement.
Used in:
array of MenuElement MenuElements.itemByRange (from: any, to: any)
MenuElement MenuElements.nextItem (obj: MenuElement)
MenuElement MenuElements.previousItem (obj: MenuElement)
MenuItem MenuItems.add (associatedMenuAction: MenuAction[, at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])
MenuSeparator MenuSeparators.add ([at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])
Submenu Submenus.add (title: string[, at: LocationOptions=LocationOptions.AT_END][, reference: MenuElement][, withProperties: Object])
Return
Array of MenuElement MenuElement.getElements ()
MenuElement MenuElements.anyItem ()
Array of MenuElement MenuElements.everyItem ()
MenuElement MenuElements.firstItem ()
MenuElement MenuElements.item (index: any)
MenuElement MenuElements.itemByName (name: string)
Array of MenuElement MenuElements.itemByRange (from: any, to: any)
MenuElement MenuElements.lastItem ()
MenuElement MenuElements.middleItem ()
MenuElement MenuElements.nextItem (obj: MenuElement)
MenuElement MenuElements.previousItem (obj: MenuElement)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |