PERGOLA LOGO

pergola.Slider

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.

"font-size"

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

shape

Defined in pergola.presentationAttributes – string; allowed values: "round"; "square".

size

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

type

Defined in pergola.presentationAttributes – string; allowed values: "linear"; "discrete".

numberOfSteps

4 – number; the number of steps for this "discrete" type.

initial

Defined in pergola.presentationAttributes – string; the initial position; allowed values: "start"; "middle"; "end".

extent

127 – number (user space units); the displacement range.

valueTip

Defined in pergola.presentationAttributes – boolean; determines whether this should display a value tip.

rx

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

fill

Defined in pergola.presentationAttributes – string.

stroke

Defined in pergola.presentationAttributes – string.

trackFill

Defined in pergola.presentationAttributes – string.

trackStroke

Defined in pergola.presentationAttributes – string.

trackOpacity

Defined in pergola.presentationAttributes – string or number.

slotStroke

Defined in pergola.presentationAttributes – string.

slotSize

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

METHODS

release()

This method is invoked upon release of pergola.dragarea. Hides this valueTip and/or this quickTip if specified. You don't need to invoke this method explicitly.

horizontalSliderInit(evt)

Returns an activation object for pergola.dragarea with this horizontalSlideByButton assigned to the callback property. You don't need to invoke this method explicitly.

verticalSliderInit(evt)

Returns an activation object for pergola.dragarea with this verticalSlideByButton assigned to the callback property. You don't need to invoke this method explicitly.

horizontalSlideByButton(evt)

Callback function invoked as a method of pergola.dragarea. You don't need to invoke this method explicitly.

verticalSlideByButton(evt)

Callback function invoked as a method of pergola.dragarea. You don't need to invoke this method explicitly.

horizontalSlideByTrack(evt)

Callback for events registered on this track (horizontal). You don't need to invoke this method explicitly.

verticalSlideByTrack(evt)

Callback for events registered on this track (vertical). You don't need to invoke this method explicitly.

handleEvent(evt)

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.

track

<rect> element.

buttonGroup

<g> element.

button

<rect> element.

valueTipGroup

If this valueTip, <g> element.

text

If this valueTip, <text> element.

quickTip

If specified, reference to library's quick tip (lib/qtips.js) or new pergola.QuickTip instance (as returned by the quickTipFormat() method). See pergola.QuickTip for options.

fn

If specified, callback function.

Other properties related to internal dynamics are not listed.