MenuElement

A menu elements

Methods:

getElements, remove, toSource, toSpecifier

Objects:

Boolean, Number, Object,

Hierarchy:

Class: MenuElement

Subclasses: Submenu | MenuItem | MenuSeparator

Property Listing

Property

Type

Access

Description

index

Number

readonly

The index of the MenuElement within its containing object.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

Menu

Submenu

readonly

The parent of the MenuElement (a Menu or Submenu).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

MenuElement getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove ()

Deletes the MenuElement.

String toSource ()

Generates a string which, if executed, will return the MenuElement.

String toSpecifier ()

Retrieves the object specifier.

Return

MenuElement.getElements()

MenuElements.anyItem()

MenuElements.everyItem()

MenuElements.nextItem()

MenuElements.previousItem()

MenuElements.item()

MenuElements.[]()

MenuElements.itemByName()

MenuElements.itemByRange()

MenuElements.firstItem()

MenuElements.lastItem()

MenuElements.middleItem()