PERGOLA LOGO

pergola.TopBar

System events: YES.

User events and functions: NO.

System component.

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

pergola.user.

height

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

fill

Defined in pergola.presentationAttributes – string.

textFill

Defined in pergola.presentationAttributes – string.

METHODS

preemptiveWarning(timer)

Flashes the top bar of preemptive panels. You don't need to invoke this method explicitly.

makePath()

Returns the "d" attribute for this bar.

resize(width)

width number represents the new width in user space units. Invoke this method to resize the top bar if you need to resize a panel programmatically.

handleEvent(evt)

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

Must be specified in the initialization object; designates the owner object.

container

<g> element.

bar

<path> element.

title

String. Normally the visible name of this owner (panel or window).

extra

If specified, object defining extra attributes for this bar element specified using SVG vocabulary and grammar.