PERGOLA LOGO

pergola.PopupList

System events: YES.

User events and functions: NO.

Example.

Listed: class properties/methods; prototype properties and methods; instance properties. Prototype properties and methods inherited by the Class superclass are not listed.

class

None

prototype

PROPERTIES

parent

pergola.user. Must be overridden to designate a predefined container of this owner (pergola.Selector).

width

Defined in pergola.presentationAttributes – number (user space units).

listItemHeight

Defined in pergola.presentationAttributes – number (user space units).

listMargin

Defined in pergola.presentationAttributes – number (user space units).

advanceY

0 – number representing the incremented y value of each added list item container.

METHODS

build(object)

this inherits the properties specified in object. Prototype properties specified in object are overridden. Creates elements and listItems. Returns this.

instance

name

String. If not passed to the constructor, gets a generated XML name (Class).

id

String. The return value of this name.toXML(). This container ID. Used as prefix where other elements' IDs are attributed.

owner

Must be specified in the initialization object; designates the owner object (pergola.Selector).

container

<g> element.

listGroup

<g> element.

list

Must be specified in the initialization object. Array of strings.

list items

Collection of properties; new pergola.PopupListItem instance for each element in this list.