PERGOLA LOGO

pergola.Selector

System events: YES.

User events and functions: YES.

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.

fill

Defined in pergola.presentationAttributes – string.

stroke

Defined in pergola.presentationAttributes – string.

"stroke-width"

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

"font-size"

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

maskFill

Defined in pergola.presentationAttributes – string.

rx

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

width

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

height

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

listItemHeight

20 – number (user space units).

selection

null – the current selected list item.

index

0 – number; the initial element to show in this list.

METHODS

close(evt)

Collapses this popUpList.

handleEvent(evt)

Manages selection (see PopupList and PopupListItem).

build(object)

this inherits the properties specified in object. Prototype properties specified in object are overridden. Creates elements. 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

If specified, designates the owner object.

container

<g> element.

button

<rect> element.

text

<text> element.

list

Must be specified in the initialization object; array of strings.

popUpList

New pergola.PopupList instance.

caption

If specified, an object defining the required textNode string property, optional x, y number (user space units) properties, and optional position string property. These are pergola.Caption properties. This property is reassigned during processing, and references a new pergola.Caption instance.

fn

If specified, callback function.