Simple status box for the sidebar.
[elgg_plugins.git] / yui / docs / YAHOO.widget.Slider.html
blob0c89dd92a394a7dc590d2e1e7c25f57ca9bb712d
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>API: slider YAHOO.widget.Slider (YUI Library)</title>
5 <link rel="stylesheet" type="text/css" href="assets/api.css">
6 </head>
8 <body id="yahoo-com">
9 <div id="doc3" class="yui-t2">
11 <div id="hd">
12 <h1>Yahoo! UI Library</h1>
13 <h3>Slider Widget&nbsp; <span class="subtitle">2.2.0</span></h3>
14 <p>
15 <a href="./index.html">Yahoo! UI Library</a>
16 &gt; <a href="./module_slider.html">slider</a>
17 &gt; YAHOO.widget.Slider
19 </p>
20 </div>
22 <div id="bd">
23 <div id="yui-main">
24 <div class="yui-b">
27 <h2>
32 Class <b>YAHOO.widget.Slider</b>
33 <span class="extends">
34 - extends <a href="YAHOO.util.DragDrop.html">YAHOO.util.DragDrop</a>
35 </span>
37 <span class="extends">
38 - uses
40 <a href="YAHOO.util.EventProvider.html">YAHOO.util.EventProvider</a>
42 </span>
44 </code>
45 </h2>
46 <!-- class tree goes here -->
51 <div class="summary description">
52 A DragDrop implementation that can be used as a background for a
53 slider. It takes a reference to the thumb instance
54 so it can delegate some of the events to it. The goal is to make the
55 thumb jump to the location on the background when the background is
56 clicked.
57 </div>
59 <div class="section constructor details">
60 <h3><a name="constructor_detail">Constructor</a></h3>
61 <div class="content">
62 <div class="detail">
63 <strong>YAHOO.widget.Slider</strong>
64 <code>
72 sGroup
75 oThumb
78 sType
80 </code>
81 <div class="description">
82 <dl>
83 <dt>Parameters:</dt>
84 <dd>
85 <code>id
86 &lt;String&gt;
87 </code>
88 The id of the element linked to this instance
89 </dd>
90 <dd>
91 <code>sGroup
92 &lt;String&gt;
93 </code>
94 The group of related DragDrop items
95 </dd>
96 <dd>
97 <code>oThumb
98 &lt;SliderThumb&gt;
99 </code>
100 The thumb for this slider
101 </dd>
102 <dd>
103 <code>sType
104 &lt;String&gt;
105 </code>
106 The type of slider (horiz, vert, region)
107 </dd>
108 </dl>
111 </div>
112 </div>
113 </div>
114 </div>
116 <div class="section field details">
117 <h3><a name="field_detail">Properties</a></h3>
118 <div class="content">
119 <h4><a name="animate">animate</a>
120 <code>- boolean</code>
121 </h4>
122 <div class="detail">
123 <div class="description">
124 Flag that determines if the thumb will animate when moved
125 </div>
126 </div>
131 <hr />
132 <h4><a name="animationDuration">animationDuration</a>
133 <code>- int</code>
134 </h4>
135 <div class="detail">
136 <div class="description">
137 If animation is configured, specifies the length of the animation
138 in seconds.
139 </div>
140 </div>
143 <div class="default">
144 Default Value: 0.2
145 </div>
148 <hr />
149 <h4><a name="backgroundEnabled">backgroundEnabled</a>
150 <code>- boolean</code>
151 </h4>
152 <div class="detail">
153 <div class="description">
154 Set to false to disable a background click thumb move
155 </div>
156 </div>
161 <hr />
162 <h4><a name="baselinePos">baselinePos</a>
163 <code>- [int, int]</code>
164 </h4>
165 <div class="detail">
166 <div class="description">
167 The basline position of the background element, used
168 to determine if the background has moved since the last
169 operation.
170 </div>
171 </div>
176 <hr />
177 <h4><a name="enableKeys">enableKeys</a>
178 <code>- boolean</code>
179 </h4>
180 <div class="detail">
181 <div class="description">
182 Enables the arrow, home and end keys, defaults to true.
183 </div>
184 </div>
189 <hr />
190 <h4><a name="isTarget">isTarget</a>
191 <code>- private object</code>
192 </h4>
193 <div class="detail">
194 <div class="description">
195 Overrides the isTarget property in YAHOO.util.DragDrop
196 </div>
197 </div>
202 <hr />
203 <h4><a name="keyIncrement">keyIncrement</a>
204 <code>- int</code>
205 </h4>
206 <div class="detail">
207 <div class="description">
208 Specifies the number of pixels the arrow keys will move the slider.
209 Default is 25.
210 </div>
211 </div>
216 <hr />
217 <h4><a name="moveComplete">moveComplete</a>
218 <code>- Boolean</code>
219 </h4>
220 <div class="detail">
221 <div class="description">
222 moveComplete is set to true when the slider has moved to its final
223 destination. For animated slider, this value can be checked in
224 the onChange handler to make it possible to execute logic only
225 when the move is complete rather than at all points along the way.
226 Deprecated because this flag is only useful when the background is
227 clicked and the slider is animated. If the user drags the thumb,
228 the flag is updated when the drag is over ... the final onDrag event
229 fires before the mouseup the ends the drag, so the implementer will
230 never see it.
231 </div>
232 </div>
236 <div class="deprecated">
237 <strong>Deprecated: </strong>use the slideEnd event instead
238 </div>
240 <hr />
241 <h4><a name="thumb">thumb</a>
242 <code>- YAHOO.widget.SliderThumb</code>
243 </h4>
244 <div class="detail">
245 <div class="description">
246 A YAHOO.widget.SliderThumb instance that we will use to
247 reposition the thumb when the background is clicked
248 </div>
249 </div>
254 <hr />
255 <h4><a name="thumbCenterPoint">thumbCenterPoint</a>
256 <code>- {"x": int, "y": int}</code>
257 </h4>
258 <div class="detail">
259 <div class="description">
260 The center of the slider element is stored so we can
261 place it in the correct position when the background is clicked.
262 </div>
263 </div>
268 <hr />
269 <h4><a name="tickPause">tickPause</a>
270 <code>- int</code>
271 </h4>
272 <div class="detail">
273 <div class="description">
274 Adjustment factor for tick animation, the more ticks, the
275 faster the animation (by default)
276 </div>
277 </div>
282 <hr />
283 <h4><a name="type">type</a>
284 <code>- string</code>
285 </h4>
286 <div class="detail">
287 <div class="description">
288 The type of the slider (horiz, vert, region)
289 </div>
290 </div>
295 <hr />
296 <h4><a name="YAHOO.widget.Slider.ANIM_AVAIL">YAHOO.widget.Slider.ANIM_AVAIL</a>
297 <code>- static boolean</code>
298 </h4>
299 <div class="detail">
300 <div class="description">
301 By default, animation is available if the animation library is detected.
302 </div>
303 </div>
308 <hr />
311 </div>
312 </div>
314 <div class="section field inheritance">
315 <h4>Properties inherited from <a href="YAHOO.util.DragDrop.html">YAHOO.util.DragDrop</a>:</h4>
316 <div class="content">
317 <code>
319 <a href="YAHOO.util.DragDrop.html#__ygDragDrop">__ygDragDrop</a>,
320 <a href="YAHOO.util.DragDrop.html#_domRef">_domRef</a>,
321 <a href="YAHOO.util.DragDrop.html#available">available</a>,
322 <a href="YAHOO.util.DragDrop.html#config">config</a>,
323 <a href="YAHOO.util.DragDrop.html#constrainX">constrainX</a>,
324 <a href="YAHOO.util.DragDrop.html#constrainY">constrainY</a>,
325 <a href="YAHOO.util.DragDrop.html#dragElId">dragElId</a>,
326 <a href="YAHOO.util.DragDrop.html#groups">groups</a>,
327 <a href="YAHOO.util.DragDrop.html#handleElId">handleElId</a>,
328 <a href="YAHOO.util.DragDrop.html#hasOuterHandles">hasOuterHandles</a>,
329 <a href="YAHOO.util.DragDrop.html#id">id</a>,
330 <a href="YAHOO.util.DragDrop.html#invalidHandleClasses">invalidHandleClasses</a>,
331 <a href="YAHOO.util.DragDrop.html#invalidHandleIds">invalidHandleIds</a>,
332 <a href="YAHOO.util.DragDrop.html#invalidHandleTypes">invalidHandleTypes</a>,
333 <a href="YAHOO.util.DragDrop.html#locked">locked</a>,
334 <a href="YAHOO.util.DragDrop.html#maintainOffset">maintainOffset</a>,
335 <a href="YAHOO.util.DragDrop.html#maxX">maxX</a>,
336 <a href="YAHOO.util.DragDrop.html#maxY">maxY</a>,
337 <a href="YAHOO.util.DragDrop.html#minX">minX</a>,
338 <a href="YAHOO.util.DragDrop.html#minY">minY</a>,
339 <a href="YAHOO.util.DragDrop.html#primaryButtonOnly">primaryButtonOnly</a>,
340 <a href="YAHOO.util.DragDrop.html#startPageX">startPageX</a>,
341 <a href="YAHOO.util.DragDrop.html#startPageY">startPageY</a>,
342 <a href="YAHOO.util.DragDrop.html#xTicks">xTicks</a>,
343 <a href="YAHOO.util.DragDrop.html#yTicks">yTicks</a>
344 </code>
345 </div>
346 </div>
347 <div class="section field inheritance">
348 <h4>Properties inherited from <a href="YAHOO.util.EventProvider.html">YAHOO.util.EventProvider</a>:</h4>
349 <div class="content">
350 <code>
352 <a href="YAHOO.util.EventProvider.html#__yui_events">__yui_events</a>,
353 <a href="YAHOO.util.EventProvider.html#__yui_subscribers">__yui_subscribers</a>
354 </code>
355 </div>
356 </div>
358 <div class="section method details">
359 <h3><a name="methodDetails">Methods</a></h3>
360 <div class="content">
361 <h4>
362 <a name="_getNextX">_getNextX</a></h4>
363 <div class="detail">
364 <code>
365 private
368 void
369 <strong>_getNextX</strong>
372 </code>
374 <div class="description">
375 Returns the next X tick value based on the current coord and the target coord.
376 </div>
378 <div class="description">
381 <dl>
382 <dt>Returns:
383 <code>
384 void
385 </code></dt>
386 <dd></dd>
387 </dl>
389 </div>
391 </div>
392 <hr />
393 <h4>
394 <a name="_getNextY">_getNextY</a></h4>
395 <div class="detail">
396 <code>
397 private
400 void
401 <strong>_getNextY</strong>
404 </code>
406 <div class="description">
407 Returns the next Y tick value based on the current coord and the target coord.
408 </div>
410 <div class="description">
413 <dl>
414 <dt>Returns:
415 <code>
416 void
417 </code></dt>
418 <dd></dd>
419 </dl>
421 </div>
423 </div>
424 <hr />
425 <h4>
426 <a name="b4MouseDown">b4MouseDown</a></h4>
427 <div class="detail">
428 <code>
429 private
432 void
433 <strong>b4MouseDown</strong>
436 </code>
438 <div class="description">
439 Resets the constraints before moving the thumb.
440 </div>
442 <div class="description">
445 <dl>
446 <dt>Returns:
447 <code>
448 void
449 </code></dt>
450 <dd></dd>
451 </dl>
453 </div>
455 </div>
456 <hr />
457 <h4>
458 <a name="endMove">endMove</a></h4>
459 <div class="detail">
460 <code>
461 private
464 void
465 <strong>endMove</strong>
468 </code>
470 <div class="description">
471 Fired when the slider movement ends
472 </div>
474 <div class="description">
477 <dl>
478 <dt>Returns:
479 <code>
480 void
481 </code></dt>
482 <dd></dd>
483 </dl>
485 </div>
487 </div>
488 <hr />
489 <h4>
490 <a name="fireEvents">fireEvents</a></h4>
491 <div class="detail">
492 <code>
493 private
496 void
497 <strong>fireEvents</strong>
501 thumbEvent
505 </code>
507 <div class="description">
508 Fires the change event if the value has been changed. Ignored if we are in
509 the middle of an animation as the event will fire when the animation is
510 complete
511 </div>
513 <div class="description">
515 <dl>
516 <dt>Parameters:</dt>
517 <dd>
518 <code>thumbEvent &lt;boolean&gt;</code>
519 set to true if this event is fired from an event
520 that occurred on the thumb. If it is, the state of the
521 thumb dd object should be correct. Otherwise, the event
522 originated on the background, so the thumb state needs to
523 be refreshed before proceeding.
524 </dd>
525 </dl>
527 <dl>
528 <dt>Returns:
529 <code>
530 void
531 </code></dt>
532 <dd></dd>
533 </dl>
535 </div>
537 </div>
538 <hr />
539 <h4>
540 <a name="focus">focus</a></h4>
541 <div class="detail">
542 <code>
543 private
546 void
547 <strong>focus</strong>
550 </code>
552 <div class="description">
553 Try to focus the element when clicked so we can add
554 accessibility features
555 </div>
557 <div class="description">
560 <dl>
561 <dt>Returns:
562 <code>
563 void
564 </code></dt>
565 <dd></dd>
566 </dl>
568 </div>
570 </div>
571 <hr />
572 <h4>
573 <a name="getThumb">getThumb</a></h4>
574 <div class="detail">
575 <code>
579 SliderThumb
580 <strong>getThumb</strong>
583 </code>
585 <div class="description">
586 Returns a reference to this slider's thumb
587 </div>
589 <div class="description">
592 <dl>
593 <dt>Returns:
594 <code>
595 SliderThumb
596 </code></dt>
597 <dd>this slider's thumb</dd>
598 </dl>
600 </div>
602 </div>
603 <hr />
604 <h4>
605 <a name="getValue">getValue</a></h4>
606 <div class="detail">
607 <code>
612 <strong>getValue</strong>
615 </code>
617 <div class="description">
618 Returns the slider's thumb offset from the start position
619 </div>
621 <div class="description">
624 <dl>
625 <dt>Returns:
626 <code>
628 </code></dt>
629 <dd>the current value</dd>
630 </dl>
632 </div>
634 </div>
635 <hr />
636 <h4>
637 <a name="getXValue">getXValue</a></h4>
638 <div class="detail">
639 <code>
644 <strong>getXValue</strong>
647 </code>
649 <div class="description">
650 Returns the slider's thumb X offset from the start position
651 </div>
653 <div class="description">
656 <dl>
657 <dt>Returns:
658 <code>
660 </code></dt>
661 <dd>the current horizontal offset</dd>
662 </dl>
664 </div>
666 </div>
667 <hr />
668 <h4>
669 <a name="getYValue">getYValue</a></h4>
670 <div class="detail">
671 <code>
676 <strong>getYValue</strong>
679 </code>
681 <div class="description">
682 Returns the slider's thumb Y offset from the start position
683 </div>
685 <div class="description">
688 <dl>
689 <dt>Returns:
690 <code>
692 </code></dt>
693 <dd>the current vertical offset</dd>
694 </dl>
696 </div>
698 </div>
699 <hr />
700 <h4>
701 <a name="handleKeyDown">handleKeyDown</a></h4>
702 <div class="detail">
703 <code>
707 void
708 <strong>handleKeyDown</strong>
716 </code>
718 <div class="description">
719 Executed when a keydown event happens with the control focused.
720 Updates the slider value and display when the keypress is an
721 arrow key, home, or end as long as enableKeys is set to true.
722 </div>
724 <div class="description">
726 <dl>
727 <dt>Parameters:</dt>
728 <dd>
729 <code>e &lt;Event&gt;</code>
730 the keydown event
731 </dd>
732 </dl>
734 <dl>
735 <dt>Returns:
736 <code>
737 void
738 </code></dt>
739 <dd></dd>
740 </dl>
742 </div>
744 </div>
745 <hr />
746 <h4>
747 <a name="handleKeyPress">handleKeyPress</a></h4>
748 <div class="detail">
749 <code>
753 void
754 <strong>handleKeyPress</strong>
762 </code>
764 <div class="description">
765 Executed when a keypress event happens with the control focused.
766 Prevents the default behavior for navigation keys. The actual
767 logic for moving the slider thumb in response to a key event
768 happens in handleKeyDown.
769 </div>
771 <div class="description">
773 <dl>
774 <dt>Parameters:</dt>
775 <dd>
776 <code>e &lt;Event&gt;</code>
777 the keypress event
778 </dd>
779 </dl>
781 <dl>
782 <dt>Returns:
783 <code>
784 void
785 </code></dt>
786 <dd></dd>
787 </dl>
789 </div>
791 </div>
792 <hr />
793 <h4>
794 <a name="handleThumbChange">handleThumbChange</a></h4>
795 <div class="detail">
796 <code>
797 private
800 void
801 <strong>handleThumbChange</strong>
804 </code>
806 <div class="description">
807 Internal handler for the slider thumb's onChange event
808 </div>
810 <div class="description">
813 <dl>
814 <dt>Returns:
815 <code>
816 void
817 </code></dt>
818 <dd></dd>
819 </dl>
821 </div>
823 </div>
824 <hr />
825 <h4>
826 <a name="initSlider">initSlider</a></h4>
827 <div class="detail">
828 <code>
832 void
833 <strong>initSlider</strong>
837 sType
841 </code>
843 <div class="description">
844 Initializes the slider. Executed in the constructor
845 </div>
847 <div class="description">
849 <dl>
850 <dt>Parameters:</dt>
851 <dd>
852 <code>sType &lt;string&gt;</code>
853 the type of slider (horiz, vert, region)
854 </dd>
855 </dl>
857 <dl>
858 <dt>Returns:
859 <code>
860 void
861 </code></dt>
862 <dd></dd>
863 </dl>
865 </div>
867 </div>
868 <hr />
869 <h4>
870 <a name="initThumb">initThumb</a></h4>
871 <div class="detail">
872 <code>
876 void
877 <strong>initThumb</strong>
885 </code>
887 <div class="description">
888 Initializes the slider's thumb. Executed in the constructor.
889 </div>
891 <div class="description">
893 <dl>
894 <dt>Parameters:</dt>
895 <dd>
896 <code>t &lt;YAHOO.widget.SliderThumb&gt;</code>
897 the slider thumb
898 </dd>
899 </dl>
901 <dl>
902 <dt>Returns:
903 <code>
904 void
905 </code></dt>
906 <dd></dd>
907 </dl>
909 </div>
911 </div>
912 <hr />
913 <h4>
914 <a name="lock">lock</a></h4>
915 <div class="detail">
916 <code>
920 void
921 <strong>lock</strong>
924 </code>
926 <div class="description">
927 Locks the slider, overrides YAHOO.util.DragDrop
928 </div>
930 <div class="description">
933 <dl>
934 <dt>Returns:
935 <code>
936 void
937 </code></dt>
938 <dd></dd>
939 </dl>
941 </div>
943 </div>
944 <hr />
945 <h4>
946 <a name="moveOneTick">moveOneTick</a></h4>
947 <div class="detail">
948 <code>
949 private
952 void
953 <strong>moveOneTick</strong>
961 </code>
963 <div class="description">
964 Move the slider one tick mark towards its final coordinate. Used
965 for the animation when tick marks are defined
966 </div>
968 <div class="description">
970 <dl>
971 <dt>Parameters:</dt>
972 <dd>
973 <code>the &lt;int[]&gt;</code>
974 destination coordinate
975 </dd>
976 </dl>
978 <dl>
979 <dt>Returns:
980 <code>
981 void
982 </code></dt>
983 <dd></dd>
984 </dl>
986 </div>
988 </div>
989 <hr />
990 <h4>
991 <a name="moveThumb">moveThumb</a></h4>
992 <div class="detail">
993 <code>
994 private
997 void
998 <strong>moveThumb</strong>
1010 skipAnim
1014 </code>
1016 <div class="description">
1017 Move the associated slider moved to a timeout to try to get around the
1018 mousedown stealing moz does when I move the slider element between the
1019 cursor and the background during the mouseup event
1020 </div>
1022 <div class="description">
1024 <dl>
1025 <dt>Parameters:</dt>
1026 <dd>
1027 <code>x &lt;int&gt;</code>
1028 the X coordinate of the click
1029 </dd>
1030 <dd>
1031 <code>y &lt;int&gt;</code>
1032 the Y coordinate of the click
1033 </dd>
1034 <dd>
1035 <code>skipAnim &lt;boolean&gt;</code>
1036 don't animate if the move happend onDrag
1037 </dd>
1038 </dl>
1040 <dl>
1041 <dt>Returns:
1042 <code>
1043 void
1044 </code></dt>
1045 <dd></dd>
1046 </dl>
1048 </div>
1050 </div>
1051 <hr />
1052 <h4>
1053 <a name="onAvailable">onAvailable</a></h4>
1054 <div class="detail">
1055 <code>
1059 void
1060 <strong>onAvailable</strong>
1063 </code>
1065 <div class="description">
1066 Executed when the slider element is available
1067 </div>
1069 <div class="description">
1072 <dl>
1073 <dt>Returns:
1074 <code>
1075 void
1076 </code></dt>
1077 <dd></dd>
1078 </dl>
1080 </div>
1082 </div>
1083 <hr />
1084 <h4>
1085 <a name="onChange">onChange</a></h4>
1086 <div class="detail">
1087 <code>
1091 void
1092 <strong>onChange</strong>
1096 firstOffset
1100 secondOffset
1104 </code>
1106 <div class="description">
1107 Event that fires when the value of the slider has changed
1108 </div>
1110 <div class="description">
1112 <dl>
1113 <dt>Parameters:</dt>
1114 <dd>
1115 <code>firstOffset &lt;int&gt;</code>
1116 the number of pixels the thumb has moved
1117 from its start position. Normal horizontal and vertical sliders will only
1118 have the firstOffset. Regions will have both, the first is the horizontal
1119 offset, the second the vertical.
1120 </dd>
1121 <dd>
1122 <code>secondOffset &lt;int&gt;</code>
1123 the y offset for region sliders
1124 </dd>
1125 </dl>
1127 <dl>
1128 <dt>Returns:
1129 <code>
1130 void
1131 </code></dt>
1132 <dd></dd>
1133 </dl>
1135 <div class="deprecated">
1136 <strong>Deprecated</strong> use instance.subscribe("change") instead
1137 </div>
1138 </div>
1140 </div>
1141 <hr />
1142 <h4>
1143 <a name="onDrag">onDrag</a></h4>
1144 <div class="detail">
1145 <code>
1146 private
1149 void
1150 <strong>onDrag</strong>
1153 </code>
1155 <div class="description">
1156 Handles the onDrag event for the slider background
1157 </div>
1159 <div class="description">
1162 <dl>
1163 <dt>Returns:
1164 <code>
1165 void
1166 </code></dt>
1167 <dd></dd>
1168 </dl>
1170 </div>
1172 </div>
1173 <hr />
1174 <h4>
1175 <a name="onMouseDown">onMouseDown</a></h4>
1176 <div class="detail">
1177 <code>
1178 private
1181 void
1182 <strong>onMouseDown</strong>
1185 </code>
1187 <div class="description">
1188 Handles the mousedown event for the slider background
1189 </div>
1191 <div class="description">
1194 <dl>
1195 <dt>Returns:
1196 <code>
1197 void
1198 </code></dt>
1199 <dd></dd>
1200 </dl>
1202 </div>
1204 </div>
1205 <hr />
1206 <h4>
1207 <a name="onSliderEnd">onSliderEnd</a></h4>
1208 <div class="detail">
1209 <code>
1213 void
1214 <strong>onSliderEnd</strong>
1217 </code>
1219 <div class="description">
1220 Event that fires at the end of a slider thumb move
1221 </div>
1223 <div class="description">
1226 <dl>
1227 <dt>Returns:
1228 <code>
1229 void
1230 </code></dt>
1231 <dd></dd>
1232 </dl>
1234 <div class="deprecated">
1235 <strong>Deprecated</strong> use instance.subscribe("slideEnd") instead
1236 </div>
1237 </div>
1239 </div>
1240 <hr />
1241 <h4>
1242 <a name="onSlideStart">onSlideStart</a></h4>
1243 <div class="detail">
1244 <code>
1248 void
1249 <strong>onSlideStart</strong>
1252 </code>
1254 <div class="description">
1255 Event that fires when the at the beginning of the slider thumb move
1256 </div>
1258 <div class="description">
1261 <dl>
1262 <dt>Returns:
1263 <code>
1264 void
1265 </code></dt>
1266 <dd></dd>
1267 </dl>
1269 <div class="deprecated">
1270 <strong>Deprecated</strong> use instance.subscribe("slideStart") instead
1271 </div>
1272 </div>
1274 </div>
1275 <hr />
1276 <h4>
1277 <a name="setRegionValue">setRegionValue</a></h4>
1278 <div class="detail">
1279 <code>
1283 boolean
1284 <strong>setRegionValue</strong>
1288 newOffset
1292 newOffset2
1296 skipAnim
1300 force
1304 </code>
1306 <div class="description">
1307 Provides a way to set the value of the region slider in code.
1308 </div>
1310 <div class="description">
1312 <dl>
1313 <dt>Parameters:</dt>
1314 <dd>
1315 <code>newOffset &lt;int&gt;</code>
1316 the number of pixels the thumb should be
1317 positioned away from the initial start point (x axis for region)
1318 </dd>
1319 <dd>
1320 <code>newOffset2 &lt;int&gt;</code>
1321 the number of pixels the thumb should be
1322 positioned away from the initial start point (y axis for region)
1323 </dd>
1324 <dd>
1325 <code>skipAnim &lt;boolean&gt;</code>
1326 set to true to disable the animation
1327 for this move action (but not others).
1328 </dd>
1329 <dd>
1330 <code>force &lt;boolean&gt;</code>
1331 ignore the locked setting and set value anyway
1332 </dd>
1333 </dl>
1335 <dl>
1336 <dt>Returns:
1337 <code>
1338 boolean
1339 </code></dt>
1340 <dd>true if the move was performed, false if it failed</dd>
1341 </dl>
1343 </div>
1345 </div>
1346 <hr />
1347 <h4>
1348 <a name="setStartSliderState">setStartSliderState</a></h4>
1349 <div class="detail">
1350 <code>
1354 void
1355 <strong>setStartSliderState</strong>
1358 </code>
1360 <div class="description">
1361 Initialization that sets up the value offsets once the elements are ready
1362 </div>
1364 <div class="description">
1367 <dl>
1368 <dt>Returns:
1369 <code>
1370 void
1371 </code></dt>
1372 <dd></dd>
1373 </dl>
1375 </div>
1377 </div>
1378 <hr />
1379 <h4>
1380 <a name="setThumbCenterPoint">setThumbCenterPoint</a></h4>
1381 <div class="detail">
1382 <code>
1386 void
1387 <strong>setThumbCenterPoint</strong>
1390 </code>
1392 <div class="description">
1393 When the thumb is available, we cache the centerpoint of the element so
1394 we can position the element correctly when the background is clicked
1395 </div>
1397 <div class="description">
1400 <dl>
1401 <dt>Returns:
1402 <code>
1403 void
1404 </code></dt>
1405 <dd></dd>
1406 </dl>
1408 </div>
1410 </div>
1411 <hr />
1412 <h4>
1413 <a name="setValue">setValue</a></h4>
1414 <div class="detail">
1415 <code>
1419 boolean
1420 <strong>setValue</strong>
1424 newOffset
1428 skipAnim
1432 force
1436 </code>
1438 <div class="description">
1439 Provides a way to set the value of the slider in code.
1440 </div>
1442 <div class="description">
1444 <dl>
1445 <dt>Parameters:</dt>
1446 <dd>
1447 <code>newOffset &lt;int&gt;</code>
1448 the number of pixels the thumb should be
1449 positioned away from the initial start point
1450 </dd>
1451 <dd>
1452 <code>skipAnim &lt;boolean&gt;</code>
1453 set to true to disable the animation
1454 for this move action (but not others).
1455 </dd>
1456 <dd>
1457 <code>force &lt;boolean&gt;</code>
1458 ignore the locked setting and set value anyway
1459 </dd>
1460 </dl>
1462 <dl>
1463 <dt>Returns:
1464 <code>
1465 boolean
1466 </code></dt>
1467 <dd>true if the move was performed, false if it failed</dd>
1468 </dl>
1470 </div>
1472 </div>
1473 <hr />
1474 <h4>
1475 <a name="thumbMouseUp">thumbMouseUp</a></h4>
1476 <div class="detail">
1477 <code>
1478 private
1481 void
1482 <strong>thumbMouseUp</strong>
1485 </code>
1487 <div class="description">
1488 Handles mouseup event on the slider background
1489 </div>
1491 <div class="description">
1494 <dl>
1495 <dt>Returns:
1496 <code>
1497 void
1498 </code></dt>
1499 <dd></dd>
1500 </dl>
1502 </div>
1504 </div>
1505 <hr />
1506 <h4>
1507 <a name="toString">toString</a></h4>
1508 <div class="detail">
1509 <code>
1513 string
1514 <strong>toString</strong>
1517 </code>
1519 <div class="description">
1520 Slider toString
1521 </div>
1523 <div class="description">
1526 <dl>
1527 <dt>Returns:
1528 <code>
1529 string
1530 </code></dt>
1531 <dd>string representation of the instance</dd>
1532 </dl>
1534 </div>
1536 </div>
1537 <hr />
1538 <h4>
1539 <a name="unlock">unlock</a></h4>
1540 <div class="detail">
1541 <code>
1545 void
1546 <strong>unlock</strong>
1549 </code>
1551 <div class="description">
1552 Unlocks the slider, overrides YAHOO.util.DragDrop
1553 </div>
1555 <div class="description">
1558 <dl>
1559 <dt>Returns:
1560 <code>
1561 void
1562 </code></dt>
1563 <dd></dd>
1564 </dl>
1566 </div>
1568 </div>
1569 <hr />
1570 <h4>
1571 <a name="verifyOffset">verifyOffset</a></h4>
1572 <div class="detail">
1573 <code>
1577 boolean
1578 <strong>verifyOffset</strong>
1582 checkPos
1586 </code>
1588 <div class="description">
1589 Checks the background position element position. If it has moved from the
1590 baseline position, the constraints for the thumb are reset
1591 </div>
1593 <div class="description">
1595 <dl>
1596 <dt>Parameters:</dt>
1597 <dd>
1598 <code>checkPos &lt;boolean&gt;</code>
1599 check the position instead of using cached value
1600 </dd>
1601 </dl>
1603 <dl>
1604 <dt>Returns:
1605 <code>
1606 boolean
1607 </code></dt>
1608 <dd>True if the offset is the same as the baseline.</dd>
1609 </dl>
1611 </div>
1613 </div>
1614 <hr />
1615 <h4>
1616 <a name="YAHOO.widget.Slider.getHorizSlider">YAHOO.widget.Slider.getHorizSlider</a></h4>
1617 <div class="detail">
1618 <code>
1620 static
1622 Slider
1623 <strong>YAHOO.widget.Slider.getHorizSlider</strong>
1627 sBGElId
1631 sHandleElId
1635 iLeft
1639 iRight
1643 iTickSize
1647 </code>
1649 <div class="description">
1650 Factory method for creating a horizontal slider
1651 </div>
1653 <div class="description">
1655 <dl>
1656 <dt>Parameters:</dt>
1657 <dd>
1658 <code>sBGElId &lt;String&gt;</code>
1659 the id of the slider's background element
1660 </dd>
1661 <dd>
1662 <code>sHandleElId &lt;String&gt;</code>
1663 the id of the thumb element
1664 </dd>
1665 <dd>
1666 <code>iLeft &lt;int&gt;</code>
1667 the number of pixels the element can move left
1668 </dd>
1669 <dd>
1670 <code>iRight &lt;int&gt;</code>
1671 the number of pixels the element can move right
1672 </dd>
1673 <dd>
1674 <code>iTickSize &lt;int&gt;</code>
1675 optional parameter for specifying that the element
1676 should move a certain number pixels at a time.
1677 </dd>
1678 </dl>
1680 <dl>
1681 <dt>Returns:
1682 <code>
1683 Slider
1684 </code></dt>
1685 <dd>a horizontal slider control</dd>
1686 </dl>
1688 </div>
1690 </div>
1691 <hr />
1692 <h4>
1693 <a name="YAHOO.widget.Slider.getSliderRegion">YAHOO.widget.Slider.getSliderRegion</a></h4>
1694 <div class="detail">
1695 <code>
1697 static
1699 Slider
1700 <strong>YAHOO.widget.Slider.getSliderRegion</strong>
1704 sBGElId
1708 sHandleElId
1712 iLeft
1716 iRight
1724 iDown
1728 iTickSize
1732 </code>
1734 <div class="description">
1735 Factory method for creating a slider region like the one in the color
1736 picker example
1737 </div>
1739 <div class="description">
1741 <dl>
1742 <dt>Parameters:</dt>
1743 <dd>
1744 <code>sBGElId &lt;String&gt;</code>
1745 the id of the slider's background element
1746 </dd>
1747 <dd>
1748 <code>sHandleElId &lt;String&gt;</code>
1749 the id of the thumb element
1750 </dd>
1751 <dd>
1752 <code>iLeft &lt;int&gt;</code>
1753 the number of pixels the element can move left
1754 </dd>
1755 <dd>
1756 <code>iRight &lt;int&gt;</code>
1757 the number of pixels the element can move right
1758 </dd>
1759 <dd>
1760 <code>iUp &lt;int&gt;</code>
1761 the number of pixels the element can move up
1762 </dd>
1763 <dd>
1764 <code>iDown &lt;int&gt;</code>
1765 the number of pixels the element can move down
1766 </dd>
1767 <dd>
1768 <code>iTickSize &lt;int&gt;</code>
1769 optional parameter for specifying that the element
1770 should move a certain number pixels at a time.
1771 </dd>
1772 </dl>
1774 <dl>
1775 <dt>Returns:
1776 <code>
1777 Slider
1778 </code></dt>
1779 <dd>a slider region control</dd>
1780 </dl>
1782 </div>
1784 </div>
1785 <hr />
1786 <h4>
1787 <a name="YAHOO.widget.Slider.getVertSlider">YAHOO.widget.Slider.getVertSlider</a></h4>
1788 <div class="detail">
1789 <code>
1791 static
1793 Slider
1794 <strong>YAHOO.widget.Slider.getVertSlider</strong>
1798 sBGElId
1802 sHandleElId
1810 iDown
1814 iTickSize
1818 </code>
1820 <div class="description">
1821 Factory method for creating a vertical slider
1822 </div>
1824 <div class="description">
1826 <dl>
1827 <dt>Parameters:</dt>
1828 <dd>
1829 <code>sBGElId &lt;String&gt;</code>
1830 the id of the slider's background element
1831 </dd>
1832 <dd>
1833 <code>sHandleElId &lt;String&gt;</code>
1834 the id of the thumb element
1835 </dd>
1836 <dd>
1837 <code>iUp &lt;int&gt;</code>
1838 the number of pixels the element can move up
1839 </dd>
1840 <dd>
1841 <code>iDown &lt;int&gt;</code>
1842 the number of pixels the element can move down
1843 </dd>
1844 <dd>
1845 <code>iTickSize &lt;int&gt;</code>
1846 optional parameter for specifying that the element
1847 should move a certain number pixels at a time.
1848 </dd>
1849 </dl>
1851 <dl>
1852 <dt>Returns:
1853 <code>
1854 Slider
1855 </code></dt>
1856 <dd>a vertical slider control</dd>
1857 </dl>
1859 </div>
1861 </div>
1862 <hr />
1863 </div>
1864 </div>
1866 <div class="section field inheritance">
1867 <h4>Methods inherited from <a href="YAHOO.util.DragDrop.html">YAHOO.util.DragDrop</a>:</h4>
1868 <div class="content">
1869 <code>
1871 <a href="YAHOO.util.DragDrop.html#addInvalidHandleClass">addInvalidHandleClass</a>,
1872 <a href="YAHOO.util.DragDrop.html#addInvalidHandleId">addInvalidHandleId</a>,
1873 <a href="YAHOO.util.DragDrop.html#addInvalidHandleType">addInvalidHandleType</a>,
1874 <a href="YAHOO.util.DragDrop.html#addToGroup">addToGroup</a>,
1875 <a href="YAHOO.util.DragDrop.html#applyConfig">applyConfig</a>,
1876 <a href="YAHOO.util.DragDrop.html#b4Drag">b4Drag</a>,
1877 <a href="YAHOO.util.DragDrop.html#b4DragDrop">b4DragDrop</a>,
1878 <a href="YAHOO.util.DragDrop.html#b4DragOut">b4DragOut</a>,
1879 <a href="YAHOO.util.DragDrop.html#b4DragOver">b4DragOver</a>,
1880 <a href="YAHOO.util.DragDrop.html#b4EndDrag">b4EndDrag</a>,
1881 <a href="YAHOO.util.DragDrop.html#b4MouseDown">b4MouseDown</a>,
1882 <a href="YAHOO.util.DragDrop.html#b4StartDrag">b4StartDrag</a>,
1883 <a href="YAHOO.util.DragDrop.html#clearConstraints">clearConstraints</a>,
1884 <a href="YAHOO.util.DragDrop.html#clearTicks">clearTicks</a>,
1885 <a href="YAHOO.util.DragDrop.html#endDrag">endDrag</a>,
1886 <a href="YAHOO.util.DragDrop.html#getDragEl">getDragEl</a>,
1887 <a href="YAHOO.util.DragDrop.html#getEl">getEl</a>,
1888 <a href="YAHOO.util.DragDrop.html#getTick">getTick</a>,
1889 <a href="YAHOO.util.DragDrop.html#handleMouseDown">handleMouseDown</a>,
1890 <a href="YAHOO.util.DragDrop.html#handleOnAvailable">handleOnAvailable</a>,
1891 <a href="YAHOO.util.DragDrop.html#init">init</a>,
1892 <a href="YAHOO.util.DragDrop.html#initTarget">initTarget</a>,
1893 <a href="YAHOO.util.DragDrop.html#isLocked">isLocked</a>,
1894 <a href="YAHOO.util.DragDrop.html#isTarget">isTarget</a>,
1895 <a href="YAHOO.util.DragDrop.html#isValidHandleChild">isValidHandleChild</a>,
1896 <a href="YAHOO.util.DragDrop.html#lock">lock</a>,
1897 <a href="YAHOO.util.DragDrop.html#onAvailable">onAvailable</a>,
1898 <a href="YAHOO.util.DragDrop.html#onDrag">onDrag</a>,
1899 <a href="YAHOO.util.DragDrop.html#onDragDrop">onDragDrop</a>,
1900 <a href="YAHOO.util.DragDrop.html#onDragEnter">onDragEnter</a>,
1901 <a href="YAHOO.util.DragDrop.html#onDragOut">onDragOut</a>,
1902 <a href="YAHOO.util.DragDrop.html#onDragOver">onDragOver</a>,
1903 <a href="YAHOO.util.DragDrop.html#onInvalidDrop">onInvalidDrop</a>,
1904 <a href="YAHOO.util.DragDrop.html#onMouseDown">onMouseDown</a>,
1905 <a href="YAHOO.util.DragDrop.html#onMouseUp">onMouseUp</a>,
1906 <a href="YAHOO.util.DragDrop.html#padding">padding</a>,
1907 <a href="YAHOO.util.DragDrop.html#removeFromGroup">removeFromGroup</a>,
1908 <a href="YAHOO.util.DragDrop.html#removeInvalidHandleClass">removeInvalidHandleClass</a>,
1909 <a href="YAHOO.util.DragDrop.html#removeInvalidHandleId">removeInvalidHandleId</a>,
1910 <a href="YAHOO.util.DragDrop.html#removeInvalidHandleType">removeInvalidHandleType</a>,
1911 <a href="YAHOO.util.DragDrop.html#resetConstraints">resetConstraints</a>,
1912 <a href="YAHOO.util.DragDrop.html#setDragElId">setDragElId</a>,
1913 <a href="YAHOO.util.DragDrop.html#setHandleElId">setHandleElId</a>,
1914 <a href="YAHOO.util.DragDrop.html#setInitialPosition">setInitialPosition</a>,
1915 <a href="YAHOO.util.DragDrop.html#setOuterHandleElId">setOuterHandleElId</a>,
1916 <a href="YAHOO.util.DragDrop.html#setPadding">setPadding</a>,
1917 <a href="YAHOO.util.DragDrop.html#setStartPosition">setStartPosition</a>,
1918 <a href="YAHOO.util.DragDrop.html#setXConstraint">setXConstraint</a>,
1919 <a href="YAHOO.util.DragDrop.html#setXTicks">setXTicks</a>,
1920 <a href="YAHOO.util.DragDrop.html#setYConstraint">setYConstraint</a>,
1921 <a href="YAHOO.util.DragDrop.html#setYTicks">setYTicks</a>,
1922 <a href="YAHOO.util.DragDrop.html#startDrag">startDrag</a>,
1923 <a href="YAHOO.util.DragDrop.html#toString">toString</a>,
1924 <a href="YAHOO.util.DragDrop.html#unlock">unlock</a>,
1925 <a href="YAHOO.util.DragDrop.html#unreg">unreg</a>
1926 </code>
1927 </div>
1928 </div>
1929 <div class="section field inheritance">
1930 <h4>Methods inherited from <a href="YAHOO.util.EventProvider.html">YAHOO.util.EventProvider</a>:</h4>
1931 <div class="content">
1932 <code>
1934 <a href="YAHOO.util.EventProvider.html#createEvent">createEvent</a>,
1935 <a href="YAHOO.util.EventProvider.html#fireEvent">fireEvent</a>,
1936 <a href="YAHOO.util.EventProvider.html#hasEvent">hasEvent</a>,
1937 <a href="YAHOO.util.EventProvider.html#subscribe">subscribe</a>,
1938 <a href="YAHOO.util.EventProvider.html#unsubscribe">unsubscribe</a>,
1939 <a href="YAHOO.util.EventProvider.html#unsubscribeAll">unsubscribeAll</a>
1940 </code>
1941 </div>
1942 </div>
1944 <div class="section method details">
1945 <h3><a name="methodDetails">Events</a></h3>
1946 <div class="content">
1947 <h4>
1948 <a name="change">change</a></h4>
1949 <div class="detail">
1950 <code>
1954 <strong>change</strong>
1959 newOffset|x
1968 </code>
1970 <div class="description">
1971 Event the fires when the value of the control changes. If
1972 the control is animated the event will fire every point
1973 along the way.
1974 </div>
1976 <div class="description">
1979 <dl>
1980 <dt>Parameters:</dt>
1981 <dd>
1982 <code>newOffset|x &lt;int&gt;</code>
1983 the new offset for normal sliders, or the new
1984 x offset for region sliders
1985 </dd>
1986 <dd>
1987 <code>y &lt;int&gt;</code>
1988 the number of pixels the thumb has moved on the y axis
1989 (region sliders only)
1990 </dd>
1991 </dl>
1994 </div>
1996 </div>
1997 <hr />
1998 <h4>
1999 <a name="slideEnd">slideEnd</a></h4>
2000 <div class="detail">
2001 <code>
2005 <strong>slideEnd</strong>
2010 </code>
2012 <div class="description">
2013 Event that fires at the end of a slider thumb move
2014 </div>
2016 <div class="description">
2021 </div>
2023 </div>
2024 <hr />
2025 <h4>
2026 <a name="slideStart">slideStart</a></h4>
2027 <div class="detail">
2028 <code>
2032 <strong>slideStart</strong>
2037 </code>
2039 <div class="description">
2040 Event that fires at the beginning of a slider thumb move.
2041 </div>
2043 <div class="description">
2048 </div>
2050 </div>
2051 <hr />
2052 </div>
2053 </div>
2059 </div>
2060 </div>
2061 <div class="yui-b">
2062 <div class="nav">
2064 <div class="module">
2065 <h4>Modules</h4>
2066 <ul class="content">
2068 <li class=""><a href="module_animation.html">animation</a></li>
2070 <li class=""><a href="module_autocomplete.html">autocomplete</a></li>
2072 <li class=""><a href="module_button.html">button</a></li>
2074 <li class=""><a href="module_calendar.html">calendar</a></li>
2076 <li class=""><a href="module_connection.html">connection</a></li>
2078 <li class=""><a href="module_container.html">container</a></li>
2080 <li class=""><a href="module_datasource.html">datasource</a></li>
2082 <li class=""><a href="module_datatable.html">datatable</a></li>
2084 <li class=""><a href="module_dom.html">dom</a></li>
2086 <li class=""><a href="module_dragdrop.html">dragdrop</a></li>
2088 <li class=""><a href="module_element.html">element</a></li>
2090 <li class=""><a href="module_event.html">event</a></li>
2092 <li class=""><a href="module_history.html">history</a></li>
2094 <li class=""><a href="module_logger.html">logger</a></li>
2096 <li class=""><a href="module_menu.html">menu</a></li>
2098 <li class="selected"><a href="module_slider.html">slider</a></li>
2100 <li class=""><a href="module_tabview.html">tabview</a></li>
2102 <li class=""><a href="module_treeview.html">treeview</a></li>
2104 <li class=""><a href="module_yahoo.html">yahoo</a></li>
2105 </ul>
2106 </div>
2108 <div class="module">
2109 <h4>Classes</h4>
2110 <ul class="content">
2111 <li class="selected"><a href="YAHOO.widget.Slider.html">YAHOO.widget.Slider</a></li>
2112 <li class=""><a href="YAHOO.widget.SliderThumb.html">YAHOO.widget.SliderThumb</a></li>
2113 </ul>
2114 </div>
2116 <div class="module">
2117 <h4>Files</h4>
2118 <ul class="content">
2119 <li class=""><a href="Slider.js.html">Slider.js</a></li>
2120 <li class=""><a href="SliderThumb.js.html">SliderThumb.js</a></li>
2121 </ul>
2122 </div>
2124 <div class="module">
2125 <h4>Properties</h4>
2126 <ul class="content">
2127 <li><a href="#animate">animate</a>
2128 <!--<code>&lt;boolean&gt;</code>-->
2129 </li>
2130 <li><a href="#animationDuration">animationDuration</a>
2131 <!--<code>&lt;boolean&gt;</code>-->
2132 </li>
2133 <li><a href="#backgroundEnabled">backgroundEnabled</a>
2134 <!--<code>&lt;boolean&gt;</code>-->
2135 </li>
2136 <li><a href="#baselinePos">baselinePos</a>
2137 <!--<code>&lt;boolean&gt;</code>-->
2138 </li>
2139 <li><a href="#enableKeys">enableKeys</a>
2140 <!--<code>&lt;boolean&gt;</code>-->
2141 </li>
2142 <li><a href="#isTarget">isTarget</a>
2143 <!--<code>&lt;boolean&gt;</code>-->
2144 </li>
2145 <li><a href="#keyIncrement">keyIncrement</a>
2146 <!--<code>&lt;boolean&gt;</code>-->
2147 </li>
2148 <li><a href="#moveComplete">moveComplete</a>
2149 <!--<code>&lt;boolean&gt;</code>-->
2150 </li>
2151 <li><a href="#thumb">thumb</a>
2152 <!--<code>&lt;boolean&gt;</code>-->
2153 </li>
2154 <li><a href="#thumbCenterPoint">thumbCenterPoint</a>
2155 <!--<code>&lt;boolean&gt;</code>-->
2156 </li>
2157 <li><a href="#tickPause">tickPause</a>
2158 <!--<code>&lt;boolean&gt;</code>-->
2159 </li>
2160 <li><a href="#type">type</a>
2161 <!--<code>&lt;boolean&gt;</code>-->
2162 </li>
2163 <li><a href="#YAHOO.widget.Slider.ANIM_AVAIL">YAHOO.widget.Slider.ANIM_AVAIL</a>
2164 <!--<code>&lt;boolean&gt;</code>-->
2165 </li>
2166 </ul>
2167 </div>
2169 <div class="module">
2170 <h4>Methods</h4>
2171 <ul class="content">
2172 <li><!--<code>void</code>-->
2173 <a href="#_getNextX">_getNextX</a>
2174 </li>
2175 <li><!--<code>void</code>-->
2176 <a href="#_getNextY">_getNextY</a>
2177 </li>
2178 <li><!--<code>void</code>-->
2179 <a href="#b4MouseDown">b4MouseDown</a>
2180 </li>
2181 <li><!--<code>void</code>-->
2182 <a href="#endMove">endMove</a>
2183 </li>
2184 <li><!--<code>void</code>-->
2185 <a href="#fireEvents">fireEvents</a>
2186 </li>
2187 <li><!--<code>void</code>-->
2188 <a href="#focus">focus</a>
2189 </li>
2190 <li><!--<code>SliderThumb</code>-->
2191 <a href="#getThumb">getThumb</a>
2192 </li>
2193 <li><!--<code>int</code>-->
2194 <a href="#getValue">getValue</a>
2195 </li>
2196 <li><!--<code>int</code>-->
2197 <a href="#getXValue">getXValue</a>
2198 </li>
2199 <li><!--<code>int</code>-->
2200 <a href="#getYValue">getYValue</a>
2201 </li>
2202 <li><!--<code>void</code>-->
2203 <a href="#handleKeyDown">handleKeyDown</a>
2204 </li>
2205 <li><!--<code>void</code>-->
2206 <a href="#handleKeyPress">handleKeyPress</a>
2207 </li>
2208 <li><!--<code>void</code>-->
2209 <a href="#handleThumbChange">handleThumbChange</a>
2210 </li>
2211 <li><!--<code>void</code>-->
2212 <a href="#initSlider">initSlider</a>
2213 </li>
2214 <li><!--<code>void</code>-->
2215 <a href="#initThumb">initThumb</a>
2216 </li>
2217 <li><!--<code>void</code>-->
2218 <a href="#lock">lock</a>
2219 </li>
2220 <li><!--<code>void</code>-->
2221 <a href="#moveOneTick">moveOneTick</a>
2222 </li>
2223 <li><!--<code>void</code>-->
2224 <a href="#moveThumb">moveThumb</a>
2225 </li>
2226 <li><!--<code>void</code>-->
2227 <a href="#onAvailable">onAvailable</a>
2228 </li>
2229 <li><!--<code>void</code>-->
2230 <a href="#onChange">onChange</a>
2231 </li>
2232 <li><!--<code>void</code>-->
2233 <a href="#onDrag">onDrag</a>
2234 </li>
2235 <li><!--<code>void</code>-->
2236 <a href="#onMouseDown">onMouseDown</a>
2237 </li>
2238 <li><!--<code>void</code>-->
2239 <a href="#onSliderEnd">onSliderEnd</a>
2240 </li>
2241 <li><!--<code>void</code>-->
2242 <a href="#onSlideStart">onSlideStart</a>
2243 </li>
2244 <li><!--<code>boolean</code>-->
2245 <a href="#setRegionValue">setRegionValue</a>
2246 </li>
2247 <li><!--<code>void</code>-->
2248 <a href="#setStartSliderState">setStartSliderState</a>
2249 </li>
2250 <li><!--<code>void</code>-->
2251 <a href="#setThumbCenterPoint">setThumbCenterPoint</a>
2252 </li>
2253 <li><!--<code>boolean</code>-->
2254 <a href="#setValue">setValue</a>
2255 </li>
2256 <li><!--<code>void</code>-->
2257 <a href="#thumbMouseUp">thumbMouseUp</a>
2258 </li>
2259 <li><!--<code>string</code>-->
2260 <a href="#toString">toString</a>
2261 </li>
2262 <li><!--<code>void</code>-->
2263 <a href="#unlock">unlock</a>
2264 </li>
2265 <li><!--<code>boolean</code>-->
2266 <a href="#verifyOffset">verifyOffset</a>
2267 </li>
2268 <li><!--<code>Slider</code>-->
2269 <a href="#YAHOO.widget.Slider.getHorizSlider">YAHOO.widget.Slider.getHorizSlider</a>
2270 </li>
2271 <li><!--<code>Slider</code>-->
2272 <a href="#YAHOO.widget.Slider.getSliderRegion">YAHOO.widget.Slider.getSliderRegion</a>
2273 </li>
2274 <li><!--<code>Slider</code>-->
2275 <a href="#YAHOO.widget.Slider.getVertSlider">YAHOO.widget.Slider.getVertSlider</a>
2276 </li>
2277 </ul>
2278 </div>
2280 <div class="module">
2281 <h4>Events</h4>
2282 <ul class="content">
2283 <li>
2284 <a href="#change">change</a>
2285 </li>
2286 <li>
2287 <a href="#slideEnd">slideEnd</a>
2288 </li>
2289 <li>
2290 <a href="#slideStart">slideStart</a>
2291 </li>
2292 </ul>
2293 </div>
2296 </div>
2297 </div>
2298 </div>
2299 <div id="ft">
2300 <hr />
2301 Copyright &copy; 2007 Yahoo! Inc. All rights reserved.
2302 </div>
2303 </div>
2304 </body>
2305 </html>