Class Index | File Index

Classes


Class Slider

abstract class epresenting generic slider
Defined in: raphaeltools.src.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Slider(raphael, params)
Slider
Field Summary
Field Attributes Field Name and Description
 
Circle
 
gap
gap between end of the slider's line and the slider's circle when the circle is at extreme position
 
initial value
 
len
len of slider [pixels]
 
length span of getable values
 
line
 
raphael instance
 
radius of slider's circle
 
value when the slider is at the very beginning
 
value when the slider is at the very end
 
x
x coordinate of left/upper end
 
z
z coordinate of left/upper end
Class Detail
Slider(raphael, params)
Slider
Parameters:
{Raphael} raphael
raphael instance
{Object} params
parameters,see below
{float} params.x Optional, Default: 100.
x coordinate of left/upper end
{float} params.z Optional, Default: 100.
z coordinate of left/upper end
{float} params.length Optional, Default: 100.
length of slider [pixels]
{float} params.rcirc Optional, Default: 5.
radius of slider's circle
{float} params.val1 Optional, Default: 0.
value when the slider is at the very beginning
{float} params.val2 Optional, Default: 1.
value when the slider is at the very end
{float} params.initVal Optional, Default: (val1+val2)/2
initial value
{float} params.gap Optional, Default: 3.
gap between end of the slider's line and the slider's circle when the circle is at extreme position
Field Detail
{Circle} circ
Circle

{float} gap
gap between end of the slider's line and the slider's circle when the circle is at extreme position

{float} initVal
initial value

{float} len
len of slider [pixels]

{float} lenVals
length span of getable values

{Raphael.el} line
line

{Raphael} raphael
raphael instance

{float} rcirc
radius of slider's circle

{float} val1
value when the slider is at the very beginning

{float} val2
value when the slider is at the very end

{float} x
x coordinate of left/upper end

{float} z
z coordinate of left/upper end

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Oct 23 2011 11:06:08 GMT+0200 (CEST)