PERGOLA LOGO

pergola.ScrollSlider

System events: YES.

User events and functions: NO.

System component. This class is instantiated by pergola.Scrollbar objects. You never need to instantiate this class, or invoke any of its methods explicitly (the pergola.Slider is instead a user widget).

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. Overridden by Scrollbar controls.

rx

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

fill

Defined in pergola.presentationAttributes – string.

stroke

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

minSize

16 – number. The slider bar width/height is a scaled representation of the visible portion of a document; if smaller than this value, the bar width/height is constrained to this value.

METHODS

buildH(object)

Specialized build method for horizontal scrollbar. this inherits the properties specified in object. Prototype properties specified in object are overridden. Creates elements. Returns this.

buildV(object)

Specialized build method for vertical scrollbar. 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.

bar

<rect> element.

Other properties related to internal dynamics are not listed. Handled by pergola.Scrollbar instance. The scroll methods are inherited from the Class superclass.