PERGOLA LOGO

pergola.WindowTab

System events: YES.

User events and functions: NO.

System component. This class is specifically designed for pergola.Window objects.

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 pergola.tabsDock.container.

"font-size"

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

width

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

height

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

fill

Defined in pergola.presentationAttributes – string.

maskFill

Defined in pergola.presentationAttributes – string.

maskStroke

Defined in pergola.presentationAttributes – string.

textFill

Defined in pergola.presentationAttributes – string.

textFillInverse

Defined in pergola.presentationAttributes – string.

hasTextEffect

false – boolean.

METHODS

setTitle()

Sets the tab text with this owner.title. You don't need to invoke this method explicitly.

close()

Removes this reference from the pergola.Window.tabs array; appends this container to pergola.tabsDock.closedGroup; invokes reorganize. Invoked by this owner.close(). You don't normally need to invoke this method explicitly.

open()

Adds this reference from the pergola.Window.tabs array; appends this container to pergola.tabsDock.container; invokes reorganize. Invoked by this owner.reopen(). You don't normally need to invoke this method explicitly.

remove()

Removes this reference from the pergola.Window.tabs array; removes this container from pergola.tabsDock.container; invokes reorganize. Invoked by this owner.terminate(). You don't normally need to invoke this method explicitly.

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

vString. 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.

mask

<rect> element.

button

<rect> element.

text

<text> element.