PERGOLA LOGO

pergola.WindowTopBar

System events: YES.

User events and functions: NO.

System component. Subclass of pergola.TopBar; inherits pergola.TopBar.prototype.

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. Overriden by Window instances with commands container.

height

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

fill

Defined in pergola.presentationAttributes – string.

maskFill

Defined in pergola.presentationAttributes – string.

maskOpacity

0 – string or number;

See other pergola.TopBar prototype properties.

METHODS

build(object)

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

See other pergola.TopBar prototype methods.

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.

width

Number in user space units. The computed width of this mask and this button.

container

<g> element.

mask

<rect> element.

button

v<rect> element.

text

<text> element (this owner.title).