|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
3 <head> |
|
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
5 <title>API: slider Slider (YUI Library)</title> |
|
6 |
|
7 <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
8 <link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
9 |
|
10 <script type="text/javascript" src="assets/api-js"></script> |
|
11 <script type="text/javascript" src="assets/ac-js"></script> |
|
12 </head> |
|
13 |
|
14 <body id="yahoo-com"> |
|
15 |
|
16 <div id="doc3" class="yui-t2"> |
|
17 <div id="hd"> |
|
18 <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
19 <h3>slider <span class="subtitle">3.0.0</span></h3> |
|
20 <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
21 > <a href="./module_slider.html" title="slider">slider</a> |
|
22 > Slider |
|
23 |
|
24 <form onsubmit="return false"> |
|
25 <div id="propertysearch"> |
|
26 Search: <input autocomplete="off" id="searchinput" /> |
|
27 <div id="searchresults"> |
|
28 |
|
29 </div> |
|
30 </div> |
|
31 </form> |
|
32 </div> |
|
33 |
|
34 <div id="bd"> |
|
35 <div id="yui-main"> |
|
36 <div class="yui-b"> |
|
37 <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
38 <fieldset> |
|
39 <legend>Filters</legend> |
|
40 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
41 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
42 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
43 </fieldset> |
|
44 </form> |
|
45 |
|
46 <h2> |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 Class <b property="yui:name">Slider</b> |
|
52 <span class="extends"> |
|
53 - extends <a href="Widget.html" title="Widget">Widget</a> |
|
54 </span> |
|
55 |
|
56 </h2> |
|
57 <!-- class tree goes here --> |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 <div class="summary description" property="yui:description"> |
|
63 Create a slider to represent an integer value between a given minimum and |
|
64 maximum. Sliders may be aligned vertically or horizontally, based on the |
|
65 <code>axis</code> configuration. |
|
66 </div> |
|
67 |
|
68 <div class="section constructor details" rel="yui:constructor" resource="#constructor"> |
|
69 <h3 id="constructor">Constructor</h3> |
|
70 <div class="content"> |
|
71 <div class="detail"> |
|
72 <strong property="yui:name">Slider</strong> |
|
73 <code> |
|
74 ( |
|
75 |
|
76 |
|
77 |
|
78 config |
|
79 ) |
|
80 </code> |
|
81 <div class="description"> |
|
82 <dl rel="yui:parameters"> |
|
83 <dt>Parameters:</dt> |
|
84 <dd rel="yui:parameter"> |
|
85 <code><span property="yui:name">config</span> |
|
86 <<span property="yui:type">Object</span>> |
|
87 </code> |
|
88 <span property="yui:description"> Configuration object</span> |
|
89 </dd> |
|
90 </dl> |
|
91 |
|
92 |
|
93 </div> |
|
94 </div> |
|
95 </div> |
|
96 </div> |
|
97 |
|
98 <div rel="yui:properties" resource="#properties"> |
|
99 <div class="section field details"> |
|
100 <h3 id="properties">Properties</h3> |
|
101 <div class="content"> |
|
102 <div class="protected" rel="yui:property" resource="#property__disabled"> |
|
103 <h4><a name="property__disabled" property="yui:name">_disabled</a> |
|
104 - <code>protected <span property="yui:type">Boolean</span></code> |
|
105 </h4> |
|
106 <div class="detail"> |
|
107 <div class="description" property="yui:description"> |
|
108 Deferred value for the disabled attribute when stalled (see _stall |
|
109 property). |
|
110 </div> |
|
111 </div> |
|
112 |
|
113 |
|
114 |
|
115 |
|
116 <hr /> |
|
117 </div> |
|
118 <div class="protected" rel="yui:property" resource="#property__factor"> |
|
119 <h4><a name="property__factor" property="yui:name">_factor</a> |
|
120 - <code>protected <span property="yui:type">Number</span></code> |
|
121 </h4> |
|
122 <div class="detail"> |
|
123 <div class="description" property="yui:description"> |
|
124 Factor used to translate positional coordinates (e.g. left or top) to |
|
125 the Slider's value. |
|
126 </div> |
|
127 </div> |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 <hr /> |
|
133 </div> |
|
134 <div class="protected" rel="yui:property" resource="#property__key"> |
|
135 <h4><a name="property__key" property="yui:name">_key</a> |
|
136 - <code>protected <span property="yui:type">Object</span></code> |
|
137 </h4> |
|
138 <div class="detail"> |
|
139 <div class="description" property="yui:description"> |
|
140 Collection of object property names from the appropriate hash set in |
|
141 Slider._AXIS_KEYS. |
|
142 </div> |
|
143 </div> |
|
144 |
|
145 |
|
146 |
|
147 |
|
148 <hr /> |
|
149 </div> |
|
150 <div class="protected" rel="yui:property" resource="#property__railSize"> |
|
151 <h4><a name="property__railSize" property="yui:name">_railSize</a> |
|
152 - <code>protected <span property="yui:type">Number</span></code> |
|
153 </h4> |
|
154 <div class="detail"> |
|
155 <div class="description" property="yui:description"> |
|
156 Pixel dimension of the rail Node's width for X axis Sliders or height |
|
157 for Y axis Sliders. Used with _factor to calculate positional |
|
158 coordinates for the thumb. |
|
159 </div> |
|
160 </div> |
|
161 |
|
162 |
|
163 |
|
164 |
|
165 <hr /> |
|
166 </div> |
|
167 <div class="protected" rel="yui:property" resource="#property__stall"> |
|
168 <h4><a name="property__stall" property="yui:name">_stall</a> |
|
169 - <code>protected <span property="yui:type">Object</span></code> |
|
170 </h4> |
|
171 <div class="detail"> |
|
172 <div class="description" property="yui:description"> |
|
173 Object returned from temporary subscription to disabledChange event to |
|
174 defer setting the disabled state while Slider is loading the thumb |
|
175 image. |
|
176 </div> |
|
177 </div> |
|
178 |
|
179 |
|
180 |
|
181 |
|
182 <hr /> |
|
183 </div> |
|
184 <div class="protected" rel="yui:property" resource="#property__thumbOffset"> |
|
185 <h4><a name="property__thumbOffset" property="yui:name">_thumbOffset</a> |
|
186 - <code>protected <span property="yui:type">Number</span></code> |
|
187 </h4> |
|
188 <div class="detail"> |
|
189 <div class="description" property="yui:description"> |
|
190 Pixel offset of the point in the thumb element from its top/left edge |
|
191 to where the value calculation should take place. By default, this is |
|
192 calculated to half the width of the thumb, causing the value to be |
|
193 marked from the center of the thumb. |
|
194 </div> |
|
195 </div> |
|
196 |
|
197 |
|
198 |
|
199 |
|
200 <hr /> |
|
201 </div> |
|
202 <div class="protected" rel="yui:property" resource="#property__thumbSize"> |
|
203 <h4><a name="property__thumbSize" property="yui:name">_thumbSize</a> |
|
204 - <code>protected <span property="yui:type">Number</span></code> |
|
205 </h4> |
|
206 <div class="detail"> |
|
207 <div class="description" property="yui:description"> |
|
208 Pixel dimension of the thumb Node's width for X axis Sliders or height |
|
209 for Y axis Sliders. Used with _factor to calculate positional |
|
210 coordinates for the thumb. |
|
211 </div> |
|
212 </div> |
|
213 |
|
214 |
|
215 |
|
216 |
|
217 <hr /> |
|
218 </div> |
|
219 <div class="protected" rel="yui:property" resource="#property_Slider._AXIS_KEYS"> |
|
220 <h4><a name="property_Slider._AXIS_KEYS" property="yui:name">Slider._AXIS_KEYS</a> |
|
221 - <code>protected static <span property="yui:type">Object</span></code> |
|
222 </h4> |
|
223 <div class="detail"> |
|
224 <div class="description" property="yui:description"> |
|
225 Object property names used for respective X and Y axis Sliders (e.g. |
|
226 "left" vs. "top" for placing the thumb according to |
|
227 its representative value). |
|
228 </div> |
|
229 </div> |
|
230 |
|
231 |
|
232 |
|
233 |
|
234 <hr /> |
|
235 </div> |
|
236 <div class="protected" rel="yui:property" resource="#property_Slider.ATTRS"> |
|
237 <h4><a name="property_Slider.ATTRS" property="yui:name">Slider.ATTRS</a> |
|
238 - <code>protected static <span property="yui:type">Object</span></code> |
|
239 </h4> |
|
240 <div class="detail"> |
|
241 <div class="description" property="yui:description"> |
|
242 Static property used to define the default attribute configuration of |
|
243 the Widget. |
|
244 </div> |
|
245 </div> |
|
246 |
|
247 |
|
248 |
|
249 |
|
250 <hr /> |
|
251 </div> |
|
252 <div class="protected" rel="yui:property" resource="#property_Slider.HTML_PARSER"> |
|
253 <h4><a name="property_Slider.HTML_PARSER" property="yui:name">Slider.HTML_PARSER</a> |
|
254 - <code>protected static <span property="yui:type">Object</span></code> |
|
255 </h4> |
|
256 <div class="detail"> |
|
257 <div class="description" property="yui:description"> |
|
258 Static Object hash used to capture existing markup for progressive |
|
259 enhancement. Keys correspond to config attribute names and values |
|
260 are selectors used to inspect the contentBox for an existing node |
|
261 structure. |
|
262 </div> |
|
263 </div> |
|
264 |
|
265 |
|
266 |
|
267 |
|
268 <hr /> |
|
269 </div> |
|
270 <div class="" rel="yui:property" resource="#property_Slider.NAME"> |
|
271 <h4><a name="property_Slider.NAME" property="yui:name">Slider.NAME</a> |
|
272 - <code>static <span property="yui:type">String</span></code> |
|
273 </h4> |
|
274 <div class="detail"> |
|
275 <div class="description" property="yui:description"> |
|
276 The identity of the widget. |
|
277 </div> |
|
278 </div> |
|
279 |
|
280 |
|
281 |
|
282 |
|
283 <hr /> |
|
284 </div> |
|
285 </div> |
|
286 </div> |
|
287 |
|
288 <div rel="yui:inheritance"> |
|
289 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
290 <h4>Properties inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
291 <div class="content" rel="yui:properties"> |
|
292 <code> |
|
293 |
|
294 </code> |
|
295 </div> |
|
296 </div> |
|
297 <div class="section field inheritance" rel="yui:superclass" resource="Widget.html"> |
|
298 <h4>Properties inherited from <a href="Widget.html" property="yui:name" title="Widget">Widget</a>:</h4> |
|
299 <div class="content" rel="yui:properties"> |
|
300 <code> |
|
301 |
|
302 <span rel="yui:property" resource="Widget.html#property__strings"> |
|
303 <a class="private" href="Widget.html#property__strings" property="yui:name" title="_strings">_strings</a><span class="private">,</span> |
|
304 </span> |
|
305 |
|
306 <span rel="yui:property" resource="Widget.html#property_BOUNDING_TEMPLATE"> |
|
307 <a class="" href="Widget.html#property_BOUNDING_TEMPLATE" property="yui:name" title="BOUNDING_TEMPLATE">BOUNDING_TEMPLATE</a><span class="">,</span> |
|
308 </span> |
|
309 |
|
310 <span rel="yui:property" resource="Widget.html#property_CONTENT_TEMPLATE"> |
|
311 <a class="" href="Widget.html#property_CONTENT_TEMPLATE" property="yui:name" title="CONTENT_TEMPLATE">CONTENT_TEMPLATE</a><span class="">,</span> |
|
312 </span> |
|
313 |
|
314 <span rel="yui:property" resource="Widget.html#property_DEF_UNIT"> |
|
315 <a class="" href="Widget.html#property_DEF_UNIT" property="yui:name" title="DEF_UNIT">DEF_UNIT</a><span class="">,</span> |
|
316 </span> |
|
317 |
|
318 <span rel="yui:property" resource="Widget.html#property_WRAP_STYLES"> |
|
319 <a class="" href="Widget.html#property_WRAP_STYLES" property="yui:name" title="WRAP_STYLES">WRAP_STYLES</a> |
|
320 </span> |
|
321 |
|
322 </code> |
|
323 </div> |
|
324 </div> |
|
325 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
326 <h4>Properties inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
327 <div class="content" rel="yui:properties"> |
|
328 <code> |
|
329 |
|
330 <span rel="yui:property" resource="Base.html#property_name"> |
|
331 <a class=" deprecated" href="Base.html#property_name" property="yui:name" title="name">name</a> |
|
332 </span> |
|
333 |
|
334 </code> |
|
335 </div> |
|
336 </div> |
|
337 </div> |
|
338 </div> |
|
339 |
|
340 <div rel="yui:methods" resource="#methods"> |
|
341 <div class="section method details"> |
|
342 <h3 id="methods">Methods</h3> |
|
343 <div class="content"> |
|
344 <div class="protected" rel="yui:method" resource="#method__afterDisabledChange"> |
|
345 <h4> |
|
346 <a name="method__afterDisabledChange">_afterDisabledChange</a></h4> |
|
347 <div class="detail" > |
|
348 <code> |
|
349 protected |
|
350 |
|
351 |
|
352 void |
|
353 <strong property="yui:name">_afterDisabledChange</strong> |
|
354 ( |
|
355 |
|
356 |
|
357 e |
|
358 |
|
359 |
|
360 ) |
|
361 </code> |
|
362 |
|
363 <div class="description" property="yui:description"> |
|
364 Locks or unlocks the DD instance in response to a change in the disabled |
|
365 attribute. |
|
366 </div> |
|
367 |
|
368 <div class="description"> |
|
369 |
|
370 <dl rel="yui:parameters"> |
|
371 <dt>Parameters:</dt> |
|
372 <dd rel="yui:parameter"> |
|
373 <code><span property="yui:name">e</span> |
|
374 <<span property="yui:type">Event</span>> |
|
375 </code> |
|
376 <span property="yui:description"> disabledChange custom event</span> |
|
377 </dd> |
|
378 </dl> |
|
379 |
|
380 |
|
381 |
|
382 |
|
383 |
|
384 </div> |
|
385 |
|
386 </div> |
|
387 <hr /> |
|
388 </div> |
|
389 <div class="protected" rel="yui:method" resource="#method__afterMaxChange"> |
|
390 <h4> |
|
391 <a name="method__afterMaxChange">_afterMaxChange</a></h4> |
|
392 <div class="detail" > |
|
393 <code> |
|
394 protected |
|
395 |
|
396 |
|
397 void |
|
398 <strong property="yui:name">_afterMaxChange</strong> |
|
399 ( |
|
400 |
|
401 |
|
402 e |
|
403 |
|
404 |
|
405 ) |
|
406 </code> |
|
407 |
|
408 <div class="description" property="yui:description"> |
|
409 Updates the Slider UI in response to change in the max attribute. |
|
410 </div> |
|
411 |
|
412 <div class="description"> |
|
413 |
|
414 <dl rel="yui:parameters"> |
|
415 <dt>Parameters:</dt> |
|
416 <dd rel="yui:parameter"> |
|
417 <code><span property="yui:name">e</span> |
|
418 <<span property="yui:type">Event</span>> |
|
419 </code> |
|
420 <span property="yui:description"> maxChange custom event</span> |
|
421 </dd> |
|
422 </dl> |
|
423 |
|
424 |
|
425 |
|
426 |
|
427 |
|
428 </div> |
|
429 |
|
430 </div> |
|
431 <hr /> |
|
432 </div> |
|
433 <div class="protected" rel="yui:method" resource="#method__afterMinChange"> |
|
434 <h4> |
|
435 <a name="method__afterMinChange">_afterMinChange</a></h4> |
|
436 <div class="detail" > |
|
437 <code> |
|
438 protected |
|
439 |
|
440 |
|
441 void |
|
442 <strong property="yui:name">_afterMinChange</strong> |
|
443 ( |
|
444 |
|
445 |
|
446 e |
|
447 |
|
448 |
|
449 ) |
|
450 </code> |
|
451 |
|
452 <div class="description" property="yui:description"> |
|
453 Updates the Slider UI in response to change in the min attribute. |
|
454 </div> |
|
455 |
|
456 <div class="description"> |
|
457 |
|
458 <dl rel="yui:parameters"> |
|
459 <dt>Parameters:</dt> |
|
460 <dd rel="yui:parameter"> |
|
461 <code><span property="yui:name">e</span> |
|
462 <<span property="yui:type">Event</span>> |
|
463 </code> |
|
464 <span property="yui:description"> minChange custom event</span> |
|
465 </dd> |
|
466 </dl> |
|
467 |
|
468 |
|
469 |
|
470 |
|
471 |
|
472 </div> |
|
473 |
|
474 </div> |
|
475 <hr /> |
|
476 </div> |
|
477 <div class="protected" rel="yui:method" resource="#method__afterRailSizeChange"> |
|
478 <h4> |
|
479 <a name="method__afterRailSizeChange">_afterRailSizeChange</a></h4> |
|
480 <div class="detail" > |
|
481 <code> |
|
482 protected |
|
483 |
|
484 |
|
485 void |
|
486 <strong property="yui:name">_afterRailSizeChange</strong> |
|
487 ( |
|
488 |
|
489 |
|
490 e |
|
491 |
|
492 |
|
493 ) |
|
494 </code> |
|
495 |
|
496 <div class="description" property="yui:description"> |
|
497 Updates the Slider UI in response to change in the railSize attribute. |
|
498 </div> |
|
499 |
|
500 <div class="description"> |
|
501 |
|
502 <dl rel="yui:parameters"> |
|
503 <dt>Parameters:</dt> |
|
504 <dd rel="yui:parameter"> |
|
505 <code><span property="yui:name">e</span> |
|
506 <<span property="yui:type">Event</span>> |
|
507 </code> |
|
508 <span property="yui:description"> railSizeChange custom event</span> |
|
509 </dd> |
|
510 </dl> |
|
511 |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 </div> |
|
517 |
|
518 </div> |
|
519 <hr /> |
|
520 </div> |
|
521 <div class="protected" rel="yui:method" resource="#method__afterThumbChange"> |
|
522 <h4> |
|
523 <a name="method__afterThumbChange">_afterThumbChange</a></h4> |
|
524 <div class="detail" > |
|
525 <code> |
|
526 protected |
|
527 |
|
528 |
|
529 void |
|
530 <strong property="yui:name">_afterThumbChange</strong> |
|
531 ( |
|
532 |
|
533 |
|
534 e |
|
535 |
|
536 |
|
537 ) |
|
538 </code> |
|
539 |
|
540 <div class="description" property="yui:description"> |
|
541 Replaces the thumb Node in response to a change in the thumb attribute. |
|
542 This only has effect after the Slider is rendered. |
|
543 </div> |
|
544 |
|
545 <div class="description"> |
|
546 |
|
547 <dl rel="yui:parameters"> |
|
548 <dt>Parameters:</dt> |
|
549 <dd rel="yui:parameter"> |
|
550 <code><span property="yui:name">e</span> |
|
551 <<span property="yui:type">Event</span>> |
|
552 </code> |
|
553 <span property="yui:description"> thumbChange custom event</span> |
|
554 </dd> |
|
555 </dl> |
|
556 |
|
557 |
|
558 |
|
559 |
|
560 |
|
561 </div> |
|
562 |
|
563 </div> |
|
564 <hr /> |
|
565 </div> |
|
566 <div class="protected" rel="yui:method" resource="#method__afterThumbImageChange"> |
|
567 <h4> |
|
568 <a name="method__afterThumbImageChange">_afterThumbImageChange</a></h4> |
|
569 <div class="detail" > |
|
570 <code> |
|
571 protected |
|
572 |
|
573 |
|
574 void |
|
575 <strong property="yui:name">_afterThumbImageChange</strong> |
|
576 ( |
|
577 |
|
578 |
|
579 e |
|
580 |
|
581 |
|
582 ) |
|
583 </code> |
|
584 |
|
585 <div class="description" property="yui:description"> |
|
586 Sets or replaces the thumb's contained <code>img</code> Node with the |
|
587 new Node in response to a change in the thumbImage attribute. This only |
|
588 has effect after the Slider is rendered. |
|
589 </div> |
|
590 |
|
591 <div class="description"> |
|
592 |
|
593 <dl rel="yui:parameters"> |
|
594 <dt>Parameters:</dt> |
|
595 <dd rel="yui:parameter"> |
|
596 <code><span property="yui:name">e</span> |
|
597 <<span property="yui:type">Event</span>> |
|
598 </code> |
|
599 <span property="yui:description"> thumbImageChange custom event</span> |
|
600 </dd> |
|
601 </dl> |
|
602 |
|
603 |
|
604 |
|
605 |
|
606 |
|
607 </div> |
|
608 |
|
609 </div> |
|
610 <hr /> |
|
611 </div> |
|
612 <div class="protected" rel="yui:method" resource="#method__afterValueChange"> |
|
613 <h4> |
|
614 <a name="method__afterValueChange">_afterValueChange</a></h4> |
|
615 <div class="detail" > |
|
616 <code> |
|
617 protected |
|
618 |
|
619 |
|
620 void |
|
621 <strong property="yui:name">_afterValueChange</strong> |
|
622 ( |
|
623 |
|
624 |
|
625 e |
|
626 |
|
627 |
|
628 ) |
|
629 </code> |
|
630 |
|
631 <div class="description" property="yui:description"> |
|
632 Fires the internal positionThumb event in response to a change in the |
|
633 value attribute. |
|
634 </div> |
|
635 |
|
636 <div class="description"> |
|
637 |
|
638 <dl rel="yui:parameters"> |
|
639 <dt>Parameters:</dt> |
|
640 <dd rel="yui:parameter"> |
|
641 <code><span property="yui:name">e</span> |
|
642 <<span property="yui:type">Event</span>> |
|
643 </code> |
|
644 <span property="yui:description"> valueChange custom event</span> |
|
645 </dd> |
|
646 </dl> |
|
647 |
|
648 |
|
649 |
|
650 |
|
651 |
|
652 </div> |
|
653 |
|
654 </div> |
|
655 <hr /> |
|
656 </div> |
|
657 <div class="protected" rel="yui:method" resource="#method__bindThumbDD"> |
|
658 <h4> |
|
659 <a name="method__bindThumbDD">_bindThumbDD</a></h4> |
|
660 <div class="detail" > |
|
661 <code> |
|
662 protected |
|
663 |
|
664 |
|
665 void |
|
666 <strong property="yui:name">_bindThumbDD</strong> |
|
667 ( |
|
668 ) |
|
669 </code> |
|
670 |
|
671 <div class="description" property="yui:description"> |
|
672 Creates the Y.DD instance used to handle the thumb interaction. |
|
673 </div> |
|
674 |
|
675 <div class="description"> |
|
676 |
|
677 |
|
678 |
|
679 |
|
680 |
|
681 |
|
682 </div> |
|
683 |
|
684 </div> |
|
685 <hr /> |
|
686 </div> |
|
687 <div class="protected" rel="yui:method" resource="#method__convertOffsetToValue"> |
|
688 <h4> |
|
689 <a name="method__convertOffsetToValue">_convertOffsetToValue</a></h4> |
|
690 <div class="detail" > |
|
691 <code> |
|
692 protected |
|
693 |
|
694 |
|
695 void |
|
696 <strong property="yui:name">_convertOffsetToValue</strong> |
|
697 ( |
|
698 |
|
699 |
|
700 v |
|
701 |
|
702 |
|
703 ) |
|
704 </code> |
|
705 |
|
706 <div class="description" property="yui:description"> |
|
707 Converts a pixel offset of the thumb on the rail to a value. |
|
708 </div> |
|
709 |
|
710 <div class="description"> |
|
711 |
|
712 <dl rel="yui:parameters"> |
|
713 <dt>Parameters:</dt> |
|
714 <dd rel="yui:parameter"> |
|
715 <code><span property="yui:name">v</span> |
|
716 <<span property="yui:type">Number</span>> |
|
717 </code> |
|
718 <span property="yui:description"> pixel offset of the thumb on the rail</span> |
|
719 </dd> |
|
720 </dl> |
|
721 |
|
722 |
|
723 |
|
724 |
|
725 |
|
726 </div> |
|
727 |
|
728 </div> |
|
729 <hr /> |
|
730 </div> |
|
731 <div class="protected" rel="yui:method" resource="#method__convertValueToOffset"> |
|
732 <h4> |
|
733 <a name="method__convertValueToOffset">_convertValueToOffset</a></h4> |
|
734 <div class="detail" > |
|
735 <code> |
|
736 protected |
|
737 |
|
738 |
|
739 void |
|
740 <strong property="yui:name">_convertValueToOffset</strong> |
|
741 ( |
|
742 |
|
743 |
|
744 v |
|
745 |
|
746 |
|
747 ) |
|
748 </code> |
|
749 |
|
750 <div class="description" property="yui:description"> |
|
751 Converts a value to a pixel offset for the thumb position on the rail. |
|
752 </div> |
|
753 |
|
754 <div class="description"> |
|
755 |
|
756 <dl rel="yui:parameters"> |
|
757 <dt>Parameters:</dt> |
|
758 <dd rel="yui:parameter"> |
|
759 <code><span property="yui:name">v</span> |
|
760 <<span property="yui:type">Number</span>> |
|
761 </code> |
|
762 <span property="yui:description"> value between the Slider's min and max</span> |
|
763 </dd> |
|
764 </dl> |
|
765 |
|
766 |
|
767 |
|
768 |
|
769 |
|
770 </div> |
|
771 |
|
772 </div> |
|
773 <hr /> |
|
774 </div> |
|
775 <div class="protected" rel="yui:method" resource="#method__defPositionThumbFn"> |
|
776 <h4> |
|
777 <a name="method__defPositionThumbFn">_defPositionThumbFn</a></h4> |
|
778 <div class="detail" > |
|
779 <code> |
|
780 protected |
|
781 |
|
782 |
|
783 void |
|
784 <strong property="yui:name">_defPositionThumbFn</strong> |
|
785 ( |
|
786 |
|
787 |
|
788 e |
|
789 |
|
790 |
|
791 ) |
|
792 </code> |
|
793 |
|
794 <div class="description" property="yui:description"> |
|
795 Calls _uiPositionThumb with the value of the custom event's |
|
796 "offset" property. |
|
797 </div> |
|
798 |
|
799 <div class="description"> |
|
800 |
|
801 <dl rel="yui:parameters"> |
|
802 <dt>Parameters:</dt> |
|
803 <dd rel="yui:parameter"> |
|
804 <code><span property="yui:name">e</span> |
|
805 <<span property="yui:type">Event</span>> |
|
806 </code> |
|
807 <span property="yui:description"> the positionThumb custom event</span> |
|
808 </dd> |
|
809 </dl> |
|
810 |
|
811 |
|
812 |
|
813 |
|
814 |
|
815 </div> |
|
816 |
|
817 </div> |
|
818 <hr /> |
|
819 </div> |
|
820 <div class="protected" rel="yui:method" resource="#method__defSyncFn"> |
|
821 <h4> |
|
822 <a name="method__defSyncFn">_defSyncFn</a></h4> |
|
823 <div class="detail" > |
|
824 <code> |
|
825 protected |
|
826 |
|
827 |
|
828 void |
|
829 <strong property="yui:name">_defSyncFn</strong> |
|
830 ( |
|
831 |
|
832 |
|
833 e |
|
834 |
|
835 |
|
836 ) |
|
837 </code> |
|
838 |
|
839 <div class="description" property="yui:description"> |
|
840 The default synchronization behavior, updating the Slider's DOM state to |
|
841 match the current attribute values. |
|
842 </div> |
|
843 |
|
844 <div class="description"> |
|
845 |
|
846 <dl rel="yui:parameters"> |
|
847 <dt>Parameters:</dt> |
|
848 <dd rel="yui:parameter"> |
|
849 <code><span property="yui:name">e</span> |
|
850 <<span property="yui:type">Event</span>> |
|
851 </code> |
|
852 <span property="yui:description"> Internal sync event</span> |
|
853 </dd> |
|
854 </dl> |
|
855 |
|
856 |
|
857 |
|
858 |
|
859 |
|
860 </div> |
|
861 |
|
862 </div> |
|
863 <hr /> |
|
864 </div> |
|
865 <div class="protected" rel="yui:method" resource="#method__defThumbDragFn"> |
|
866 <h4> |
|
867 <a name="method__defThumbDragFn">_defThumbDragFn</a></h4> |
|
868 <div class="detail" > |
|
869 <code> |
|
870 protected |
|
871 |
|
872 |
|
873 void |
|
874 <strong property="yui:name">_defThumbDragFn</strong> |
|
875 ( |
|
876 |
|
877 |
|
878 e |
|
879 |
|
880 |
|
881 ) |
|
882 </code> |
|
883 |
|
884 <div class="description" property="yui:description"> |
|
885 The default value update behavior in response to Slider thumb |
|
886 interaction. Calculates the value using stored offsets, the _factor |
|
887 multiplier and the min value. |
|
888 </div> |
|
889 |
|
890 <div class="description"> |
|
891 |
|
892 <dl rel="yui:parameters"> |
|
893 <dt>Parameters:</dt> |
|
894 <dd rel="yui:parameter"> |
|
895 <code><span property="yui:name">e</span> |
|
896 <<span property="yui:type">Event</span>> |
|
897 </code> |
|
898 <span property="yui:description"> the internal thumbDrag event</span> |
|
899 </dd> |
|
900 </dl> |
|
901 |
|
902 |
|
903 |
|
904 |
|
905 |
|
906 </div> |
|
907 |
|
908 </div> |
|
909 <hr /> |
|
910 </div> |
|
911 <div class="protected" rel="yui:method" resource="#method__handleRailMouseDown"> |
|
912 <h4> |
|
913 <a name="method__handleRailMouseDown">_handleRailMouseDown</a></h4> |
|
914 <div class="detail" > |
|
915 <code> |
|
916 protected |
|
917 |
|
918 |
|
919 void |
|
920 <strong property="yui:name">_handleRailMouseDown</strong> |
|
921 ( |
|
922 |
|
923 |
|
924 e |
|
925 |
|
926 |
|
927 ) |
|
928 </code> |
|
929 |
|
930 <div class="description" property="yui:description"> |
|
931 If the Slider is not disabled and railEnabled is true, moves the thumb |
|
932 to the mousedown position and hands control over to DD. |
|
933 </div> |
|
934 |
|
935 <div class="description"> |
|
936 |
|
937 <dl rel="yui:parameters"> |
|
938 <dt>Parameters:</dt> |
|
939 <dd rel="yui:parameter"> |
|
940 <code><span property="yui:name">e</span> |
|
941 <<span property="yui:type">Event</span>> |
|
942 </code> |
|
943 <span property="yui:description"> Mousedown event facade</span> |
|
944 </dd> |
|
945 </dl> |
|
946 |
|
947 |
|
948 |
|
949 |
|
950 |
|
951 </div> |
|
952 |
|
953 </div> |
|
954 <hr /> |
|
955 </div> |
|
956 <div class="protected" rel="yui:method" resource="#method__imageLoaded"> |
|
957 <h4> |
|
958 <a name="method__imageLoaded">_imageLoaded</a></h4> |
|
959 <div class="detail" > |
|
960 <code> |
|
961 protected |
|
962 |
|
963 |
|
964 void |
|
965 <strong property="yui:name">_imageLoaded</strong> |
|
966 ( |
|
967 |
|
968 |
|
969 img |
|
970 |
|
971 |
|
972 , |
|
973 e |
|
974 |
|
975 |
|
976 ) |
|
977 </code> |
|
978 |
|
979 <div class="description" property="yui:description"> |
|
980 Event handler assigned to the thumbImage's load and error event if it |
|
981 was not loaded prior to instantiation. Restores the disabled value. |
|
982 </div> |
|
983 |
|
984 <div class="description"> |
|
985 |
|
986 <dl rel="yui:parameters"> |
|
987 <dt>Parameters:</dt> |
|
988 <dd rel="yui:parameter"> |
|
989 <code><span property="yui:name">img</span> |
|
990 <<span property="yui:type">Node</span>> |
|
991 </code> |
|
992 <span property="yui:description"> The thumbImage Node</span> |
|
993 </dd> |
|
994 <dd rel="yui:parameter"> |
|
995 <code><span property="yui:name">e</span> |
|
996 <<span property="yui:type">Event</span>> |
|
997 </code> |
|
998 <span property="yui:description"> load or error event fired by the thumbImage</span> |
|
999 </dd> |
|
1000 </dl> |
|
1001 |
|
1002 |
|
1003 |
|
1004 |
|
1005 |
|
1006 </div> |
|
1007 |
|
1008 </div> |
|
1009 <hr /> |
|
1010 </div> |
|
1011 <div class="protected" rel="yui:method" resource="#method__initRail"> |
|
1012 <h4> |
|
1013 <a name="method__initRail">_initRail</a></h4> |
|
1014 <div class="detail" > |
|
1015 <code> |
|
1016 protected |
|
1017 |
|
1018 |
|
1019 void |
|
1020 <strong property="yui:name">_initRail</strong> |
|
1021 ( |
|
1022 ) |
|
1023 </code> |
|
1024 |
|
1025 <div class="description" property="yui:description"> |
|
1026 Creates the rail element if not provided and not discovered via |
|
1027 HTML_PARSER. |
|
1028 </div> |
|
1029 |
|
1030 <div class="description"> |
|
1031 |
|
1032 |
|
1033 |
|
1034 |
|
1035 |
|
1036 |
|
1037 </div> |
|
1038 |
|
1039 </div> |
|
1040 <hr /> |
|
1041 </div> |
|
1042 <div class="protected" rel="yui:method" resource="#method__initRailDD"> |
|
1043 <h4> |
|
1044 <a name="method__initRailDD">_initRailDD</a></h4> |
|
1045 <div class="detail" > |
|
1046 <code> |
|
1047 protected |
|
1048 |
|
1049 |
|
1050 void |
|
1051 <strong property="yui:name">_initRailDD</strong> |
|
1052 ( |
|
1053 ) |
|
1054 </code> |
|
1055 |
|
1056 <div class="description" property="yui:description"> |
|
1057 Subscribes to the rail Node's mousedown event to actuate the thumb when |
|
1058 backgroundEnabled is true. |
|
1059 </div> |
|
1060 |
|
1061 <div class="description"> |
|
1062 |
|
1063 |
|
1064 |
|
1065 |
|
1066 |
|
1067 |
|
1068 </div> |
|
1069 |
|
1070 </div> |
|
1071 <hr /> |
|
1072 </div> |
|
1073 <div class="protected" rel="yui:method" resource="#method__initThumb"> |
|
1074 <h4> |
|
1075 <a name="method__initThumb">_initThumb</a></h4> |
|
1076 <div class="detail" > |
|
1077 <code> |
|
1078 protected |
|
1079 |
|
1080 |
|
1081 void |
|
1082 <strong property="yui:name">_initThumb</strong> |
|
1083 ( |
|
1084 ) |
|
1085 </code> |
|
1086 |
|
1087 <div class="description" property="yui:description"> |
|
1088 <p>Creates the thumb element (not image) if not provided and not |
|
1089 discovered via HTML_PARSER. If the thumb is an <code>img</code> element |
|
1090 but no thumbImage configured or discovered, reassigns the thumb element |
|
1091 to the thumbImage and defaults the thumb element as a div.</p> |
|
1092 <p>Makes sure the thumb is a child of the rail element and calls |
|
1093 _initThumbImage if thumbImage is provided.</p> |
|
1094 </div> |
|
1095 |
|
1096 <div class="description"> |
|
1097 |
|
1098 |
|
1099 |
|
1100 |
|
1101 |
|
1102 |
|
1103 </div> |
|
1104 |
|
1105 </div> |
|
1106 <hr /> |
|
1107 </div> |
|
1108 <div class="protected" rel="yui:method" resource="#method__initThumbImage"> |
|
1109 <h4> |
|
1110 <a name="method__initThumbImage">_initThumbImage</a></h4> |
|
1111 <div class="detail" > |
|
1112 <code> |
|
1113 protected |
|
1114 |
|
1115 |
|
1116 void |
|
1117 <strong property="yui:name">_initThumbImage</strong> |
|
1118 ( |
|
1119 ) |
|
1120 </code> |
|
1121 |
|
1122 <div class="description" property="yui:description"> |
|
1123 Ensures the thumbImage is a child of the thumb element. |
|
1124 </div> |
|
1125 |
|
1126 <div class="description"> |
|
1127 |
|
1128 |
|
1129 |
|
1130 |
|
1131 |
|
1132 |
|
1133 </div> |
|
1134 |
|
1135 </div> |
|
1136 <hr /> |
|
1137 </div> |
|
1138 <div class="protected" rel="yui:method" resource="#method__isDisplayNone"> |
|
1139 <h4> |
|
1140 <a name="method__isDisplayNone">_isDisplayNone</a></h4> |
|
1141 <div class="detail" > |
|
1142 <code> |
|
1143 protected |
|
1144 |
|
1145 |
|
1146 Boolean |
|
1147 <strong property="yui:name">_isDisplayNone</strong> |
|
1148 ( |
|
1149 |
|
1150 |
|
1151 el |
|
1152 |
|
1153 |
|
1154 ) |
|
1155 </code> |
|
1156 |
|
1157 <div class="description" property="yui:description"> |
|
1158 Helper function to search up the ancestor axis looking for a node with |
|
1159 style display: none. This is passed as a function to node.ancestor(..) |
|
1160 to test if a given node is in the displayed DOM and can get accurate |
|
1161 positioning information. |
|
1162 </div> |
|
1163 |
|
1164 <div class="description"> |
|
1165 |
|
1166 <dl rel="yui:parameters"> |
|
1167 <dt>Parameters:</dt> |
|
1168 <dd rel="yui:parameter"> |
|
1169 <code><span property="yui:name">el</span> |
|
1170 <<span property="yui:type">Node</span>> |
|
1171 </code> |
|
1172 <span property="yui:description"> ancestor node as the function walks up the parent axis</span> |
|
1173 </dd> |
|
1174 </dl> |
|
1175 |
|
1176 <dl> |
|
1177 <dt>Returns: |
|
1178 <code property="yui:return"> |
|
1179 Boolean |
|
1180 </code></dt> |
|
1181 <dd property="yui:returnInfo">true if the node is styled with display: none</dd> |
|
1182 </dl> |
|
1183 |
|
1184 |
|
1185 |
|
1186 |
|
1187 </div> |
|
1188 |
|
1189 </div> |
|
1190 <hr /> |
|
1191 </div> |
|
1192 <div class="protected" rel="yui:method" resource="#method__isImageLoaded"> |
|
1193 <h4> |
|
1194 <a name="method__isImageLoaded">_isImageLoaded</a></h4> |
|
1195 <div class="detail" > |
|
1196 <code> |
|
1197 protected |
|
1198 |
|
1199 |
|
1200 |
|
1201 <strong property="yui:name">_isImageLoaded</strong> |
|
1202 ( |
|
1203 |
|
1204 |
|
1205 img |
|
1206 |
|
1207 |
|
1208 ) |
|
1209 </code> |
|
1210 |
|
1211 <div class="description" property="yui:description"> |
|
1212 Used to determine if the image resource loaded successfully or there was |
|
1213 an error. |
|
1214 NOTES: |
|
1215 <ul> |
|
1216 <li>img load error fired xbrowser for image resources not yet resolved</li> |
|
1217 <li>img.complete reports false in IE for images not yet loaded as well as images that failed to load</li> |
|
1218 <li>img.complete true && img.naturalWidth == 0 in FF and Safari indicate image failed to load</li> |
|
1219 <li>img.complete && img.width == 0 in Opera indicates image failed to load</li> |
|
1220 </ul> |
|
1221 </div> |
|
1222 |
|
1223 <div class="description"> |
|
1224 |
|
1225 <dl rel="yui:parameters"> |
|
1226 <dt>Parameters:</dt> |
|
1227 <dd rel="yui:parameter"> |
|
1228 <code><span property="yui:name">img</span> |
|
1229 <<span property="yui:type">Node</span>> |
|
1230 </code> |
|
1231 <span property="yui:description"> <code>img</code> Node</span> |
|
1232 </dd> |
|
1233 </dl> |
|
1234 |
|
1235 <dl> |
|
1236 <dt>Returns: |
|
1237 <code property="yui:return"> |
|
1238 </code></dt> |
|
1239 <dd property="yui:returnInfo">Boolean</dd> |
|
1240 </dl> |
|
1241 |
|
1242 |
|
1243 |
|
1244 |
|
1245 </div> |
|
1246 |
|
1247 </div> |
|
1248 <hr /> |
|
1249 </div> |
|
1250 <div class="protected" rel="yui:method" resource="#method__isImageLoading"> |
|
1251 <h4> |
|
1252 <a name="method__isImageLoading">_isImageLoading</a></h4> |
|
1253 <div class="detail" > |
|
1254 <code> |
|
1255 protected |
|
1256 |
|
1257 |
|
1258 |
|
1259 <strong property="yui:name">_isImageLoading</strong> |
|
1260 ( |
|
1261 |
|
1262 |
|
1263 img |
|
1264 |
|
1265 |
|
1266 ) |
|
1267 </code> |
|
1268 |
|
1269 <div class="description" property="yui:description"> |
|
1270 Used to determine if there is a current or pending request for the |
|
1271 thumbImage resource. |
|
1272 </div> |
|
1273 |
|
1274 <div class="description"> |
|
1275 |
|
1276 <dl rel="yui:parameters"> |
|
1277 <dt>Parameters:</dt> |
|
1278 <dd rel="yui:parameter"> |
|
1279 <code><span property="yui:name">img</span> |
|
1280 <<span property="yui:type">Node</span>> |
|
1281 </code> |
|
1282 <span property="yui:description"> <code>img</code> Node</span> |
|
1283 </dd> |
|
1284 </dl> |
|
1285 |
|
1286 <dl> |
|
1287 <dt>Returns: |
|
1288 <code property="yui:return"> |
|
1289 </code></dt> |
|
1290 <dd property="yui:returnInfo">Boolean</dd> |
|
1291 </dl> |
|
1292 |
|
1293 |
|
1294 |
|
1295 |
|
1296 </div> |
|
1297 |
|
1298 </div> |
|
1299 <hr /> |
|
1300 </div> |
|
1301 <div class="protected" rel="yui:method" resource="#method__onDDDrag"> |
|
1302 <h4> |
|
1303 <a name="method__onDDDrag">_onDDDrag</a></h4> |
|
1304 <div class="detail" > |
|
1305 <code> |
|
1306 protected |
|
1307 |
|
1308 |
|
1309 void |
|
1310 <strong property="yui:name">_onDDDrag</strong> |
|
1311 ( |
|
1312 |
|
1313 |
|
1314 e |
|
1315 |
|
1316 |
|
1317 ) |
|
1318 </code> |
|
1319 |
|
1320 <div class="description" property="yui:description"> |
|
1321 Fires the thumbDrag event to queue Slider value update. |
|
1322 </div> |
|
1323 |
|
1324 <div class="description"> |
|
1325 |
|
1326 <dl rel="yui:parameters"> |
|
1327 <dt>Parameters:</dt> |
|
1328 <dd rel="yui:parameter"> |
|
1329 <code><span property="yui:name">e</span> |
|
1330 <<span property="yui:type">Event</span>> |
|
1331 </code> |
|
1332 <span property="yui:description"> the DD instance's drag:drag custom event</span> |
|
1333 </dd> |
|
1334 </dl> |
|
1335 |
|
1336 |
|
1337 |
|
1338 |
|
1339 |
|
1340 </div> |
|
1341 |
|
1342 </div> |
|
1343 <hr /> |
|
1344 </div> |
|
1345 <div class="protected" rel="yui:method" resource="#method__onDDEndDrag"> |
|
1346 <h4> |
|
1347 <a name="method__onDDEndDrag">_onDDEndDrag</a></h4> |
|
1348 <div class="detail" > |
|
1349 <code> |
|
1350 protected |
|
1351 |
|
1352 |
|
1353 void |
|
1354 <strong property="yui:name">_onDDEndDrag</strong> |
|
1355 ( |
|
1356 |
|
1357 |
|
1358 e |
|
1359 |
|
1360 |
|
1361 ) |
|
1362 </code> |
|
1363 |
|
1364 <div class="description" property="yui:description"> |
|
1365 Fires the slideEnd event. |
|
1366 </div> |
|
1367 |
|
1368 <div class="description"> |
|
1369 |
|
1370 <dl rel="yui:parameters"> |
|
1371 <dt>Parameters:</dt> |
|
1372 <dd rel="yui:parameter"> |
|
1373 <code><span property="yui:name">e</span> |
|
1374 <<span property="yui:type">Event</span>> |
|
1375 </code> |
|
1376 <span property="yui:description"> the DD instance's drag:end custom event</span> |
|
1377 </dd> |
|
1378 </dl> |
|
1379 |
|
1380 |
|
1381 |
|
1382 |
|
1383 |
|
1384 </div> |
|
1385 |
|
1386 </div> |
|
1387 <hr /> |
|
1388 </div> |
|
1389 <div class="protected" rel="yui:method" resource="#method__onDDStartDrag"> |
|
1390 <h4> |
|
1391 <a name="method__onDDStartDrag">_onDDStartDrag</a></h4> |
|
1392 <div class="detail" > |
|
1393 <code> |
|
1394 protected |
|
1395 |
|
1396 |
|
1397 void |
|
1398 <strong property="yui:name">_onDDStartDrag</strong> |
|
1399 ( |
|
1400 |
|
1401 |
|
1402 e |
|
1403 |
|
1404 |
|
1405 ) |
|
1406 </code> |
|
1407 |
|
1408 <div class="description" property="yui:description"> |
|
1409 Caches the current page position of the rail element and fires the |
|
1410 slideStart event in response to the DD's drag:start. |
|
1411 </div> |
|
1412 |
|
1413 <div class="description"> |
|
1414 |
|
1415 <dl rel="yui:parameters"> |
|
1416 <dt>Parameters:</dt> |
|
1417 <dd rel="yui:parameter"> |
|
1418 <code><span property="yui:name">e</span> |
|
1419 <<span property="yui:type">Event</span>> |
|
1420 </code> |
|
1421 <span property="yui:description"> the DD instance's drag:start custom event</span> |
|
1422 </dd> |
|
1423 </dl> |
|
1424 |
|
1425 |
|
1426 |
|
1427 |
|
1428 |
|
1429 </div> |
|
1430 |
|
1431 </div> |
|
1432 <hr /> |
|
1433 </div> |
|
1434 <div class="protected" rel="yui:method" resource="#method__ready"> |
|
1435 <h4> |
|
1436 <a name="method__ready">_ready</a></h4> |
|
1437 <div class="detail" > |
|
1438 <code> |
|
1439 protected |
|
1440 |
|
1441 |
|
1442 void |
|
1443 <strong property="yui:name">_ready</strong> |
|
1444 ( |
|
1445 |
|
1446 |
|
1447 img |
|
1448 |
|
1449 |
|
1450 , |
|
1451 error |
|
1452 |
|
1453 |
|
1454 ) |
|
1455 </code> |
|
1456 |
|
1457 <div class="description" property="yui:description"> |
|
1458 Applies a class to the content box if the thumbImage failed to resolve, |
|
1459 the fires the internal sync event triggering a sync between UI and |
|
1460 state. |
|
1461 </div> |
|
1462 |
|
1463 <div class="description"> |
|
1464 |
|
1465 <dl rel="yui:parameters"> |
|
1466 <dt>Parameters:</dt> |
|
1467 <dd rel="yui:parameter"> |
|
1468 <code><span property="yui:name">img</span> |
|
1469 <<span property="yui:type">Node</span>> |
|
1470 </code> |
|
1471 <span property="yui:description"> the thumbImage Node</span> |
|
1472 </dd> |
|
1473 <dd rel="yui:parameter"> |
|
1474 <code><span property="yui:name">error</span> |
|
1475 <<span property="yui:type">Boolean</span>> |
|
1476 </code> |
|
1477 <span property="yui:description"> Indicates an error while loading the thumbImage</span> |
|
1478 </dd> |
|
1479 </dl> |
|
1480 |
|
1481 |
|
1482 |
|
1483 |
|
1484 |
|
1485 </div> |
|
1486 |
|
1487 </div> |
|
1488 <hr /> |
|
1489 </div> |
|
1490 <div class="protected" rel="yui:method" resource="#method__refresh"> |
|
1491 <h4> |
|
1492 <a name="method__refresh">_refresh</a></h4> |
|
1493 <div class="detail" > |
|
1494 <code> |
|
1495 protected |
|
1496 |
|
1497 |
|
1498 void |
|
1499 <strong property="yui:name">_refresh</strong> |
|
1500 ( |
|
1501 |
|
1502 |
|
1503 e |
|
1504 |
|
1505 |
|
1506 ) |
|
1507 </code> |
|
1508 |
|
1509 <div class="description" property="yui:description"> |
|
1510 Common handler to call syncUI in response to change events that occurred |
|
1511 after the Slider is rendered. |
|
1512 </div> |
|
1513 |
|
1514 <div class="description"> |
|
1515 |
|
1516 <dl rel="yui:parameters"> |
|
1517 <dt>Parameters:</dt> |
|
1518 <dd rel="yui:parameter"> |
|
1519 <code><span property="yui:name">e</span> |
|
1520 <<span property="yui:type">Event</span>> |
|
1521 </code> |
|
1522 <span property="yui:description"> An attribute change event</span> |
|
1523 </dd> |
|
1524 </dl> |
|
1525 |
|
1526 |
|
1527 |
|
1528 |
|
1529 |
|
1530 </div> |
|
1531 |
|
1532 </div> |
|
1533 <hr /> |
|
1534 </div> |
|
1535 <div class="protected" rel="yui:method" resource="#method__resetDDCacheRegion"> |
|
1536 <h4> |
|
1537 <a name="method__resetDDCacheRegion">_resetDDCacheRegion</a></h4> |
|
1538 <div class="detail" > |
|
1539 <code> |
|
1540 protected |
|
1541 |
|
1542 |
|
1543 void |
|
1544 <strong property="yui:name">_resetDDCacheRegion</strong> |
|
1545 ( |
|
1546 ) |
|
1547 </code> |
|
1548 |
|
1549 <div class="description" property="yui:description"> |
|
1550 Resets the cached region inside the DD constrain instance to support |
|
1551 repositioning the Slider after instantiation. |
|
1552 </div> |
|
1553 |
|
1554 <div class="description"> |
|
1555 |
|
1556 |
|
1557 |
|
1558 |
|
1559 |
|
1560 |
|
1561 </div> |
|
1562 |
|
1563 </div> |
|
1564 <hr /> |
|
1565 </div> |
|
1566 <div class="protected" rel="yui:method" resource="#method__scheduleSync"> |
|
1567 <h4> |
|
1568 <a name="method__scheduleSync">_scheduleSync</a></h4> |
|
1569 <div class="detail" > |
|
1570 <code> |
|
1571 protected |
|
1572 |
|
1573 |
|
1574 void |
|
1575 <strong property="yui:name">_scheduleSync</strong> |
|
1576 ( |
|
1577 ) |
|
1578 </code> |
|
1579 |
|
1580 <div class="description" property="yui:description"> |
|
1581 Binds to the load and error event on the thumbImage to sync the DOM |
|
1582 state with the attribute settings when the image resource is resolved. |
|
1583 The Slider is disabled while it waits. |
|
1584 </div> |
|
1585 |
|
1586 <div class="description"> |
|
1587 |
|
1588 |
|
1589 |
|
1590 |
|
1591 |
|
1592 |
|
1593 </div> |
|
1594 |
|
1595 </div> |
|
1596 <hr /> |
|
1597 </div> |
|
1598 <div class="protected" rel="yui:method" resource="#method__setAxisFn"> |
|
1599 <h4> |
|
1600 <a name="method__setAxisFn">_setAxisFn</a></h4> |
|
1601 <div class="detail" > |
|
1602 <code> |
|
1603 protected |
|
1604 |
|
1605 |
|
1606 String |
|
1607 <strong property="yui:name">_setAxisFn</strong> |
|
1608 ( |
|
1609 |
|
1610 |
|
1611 v |
|
1612 |
|
1613 |
|
1614 ) |
|
1615 </code> |
|
1616 |
|
1617 <div class="description" property="yui:description"> |
|
1618 Setter applied to the input when updating the axis attribute. |
|
1619 </div> |
|
1620 |
|
1621 <div class="description"> |
|
1622 |
|
1623 <dl rel="yui:parameters"> |
|
1624 <dt>Parameters:</dt> |
|
1625 <dd rel="yui:parameter"> |
|
1626 <code><span property="yui:name">v</span> |
|
1627 <<span property="yui:type">String</span>> |
|
1628 </code> |
|
1629 <span property="yui:description"> proposed value for the axis attribute</span> |
|
1630 </dd> |
|
1631 </dl> |
|
1632 |
|
1633 <dl> |
|
1634 <dt>Returns: |
|
1635 <code property="yui:return"> |
|
1636 String |
|
1637 </code></dt> |
|
1638 <dd property="yui:returnInfo">lowercased first character of the input string</dd> |
|
1639 </dl> |
|
1640 |
|
1641 |
|
1642 |
|
1643 |
|
1644 </div> |
|
1645 |
|
1646 </div> |
|
1647 <hr /> |
|
1648 </div> |
|
1649 <div class="protected" rel="yui:method" resource="#method__setDDGutter"> |
|
1650 <h4> |
|
1651 <a name="method__setDDGutter">_setDDGutter</a></h4> |
|
1652 <div class="detail" > |
|
1653 <code> |
|
1654 protected |
|
1655 |
|
1656 |
|
1657 void |
|
1658 <strong property="yui:name">_setDDGutter</strong> |
|
1659 ( |
|
1660 ) |
|
1661 </code> |
|
1662 |
|
1663 <div class="description" property="yui:description"> |
|
1664 Passes the gutter attribute value to the DDConstrain gutter attribute. |
|
1665 </div> |
|
1666 |
|
1667 <div class="description"> |
|
1668 |
|
1669 |
|
1670 |
|
1671 |
|
1672 |
|
1673 |
|
1674 </div> |
|
1675 |
|
1676 </div> |
|
1677 <hr /> |
|
1678 </div> |
|
1679 <div class="protected" rel="yui:method" resource="#method__setFactor"> |
|
1680 <h4> |
|
1681 <a name="method__setFactor">_setFactor</a></h4> |
|
1682 <div class="detail" > |
|
1683 <code> |
|
1684 protected |
|
1685 |
|
1686 |
|
1687 void |
|
1688 <strong property="yui:name">_setFactor</strong> |
|
1689 ( |
|
1690 ) |
|
1691 </code> |
|
1692 |
|
1693 <div class="description" property="yui:description"> |
|
1694 Calculates the multiplier used to translate the value into a thumb |
|
1695 position. |
|
1696 </div> |
|
1697 |
|
1698 <div class="description"> |
|
1699 |
|
1700 |
|
1701 |
|
1702 |
|
1703 |
|
1704 |
|
1705 </div> |
|
1706 |
|
1707 </div> |
|
1708 <hr /> |
|
1709 </div> |
|
1710 <div class="protected" rel="yui:method" resource="#method__setRailFn"> |
|
1711 <h4> |
|
1712 <a name="method__setRailFn">_setRailFn</a></h4> |
|
1713 <div class="detail" > |
|
1714 <code> |
|
1715 protected |
|
1716 |
|
1717 |
|
1718 Node |
|
1719 <strong property="yui:name">_setRailFn</strong> |
|
1720 ( |
|
1721 |
|
1722 |
|
1723 v |
|
1724 |
|
1725 |
|
1726 ) |
|
1727 </code> |
|
1728 |
|
1729 <div class="description" property="yui:description"> |
|
1730 Setter applied to the input when updating the rail attribute. Input can |
|
1731 be a Node, raw HTMLElement, or a selector string to locate it. |
|
1732 </div> |
|
1733 |
|
1734 <div class="description"> |
|
1735 |
|
1736 <dl rel="yui:parameters"> |
|
1737 <dt>Parameters:</dt> |
|
1738 <dd rel="yui:parameter"> |
|
1739 <code><span property="yui:name">v</span> |
|
1740 <<span property="yui:type">Node|String|HTMLElement</span>> |
|
1741 </code> |
|
1742 <span property="yui:description"> The rail element Node or selector</span> |
|
1743 </dd> |
|
1744 </dl> |
|
1745 |
|
1746 <dl> |
|
1747 <dt>Returns: |
|
1748 <code property="yui:return"> |
|
1749 Node |
|
1750 </code></dt> |
|
1751 <dd property="yui:returnInfo">The Node if found. Otherwise null.</dd> |
|
1752 </dl> |
|
1753 |
|
1754 |
|
1755 |
|
1756 |
|
1757 </div> |
|
1758 |
|
1759 </div> |
|
1760 <hr /> |
|
1761 </div> |
|
1762 <div class="protected" rel="yui:method" resource="#method__setRailOffsetXY"> |
|
1763 <h4> |
|
1764 <a name="method__setRailOffsetXY">_setRailOffsetXY</a></h4> |
|
1765 <div class="detail" > |
|
1766 <code> |
|
1767 protected |
|
1768 |
|
1769 |
|
1770 void |
|
1771 <strong property="yui:name">_setRailOffsetXY</strong> |
|
1772 ( |
|
1773 ) |
|
1774 </code> |
|
1775 |
|
1776 <div class="description" property="yui:description"> |
|
1777 Store the current XY position of the rail Node on the page. For use in |
|
1778 calculating thumb position from value. |
|
1779 </div> |
|
1780 |
|
1781 <div class="description"> |
|
1782 |
|
1783 |
|
1784 |
|
1785 |
|
1786 |
|
1787 |
|
1788 </div> |
|
1789 |
|
1790 </div> |
|
1791 <hr /> |
|
1792 </div> |
|
1793 <div class="protected" rel="yui:method" resource="#method__setThumbFn"> |
|
1794 <h4> |
|
1795 <a name="method__setThumbFn">_setThumbFn</a></h4> |
|
1796 <div class="detail" > |
|
1797 <code> |
|
1798 protected |
|
1799 |
|
1800 |
|
1801 Node |
|
1802 <strong property="yui:name">_setThumbFn</strong> |
|
1803 ( |
|
1804 |
|
1805 |
|
1806 v |
|
1807 |
|
1808 |
|
1809 ) |
|
1810 </code> |
|
1811 |
|
1812 <div class="description" property="yui:description"> |
|
1813 Setter applied to the input when updating the thumb attribute. Input can |
|
1814 be a Node, raw HTMLElement, or a selector string to locate it. |
|
1815 </div> |
|
1816 |
|
1817 <div class="description"> |
|
1818 |
|
1819 <dl rel="yui:parameters"> |
|
1820 <dt>Parameters:</dt> |
|
1821 <dd rel="yui:parameter"> |
|
1822 <code><span property="yui:name">v</span> |
|
1823 <<span property="yui:type">Node|String|HTMLElement</span>> |
|
1824 </code> |
|
1825 <span property="yui:description"> The thumb element Node or selector</span> |
|
1826 </dd> |
|
1827 </dl> |
|
1828 |
|
1829 <dl> |
|
1830 <dt>Returns: |
|
1831 <code property="yui:return"> |
|
1832 Node |
|
1833 </code></dt> |
|
1834 <dd property="yui:returnInfo">The Node if found. Otherwise null.</dd> |
|
1835 </dl> |
|
1836 |
|
1837 |
|
1838 |
|
1839 |
|
1840 </div> |
|
1841 |
|
1842 </div> |
|
1843 <hr /> |
|
1844 </div> |
|
1845 <div class="protected" rel="yui:method" resource="#method__setThumbImageFn"> |
|
1846 <h4> |
|
1847 <a name="method__setThumbImageFn">_setThumbImageFn</a></h4> |
|
1848 <div class="detail" > |
|
1849 <code> |
|
1850 protected |
|
1851 |
|
1852 |
|
1853 Node |
|
1854 <strong property="yui:name">_setThumbImageFn</strong> |
|
1855 ( |
|
1856 |
|
1857 |
|
1858 v |
|
1859 |
|
1860 |
|
1861 ) |
|
1862 </code> |
|
1863 |
|
1864 <div class="description" property="yui:description"> |
|
1865 Setter applied to the input when updating the thumbImage attribute. |
|
1866 Input can be a Node, raw HTMLElement, selector string to locate it, or |
|
1867 the URL for an image resource. |
|
1868 String input will be treated as a selector. If no element is found using |
|
1869 the selector, an <code>img</code> Node will be created with the string |
|
1870 used as the <code>src</code> attribute. |
|
1871 </div> |
|
1872 |
|
1873 <div class="description"> |
|
1874 |
|
1875 <dl rel="yui:parameters"> |
|
1876 <dt>Parameters:</dt> |
|
1877 <dd rel="yui:parameter"> |
|
1878 <code><span property="yui:name">v</span> |
|
1879 <<span property="yui:type">Node|String|HTMLElement</span>> |
|
1880 </code> |
|
1881 <span property="yui:description"> The thumbImage element Node, selector, |
|
1882 or image URL</span> |
|
1883 </dd> |
|
1884 </dl> |
|
1885 |
|
1886 <dl> |
|
1887 <dt>Returns: |
|
1888 <code property="yui:return"> |
|
1889 Node |
|
1890 </code></dt> |
|
1891 <dd property="yui:returnInfo">The Node if found or created. Otherwise null.</dd> |
|
1892 </dl> |
|
1893 |
|
1894 |
|
1895 |
|
1896 |
|
1897 </div> |
|
1898 |
|
1899 </div> |
|
1900 <hr /> |
|
1901 </div> |
|
1902 <div class="protected" rel="yui:method" resource="#method__setThumbOffset"> |
|
1903 <h4> |
|
1904 <a name="method__setThumbOffset">_setThumbOffset</a></h4> |
|
1905 <div class="detail" > |
|
1906 <code> |
|
1907 protected |
|
1908 |
|
1909 |
|
1910 void |
|
1911 <strong property="yui:name">_setThumbOffset</strong> |
|
1912 ( |
|
1913 ) |
|
1914 </code> |
|
1915 |
|
1916 <div class="description" property="yui:description"> |
|
1917 Establishes the point in the thumb that should align to the rail |
|
1918 position representing the calculated value. |
|
1919 </div> |
|
1920 |
|
1921 <div class="description"> |
|
1922 |
|
1923 |
|
1924 |
|
1925 |
|
1926 |
|
1927 |
|
1928 </div> |
|
1929 |
|
1930 </div> |
|
1931 <hr /> |
|
1932 </div> |
|
1933 <div class="protected" rel="yui:method" resource="#method__stallDisabledChange"> |
|
1934 <h4> |
|
1935 <a name="method__stallDisabledChange">_stallDisabledChange</a></h4> |
|
1936 <div class="detail" > |
|
1937 <code> |
|
1938 protected |
|
1939 |
|
1940 |
|
1941 void |
|
1942 <strong property="yui:name">_stallDisabledChange</strong> |
|
1943 ( |
|
1944 |
|
1945 |
|
1946 e |
|
1947 |
|
1948 |
|
1949 ) |
|
1950 </code> |
|
1951 |
|
1952 <div class="description" property="yui:description"> |
|
1953 Method subscribed to the disabledChange event when thumbImage is being |
|
1954 loaded. Prevents manually enabling the Slider until the thumbImage |
|
1955 resource is resolved. Intended value is stored during load and set upon |
|
1956 completion. |
|
1957 </div> |
|
1958 |
|
1959 <div class="description"> |
|
1960 |
|
1961 <dl rel="yui:parameters"> |
|
1962 <dt>Parameters:</dt> |
|
1963 <dd rel="yui:parameter"> |
|
1964 <code><span property="yui:name">e</span> |
|
1965 <<span property="yui:type">Event</span>> |
|
1966 </code> |
|
1967 <span property="yui:description"> Change event for the disabled attribute</span> |
|
1968 </dd> |
|
1969 </dl> |
|
1970 |
|
1971 |
|
1972 |
|
1973 |
|
1974 |
|
1975 </div> |
|
1976 |
|
1977 </div> |
|
1978 <hr /> |
|
1979 </div> |
|
1980 <div class="protected" rel="yui:method" resource="#method__uiPositionThumb"> |
|
1981 <h4> |
|
1982 <a name="method__uiPositionThumb">_uiPositionThumb</a></h4> |
|
1983 <div class="detail" > |
|
1984 <code> |
|
1985 protected |
|
1986 |
|
1987 |
|
1988 void |
|
1989 <strong property="yui:name">_uiPositionThumb</strong> |
|
1990 ( |
|
1991 |
|
1992 |
|
1993 xy |
|
1994 |
|
1995 |
|
1996 ) |
|
1997 </code> |
|
1998 |
|
1999 <div class="description" property="yui:description"> |
|
2000 Places the thumb at a particular X or Y location based on the configured |
|
2001 axis. |
|
2002 </div> |
|
2003 |
|
2004 <div class="description"> |
|
2005 |
|
2006 <dl rel="yui:parameters"> |
|
2007 <dt>Parameters:</dt> |
|
2008 <dd rel="yui:parameter"> |
|
2009 <code><span property="yui:name">xy</span> |
|
2010 <<span property="yui:type">Number</span>> |
|
2011 </code> |
|
2012 <span property="yui:description"> the desired left or top pixel position of the thumb |
|
2013 in relation to the rail Node.</span> |
|
2014 </dd> |
|
2015 </dl> |
|
2016 |
|
2017 |
|
2018 |
|
2019 |
|
2020 |
|
2021 </div> |
|
2022 |
|
2023 </div> |
|
2024 <hr /> |
|
2025 </div> |
|
2026 <div class="protected" rel="yui:method" resource="#method__uiSetRailSize"> |
|
2027 <h4> |
|
2028 <a name="method__uiSetRailSize">_uiSetRailSize</a></h4> |
|
2029 <div class="detail" > |
|
2030 <code> |
|
2031 protected |
|
2032 |
|
2033 |
|
2034 void |
|
2035 <strong property="yui:name">_uiSetRailSize</strong> |
|
2036 ( |
|
2037 ) |
|
2038 </code> |
|
2039 |
|
2040 <div class="description" property="yui:description"> |
|
2041 Stores the rail Node's pixel height or width, depending on the Slider's |
|
2042 axis, for use in calculating thumb position from the value. |
|
2043 </div> |
|
2044 |
|
2045 <div class="description"> |
|
2046 |
|
2047 |
|
2048 |
|
2049 |
|
2050 |
|
2051 |
|
2052 </div> |
|
2053 |
|
2054 </div> |
|
2055 <hr /> |
|
2056 </div> |
|
2057 <div class="protected" rel="yui:method" resource="#method__uiSetThumbSize"> |
|
2058 <h4> |
|
2059 <a name="method__uiSetThumbSize">_uiSetThumbSize</a></h4> |
|
2060 <div class="detail" > |
|
2061 <code> |
|
2062 protected |
|
2063 |
|
2064 |
|
2065 void |
|
2066 <strong property="yui:name">_uiSetThumbSize</strong> |
|
2067 ( |
|
2068 ) |
|
2069 </code> |
|
2070 |
|
2071 <div class="description" property="yui:description"> |
|
2072 Captures the thumb's pixel height or width (depending on the Slider's |
|
2073 axis) for use in positioning calculations. |
|
2074 </div> |
|
2075 |
|
2076 <div class="description"> |
|
2077 |
|
2078 |
|
2079 |
|
2080 |
|
2081 |
|
2082 |
|
2083 </div> |
|
2084 |
|
2085 </div> |
|
2086 <hr /> |
|
2087 </div> |
|
2088 <div class="protected" rel="yui:method" resource="#method__validateNewAxis"> |
|
2089 <h4> |
|
2090 <a name="method__validateNewAxis">_validateNewAxis</a></h4> |
|
2091 <div class="detail" > |
|
2092 <code> |
|
2093 protected |
|
2094 |
|
2095 |
|
2096 |
|
2097 <strong property="yui:name">_validateNewAxis</strong> |
|
2098 ( |
|
2099 |
|
2100 |
|
2101 v |
|
2102 |
|
2103 |
|
2104 ) |
|
2105 </code> |
|
2106 |
|
2107 <div class="description" property="yui:description"> |
|
2108 Validator applied to new values for the axis attribute. Only |
|
2109 "x" and "y" are permitted. |
|
2110 </div> |
|
2111 |
|
2112 <div class="description"> |
|
2113 |
|
2114 <dl rel="yui:parameters"> |
|
2115 <dt>Parameters:</dt> |
|
2116 <dd rel="yui:parameter"> |
|
2117 <code><span property="yui:name">v</span> |
|
2118 <<span property="yui:type">String</span>> |
|
2119 </code> |
|
2120 <span property="yui:description"> proposed value for the axis attribute</span> |
|
2121 </dd> |
|
2122 </dl> |
|
2123 |
|
2124 <dl> |
|
2125 <dt>Returns: |
|
2126 <code property="yui:return"> |
|
2127 </code></dt> |
|
2128 <dd property="yui:returnInfo">Boolean</dd> |
|
2129 </dl> |
|
2130 |
|
2131 |
|
2132 |
|
2133 |
|
2134 </div> |
|
2135 |
|
2136 </div> |
|
2137 <hr /> |
|
2138 </div> |
|
2139 <div class="protected" rel="yui:method" resource="#method__validateNewMax"> |
|
2140 <h4> |
|
2141 <a name="method__validateNewMax">_validateNewMax</a></h4> |
|
2142 <div class="detail" > |
|
2143 <code> |
|
2144 protected |
|
2145 |
|
2146 |
|
2147 |
|
2148 <strong property="yui:name">_validateNewMax</strong> |
|
2149 ( |
|
2150 |
|
2151 |
|
2152 v |
|
2153 |
|
2154 |
|
2155 ) |
|
2156 </code> |
|
2157 |
|
2158 <div class="description" property="yui:description"> |
|
2159 Validator applied to the max attribute. |
|
2160 </div> |
|
2161 |
|
2162 <div class="description"> |
|
2163 |
|
2164 <dl rel="yui:parameters"> |
|
2165 <dt>Parameters:</dt> |
|
2166 <dd rel="yui:parameter"> |
|
2167 <code><span property="yui:name">v</span> |
|
2168 <<span property="yui:type">MIXED</span>> |
|
2169 </code> |
|
2170 <span property="yui:description"> proposed value for the max attribute</span> |
|
2171 </dd> |
|
2172 </dl> |
|
2173 |
|
2174 <dl> |
|
2175 <dt>Returns: |
|
2176 <code property="yui:return"> |
|
2177 </code></dt> |
|
2178 <dd property="yui:returnInfo">Boolean</dd> |
|
2179 </dl> |
|
2180 |
|
2181 |
|
2182 |
|
2183 |
|
2184 </div> |
|
2185 |
|
2186 </div> |
|
2187 <hr /> |
|
2188 </div> |
|
2189 <div class="protected" rel="yui:method" resource="#method__validateNewMin"> |
|
2190 <h4> |
|
2191 <a name="method__validateNewMin">_validateNewMin</a></h4> |
|
2192 <div class="detail" > |
|
2193 <code> |
|
2194 protected |
|
2195 |
|
2196 |
|
2197 |
|
2198 <strong property="yui:name">_validateNewMin</strong> |
|
2199 ( |
|
2200 |
|
2201 |
|
2202 v |
|
2203 |
|
2204 |
|
2205 ) |
|
2206 </code> |
|
2207 |
|
2208 <div class="description" property="yui:description"> |
|
2209 Validator applied to the min attribute. |
|
2210 </div> |
|
2211 |
|
2212 <div class="description"> |
|
2213 |
|
2214 <dl rel="yui:parameters"> |
|
2215 <dt>Parameters:</dt> |
|
2216 <dd rel="yui:parameter"> |
|
2217 <code><span property="yui:name">v</span> |
|
2218 <<span property="yui:type">MIXED</span>> |
|
2219 </code> |
|
2220 <span property="yui:description"> proposed value for the min attribute</span> |
|
2221 </dd> |
|
2222 </dl> |
|
2223 |
|
2224 <dl> |
|
2225 <dt>Returns: |
|
2226 <code property="yui:return"> |
|
2227 </code></dt> |
|
2228 <dd property="yui:returnInfo">Boolean</dd> |
|
2229 </dl> |
|
2230 |
|
2231 |
|
2232 |
|
2233 |
|
2234 </div> |
|
2235 |
|
2236 </div> |
|
2237 <hr /> |
|
2238 </div> |
|
2239 <div class="protected" rel="yui:method" resource="#method__validateNewRail"> |
|
2240 <h4> |
|
2241 <a name="method__validateNewRail">_validateNewRail</a></h4> |
|
2242 <div class="detail" > |
|
2243 <code> |
|
2244 protected |
|
2245 |
|
2246 |
|
2247 |
|
2248 <strong property="yui:name">_validateNewRail</strong> |
|
2249 ( |
|
2250 |
|
2251 |
|
2252 v |
|
2253 |
|
2254 |
|
2255 ) |
|
2256 </code> |
|
2257 |
|
2258 <div class="description" property="yui:description"> |
|
2259 Validator applied to the rail attribute. Rejects all values after the |
|
2260 Slider has been rendered. |
|
2261 </div> |
|
2262 |
|
2263 <div class="description"> |
|
2264 |
|
2265 <dl rel="yui:parameters"> |
|
2266 <dt>Parameters:</dt> |
|
2267 <dd rel="yui:parameter"> |
|
2268 <code><span property="yui:name">v</span> |
|
2269 <<span property="yui:type">MIXED</span>> |
|
2270 </code> |
|
2271 <span property="yui:description"> proposed value for the rail attribute</span> |
|
2272 </dd> |
|
2273 </dl> |
|
2274 |
|
2275 <dl> |
|
2276 <dt>Returns: |
|
2277 <code property="yui:return"> |
|
2278 </code></dt> |
|
2279 <dd property="yui:returnInfo">Boolean</dd> |
|
2280 </dl> |
|
2281 |
|
2282 |
|
2283 |
|
2284 |
|
2285 </div> |
|
2286 |
|
2287 </div> |
|
2288 <hr /> |
|
2289 </div> |
|
2290 <div class="protected" rel="yui:method" resource="#method__validateNewRailSize"> |
|
2291 <h4> |
|
2292 <a name="method__validateNewRailSize">_validateNewRailSize</a></h4> |
|
2293 <div class="detail" > |
|
2294 <code> |
|
2295 protected |
|
2296 |
|
2297 |
|
2298 |
|
2299 <strong property="yui:name">_validateNewRailSize</strong> |
|
2300 ( |
|
2301 |
|
2302 |
|
2303 v |
|
2304 |
|
2305 |
|
2306 ) |
|
2307 </code> |
|
2308 |
|
2309 <div class="description" property="yui:description"> |
|
2310 Validator applied to the railSize attribute. Only strings of css size |
|
2311 values (e.g. '200px') are allowed. |
|
2312 </div> |
|
2313 |
|
2314 <div class="description"> |
|
2315 |
|
2316 <dl rel="yui:parameters"> |
|
2317 <dt>Parameters:</dt> |
|
2318 <dd rel="yui:parameter"> |
|
2319 <code><span property="yui:name">v</span> |
|
2320 <<span property="yui:type">String</span>> |
|
2321 </code> |
|
2322 <span property="yui:description"> proposed value for the railSize attribute</span> |
|
2323 </dd> |
|
2324 </dl> |
|
2325 |
|
2326 <dl> |
|
2327 <dt>Returns: |
|
2328 <code property="yui:return"> |
|
2329 </code></dt> |
|
2330 <dd property="yui:returnInfo">Boolean</dd> |
|
2331 </dl> |
|
2332 |
|
2333 |
|
2334 |
|
2335 |
|
2336 </div> |
|
2337 |
|
2338 </div> |
|
2339 <hr /> |
|
2340 </div> |
|
2341 <div class="protected" rel="yui:method" resource="#method__validateNewThumb"> |
|
2342 <h4> |
|
2343 <a name="method__validateNewThumb">_validateNewThumb</a></h4> |
|
2344 <div class="detail" > |
|
2345 <code> |
|
2346 protected |
|
2347 |
|
2348 |
|
2349 |
|
2350 <strong property="yui:name">_validateNewThumb</strong> |
|
2351 ( |
|
2352 |
|
2353 |
|
2354 v |
|
2355 |
|
2356 |
|
2357 ) |
|
2358 </code> |
|
2359 |
|
2360 <div class="description" property="yui:description"> |
|
2361 Validator applied to the thumb attribute. Rejects all values after the |
|
2362 Slider has been rendered. |
|
2363 </div> |
|
2364 |
|
2365 <div class="description"> |
|
2366 |
|
2367 <dl rel="yui:parameters"> |
|
2368 <dt>Parameters:</dt> |
|
2369 <dd rel="yui:parameter"> |
|
2370 <code><span property="yui:name">v</span> |
|
2371 <<span property="yui:type">MIXED</span>> |
|
2372 </code> |
|
2373 <span property="yui:description"> proposed value for the thumb attribute</span> |
|
2374 </dd> |
|
2375 </dl> |
|
2376 |
|
2377 <dl> |
|
2378 <dt>Returns: |
|
2379 <code property="yui:return"> |
|
2380 </code></dt> |
|
2381 <dd property="yui:returnInfo">Boolean</dd> |
|
2382 </dl> |
|
2383 |
|
2384 |
|
2385 |
|
2386 |
|
2387 </div> |
|
2388 |
|
2389 </div> |
|
2390 <hr /> |
|
2391 </div> |
|
2392 <div class="protected" rel="yui:method" resource="#method__validateNewThumbImage"> |
|
2393 <h4> |
|
2394 <a name="method__validateNewThumbImage">_validateNewThumbImage</a></h4> |
|
2395 <div class="detail" > |
|
2396 <code> |
|
2397 protected |
|
2398 |
|
2399 |
|
2400 |
|
2401 <strong property="yui:name">_validateNewThumbImage</strong> |
|
2402 ( |
|
2403 |
|
2404 |
|
2405 v |
|
2406 |
|
2407 |
|
2408 ) |
|
2409 </code> |
|
2410 |
|
2411 <div class="description" property="yui:description"> |
|
2412 Validator applied to the thumbImage attribute. Rejects all values after |
|
2413 the Slider has been rendered. |
|
2414 </div> |
|
2415 |
|
2416 <div class="description"> |
|
2417 |
|
2418 <dl rel="yui:parameters"> |
|
2419 <dt>Parameters:</dt> |
|
2420 <dd rel="yui:parameter"> |
|
2421 <code><span property="yui:name">v</span> |
|
2422 <<span property="yui:type">MIXED</span>> |
|
2423 </code> |
|
2424 <span property="yui:description"> proposed value for the thumbImage attribute</span> |
|
2425 </dd> |
|
2426 </dl> |
|
2427 |
|
2428 <dl> |
|
2429 <dt>Returns: |
|
2430 <code property="yui:return"> |
|
2431 </code></dt> |
|
2432 <dd property="yui:returnInfo">Boolean</dd> |
|
2433 </dl> |
|
2434 |
|
2435 |
|
2436 |
|
2437 |
|
2438 </div> |
|
2439 |
|
2440 </div> |
|
2441 <hr /> |
|
2442 </div> |
|
2443 <div class="protected" rel="yui:method" resource="#method__validateNewValue"> |
|
2444 <h4> |
|
2445 <a name="method__validateNewValue">_validateNewValue</a></h4> |
|
2446 <div class="detail" > |
|
2447 <code> |
|
2448 protected |
|
2449 |
|
2450 |
|
2451 |
|
2452 <strong property="yui:name">_validateNewValue</strong> |
|
2453 ( |
|
2454 |
|
2455 |
|
2456 v |
|
2457 |
|
2458 |
|
2459 ) |
|
2460 </code> |
|
2461 |
|
2462 <div class="description" property="yui:description"> |
|
2463 Validator applied to the value attribute. |
|
2464 </div> |
|
2465 |
|
2466 <div class="description"> |
|
2467 |
|
2468 <dl rel="yui:parameters"> |
|
2469 <dt>Parameters:</dt> |
|
2470 <dd rel="yui:parameter"> |
|
2471 <code><span property="yui:name">v</span> |
|
2472 <<span property="yui:type">MIXED</span>> |
|
2473 </code> |
|
2474 <span property="yui:description"> proposed value for the value attribute</span> |
|
2475 </dd> |
|
2476 </dl> |
|
2477 |
|
2478 <dl> |
|
2479 <dt>Returns: |
|
2480 <code property="yui:return"> |
|
2481 </code></dt> |
|
2482 <dd property="yui:returnInfo">Boolean</dd> |
|
2483 </dl> |
|
2484 |
|
2485 |
|
2486 |
|
2487 |
|
2488 </div> |
|
2489 |
|
2490 </div> |
|
2491 <hr /> |
|
2492 </div> |
|
2493 <div class="protected" rel="yui:method" resource="#method_bindUI"> |
|
2494 <h4> |
|
2495 <a name="method_bindUI">bindUI</a></h4> |
|
2496 <div class="detail" > |
|
2497 <code> |
|
2498 protected |
|
2499 |
|
2500 |
|
2501 void |
|
2502 <strong property="yui:name">bindUI</strong> |
|
2503 ( |
|
2504 ) |
|
2505 </code> |
|
2506 |
|
2507 <div class="description" property="yui:description"> |
|
2508 Creates the Y.DD instance used to handle the thumb movement and binds |
|
2509 Slider interaction to the configured value model. |
|
2510 </div> |
|
2511 |
|
2512 <div class="description"> |
|
2513 |
|
2514 |
|
2515 |
|
2516 |
|
2517 |
|
2518 |
|
2519 </div> |
|
2520 |
|
2521 </div> |
|
2522 <hr /> |
|
2523 </div> |
|
2524 <div class="" rel="yui:method" resource="#method_getValue"> |
|
2525 <h4> |
|
2526 <a name="method_getValue">getValue</a></h4> |
|
2527 <div class="detail" > |
|
2528 <code> |
|
2529 |
|
2530 |
|
2531 |
|
2532 Number |
|
2533 <strong property="yui:name">getValue</strong> |
|
2534 ( |
|
2535 ) |
|
2536 </code> |
|
2537 |
|
2538 <div class="description" property="yui:description"> |
|
2539 Convenience method for accessing the current value of the Slider. |
|
2540 Equivalent to <code>slider.get("value")</code>. |
|
2541 </div> |
|
2542 |
|
2543 <div class="description"> |
|
2544 |
|
2545 |
|
2546 <dl> |
|
2547 <dt>Returns: |
|
2548 <code property="yui:return"> |
|
2549 Number |
|
2550 </code></dt> |
|
2551 <dd property="yui:returnInfo">the value</dd> |
|
2552 </dl> |
|
2553 |
|
2554 |
|
2555 |
|
2556 |
|
2557 </div> |
|
2558 |
|
2559 </div> |
|
2560 <hr /> |
|
2561 </div> |
|
2562 <div class="protected" rel="yui:method" resource="#method_initializer"> |
|
2563 <h4> |
|
2564 <a name="method_initializer">initializer</a></h4> |
|
2565 <div class="detail" > |
|
2566 <code> |
|
2567 protected |
|
2568 |
|
2569 |
|
2570 void |
|
2571 <strong property="yui:name">initializer</strong> |
|
2572 ( |
|
2573 ) |
|
2574 </code> |
|
2575 |
|
2576 <div class="description" property="yui:description"> |
|
2577 Construction logic executed durint Slider instantiation. Subscribes to |
|
2578 after events for min, max, and railSize. Publishes custom events |
|
2579 including slideStart and slideEnd. |
|
2580 </div> |
|
2581 |
|
2582 <div class="description"> |
|
2583 |
|
2584 |
|
2585 |
|
2586 |
|
2587 |
|
2588 |
|
2589 </div> |
|
2590 |
|
2591 </div> |
|
2592 <hr /> |
|
2593 </div> |
|
2594 <div class="protected" rel="yui:method" resource="#method_renderUI"> |
|
2595 <h4> |
|
2596 <a name="method_renderUI">renderUI</a></h4> |
|
2597 <div class="detail" > |
|
2598 <code> |
|
2599 protected |
|
2600 |
|
2601 |
|
2602 void |
|
2603 <strong property="yui:name">renderUI</strong> |
|
2604 ( |
|
2605 ) |
|
2606 </code> |
|
2607 |
|
2608 <div class="description" property="yui:description"> |
|
2609 Create the DOM structure for the Slider. |
|
2610 </div> |
|
2611 |
|
2612 <div class="description"> |
|
2613 |
|
2614 |
|
2615 |
|
2616 |
|
2617 |
|
2618 |
|
2619 </div> |
|
2620 |
|
2621 </div> |
|
2622 <hr /> |
|
2623 </div> |
|
2624 <div class="" rel="yui:method" resource="#method_setValue"> |
|
2625 <h4> |
|
2626 <a name="method_setValue">setValue</a></h4> |
|
2627 <div class="detail" > |
|
2628 <code> |
|
2629 |
|
2630 |
|
2631 |
|
2632 void |
|
2633 <strong property="yui:name">setValue</strong> |
|
2634 ( |
|
2635 |
|
2636 |
|
2637 val |
|
2638 |
|
2639 |
|
2640 ) |
|
2641 </code> |
|
2642 |
|
2643 <div class="description" property="yui:description"> |
|
2644 Convenience method for updating the current value of the Slider. |
|
2645 Equivalent to <code>slider.set("value",val)</code>. |
|
2646 </div> |
|
2647 |
|
2648 <div class="description"> |
|
2649 |
|
2650 <dl rel="yui:parameters"> |
|
2651 <dt>Parameters:</dt> |
|
2652 <dd rel="yui:parameter"> |
|
2653 <code><span property="yui:name">val</span> |
|
2654 <<span property="yui:type">Number</span>> |
|
2655 </code> |
|
2656 <span property="yui:description"> the new value</span> |
|
2657 </dd> |
|
2658 </dl> |
|
2659 |
|
2660 |
|
2661 |
|
2662 |
|
2663 |
|
2664 </div> |
|
2665 |
|
2666 </div> |
|
2667 <hr /> |
|
2668 </div> |
|
2669 <div class="" rel="yui:method" resource="#method_syncUI"> |
|
2670 <h4> |
|
2671 <a name="method_syncUI">syncUI</a></h4> |
|
2672 <div class="detail" > |
|
2673 <code> |
|
2674 |
|
2675 |
|
2676 |
|
2677 void |
|
2678 <strong property="yui:name">syncUI</strong> |
|
2679 ( |
|
2680 ) |
|
2681 </code> |
|
2682 |
|
2683 <div class="description" property="yui:description"> |
|
2684 Synchronizes the DOM state with the attribute settings (most notably |
|
2685 railSize and value). If thumbImage is provided and is still loading, |
|
2686 sync is delayed until it is complete, since the image's dimensions are |
|
2687 taken into consideration for calculations. |
|
2688 </div> |
|
2689 |
|
2690 <div class="description"> |
|
2691 |
|
2692 |
|
2693 |
|
2694 |
|
2695 |
|
2696 |
|
2697 </div> |
|
2698 |
|
2699 </div> |
|
2700 <hr /> |
|
2701 </div> |
|
2702 </div> |
|
2703 </div> |
|
2704 |
|
2705 <div rel="yui:inheritance"> |
|
2706 <div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html"> |
|
2707 <h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4> |
|
2708 <div class="content" rel="yui:methods"> |
|
2709 <code> |
|
2710 <span rel="yui:method" resource="EventTarget.html#method__getType"> |
|
2711 <a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span> |
|
2712 </span> |
|
2713 <span rel="yui:method" resource="EventTarget.html#method__parseType"> |
|
2714 <a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span> |
|
2715 </span> |
|
2716 <span rel="yui:method" resource="EventTarget.html#method_addTarget"> |
|
2717 <a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span> |
|
2718 </span> |
|
2719 <span rel="yui:method" resource="EventTarget.html#method_after"> |
|
2720 <a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span> |
|
2721 </span> |
|
2722 <span rel="yui:method" resource="EventTarget.html#method_before"> |
|
2723 <a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span> |
|
2724 </span> |
|
2725 <span rel="yui:method" resource="EventTarget.html#method_bubble"> |
|
2726 <a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span> |
|
2727 </span> |
|
2728 <span rel="yui:method" resource="EventTarget.html#method_detach"> |
|
2729 <a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span> |
|
2730 </span> |
|
2731 <span rel="yui:method" resource="EventTarget.html#method_detachAll"> |
|
2732 <a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span> |
|
2733 </span> |
|
2734 <span rel="yui:method" resource="EventTarget.html#method_fire"> |
|
2735 <a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span> |
|
2736 </span> |
|
2737 <span rel="yui:method" resource="EventTarget.html#method_getEvent"> |
|
2738 <a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span> |
|
2739 </span> |
|
2740 <span rel="yui:method" resource="EventTarget.html#method_on"> |
|
2741 <a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span> |
|
2742 </span> |
|
2743 <span rel="yui:method" resource="EventTarget.html#method_publish"> |
|
2744 <a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span> |
|
2745 </span> |
|
2746 <span rel="yui:method" resource="EventTarget.html#method_removeTarget"> |
|
2747 <a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span> |
|
2748 </span> |
|
2749 <span rel="yui:method" resource="EventTarget.html#method_subscribe"> |
|
2750 <a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span> |
|
2751 </span> |
|
2752 <span rel="yui:method" resource="EventTarget.html#method_unsubscribe"> |
|
2753 <a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span> |
|
2754 </span> |
|
2755 <span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll"> |
|
2756 <a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a> |
|
2757 </span> |
|
2758 </code> |
|
2759 </div> |
|
2760 </div> |
|
2761 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
2762 <h4>Methods inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
2763 <div class="content" rel="yui:methods"> |
|
2764 <code> |
|
2765 <span rel="yui:method" resource="Attribute.html#method__addAttrs"> |
|
2766 <a class="private" href="Attribute.html#method__addAttrs" property="yui:name" title="_addAttrs">_addAttrs</a><span class="private">,</span> |
|
2767 </span> |
|
2768 <span rel="yui:method" resource="Attribute.html#method__addLazyAttr"> |
|
2769 <a class="private" href="Attribute.html#method__addLazyAttr" property="yui:name" title="_addLazyAttr">_addLazyAttr</a><span class="private">,</span> |
|
2770 </span> |
|
2771 <span rel="yui:method" resource="Attribute.html#method__defAttrChangeFn"> |
|
2772 <a class="private" href="Attribute.html#method__defAttrChangeFn" property="yui:name" title="_defAttrChangeFn">_defAttrChangeFn</a><span class="private">,</span> |
|
2773 </span> |
|
2774 <span rel="yui:method" resource="Attribute.html#method__fireAttrChange"> |
|
2775 <a class="private" href="Attribute.html#method__fireAttrChange" property="yui:name" title="_fireAttrChange">_fireAttrChange</a><span class="private">,</span> |
|
2776 </span> |
|
2777 <span rel="yui:method" resource="Attribute.html#method__getAttr"> |
|
2778 <a class="protected" href="Attribute.html#method__getAttr" property="yui:name" title="_getAttr">_getAttr</a><span class="protected">,</span> |
|
2779 </span> |
|
2780 <span rel="yui:method" resource="Attribute.html#method__getAttrInitVal"> |
|
2781 <a class="private" href="Attribute.html#method__getAttrInitVal" property="yui:name" title="_getAttrInitVal">_getAttrInitVal</a><span class="private">,</span> |
|
2782 </span> |
|
2783 <span rel="yui:method" resource="Attribute.html#method__getAttrs"> |
|
2784 <a class="protected" href="Attribute.html#method__getAttrs" property="yui:name" title="_getAttrs">_getAttrs</a><span class="protected">,</span> |
|
2785 </span> |
|
2786 <span rel="yui:method" resource="Attribute.html#method__getStateVal"> |
|
2787 <a class="private" href="Attribute.html#method__getStateVal" property="yui:name" title="_getStateVal">_getStateVal</a><span class="private">,</span> |
|
2788 </span> |
|
2789 <span rel="yui:method" resource="Attribute.html#method__isLazyAttr"> |
|
2790 <a class="private" href="Attribute.html#method__isLazyAttr" property="yui:name" title="_isLazyAttr">_isLazyAttr</a><span class="private">,</span> |
|
2791 </span> |
|
2792 <span rel="yui:method" resource="Attribute.html#method__normAttrVals"> |
|
2793 <a class="private" href="Attribute.html#method__normAttrVals" property="yui:name" title="_normAttrVals">_normAttrVals</a><span class="private">,</span> |
|
2794 </span> |
|
2795 <span rel="yui:method" resource="Attribute.html#method__protectAttrs"> |
|
2796 <a class="protected" href="Attribute.html#method__protectAttrs" property="yui:name" title="_protectAttrs">_protectAttrs</a><span class="protected">,</span> |
|
2797 </span> |
|
2798 <span rel="yui:method" resource="Attribute.html#method__set"> |
|
2799 <a class="protected" href="Attribute.html#method__set" property="yui:name" title="_set">_set</a><span class="protected">,</span> |
|
2800 </span> |
|
2801 <span rel="yui:method" resource="Attribute.html#method__setAttr"> |
|
2802 <a class="protected" href="Attribute.html#method__setAttr" property="yui:name" title="_setAttr">_setAttr</a><span class="protected">,</span> |
|
2803 </span> |
|
2804 <span rel="yui:method" resource="Attribute.html#method__setAttrs"> |
|
2805 <a class="protected" href="Attribute.html#method__setAttrs" property="yui:name" title="_setAttrs">_setAttrs</a><span class="protected">,</span> |
|
2806 </span> |
|
2807 <span rel="yui:method" resource="Attribute.html#method__setAttrVal"> |
|
2808 <a class="private" href="Attribute.html#method__setAttrVal" property="yui:name" title="_setAttrVal">_setAttrVal</a><span class="private">,</span> |
|
2809 </span> |
|
2810 <span rel="yui:method" resource="Attribute.html#method__setStateVal"> |
|
2811 <a class="private" href="Attribute.html#method__setStateVal" property="yui:name" title="_setStateVal">_setStateVal</a><span class="private">,</span> |
|
2812 </span> |
|
2813 <span rel="yui:method" resource="Attribute.html#method_addAttr"> |
|
2814 <a class="" href="Attribute.html#method_addAttr" property="yui:name" title="addAttr">addAttr</a><span class="">,</span> |
|
2815 </span> |
|
2816 <span rel="yui:method" resource="Attribute.html#method_addAttrs"> |
|
2817 <a class="" href="Attribute.html#method_addAttrs" property="yui:name" title="addAttrs">addAttrs</a><span class="">,</span> |
|
2818 </span> |
|
2819 <span rel="yui:method" resource="Attribute.html#method_attrAdded"> |
|
2820 <a class="" href="Attribute.html#method_attrAdded" property="yui:name" title="attrAdded">attrAdded</a><span class="">,</span> |
|
2821 </span> |
|
2822 <span rel="yui:method" resource="Attribute.html#method_get"> |
|
2823 <a class="" href="Attribute.html#method_get" property="yui:name" title="get">get</a><span class="">,</span> |
|
2824 </span> |
|
2825 <span rel="yui:method" resource="Attribute.html#method_getAttrs"> |
|
2826 <a class="" href="Attribute.html#method_getAttrs" property="yui:name" title="getAttrs">getAttrs</a><span class="">,</span> |
|
2827 </span> |
|
2828 <span rel="yui:method" resource="Attribute.html#method_modifyAttr"> |
|
2829 <a class="" href="Attribute.html#method_modifyAttr" property="yui:name" title="modifyAttr">modifyAttr</a><span class="">,</span> |
|
2830 </span> |
|
2831 <span rel="yui:method" resource="Attribute.html#method_removeAttr"> |
|
2832 <a class="" href="Attribute.html#method_removeAttr" property="yui:name" title="removeAttr">removeAttr</a><span class="">,</span> |
|
2833 </span> |
|
2834 <span rel="yui:method" resource="Attribute.html#method_reset"> |
|
2835 <a class="" href="Attribute.html#method_reset" property="yui:name" title="reset">reset</a><span class="">,</span> |
|
2836 </span> |
|
2837 <span rel="yui:method" resource="Attribute.html#method_set"> |
|
2838 <a class="" href="Attribute.html#method_set" property="yui:name" title="set">set</a><span class="">,</span> |
|
2839 </span> |
|
2840 <span rel="yui:method" resource="Attribute.html#method_setAttrs"> |
|
2841 <a class="" href="Attribute.html#method_setAttrs" property="yui:name" title="setAttrs">setAttrs</a> |
|
2842 </span> |
|
2843 </code> |
|
2844 </div> |
|
2845 </div> |
|
2846 <div class="section field inheritance" rel="yui:superclass" resource="Widget.html"> |
|
2847 <h4>Methods inherited from <a href="Widget.html" property="yui:name" title="Widget">Widget</a>:</h4> |
|
2848 <div class="content" rel="yui:methods"> |
|
2849 <code> |
|
2850 <span rel="yui:method" resource="Widget.html#method__afterDisabledChange"> |
|
2851 <a class="protected" href="Widget.html#method__afterDisabledChange" property="yui:name" title="_afterDisabledChange">_afterDisabledChange</a><span class="protected">,</span> |
|
2852 </span> |
|
2853 <span rel="yui:method" resource="Widget.html#method__afterFocusedChange"> |
|
2854 <a class="protected" href="Widget.html#method__afterFocusedChange" property="yui:name" title="_afterFocusedChange">_afterFocusedChange</a><span class="protected">,</span> |
|
2855 </span> |
|
2856 <span rel="yui:method" resource="Widget.html#method__afterHeightChange"> |
|
2857 <a class="protected" href="Widget.html#method__afterHeightChange" property="yui:name" title="_afterHeightChange">_afterHeightChange</a><span class="protected">,</span> |
|
2858 </span> |
|
2859 <span rel="yui:method" resource="Widget.html#method__afterVisibleChange"> |
|
2860 <a class="protected" href="Widget.html#method__afterVisibleChange" property="yui:name" title="_afterVisibleChange">_afterVisibleChange</a><span class="protected">,</span> |
|
2861 </span> |
|
2862 <span rel="yui:method" resource="Widget.html#method__afterWidthChange"> |
|
2863 <a class="protected" href="Widget.html#method__afterWidthChange" property="yui:name" title="_afterWidthChange">_afterWidthChange</a><span class="protected">,</span> |
|
2864 </span> |
|
2865 <span rel="yui:method" resource="Widget.html#method__bindDOMListeners"> |
|
2866 <a class="protected" href="Widget.html#method__bindDOMListeners" property="yui:name" title="_bindDOMListeners">_bindDOMListeners</a><span class="protected">,</span> |
|
2867 </span> |
|
2868 <span rel="yui:method" resource="Widget.html#method__bindUI"> |
|
2869 <a class="protected" href="Widget.html#method__bindUI" property="yui:name" title="_bindUI">_bindUI</a><span class="protected">,</span> |
|
2870 </span> |
|
2871 <span rel="yui:method" resource="Widget.html#method__defRenderFn"> |
|
2872 <a class="protected" href="Widget.html#method__defRenderFn" property="yui:name" title="_defRenderFn">_defRenderFn</a><span class="protected">,</span> |
|
2873 </span> |
|
2874 <span rel="yui:method" resource="Widget.html#method__getHtmlParser"> |
|
2875 <a class="" href="Widget.html#method__getHtmlParser" property="yui:name" title="_getHtmlParser">_getHtmlParser</a><span class="">,</span> |
|
2876 </span> |
|
2877 <span rel="yui:method" resource="Widget.html#method__getStrings"> |
|
2878 <a class="protected" href="Widget.html#method__getStrings" property="yui:name" title="_getStrings">_getStrings</a><span class="protected">,</span> |
|
2879 </span> |
|
2880 <span rel="yui:method" resource="Widget.html#method__moveStyles"> |
|
2881 <a class="private" href="Widget.html#method__moveStyles" property="yui:name" title="_moveStyles">_moveStyles</a><span class="private">,</span> |
|
2882 </span> |
|
2883 <span rel="yui:method" resource="Widget.html#method__onDocMouseDown"> |
|
2884 <a class="protected" href="Widget.html#method__onDocMouseDown" property="yui:name" title="_onDocMouseDown">_onDocMouseDown</a><span class="protected">,</span> |
|
2885 </span> |
|
2886 <span rel="yui:method" resource="Widget.html#method__onFocus"> |
|
2887 <a class="protected" href="Widget.html#method__onFocus" property="yui:name" title="_onFocus">_onFocus</a><span class="protected">,</span> |
|
2888 </span> |
|
2889 <span rel="yui:method" resource="Widget.html#method__parseHTML"> |
|
2890 <a class="private" href="Widget.html#method__parseHTML" property="yui:name" title="_parseHTML">_parseHTML</a><span class="private">,</span> |
|
2891 </span> |
|
2892 <span rel="yui:method" resource="Widget.html#method__renderBox"> |
|
2893 <a class="private" href="Widget.html#method__renderBox" property="yui:name" title="_renderBox">_renderBox</a><span class="private">,</span> |
|
2894 </span> |
|
2895 <span rel="yui:method" resource="Widget.html#method__renderBoxClassNames"> |
|
2896 <a class="protected" href="Widget.html#method__renderBoxClassNames" property="yui:name" title="_renderBoxClassNames">_renderBoxClassNames</a><span class="protected">,</span> |
|
2897 </span> |
|
2898 <span rel="yui:method" resource="Widget.html#method__renderUI"> |
|
2899 <a class="protected" href="Widget.html#method__renderUI" property="yui:name" title="_renderUI">_renderUI</a><span class="protected">,</span> |
|
2900 </span> |
|
2901 <span rel="yui:method" resource="Widget.html#method__setBoundingBox"> |
|
2902 <a class="private" href="Widget.html#method__setBoundingBox" property="yui:name" title="_setBoundingBox">_setBoundingBox</a><span class="private">,</span> |
|
2903 </span> |
|
2904 <span rel="yui:method" resource="Widget.html#method__setBox"> |
|
2905 <a class="private" href="Widget.html#method__setBox" property="yui:name" title="_setBox">_setBox</a><span class="private">,</span> |
|
2906 </span> |
|
2907 <span rel="yui:method" resource="Widget.html#method__setContentBox"> |
|
2908 <a class="private" href="Widget.html#method__setContentBox" property="yui:name" title="_setContentBox">_setContentBox</a><span class="private">,</span> |
|
2909 </span> |
|
2910 <span rel="yui:method" resource="Widget.html#method__setStrings"> |
|
2911 <a class="protected" href="Widget.html#method__setStrings" property="yui:name" title="_setStrings">_setStrings</a><span class="protected">,</span> |
|
2912 </span> |
|
2913 <span rel="yui:method" resource="Widget.html#method__syncUI"> |
|
2914 <a class="protected" href="Widget.html#method__syncUI" property="yui:name" title="_syncUI">_syncUI</a><span class="protected">,</span> |
|
2915 </span> |
|
2916 <span rel="yui:method" resource="Widget.html#method__uiSetDisabled"> |
|
2917 <a class="protected" href="Widget.html#method__uiSetDisabled" property="yui:name" title="_uiSetDisabled">_uiSetDisabled</a><span class="protected">,</span> |
|
2918 </span> |
|
2919 <span rel="yui:method" resource="Widget.html#method__uiSetFocused"> |
|
2920 <a class="protected" href="Widget.html#method__uiSetFocused" property="yui:name" title="_uiSetFocused">_uiSetFocused</a><span class="protected">,</span> |
|
2921 </span> |
|
2922 <span rel="yui:method" resource="Widget.html#method__uiSetHeight"> |
|
2923 <a class="protected" href="Widget.html#method__uiSetHeight" property="yui:name" title="_uiSetHeight">_uiSetHeight</a><span class="protected">,</span> |
|
2924 </span> |
|
2925 <span rel="yui:method" resource="Widget.html#method__uiSetTabIndex"> |
|
2926 <a class="protected" href="Widget.html#method__uiSetTabIndex" property="yui:name" title="_uiSetTabIndex">_uiSetTabIndex</a><span class="protected">,</span> |
|
2927 </span> |
|
2928 <span rel="yui:method" resource="Widget.html#method__uiSetVisible"> |
|
2929 <a class="protected" href="Widget.html#method__uiSetVisible" property="yui:name" title="_uiSetVisible">_uiSetVisible</a><span class="protected">,</span> |
|
2930 </span> |
|
2931 <span rel="yui:method" resource="Widget.html#method__uiSetWidth"> |
|
2932 <a class="protected" href="Widget.html#method__uiSetWidth" property="yui:name" title="_uiSetWidth">_uiSetWidth</a><span class="protected">,</span> |
|
2933 </span> |
|
2934 <span rel="yui:method" resource="Widget.html#method_bindUI"> |
|
2935 <a class="protected" href="Widget.html#method_bindUI" property="yui:name" title="bindUI">bindUI</a><span class="protected">,</span> |
|
2936 </span> |
|
2937 <span rel="yui:method" resource="Widget.html#method_blur"> |
|
2938 <a class="" href="Widget.html#method_blur" property="yui:name" title="blur">blur</a><span class="">,</span> |
|
2939 </span> |
|
2940 <span rel="yui:method" resource="Widget.html#method_destructor"> |
|
2941 <a class="protected" href="Widget.html#method_destructor" property="yui:name" title="destructor">destructor</a><span class="protected">,</span> |
|
2942 </span> |
|
2943 <span rel="yui:method" resource="Widget.html#method_disabled"> |
|
2944 <a class="" href="Widget.html#method_disabled" property="yui:name" title="disabled">disabled</a><span class="">,</span> |
|
2945 </span> |
|
2946 <span rel="yui:method" resource="Widget.html#method_enable"> |
|
2947 <a class="" href="Widget.html#method_enable" property="yui:name" title="enable">enable</a><span class="">,</span> |
|
2948 </span> |
|
2949 <span rel="yui:method" resource="Widget.html#method_focus"> |
|
2950 <a class="" href="Widget.html#method_focus" property="yui:name" title="focus">focus</a><span class="">,</span> |
|
2951 </span> |
|
2952 <span rel="yui:method" resource="Widget.html#method_getClassName"> |
|
2953 <a class="" href="Widget.html#method_getClassName" property="yui:name" title="getClassName">getClassName</a><span class="">,</span> |
|
2954 </span> |
|
2955 <span rel="yui:method" resource="Widget.html#method_getDefaultLocale"> |
|
2956 <a class="" href="Widget.html#method_getDefaultLocale" property="yui:name" title="getDefaultLocale">getDefaultLocale</a><span class="">,</span> |
|
2957 </span> |
|
2958 <span rel="yui:method" resource="Widget.html#method_getString"> |
|
2959 <a class="" href="Widget.html#method_getString" property="yui:name" title="getString">getString</a><span class="">,</span> |
|
2960 </span> |
|
2961 <span rel="yui:method" resource="Widget.html#method_getStrings"> |
|
2962 <a class="" href="Widget.html#method_getStrings" property="yui:name" title="getStrings">getStrings</a><span class="">,</span> |
|
2963 </span> |
|
2964 <span rel="yui:method" resource="Widget.html#method_hide"> |
|
2965 <a class="" href="Widget.html#method_hide" property="yui:name" title="hide">hide</a><span class="">,</span> |
|
2966 </span> |
|
2967 <span rel="yui:method" resource="Widget.html#method_initializer"> |
|
2968 <a class="protected" href="Widget.html#method_initializer" property="yui:name" title="initializer">initializer</a><span class="protected">,</span> |
|
2969 </span> |
|
2970 <span rel="yui:method" resource="Widget.html#method_render"> |
|
2971 <a class="" href="Widget.html#method_render" property="yui:name" title="render">render</a><span class="">,</span> |
|
2972 </span> |
|
2973 <span rel="yui:method" resource="Widget.html#method_renderer"> |
|
2974 <a class="protected" href="Widget.html#method_renderer" property="yui:name" title="renderer">renderer</a><span class="protected">,</span> |
|
2975 </span> |
|
2976 <span rel="yui:method" resource="Widget.html#method_renderUI"> |
|
2977 <a class="protected" href="Widget.html#method_renderUI" property="yui:name" title="renderUI">renderUI</a><span class="protected">,</span> |
|
2978 </span> |
|
2979 <span rel="yui:method" resource="Widget.html#method_show"> |
|
2980 <a class="" href="Widget.html#method_show" property="yui:name" title="show">show</a><span class="">,</span> |
|
2981 </span> |
|
2982 <span rel="yui:method" resource="Widget.html#method_syncUI"> |
|
2983 <a class="" href="Widget.html#method_syncUI" property="yui:name" title="syncUI">syncUI</a><span class="">,</span> |
|
2984 </span> |
|
2985 <span rel="yui:method" resource="Widget.html#method_toString"> |
|
2986 <a class="" href="Widget.html#method_toString" property="yui:name" title="toString">toString</a> |
|
2987 </span> |
|
2988 </code> |
|
2989 </div> |
|
2990 </div> |
|
2991 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
2992 <h4>Methods inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
2993 <div class="content" rel="yui:methods"> |
|
2994 <code> |
|
2995 <span rel="yui:method" resource="Base.html#method__aggregateAttrs"> |
|
2996 <a class="private" href="Base.html#method__aggregateAttrs" property="yui:name" title="_aggregateAttrs">_aggregateAttrs</a><span class="private">,</span> |
|
2997 </span> |
|
2998 <span rel="yui:method" resource="Base.html#method__defDestroyFn"> |
|
2999 <a class="protected" href="Base.html#method__defDestroyFn" property="yui:name" title="_defDestroyFn">_defDestroyFn</a><span class="protected">,</span> |
|
3000 </span> |
|
3001 <span rel="yui:method" resource="Base.html#method__defInitFn"> |
|
3002 <a class="protected" href="Base.html#method__defInitFn" property="yui:name" title="_defInitFn">_defInitFn</a><span class="protected">,</span> |
|
3003 </span> |
|
3004 <span rel="yui:method" resource="Base.html#method__destroyHierarchy"> |
|
3005 <a class="private" href="Base.html#method__destroyHierarchy" property="yui:name" title="_destroyHierarchy">_destroyHierarchy</a><span class="private">,</span> |
|
3006 </span> |
|
3007 <span rel="yui:method" resource="Base.html#method__filterAttrCfs"> |
|
3008 <a class="private" href="Base.html#method__filterAttrCfs" property="yui:name" title="_filterAttrCfs">_filterAttrCfs</a><span class="private">,</span> |
|
3009 </span> |
|
3010 <span rel="yui:method" resource="Base.html#method__getAttrCfgs"> |
|
3011 <a class="protected" href="Base.html#method__getAttrCfgs" property="yui:name" title="_getAttrCfgs">_getAttrCfgs</a><span class="protected">,</span> |
|
3012 </span> |
|
3013 <span rel="yui:method" resource="Base.html#method__getClasses"> |
|
3014 <a class="protected" href="Base.html#method__getClasses" property="yui:name" title="_getClasses">_getClasses</a><span class="protected">,</span> |
|
3015 </span> |
|
3016 <span rel="yui:method" resource="Base.html#method__initHierarchy"> |
|
3017 <a class="private" href="Base.html#method__initHierarchy" property="yui:name" title="_initHierarchy">_initHierarchy</a><span class="private">,</span> |
|
3018 </span> |
|
3019 <span rel="yui:method" resource="Base.html#method__initHierarchyData"> |
|
3020 <a class="private" href="Base.html#method__initHierarchyData" property="yui:name" title="_initHierarchyData">_initHierarchyData</a><span class="private">,</span> |
|
3021 </span> |
|
3022 <span rel="yui:method" resource="Base.html#method_destroy"> |
|
3023 <a class="" href="Base.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
3024 </span> |
|
3025 <span rel="yui:method" resource="Base.html#method_init"> |
|
3026 <a class="" href="Base.html#method_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
3027 </span> |
|
3028 <span rel="yui:method" resource="Base.html#method_toString"> |
|
3029 <a class="" href="Base.html#method_toString" property="yui:name" title="toString">toString</a> |
|
3030 </span> |
|
3031 </code> |
|
3032 </div> |
|
3033 </div> |
|
3034 </div> |
|
3035 </div> |
|
3036 |
|
3037 <div rel="yui:events" resource="#events"> |
|
3038 <div class="section method details"> |
|
3039 <h3 id="events">Events</h3> |
|
3040 <div class="content"> |
|
3041 <div class="" rel="yui:event" resource="#event_axisChange"> |
|
3042 <h4> |
|
3043 <a name="event_axisChange">axisChange</a></h4> |
|
3044 <div class="detail"> |
|
3045 <code> |
|
3046 |
|
3047 |
|
3048 |
|
3049 <strong property="yui:name">axisChange</strong> |
|
3050 |
|
3051 ( |
|
3052 |
|
3053 |
|
3054 event |
|
3055 |
|
3056 |
|
3057 ) |
|
3058 |
|
3059 </code> |
|
3060 |
|
3061 <div class="description" property="yui:description"> |
|
3062 Fires when the value for the configuration attribute 'axis' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3063 </div> |
|
3064 |
|
3065 <div class="description"> |
|
3066 |
|
3067 |
|
3068 <dl rel="yui:parameters"> |
|
3069 <dt>Parameters:</dt> |
|
3070 <dd rel="yui:parameter"> |
|
3071 <code><span property="yui:name">event</span> |
|
3072 <<span property="yui:type">Event.Facade</span>> |
|
3073 </code> |
|
3074 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3075 </dd> |
|
3076 |
|
3077 </dl> |
|
3078 |
|
3079 |
|
3080 </div> |
|
3081 |
|
3082 </div> |
|
3083 <hr /> |
|
3084 </div> |
|
3085 <div class="" rel="yui:event" resource="#event_maxChange"> |
|
3086 <h4> |
|
3087 <a name="event_maxChange">maxChange</a></h4> |
|
3088 <div class="detail"> |
|
3089 <code> |
|
3090 |
|
3091 |
|
3092 |
|
3093 <strong property="yui:name">maxChange</strong> |
|
3094 |
|
3095 ( |
|
3096 |
|
3097 |
|
3098 event |
|
3099 |
|
3100 |
|
3101 ) |
|
3102 |
|
3103 </code> |
|
3104 |
|
3105 <div class="description" property="yui:description"> |
|
3106 Fires when the value for the configuration attribute 'max' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3107 </div> |
|
3108 |
|
3109 <div class="description"> |
|
3110 |
|
3111 |
|
3112 <dl rel="yui:parameters"> |
|
3113 <dt>Parameters:</dt> |
|
3114 <dd rel="yui:parameter"> |
|
3115 <code><span property="yui:name">event</span> |
|
3116 <<span property="yui:type">Event.Facade</span>> |
|
3117 </code> |
|
3118 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3119 </dd> |
|
3120 |
|
3121 </dl> |
|
3122 |
|
3123 |
|
3124 </div> |
|
3125 |
|
3126 </div> |
|
3127 <hr /> |
|
3128 </div> |
|
3129 <div class="" rel="yui:event" resource="#event_maxGutterChange"> |
|
3130 <h4> |
|
3131 <a name="event_maxGutterChange">maxGutterChange</a></h4> |
|
3132 <div class="detail"> |
|
3133 <code> |
|
3134 |
|
3135 |
|
3136 |
|
3137 <strong property="yui:name">maxGutterChange</strong> |
|
3138 |
|
3139 ( |
|
3140 |
|
3141 |
|
3142 event |
|
3143 |
|
3144 |
|
3145 ) |
|
3146 |
|
3147 </code> |
|
3148 |
|
3149 <div class="description" property="yui:description"> |
|
3150 Fires when the value for the configuration attribute 'maxGutter' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3151 </div> |
|
3152 |
|
3153 <div class="description"> |
|
3154 |
|
3155 |
|
3156 <dl rel="yui:parameters"> |
|
3157 <dt>Parameters:</dt> |
|
3158 <dd rel="yui:parameter"> |
|
3159 <code><span property="yui:name">event</span> |
|
3160 <<span property="yui:type">Event.Facade</span>> |
|
3161 </code> |
|
3162 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3163 </dd> |
|
3164 |
|
3165 </dl> |
|
3166 |
|
3167 |
|
3168 </div> |
|
3169 |
|
3170 </div> |
|
3171 <hr /> |
|
3172 </div> |
|
3173 <div class="" rel="yui:event" resource="#event_minChange"> |
|
3174 <h4> |
|
3175 <a name="event_minChange">minChange</a></h4> |
|
3176 <div class="detail"> |
|
3177 <code> |
|
3178 |
|
3179 |
|
3180 |
|
3181 <strong property="yui:name">minChange</strong> |
|
3182 |
|
3183 ( |
|
3184 |
|
3185 |
|
3186 event |
|
3187 |
|
3188 |
|
3189 ) |
|
3190 |
|
3191 </code> |
|
3192 |
|
3193 <div class="description" property="yui:description"> |
|
3194 Fires when the value for the configuration attribute 'min' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3195 </div> |
|
3196 |
|
3197 <div class="description"> |
|
3198 |
|
3199 |
|
3200 <dl rel="yui:parameters"> |
|
3201 <dt>Parameters:</dt> |
|
3202 <dd rel="yui:parameter"> |
|
3203 <code><span property="yui:name">event</span> |
|
3204 <<span property="yui:type">Event.Facade</span>> |
|
3205 </code> |
|
3206 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3207 </dd> |
|
3208 |
|
3209 </dl> |
|
3210 |
|
3211 |
|
3212 </div> |
|
3213 |
|
3214 </div> |
|
3215 <hr /> |
|
3216 </div> |
|
3217 <div class="" rel="yui:event" resource="#event_minGutterChange"> |
|
3218 <h4> |
|
3219 <a name="event_minGutterChange">minGutterChange</a></h4> |
|
3220 <div class="detail"> |
|
3221 <code> |
|
3222 |
|
3223 |
|
3224 |
|
3225 <strong property="yui:name">minGutterChange</strong> |
|
3226 |
|
3227 ( |
|
3228 |
|
3229 |
|
3230 event |
|
3231 |
|
3232 |
|
3233 ) |
|
3234 |
|
3235 </code> |
|
3236 |
|
3237 <div class="description" property="yui:description"> |
|
3238 Fires when the value for the configuration attribute 'minGutter' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3239 </div> |
|
3240 |
|
3241 <div class="description"> |
|
3242 |
|
3243 |
|
3244 <dl rel="yui:parameters"> |
|
3245 <dt>Parameters:</dt> |
|
3246 <dd rel="yui:parameter"> |
|
3247 <code><span property="yui:name">event</span> |
|
3248 <<span property="yui:type">Event.Facade</span>> |
|
3249 </code> |
|
3250 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3251 </dd> |
|
3252 |
|
3253 </dl> |
|
3254 |
|
3255 |
|
3256 </div> |
|
3257 |
|
3258 </div> |
|
3259 <hr /> |
|
3260 </div> |
|
3261 <div class="" rel="yui:event" resource="#event_positionThumb"> |
|
3262 <h4> |
|
3263 <a name="event_positionThumb">positionThumb</a></h4> |
|
3264 <div class="detail"> |
|
3265 <code> |
|
3266 |
|
3267 |
|
3268 |
|
3269 <strong property="yui:name">positionThumb</strong> |
|
3270 |
|
3271 ( |
|
3272 |
|
3273 |
|
3274 event |
|
3275 |
|
3276 |
|
3277 ) |
|
3278 |
|
3279 </code> |
|
3280 |
|
3281 <div class="description" property="yui:description"> |
|
3282 Signals a request to reposition the thumb in response to API methods. |
|
3283 Triggers the thumb placement logic in _defPositionThumbFn. |
|
3284 </div> |
|
3285 |
|
3286 <div class="description"> |
|
3287 |
|
3288 |
|
3289 <dl rel="yui:parameters"> |
|
3290 <dt>Parameters:</dt> |
|
3291 <dd rel="yui:parameter"> |
|
3292 <code><span property="yui:name">event</span> |
|
3293 <<span property="yui:type">Event.Facade</span>> |
|
3294 </code> |
|
3295 <span property="yui:description"> An Event Facade object with the following attribute specific properties added: |
|
3296 <dl> |
|
3297 <dt>changeEv</dt> |
|
3298 <dd><code>valueChange</code> event fired in response to the change in the value attribute</dd> |
|
3299 </dl></span> |
|
3300 </dd> |
|
3301 |
|
3302 </dl> |
|
3303 |
|
3304 <div class="preventable"> |
|
3305 <strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is _defPositionThumbFn. |
|
3306 </div> |
|
3307 |
|
3308 </div> |
|
3309 |
|
3310 </div> |
|
3311 <hr /> |
|
3312 </div> |
|
3313 <div class="" rel="yui:event" resource="#event_railChange"> |
|
3314 <h4> |
|
3315 <a name="event_railChange">railChange</a></h4> |
|
3316 <div class="detail"> |
|
3317 <code> |
|
3318 |
|
3319 |
|
3320 |
|
3321 <strong property="yui:name">railChange</strong> |
|
3322 |
|
3323 ( |
|
3324 |
|
3325 |
|
3326 event |
|
3327 |
|
3328 |
|
3329 ) |
|
3330 |
|
3331 </code> |
|
3332 |
|
3333 <div class="description" property="yui:description"> |
|
3334 Fires when the value for the configuration attribute 'rail' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3335 </div> |
|
3336 |
|
3337 <div class="description"> |
|
3338 |
|
3339 |
|
3340 <dl rel="yui:parameters"> |
|
3341 <dt>Parameters:</dt> |
|
3342 <dd rel="yui:parameter"> |
|
3343 <code><span property="yui:name">event</span> |
|
3344 <<span property="yui:type">Event.Facade</span>> |
|
3345 </code> |
|
3346 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3347 </dd> |
|
3348 |
|
3349 </dl> |
|
3350 |
|
3351 |
|
3352 </div> |
|
3353 |
|
3354 </div> |
|
3355 <hr /> |
|
3356 </div> |
|
3357 <div class="" rel="yui:event" resource="#event_railEnabledChange"> |
|
3358 <h4> |
|
3359 <a name="event_railEnabledChange">railEnabledChange</a></h4> |
|
3360 <div class="detail"> |
|
3361 <code> |
|
3362 |
|
3363 |
|
3364 |
|
3365 <strong property="yui:name">railEnabledChange</strong> |
|
3366 |
|
3367 ( |
|
3368 |
|
3369 |
|
3370 event |
|
3371 |
|
3372 |
|
3373 ) |
|
3374 |
|
3375 </code> |
|
3376 |
|
3377 <div class="description" property="yui:description"> |
|
3378 Fires when the value for the configuration attribute 'railEnabled' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3379 </div> |
|
3380 |
|
3381 <div class="description"> |
|
3382 |
|
3383 |
|
3384 <dl rel="yui:parameters"> |
|
3385 <dt>Parameters:</dt> |
|
3386 <dd rel="yui:parameter"> |
|
3387 <code><span property="yui:name">event</span> |
|
3388 <<span property="yui:type">Event.Facade</span>> |
|
3389 </code> |
|
3390 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3391 </dd> |
|
3392 |
|
3393 </dl> |
|
3394 |
|
3395 |
|
3396 </div> |
|
3397 |
|
3398 </div> |
|
3399 <hr /> |
|
3400 </div> |
|
3401 <div class="" rel="yui:event" resource="#event_railSizeChange"> |
|
3402 <h4> |
|
3403 <a name="event_railSizeChange">railSizeChange</a></h4> |
|
3404 <div class="detail"> |
|
3405 <code> |
|
3406 |
|
3407 |
|
3408 |
|
3409 <strong property="yui:name">railSizeChange</strong> |
|
3410 |
|
3411 ( |
|
3412 |
|
3413 |
|
3414 event |
|
3415 |
|
3416 |
|
3417 ) |
|
3418 |
|
3419 </code> |
|
3420 |
|
3421 <div class="description" property="yui:description"> |
|
3422 Fires when the value for the configuration attribute 'railSize' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3423 </div> |
|
3424 |
|
3425 <div class="description"> |
|
3426 |
|
3427 |
|
3428 <dl rel="yui:parameters"> |
|
3429 <dt>Parameters:</dt> |
|
3430 <dd rel="yui:parameter"> |
|
3431 <code><span property="yui:name">event</span> |
|
3432 <<span property="yui:type">Event.Facade</span>> |
|
3433 </code> |
|
3434 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3435 </dd> |
|
3436 |
|
3437 </dl> |
|
3438 |
|
3439 |
|
3440 </div> |
|
3441 |
|
3442 </div> |
|
3443 <hr /> |
|
3444 </div> |
|
3445 <div class="" rel="yui:event" resource="#event_slideEnd"> |
|
3446 <h4> |
|
3447 <a name="event_slideEnd">slideEnd</a></h4> |
|
3448 <div class="detail"> |
|
3449 <code> |
|
3450 |
|
3451 |
|
3452 |
|
3453 <strong property="yui:name">slideEnd</strong> |
|
3454 |
|
3455 ( |
|
3456 |
|
3457 |
|
3458 event |
|
3459 |
|
3460 |
|
3461 ) |
|
3462 |
|
3463 </code> |
|
3464 |
|
3465 <div class="description" property="yui:description"> |
|
3466 Signals the end of a thumb drag operation. Payload includes |
|
3467 the DD.Drag instance's drag:end event under key ddEvent. |
|
3468 </div> |
|
3469 |
|
3470 <div class="description"> |
|
3471 |
|
3472 |
|
3473 <dl rel="yui:parameters"> |
|
3474 <dt>Parameters:</dt> |
|
3475 <dd rel="yui:parameter"> |
|
3476 <code><span property="yui:name">event</span> |
|
3477 <<span property="yui:type">Event.Facade</span>> |
|
3478 </code> |
|
3479 <span property="yui:description"> An Event Facade object with the following attribute specific properties added: |
|
3480 <dl> |
|
3481 <dt>ddEvent</dt> |
|
3482 <dd><code>drag:end</code> event from the managed DD.Drag instance</dd> |
|
3483 </dl></span> |
|
3484 </dd> |
|
3485 |
|
3486 </dl> |
|
3487 |
|
3488 |
|
3489 </div> |
|
3490 |
|
3491 </div> |
|
3492 <hr /> |
|
3493 </div> |
|
3494 <div class="" rel="yui:event" resource="#event_slideStart"> |
|
3495 <h4> |
|
3496 <a name="event_slideStart">slideStart</a></h4> |
|
3497 <div class="detail"> |
|
3498 <code> |
|
3499 |
|
3500 |
|
3501 |
|
3502 <strong property="yui:name">slideStart</strong> |
|
3503 |
|
3504 ( |
|
3505 |
|
3506 |
|
3507 event |
|
3508 |
|
3509 |
|
3510 ) |
|
3511 |
|
3512 </code> |
|
3513 |
|
3514 <div class="description" property="yui:description"> |
|
3515 Signals the beginning of a thumb drag operation. Payload includes |
|
3516 the DD.Drag instance's drag:start event under key ddEvent. |
|
3517 </div> |
|
3518 |
|
3519 <div class="description"> |
|
3520 |
|
3521 |
|
3522 <dl rel="yui:parameters"> |
|
3523 <dt>Parameters:</dt> |
|
3524 <dd rel="yui:parameter"> |
|
3525 <code><span property="yui:name">event</span> |
|
3526 <<span property="yui:type">Event.Facade</span>> |
|
3527 </code> |
|
3528 <span property="yui:description"> An Event Facade object with the following attribute specific properties added: |
|
3529 <dl> |
|
3530 <dt>ddEvent</dt> |
|
3531 <dd><code>drag:start</code> event from the managed DD.Drag instance</dd> |
|
3532 </dl></span> |
|
3533 </dd> |
|
3534 |
|
3535 </dl> |
|
3536 |
|
3537 |
|
3538 </div> |
|
3539 |
|
3540 </div> |
|
3541 <hr /> |
|
3542 </div> |
|
3543 <div class="" rel="yui:event" resource="#event_sync"> |
|
3544 <h4> |
|
3545 <a name="event_sync">sync</a></h4> |
|
3546 <div class="detail"> |
|
3547 <code> |
|
3548 |
|
3549 |
|
3550 |
|
3551 <strong property="yui:name">sync</strong> |
|
3552 |
|
3553 ( |
|
3554 |
|
3555 |
|
3556 event |
|
3557 |
|
3558 |
|
3559 ) |
|
3560 |
|
3561 </code> |
|
3562 |
|
3563 <div class="description" property="yui:description"> |
|
3564 Communicates a request to synchronize the Slider UI with the |
|
3565 attribute state. Links the sync request with the default sync |
|
3566 logic in _defSyncFn. |
|
3567 </div> |
|
3568 |
|
3569 <div class="description"> |
|
3570 |
|
3571 |
|
3572 <dl rel="yui:parameters"> |
|
3573 <dt>Parameters:</dt> |
|
3574 <dd rel="yui:parameter"> |
|
3575 <code><span property="yui:name">event</span> |
|
3576 <<span property="yui:type">Event.Facade</span>> |
|
3577 </code> |
|
3578 <span property="yui:description"> Event Facade object</span> |
|
3579 </dd> |
|
3580 |
|
3581 </dl> |
|
3582 |
|
3583 <div class="preventable"> |
|
3584 <strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is _defSyncFn. |
|
3585 </div> |
|
3586 |
|
3587 </div> |
|
3588 |
|
3589 </div> |
|
3590 <hr /> |
|
3591 </div> |
|
3592 <div class="" rel="yui:event" resource="#event_thumbChange"> |
|
3593 <h4> |
|
3594 <a name="event_thumbChange">thumbChange</a></h4> |
|
3595 <div class="detail"> |
|
3596 <code> |
|
3597 |
|
3598 |
|
3599 |
|
3600 <strong property="yui:name">thumbChange</strong> |
|
3601 |
|
3602 ( |
|
3603 |
|
3604 |
|
3605 event |
|
3606 |
|
3607 |
|
3608 ) |
|
3609 |
|
3610 </code> |
|
3611 |
|
3612 <div class="description" property="yui:description"> |
|
3613 Fires when the value for the configuration attribute 'thumb' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3614 </div> |
|
3615 |
|
3616 <div class="description"> |
|
3617 |
|
3618 |
|
3619 <dl rel="yui:parameters"> |
|
3620 <dt>Parameters:</dt> |
|
3621 <dd rel="yui:parameter"> |
|
3622 <code><span property="yui:name">event</span> |
|
3623 <<span property="yui:type">Event.Facade</span>> |
|
3624 </code> |
|
3625 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3626 </dd> |
|
3627 |
|
3628 </dl> |
|
3629 |
|
3630 |
|
3631 </div> |
|
3632 |
|
3633 </div> |
|
3634 <hr /> |
|
3635 </div> |
|
3636 <div class="" rel="yui:event" resource="#event_thumbDrag"> |
|
3637 <h4> |
|
3638 <a name="event_thumbDrag">thumbDrag</a></h4> |
|
3639 <div class="detail"> |
|
3640 <code> |
|
3641 |
|
3642 |
|
3643 |
|
3644 <strong property="yui:name">thumbDrag</strong> |
|
3645 |
|
3646 ( |
|
3647 |
|
3648 |
|
3649 event |
|
3650 |
|
3651 |
|
3652 ) |
|
3653 |
|
3654 </code> |
|
3655 |
|
3656 <div class="description" property="yui:description"> |
|
3657 Bridges user interaction with the thumb to the value attribute. |
|
3658 </div> |
|
3659 |
|
3660 <div class="description"> |
|
3661 |
|
3662 |
|
3663 <dl rel="yui:parameters"> |
|
3664 <dt>Parameters:</dt> |
|
3665 <dd rel="yui:parameter"> |
|
3666 <code><span property="yui:name">event</span> |
|
3667 <<span property="yui:type">Event.Facade</span>> |
|
3668 </code> |
|
3669 <span property="yui:description"> An Event Facade object with the following attribute specific properties added: |
|
3670 <dl> |
|
3671 <dt>ddEvent</dt> |
|
3672 <dd><code>drag:drag</code> event from the managed DD.Drag instance</dd> |
|
3673 </dl></span> |
|
3674 </dd> |
|
3675 |
|
3676 </dl> |
|
3677 |
|
3678 <div class="preventable"> |
|
3679 <strong>Preventable:</strong> This event is preventable by method e.preventDefault(). The default function executed by this event is _defThumbDragFn. |
|
3680 </div> |
|
3681 |
|
3682 </div> |
|
3683 |
|
3684 </div> |
|
3685 <hr /> |
|
3686 </div> |
|
3687 <div class="" rel="yui:event" resource="#event_thumbImageChange"> |
|
3688 <h4> |
|
3689 <a name="event_thumbImageChange">thumbImageChange</a></h4> |
|
3690 <div class="detail"> |
|
3691 <code> |
|
3692 |
|
3693 |
|
3694 |
|
3695 <strong property="yui:name">thumbImageChange</strong> |
|
3696 |
|
3697 ( |
|
3698 |
|
3699 |
|
3700 event |
|
3701 |
|
3702 |
|
3703 ) |
|
3704 |
|
3705 </code> |
|
3706 |
|
3707 <div class="description" property="yui:description"> |
|
3708 Fires when the value for the configuration attribute 'thumbImage' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3709 </div> |
|
3710 |
|
3711 <div class="description"> |
|
3712 |
|
3713 |
|
3714 <dl rel="yui:parameters"> |
|
3715 <dt>Parameters:</dt> |
|
3716 <dd rel="yui:parameter"> |
|
3717 <code><span property="yui:name">event</span> |
|
3718 <<span property="yui:type">Event.Facade</span>> |
|
3719 </code> |
|
3720 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3721 </dd> |
|
3722 |
|
3723 </dl> |
|
3724 |
|
3725 |
|
3726 </div> |
|
3727 |
|
3728 </div> |
|
3729 <hr /> |
|
3730 </div> |
|
3731 <div class="" rel="yui:event" resource="#event_valueChange"> |
|
3732 <h4> |
|
3733 <a name="event_valueChange">valueChange</a></h4> |
|
3734 <div class="detail"> |
|
3735 <code> |
|
3736 |
|
3737 |
|
3738 |
|
3739 <strong property="yui:name">valueChange</strong> |
|
3740 |
|
3741 ( |
|
3742 |
|
3743 |
|
3744 event |
|
3745 |
|
3746 |
|
3747 ) |
|
3748 |
|
3749 </code> |
|
3750 |
|
3751 <div class="description" property="yui:description"> |
|
3752 Fires when the value for the configuration attribute 'value' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
3753 </div> |
|
3754 |
|
3755 <div class="description"> |
|
3756 |
|
3757 |
|
3758 <dl rel="yui:parameters"> |
|
3759 <dt>Parameters:</dt> |
|
3760 <dd rel="yui:parameter"> |
|
3761 <code><span property="yui:name">event</span> |
|
3762 <<span property="yui:type">Event.Facade</span>> |
|
3763 </code> |
|
3764 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
3765 </dd> |
|
3766 |
|
3767 </dl> |
|
3768 |
|
3769 |
|
3770 </div> |
|
3771 |
|
3772 </div> |
|
3773 <hr /> |
|
3774 </div> |
|
3775 </div> |
|
3776 </div> |
|
3777 |
|
3778 |
|
3779 <div rel="yui:inheritance"> |
|
3780 <div class="section field inheritance" rel="yui:superclass" resource="Widget.html"> |
|
3781 <h4>Events inherited from <a href="Widget.html" property="yui:name" title="Widget">Widget</a>:</h4> |
|
3782 <div class="content" rel="yui:events"> |
|
3783 <code> |
|
3784 <span rel="yui:event" resource="Widget.html#event_boundingBoxChange"> |
|
3785 <a class="" href="Widget.html#event_boundingBoxChange" property="yui:name" title="boundingBoxChange">boundingBoxChange</a><span class="">,</span> |
|
3786 </span> |
|
3787 <span rel="yui:event" resource="Widget.html#event_contentBoxChange"> |
|
3788 <a class="" href="Widget.html#event_contentBoxChange" property="yui:name" title="contentBoxChange">contentBoxChange</a><span class="">,</span> |
|
3789 </span> |
|
3790 <span rel="yui:event" resource="Widget.html#event_disabledChange"> |
|
3791 <a class="" href="Widget.html#event_disabledChange" property="yui:name" title="disabledChange">disabledChange</a><span class="">,</span> |
|
3792 </span> |
|
3793 <span rel="yui:event" resource="Widget.html#event_focusedChange"> |
|
3794 <a class="" href="Widget.html#event_focusedChange" property="yui:name" title="focusedChange">focusedChange</a><span class="">,</span> |
|
3795 </span> |
|
3796 <span rel="yui:event" resource="Widget.html#event_heightChange"> |
|
3797 <a class="" href="Widget.html#event_heightChange" property="yui:name" title="heightChange">heightChange</a><span class="">,</span> |
|
3798 </span> |
|
3799 <span rel="yui:event" resource="Widget.html#event_localeChange"> |
|
3800 <a class="" href="Widget.html#event_localeChange" property="yui:name" title="localeChange">localeChange</a><span class="">,</span> |
|
3801 </span> |
|
3802 <span rel="yui:event" resource="Widget.html#event_moveStylesChange"> |
|
3803 <a class="" href="Widget.html#event_moveStylesChange" property="yui:name" title="moveStylesChange">moveStylesChange</a><span class="">,</span> |
|
3804 </span> |
|
3805 <span rel="yui:event" resource="Widget.html#event_renderedChange"> |
|
3806 <a class="" href="Widget.html#event_renderedChange" property="yui:name" title="renderedChange">renderedChange</a><span class="">,</span> |
|
3807 </span> |
|
3808 <span rel="yui:event" resource="Widget.html#event_stringsChange"> |
|
3809 <a class="" href="Widget.html#event_stringsChange" property="yui:name" title="stringsChange">stringsChange</a><span class="">,</span> |
|
3810 </span> |
|
3811 <span rel="yui:event" resource="Widget.html#event_tabIndexChange"> |
|
3812 <a class="" href="Widget.html#event_tabIndexChange" property="yui:name" title="tabIndexChange">tabIndexChange</a><span class="">,</span> |
|
3813 </span> |
|
3814 <span rel="yui:event" resource="Widget.html#event_visibleChange"> |
|
3815 <a class="" href="Widget.html#event_visibleChange" property="yui:name" title="visibleChange">visibleChange</a><span class="">,</span> |
|
3816 </span> |
|
3817 <span rel="yui:event" resource="Widget.html#event_widget:contentUpdate"> |
|
3818 <a class="" href="Widget.html#event_widget:contentUpdate" property="yui:name" title="widget:contentUpdate">widget:contentUpdate</a><span class="">,</span> |
|
3819 </span> |
|
3820 <span rel="yui:event" resource="Widget.html#event_widget:render"> |
|
3821 <a class="" href="Widget.html#event_widget:render" property="yui:name" title="widget:render">widget:render</a><span class="">,</span> |
|
3822 </span> |
|
3823 <span rel="yui:event" resource="Widget.html#event_widthChange"> |
|
3824 <a class="" href="Widget.html#event_widthChange" property="yui:name" title="widthChange">widthChange</a><span class="">,</span> |
|
3825 </span> |
|
3826 |
|
3827 </code> |
|
3828 </div> |
|
3829 </div> |
|
3830 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
3831 <h4>Events inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
3832 <div class="content" rel="yui:events"> |
|
3833 <code> |
|
3834 <span rel="yui:event" resource="Base.html#event_destroy"> |
|
3835 <a class="" href="Base.html#event_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
3836 </span> |
|
3837 <span rel="yui:event" resource="Base.html#event_destroyedChange"> |
|
3838 <a class="" href="Base.html#event_destroyedChange" property="yui:name" title="destroyedChange">destroyedChange</a><span class="">,</span> |
|
3839 </span> |
|
3840 <span rel="yui:event" resource="Base.html#event_init"> |
|
3841 <a class="" href="Base.html#event_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
3842 </span> |
|
3843 <span rel="yui:event" resource="Base.html#event_initializedChange"> |
|
3844 <a class="" href="Base.html#event_initializedChange" property="yui:name" title="initializedChange">initializedChange</a><span class="">,</span> |
|
3845 </span> |
|
3846 |
|
3847 </code> |
|
3848 </div> |
|
3849 </div> |
|
3850 </div> |
|
3851 </div> |
|
3852 |
|
3853 <div rel="yui:attributes" resource="#configattributes"> |
|
3854 <div class="section field details"> |
|
3855 <h3 id="configattributes">Configuration Attributes</h3> |
|
3856 <div class="content"> |
|
3857 <div class="" rel="yui:attribute" resource="#config_axis"> |
|
3858 <h4><a name="config_axis">axis</a> |
|
3859 <code>- writeonce <span property="yui:type">String</span></code> |
|
3860 </h4> |
|
3861 <div class="detail"> |
|
3862 <div class="description" property="yui:description"> |
|
3863 Axis upon which the Slider's thumb moves. "x" for |
|
3864 horizontal, "y" for vertical. |
|
3865 </div> |
|
3866 </div> |
|
3867 |
|
3868 |
|
3869 <div class="default"> |
|
3870 Default Value: "x" |
|
3871 </div> |
|
3872 |
|
3873 <hr /> |
|
3874 </div> |
|
3875 <div class="" rel="yui:attribute" resource="#config_max"> |
|
3876 <h4><a name="config_max">max</a> |
|
3877 <code>- <span property="yui:type">Number</span></code> |
|
3878 </h4> |
|
3879 <div class="detail"> |
|
3880 <div class="description" property="yui:description"> |
|
3881 Value associated with the right or bottom most position of the thumb |
|
3882 on the rail. |
|
3883 </div> |
|
3884 </div> |
|
3885 |
|
3886 |
|
3887 <div class="default"> |
|
3888 Default Value: 100 |
|
3889 </div> |
|
3890 |
|
3891 <hr /> |
|
3892 </div> |
|
3893 <div class="" rel="yui:attribute" resource="#config_maxGutter"> |
|
3894 <h4><a name="config_maxGutter">maxGutter</a> |
|
3895 <code>- <span property="yui:type">Number</span></code> |
|
3896 </h4> |
|
3897 <div class="detail"> |
|
3898 <div class="description" property="yui:description"> |
|
3899 Like CSS padding, the distance in pixels from the inner bottom or |
|
3900 right edge of the rail node within which the thumb can travel. |
|
3901 Negative values allow the edge of the thumb to escape the rail node |
|
3902 boundaries. |
|
3903 </div> |
|
3904 </div> |
|
3905 |
|
3906 |
|
3907 <div class="default"> |
|
3908 Default Value: 0 |
|
3909 </div> |
|
3910 |
|
3911 <hr /> |
|
3912 </div> |
|
3913 <div class="" rel="yui:attribute" resource="#config_min"> |
|
3914 <h4><a name="config_min">min</a> |
|
3915 <code>- <span property="yui:type">Number</span></code> |
|
3916 </h4> |
|
3917 <div class="detail"> |
|
3918 <div class="description" property="yui:description"> |
|
3919 Value associated with the left or top most position of the thumb on |
|
3920 the rail. |
|
3921 </div> |
|
3922 </div> |
|
3923 |
|
3924 |
|
3925 <div class="default"> |
|
3926 Default Value: 0 |
|
3927 </div> |
|
3928 |
|
3929 <hr /> |
|
3930 </div> |
|
3931 <div class="" rel="yui:attribute" resource="#config_minGutter"> |
|
3932 <h4><a name="config_minGutter">minGutter</a> |
|
3933 <code>- <span property="yui:type">Number</span></code> |
|
3934 </h4> |
|
3935 <div class="detail"> |
|
3936 <div class="description" property="yui:description"> |
|
3937 Like CSS padding, the distance in pixels from the inner top or left |
|
3938 edge of the rail node within which the thumb can travel. Negative |
|
3939 values allow the edge of the thumb to escape the rail node |
|
3940 boundaries. |
|
3941 </div> |
|
3942 </div> |
|
3943 |
|
3944 |
|
3945 <div class="default"> |
|
3946 Default Value: 0 |
|
3947 </div> |
|
3948 |
|
3949 <hr /> |
|
3950 </div> |
|
3951 <div class="" rel="yui:attribute" resource="#config_rail"> |
|
3952 <h4><a name="config_rail">rail</a> |
|
3953 <code>- <span property="yui:type">Node</span></code> |
|
3954 </h4> |
|
3955 <div class="detail"> |
|
3956 <div class="description" property="yui:description"> |
|
3957 The Node representing the Slider's rail, usually visualized as a |
|
3958 bar of some sort using a background image, along which the thumb |
|
3959 moves. This Node contains the thumb Node. |
|
3960 </div> |
|
3961 </div> |
|
3962 |
|
3963 |
|
3964 <div class="default"> |
|
3965 Default Value: null |
|
3966 </div> |
|
3967 |
|
3968 <hr /> |
|
3969 </div> |
|
3970 <div class="" rel="yui:attribute" resource="#config_railEnabled"> |
|
3971 <h4><a name="config_railEnabled">railEnabled</a> |
|
3972 <code>- <span property="yui:type">Boolean</span></code> |
|
3973 </h4> |
|
3974 <div class="detail"> |
|
3975 <div class="description" property="yui:description"> |
|
3976 Boolean indicating whether clicking and dragging on the rail will |
|
3977 trigger thumb movement. |
|
3978 </div> |
|
3979 </div> |
|
3980 |
|
3981 |
|
3982 <div class="default"> |
|
3983 Default Value: true |
|
3984 </div> |
|
3985 |
|
3986 <hr /> |
|
3987 </div> |
|
3988 <div class="" rel="yui:attribute" resource="#config_railSize"> |
|
3989 <h4><a name="config_railSize">railSize</a> |
|
3990 <code>- <span property="yui:type">String</span></code> |
|
3991 </h4> |
|
3992 <div class="detail"> |
|
3993 <div class="description" property="yui:description"> |
|
3994 <p>The width or height of the rail element representing the physical |
|
3995 space along which the thumb can move. CSS size values (e.g. '30em') |
|
3996 accepted but converted to pixels during render.</p> |
|
3997 <p>Alternately, but not recommended, this attribute can be left |
|
3998 unassigned in favor of specifying height or width.</p> |
|
3999 </div> |
|
4000 </div> |
|
4001 |
|
4002 |
|
4003 <div class="default"> |
|
4004 Default Value: '0' |
|
4005 </div> |
|
4006 |
|
4007 <hr /> |
|
4008 </div> |
|
4009 <div class="" rel="yui:attribute" resource="#config_thumb"> |
|
4010 <h4><a name="config_thumb">thumb</a> |
|
4011 <code>- <span property="yui:type">Node</span></code> |
|
4012 </h4> |
|
4013 <div class="detail"> |
|
4014 <div class="description" property="yui:description"> |
|
4015 <p>The Node representing the Slider's thumb, usually visualized as a |
|
4016 pointer using a contained image Node (see thumbImage). The current |
|
4017 value of the Slider is calculated from the centerpoint of this |
|
4018 Node in relation to the rail Node. If provided, the thumbImage |
|
4019 Node is contained within this Node.</p> |
|
4020 <p>If no thumbImage is provided and the Node passed as the thumb is |
|
4021 an <code>img</code> element, the assigned Node will be allocated to |
|
4022 the thumbImage and the thumb container defaulted.</p> |
|
4023 </div> |
|
4024 </div> |
|
4025 |
|
4026 |
|
4027 <div class="default"> |
|
4028 Default Value: null |
|
4029 </div> |
|
4030 |
|
4031 <hr /> |
|
4032 </div> |
|
4033 <div class="" rel="yui:attribute" resource="#config_thumbImage"> |
|
4034 <h4><a name="config_thumbImage">thumbImage</a> |
|
4035 <code>- <span property="yui:type">Node|String</span></code> |
|
4036 </h4> |
|
4037 <div class="detail"> |
|
4038 <div class="description" property="yui:description"> |
|
4039 <p>The Node representing the image element to use for the Slider's |
|
4040 thumb.</p> |
|
4041 <p>Alternately, an image URL can be passed and an <code>img</code> |
|
4042 Node will be generated accordingly.</p> |
|
4043 <p>If no thumbImage is provided and the Node passed as the thumb is |
|
4044 an <code>img</code> element, the assigned Node will be allocated to |
|
4045 the thumbImage and the thumb container defaulted.</p> |
|
4046 <p>If thumbImage is provided but its URL resolves to a 404, a default |
|
4047 style will be applied to maintain basic functionality.</p> |
|
4048 </div> |
|
4049 </div> |
|
4050 |
|
4051 |
|
4052 <div class="default"> |
|
4053 Default Value: null |
|
4054 </div> |
|
4055 |
|
4056 <hr /> |
|
4057 </div> |
|
4058 <div class="" rel="yui:attribute" resource="#config_value"> |
|
4059 <h4><a name="config_value">value</a> |
|
4060 <code>- <span property="yui:type">Number</span></code> |
|
4061 </h4> |
|
4062 <div class="detail"> |
|
4063 <div class="description" property="yui:description"> |
|
4064 The current value of the Slider. This value is interpretted into a |
|
4065 position for the thumb along the Slider's rail. |
|
4066 </div> |
|
4067 </div> |
|
4068 |
|
4069 |
|
4070 <div class="default"> |
|
4071 Default Value: 0 |
|
4072 </div> |
|
4073 |
|
4074 <hr /> |
|
4075 </div> |
|
4076 |
|
4077 </div> |
|
4078 </div> |
|
4079 |
|
4080 <div rel="yui:inheritance"> |
|
4081 <div class="section field inheritance" rel="yui:superclass" resource="Widget.html"> |
|
4082 <h4>Configuration attributes inherited from <a href="Widget.html" property="yui:name" title="Widget">Widget</a>:</h4> |
|
4083 <div class="content" rel="yui:attributes"> |
|
4084 <code> |
|
4085 <span rel="yui:attribute" resource="Widget.html#config_boundingBox"> |
|
4086 <a class="" href="Widget.html#config_boundingBox" property="yui:name" title="boundingBox">boundingBox</a><span class="">,</span> |
|
4087 </span> |
|
4088 <span rel="yui:attribute" resource="Widget.html#config_contentBox"> |
|
4089 <a class="" href="Widget.html#config_contentBox" property="yui:name" title="contentBox">contentBox</a><span class="">,</span> |
|
4090 </span> |
|
4091 <span rel="yui:attribute" resource="Widget.html#config_disabled"> |
|
4092 <a class="" href="Widget.html#config_disabled" property="yui:name" title="disabled">disabled</a><span class="">,</span> |
|
4093 </span> |
|
4094 <span rel="yui:attribute" resource="Widget.html#config_focused"> |
|
4095 <a class="" href="Widget.html#config_focused" property="yui:name" title="focused">focused</a><span class="">,</span> |
|
4096 </span> |
|
4097 <span rel="yui:attribute" resource="Widget.html#config_height"> |
|
4098 <a class="" href="Widget.html#config_height" property="yui:name" title="height">height</a><span class="">,</span> |
|
4099 </span> |
|
4100 <span rel="yui:attribute" resource="Widget.html#config_locale"> |
|
4101 <a class="" href="Widget.html#config_locale" property="yui:name" title="locale">locale</a><span class="">,</span> |
|
4102 </span> |
|
4103 <span rel="yui:attribute" resource="Widget.html#config_moveStyles"> |
|
4104 <a class="" href="Widget.html#config_moveStyles" property="yui:name" title="moveStyles">moveStyles</a><span class="">,</span> |
|
4105 </span> |
|
4106 <span rel="yui:attribute" resource="Widget.html#config_rendered"> |
|
4107 <a class="" href="Widget.html#config_rendered" property="yui:name" title="rendered">rendered</a><span class="">,</span> |
|
4108 </span> |
|
4109 <span rel="yui:attribute" resource="Widget.html#config_strings"> |
|
4110 <a class="" href="Widget.html#config_strings" property="yui:name" title="strings">strings</a><span class="">,</span> |
|
4111 </span> |
|
4112 <span rel="yui:attribute" resource="Widget.html#config_tabIndex"> |
|
4113 <a class="" href="Widget.html#config_tabIndex" property="yui:name" title="tabIndex">tabIndex</a><span class="">,</span> |
|
4114 </span> |
|
4115 <span rel="yui:attribute" resource="Widget.html#config_visible"> |
|
4116 <a class="" href="Widget.html#config_visible" property="yui:name" title="visible">visible</a><span class="">,</span> |
|
4117 </span> |
|
4118 <span rel="yui:attribute" resource="Widget.html#config_width"> |
|
4119 <a class="" href="Widget.html#config_width" property="yui:name" title="width">width</a><span class="">,</span> |
|
4120 </span> |
|
4121 |
|
4122 </code> |
|
4123 </div> |
|
4124 </div> |
|
4125 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
4126 <h4>Configuration attributes inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
4127 <div class="content" rel="yui:attributes"> |
|
4128 <code> |
|
4129 <span rel="yui:attribute" resource="Base.html#config_destroyed"> |
|
4130 <a class="" href="Base.html#config_destroyed" property="yui:name" title="destroyed">destroyed</a><span class="">,</span> |
|
4131 </span> |
|
4132 <span rel="yui:attribute" resource="Base.html#config_initialized"> |
|
4133 <a class="" href="Base.html#config_initialized" property="yui:name" title="initialized">initialized</a><span class="">,</span> |
|
4134 </span> |
|
4135 |
|
4136 </code> |
|
4137 </div> |
|
4138 </div> |
|
4139 </div> |
|
4140 </div> |
|
4141 |
|
4142 </div> |
|
4143 </div> |
|
4144 <div class="yui-b"> |
|
4145 <div class="nav"> |
|
4146 |
|
4147 <div id="moduleList" class="module"> |
|
4148 <h4>Modules</h4> |
|
4149 <ul class="content"> |
|
4150 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
4151 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
4152 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
4153 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
4154 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
4155 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
4156 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
4157 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
4158 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
4159 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
4160 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
4161 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
4162 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
4163 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
4164 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
4165 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
4166 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
4167 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
4168 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
4169 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
4170 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
4171 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
4172 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
4173 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
4174 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
4175 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
4176 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
4177 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
4178 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
4179 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
4180 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
4181 <li class="selected"><a href="module_slider.html" title="slider">slider</a></li> |
|
4182 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
4183 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
4184 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
4185 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
4186 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
4187 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
4188 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
4189 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
4190 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
4191 </ul> |
|
4192 </div> |
|
4193 |
|
4194 <div id="classList" class="module"> |
|
4195 <h4>Classes</h4> |
|
4196 <ul class="content"> |
|
4197 <li class="selected"><a href="Slider.html" title="Slider">Slider</a></li> |
|
4198 </ul> |
|
4199 </div> |
|
4200 |
|
4201 <div id="fileList" class="module"> |
|
4202 <h4>Files</h4> |
|
4203 <ul class="content"> |
|
4204 <li class=""><a href="slider.js.html" title="slider.js">slider.js</a></li> |
|
4205 </ul> |
|
4206 </div> |
|
4207 |
|
4208 <div id="propertyList" class="module"> |
|
4209 <h4>Properties</h4> |
|
4210 <ul class="content"> |
|
4211 <li class="protected"><a href="#property__disabled" title="_disabled">_disabled</a></li> |
|
4212 <li class="protected"><a href="#property__factor" title="_factor">_factor</a></li> |
|
4213 <li class="protected"><a href="#property__key" title="_key">_key</a></li> |
|
4214 <li class="protected"><a href="#property__railSize" title="_railSize">_railSize</a></li> |
|
4215 <li class="protected"><a href="#property__stall" title="_stall">_stall</a></li> |
|
4216 <li class="protected"><a href="#property__thumbOffset" title="_thumbOffset">_thumbOffset</a></li> |
|
4217 <li class="protected"><a href="#property__thumbSize" title="_thumbSize">_thumbSize</a></li> |
|
4218 <li class="protected"><a href="#property_Slider._AXIS_KEYS" title="Slider._AXIS_KEYS">Slider._AXIS_KEYS</a></li> |
|
4219 <li class="protected"><a href="#property_Slider.ATTRS" title="Slider.ATTRS">Slider.ATTRS</a></li> |
|
4220 <li class="protected"><a href="#property_Slider.HTML_PARSER" title="Slider.HTML_PARSER">Slider.HTML_PARSER</a></li> |
|
4221 <li class=""><a href="#property_Slider.NAME" title="Slider.NAME">Slider.NAME</a></li> |
|
4222 </ul> |
|
4223 </div> |
|
4224 |
|
4225 <div id="methodsList" class="module"> |
|
4226 <h4>Methods</h4> |
|
4227 <ul class="content"> |
|
4228 <li class="protected"><a href="#method__afterDisabledChange" title="_afterDisabledChange">_afterDisabledChange</a></li> |
|
4229 <li class="protected"><a href="#method__afterMaxChange" title="_afterMaxChange">_afterMaxChange</a></li> |
|
4230 <li class="protected"><a href="#method__afterMinChange" title="_afterMinChange">_afterMinChange</a></li> |
|
4231 <li class="protected"><a href="#method__afterRailSizeChange" title="_afterRailSizeChange">_afterRailSizeChange</a></li> |
|
4232 <li class="protected"><a href="#method__afterThumbChange" title="_afterThumbChange">_afterThumbChange</a></li> |
|
4233 <li class="protected"><a href="#method__afterThumbImageChange" title="_afterThumbImageChange">_afterThumbImageChange</a></li> |
|
4234 <li class="protected"><a href="#method__afterValueChange" title="_afterValueChange">_afterValueChange</a></li> |
|
4235 <li class="protected"><a href="#method__bindThumbDD" title="_bindThumbDD">_bindThumbDD</a></li> |
|
4236 <li class="protected"><a href="#method__convertOffsetToValue" title="_convertOffsetToValue">_convertOffsetToValue</a></li> |
|
4237 <li class="protected"><a href="#method__convertValueToOffset" title="_convertValueToOffset">_convertValueToOffset</a></li> |
|
4238 <li class="protected"><a href="#method__defPositionThumbFn" title="_defPositionThumbFn">_defPositionThumbFn</a></li> |
|
4239 <li class="protected"><a href="#method__defSyncFn" title="_defSyncFn">_defSyncFn</a></li> |
|
4240 <li class="protected"><a href="#method__defThumbDragFn" title="_defThumbDragFn">_defThumbDragFn</a></li> |
|
4241 <li class="protected"><a href="#method__handleRailMouseDown" title="_handleRailMouseDown">_handleRailMouseDown</a></li> |
|
4242 <li class="protected"><a href="#method__imageLoaded" title="_imageLoaded">_imageLoaded</a></li> |
|
4243 <li class="protected"><a href="#method__initRail" title="_initRail">_initRail</a></li> |
|
4244 <li class="protected"><a href="#method__initRailDD" title="_initRailDD">_initRailDD</a></li> |
|
4245 <li class="protected"><a href="#method__initThumb" title="_initThumb">_initThumb</a></li> |
|
4246 <li class="protected"><a href="#method__initThumbImage" title="_initThumbImage">_initThumbImage</a></li> |
|
4247 <li class="protected"><a href="#method__isDisplayNone" title="_isDisplayNone">_isDisplayNone</a></li> |
|
4248 <li class="protected"><a href="#method__isImageLoaded" title="_isImageLoaded">_isImageLoaded</a></li> |
|
4249 <li class="protected"><a href="#method__isImageLoading" title="_isImageLoading">_isImageLoading</a></li> |
|
4250 <li class="protected"><a href="#method__onDDDrag" title="_onDDDrag">_onDDDrag</a></li> |
|
4251 <li class="protected"><a href="#method__onDDEndDrag" title="_onDDEndDrag">_onDDEndDrag</a></li> |
|
4252 <li class="protected"><a href="#method__onDDStartDrag" title="_onDDStartDrag">_onDDStartDrag</a></li> |
|
4253 <li class="protected"><a href="#method__ready" title="_ready">_ready</a></li> |
|
4254 <li class="protected"><a href="#method__refresh" title="_refresh">_refresh</a></li> |
|
4255 <li class="protected"><a href="#method__resetDDCacheRegion" title="_resetDDCacheRegion">_resetDDCacheRegion</a></li> |
|
4256 <li class="protected"><a href="#method__scheduleSync" title="_scheduleSync">_scheduleSync</a></li> |
|
4257 <li class="protected"><a href="#method__setAxisFn" title="_setAxisFn">_setAxisFn</a></li> |
|
4258 <li class="protected"><a href="#method__setDDGutter" title="_setDDGutter">_setDDGutter</a></li> |
|
4259 <li class="protected"><a href="#method__setFactor" title="_setFactor">_setFactor</a></li> |
|
4260 <li class="protected"><a href="#method__setRailFn" title="_setRailFn">_setRailFn</a></li> |
|
4261 <li class="protected"><a href="#method__setRailOffsetXY" title="_setRailOffsetXY">_setRailOffsetXY</a></li> |
|
4262 <li class="protected"><a href="#method__setThumbFn" title="_setThumbFn">_setThumbFn</a></li> |
|
4263 <li class="protected"><a href="#method__setThumbImageFn" title="_setThumbImageFn">_setThumbImageFn</a></li> |
|
4264 <li class="protected"><a href="#method__setThumbOffset" title="_setThumbOffset">_setThumbOffset</a></li> |
|
4265 <li class="protected"><a href="#method__stallDisabledChange" title="_stallDisabledChange">_stallDisabledChange</a></li> |
|
4266 <li class="protected"><a href="#method__uiPositionThumb" title="_uiPositionThumb">_uiPositionThumb</a></li> |
|
4267 <li class="protected"><a href="#method__uiSetRailSize" title="_uiSetRailSize">_uiSetRailSize</a></li> |
|
4268 <li class="protected"><a href="#method__uiSetThumbSize" title="_uiSetThumbSize">_uiSetThumbSize</a></li> |
|
4269 <li class="protected"><a href="#method__validateNewAxis" title="_validateNewAxis">_validateNewAxis</a></li> |
|
4270 <li class="protected"><a href="#method__validateNewMax" title="_validateNewMax">_validateNewMax</a></li> |
|
4271 <li class="protected"><a href="#method__validateNewMin" title="_validateNewMin">_validateNewMin</a></li> |
|
4272 <li class="protected"><a href="#method__validateNewRail" title="_validateNewRail">_validateNewRail</a></li> |
|
4273 <li class="protected"><a href="#method__validateNewRailSize" title="_validateNewRailSize">_validateNewRailSize</a></li> |
|
4274 <li class="protected"><a href="#method__validateNewThumb" title="_validateNewThumb">_validateNewThumb</a></li> |
|
4275 <li class="protected"><a href="#method__validateNewThumbImage" title="_validateNewThumbImage">_validateNewThumbImage</a></li> |
|
4276 <li class="protected"><a href="#method__validateNewValue" title="_validateNewValue">_validateNewValue</a></li> |
|
4277 <li class="protected"><a href="#method_bindUI" title="bindUI">bindUI</a></li> |
|
4278 <li class=""><a href="#method_getValue" title="getValue">getValue</a></li> |
|
4279 <li class="protected"><a href="#method_initializer" title="initializer">initializer</a></li> |
|
4280 <li class="protected"><a href="#method_renderUI" title="renderUI">renderUI</a></li> |
|
4281 <li class=""><a href="#method_setValue" title="setValue">setValue</a></li> |
|
4282 <li class=""><a href="#method_syncUI" title="syncUI">syncUI</a></li> |
|
4283 </ul> |
|
4284 </div> |
|
4285 |
|
4286 <div id="eventsList" class="module"> |
|
4287 <h4>Events</h4> |
|
4288 <ul class="content"> |
|
4289 <li class=""><a href="#event_axisChange" title="axisChange">axisChange</a></li> |
|
4290 <li class=""><a href="#event_maxChange" title="maxChange">maxChange</a></li> |
|
4291 <li class=""><a href="#event_maxGutterChange" title="maxGutterChange">maxGutterChange</a></li> |
|
4292 <li class=""><a href="#event_minChange" title="minChange">minChange</a></li> |
|
4293 <li class=""><a href="#event_minGutterChange" title="minGutterChange">minGutterChange</a></li> |
|
4294 <li class=""><a href="#event_positionThumb" title="positionThumb">positionThumb</a></li> |
|
4295 <li class=""><a href="#event_railChange" title="railChange">railChange</a></li> |
|
4296 <li class=""><a href="#event_railEnabledChange" title="railEnabledChange">railEnabledChange</a></li> |
|
4297 <li class=""><a href="#event_railSizeChange" title="railSizeChange">railSizeChange</a></li> |
|
4298 <li class=""><a href="#event_slideEnd" title="slideEnd">slideEnd</a></li> |
|
4299 <li class=""><a href="#event_slideStart" title="slideStart">slideStart</a></li> |
|
4300 <li class=""><a href="#event_sync" title="sync">sync</a></li> |
|
4301 <li class=""><a href="#event_thumbChange" title="thumbChange">thumbChange</a></li> |
|
4302 <li class=""><a href="#event_thumbDrag" title="thumbDrag">thumbDrag</a></li> |
|
4303 <li class=""><a href="#event_thumbImageChange" title="thumbImageChange">thumbImageChange</a></li> |
|
4304 <li class=""><a href="#event_valueChange" title="valueChange">valueChange</a></li> |
|
4305 </ul> |
|
4306 </div> |
|
4307 |
|
4308 <div id="configList" class="module"> |
|
4309 <h4>Configuration Attributes</h4> |
|
4310 <ul class="content"> |
|
4311 <li class=""><a href="#config_axis" title="axis">axis</a></li> |
|
4312 <li class=""><a href="#config_max" title="max">max</a></li> |
|
4313 <li class=""><a href="#config_maxGutter" title="maxGutter">maxGutter</a></li> |
|
4314 <li class=""><a href="#config_min" title="min">min</a></li> |
|
4315 <li class=""><a href="#config_minGutter" title="minGutter">minGutter</a></li> |
|
4316 <li class=""><a href="#config_rail" title="rail">rail</a></li> |
|
4317 <li class=""><a href="#config_railEnabled" title="railEnabled">railEnabled</a></li> |
|
4318 <li class=""><a href="#config_railSize" title="railSize">railSize</a></li> |
|
4319 <li class=""><a href="#config_thumb" title="thumb">thumb</a></li> |
|
4320 <li class=""><a href="#config_thumbImage" title="thumbImage">thumbImage</a></li> |
|
4321 <li class=""><a href="#config_value" title="value">value</a></li> |
|
4322 </ul> |
|
4323 </div> |
|
4324 |
|
4325 </div> |
|
4326 </div> |
|
4327 </div> |
|
4328 <div id="ft"> |
|
4329 <hr /> |
|
4330 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
4331 </div> |
|
4332 </div> |
|
4333 <script type="text/javascript"> |
|
4334 ALL_YUI_PROPS = [{"access": "protected", "host": "Slider", "name": "_afterDisabledChange", "url": "Slider.html#method__afterDisabledChange", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_afterMaxChange", "url": "Slider.html#method__afterMaxChange", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_afterMinChange", "url": "Slider.html#method__afterMinChange", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_afterRailSizeChange", "url": "Slider.html#method__afterRailSizeChange", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_afterThumbChange", "url": "Slider.html#method__afterThumbChange", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_afterThumbImageChange", "url": "Slider.html#method__afterThumbImageChange", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_afterValueChange", "url": "Slider.html#method__afterValueChange", "type": "method"}, {"access": "", "host": "Slider", "name": "axis", "url": "Slider.html#config_axis", "type": "config"}, {"access": "", "host": "Slider", "name": "axisChange", "url": "Slider.html#event_axisChange", "type": "event"}, {"access": "protected", "host": "Slider", "name": "_bindThumbDD", "url": "Slider.html#method__bindThumbDD", "type": "method"}, {"access": "protected", "host": "Slider", "name": "bindUI", "url": "Slider.html#method_bindUI", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_convertOffsetToValue", "url": "Slider.html#method__convertOffsetToValue", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_convertValueToOffset", "url": "Slider.html#method__convertValueToOffset", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_defPositionThumbFn", "url": "Slider.html#method__defPositionThumbFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_defSyncFn", "url": "Slider.html#method__defSyncFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_defThumbDragFn", "url": "Slider.html#method__defThumbDragFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_disabled", "url": "Slider.html#property__disabled", "type": "property"}, {"access": "protected", "host": "Slider", "name": "_factor", "url": "Slider.html#property__factor", "type": "property"}, {"access": "", "host": "Slider", "name": "getValue", "url": "Slider.html#method_getValue", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_handleRailMouseDown", "url": "Slider.html#method__handleRailMouseDown", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_imageLoaded", "url": "Slider.html#method__imageLoaded", "type": "method"}, {"access": "protected", "host": "Slider", "name": "initializer", "url": "Slider.html#method_initializer", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_initRail", "url": "Slider.html#method__initRail", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_initRailDD", "url": "Slider.html#method__initRailDD", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_initThumb", "url": "Slider.html#method__initThumb", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_initThumbImage", "url": "Slider.html#method__initThumbImage", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_isDisplayNone", "url": "Slider.html#method__isDisplayNone", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_isImageLoaded", "url": "Slider.html#method__isImageLoaded", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_isImageLoading", "url": "Slider.html#method__isImageLoading", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_key", "url": "Slider.html#property__key", "type": "property"}, {"access": "", "host": "Slider", "name": "max", "url": "Slider.html#config_max", "type": "config"}, {"access": "", "host": "Slider", "name": "maxChange", "url": "Slider.html#event_maxChange", "type": "event"}, {"access": "", "host": "Slider", "name": "maxGutter", "url": "Slider.html#config_maxGutter", "type": "config"}, {"access": "", "host": "Slider", "name": "maxGutterChange", "url": "Slider.html#event_maxGutterChange", "type": "event"}, {"access": "", "host": "Slider", "name": "min", "url": "Slider.html#config_min", "type": "config"}, {"access": "", "host": "Slider", "name": "minChange", "url": "Slider.html#event_minChange", "type": "event"}, {"access": "", "host": "Slider", "name": "minGutter", "url": "Slider.html#config_minGutter", "type": "config"}, {"access": "", "host": "Slider", "name": "minGutterChange", "url": "Slider.html#event_minGutterChange", "type": "event"}, {"access": "protected", "host": "Slider", "name": "_onDDDrag", "url": "Slider.html#method__onDDDrag", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_onDDEndDrag", "url": "Slider.html#method__onDDEndDrag", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_onDDStartDrag", "url": "Slider.html#method__onDDStartDrag", "type": "method"}, {"access": "", "host": "Slider", "name": "positionThumb", "url": "Slider.html#event_positionThumb", "type": "event"}, {"access": "", "host": "Slider", "name": "rail", "url": "Slider.html#config_rail", "type": "config"}, {"access": "", "host": "Slider", "name": "railChange", "url": "Slider.html#event_railChange", "type": "event"}, {"access": "", "host": "Slider", "name": "railEnabled", "url": "Slider.html#config_railEnabled", "type": "config"}, {"access": "", "host": "Slider", "name": "railEnabledChange", "url": "Slider.html#event_railEnabledChange", "type": "event"}, {"access": "protected", "host": "Slider", "name": "_railSize", "url": "Slider.html#property__railSize", "type": "property"}, {"access": "", "host": "Slider", "name": "railSize", "url": "Slider.html#config_railSize", "type": "config"}, {"access": "", "host": "Slider", "name": "railSizeChange", "url": "Slider.html#event_railSizeChange", "type": "event"}, {"access": "protected", "host": "Slider", "name": "_ready", "url": "Slider.html#method__ready", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_refresh", "url": "Slider.html#method__refresh", "type": "method"}, {"access": "protected", "host": "Slider", "name": "renderUI", "url": "Slider.html#method_renderUI", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_resetDDCacheRegion", "url": "Slider.html#method__resetDDCacheRegion", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_scheduleSync", "url": "Slider.html#method__scheduleSync", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setAxisFn", "url": "Slider.html#method__setAxisFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setDDGutter", "url": "Slider.html#method__setDDGutter", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setFactor", "url": "Slider.html#method__setFactor", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setRailFn", "url": "Slider.html#method__setRailFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setRailOffsetXY", "url": "Slider.html#method__setRailOffsetXY", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setThumbFn", "url": "Slider.html#method__setThumbFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setThumbImageFn", "url": "Slider.html#method__setThumbImageFn", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_setThumbOffset", "url": "Slider.html#method__setThumbOffset", "type": "method"}, {"access": "", "host": "Slider", "name": "setValue", "url": "Slider.html#method_setValue", "type": "method"}, {"access": "", "host": "Slider", "name": "slideEnd", "url": "Slider.html#event_slideEnd", "type": "event"}, {"access": "protected", "host": "Slider", "name": "Slider.ATTRS", "url": "Slider.html#property_Slider.ATTRS", "type": "property"}, {"access": "protected", "host": "Slider", "name": "Slider._AXIS_KEYS", "url": "Slider.html#property_Slider._AXIS_KEYS", "type": "property"}, {"access": "protected", "host": "Slider", "name": "Slider.HTML_PARSER", "url": "Slider.html#property_Slider.HTML_PARSER", "type": "property"}, {"access": "", "host": "Slider", "name": "Slider.NAME", "url": "Slider.html#property_Slider.NAME", "type": "property"}, {"access": "", "host": "Slider", "name": "slideStart", "url": "Slider.html#event_slideStart", "type": "event"}, {"access": "protected", "host": "Slider", "name": "_stall", "url": "Slider.html#property__stall", "type": "property"}, {"access": "protected", "host": "Slider", "name": "_stallDisabledChange", "url": "Slider.html#method__stallDisabledChange", "type": "method"}, {"access": "", "host": "Slider", "name": "sync", "url": "Slider.html#event_sync", "type": "event"}, {"access": "", "host": "Slider", "name": "syncUI", "url": "Slider.html#method_syncUI", "type": "method"}, {"access": "", "host": "Slider", "name": "thumb", "url": "Slider.html#config_thumb", "type": "config"}, {"access": "", "host": "Slider", "name": "thumbChange", "url": "Slider.html#event_thumbChange", "type": "event"}, {"access": "", "host": "Slider", "name": "thumbDrag", "url": "Slider.html#event_thumbDrag", "type": "event"}, {"access": "", "host": "Slider", "name": "thumbImage", "url": "Slider.html#config_thumbImage", "type": "config"}, {"access": "", "host": "Slider", "name": "thumbImageChange", "url": "Slider.html#event_thumbImageChange", "type": "event"}, {"access": "protected", "host": "Slider", "name": "_thumbOffset", "url": "Slider.html#property__thumbOffset", "type": "property"}, {"access": "protected", "host": "Slider", "name": "_thumbSize", "url": "Slider.html#property__thumbSize", "type": "property"}, {"access": "protected", "host": "Slider", "name": "_uiPositionThumb", "url": "Slider.html#method__uiPositionThumb", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_uiSetRailSize", "url": "Slider.html#method__uiSetRailSize", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_uiSetThumbSize", "url": "Slider.html#method__uiSetThumbSize", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewAxis", "url": "Slider.html#method__validateNewAxis", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewMax", "url": "Slider.html#method__validateNewMax", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewMin", "url": "Slider.html#method__validateNewMin", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewRail", "url": "Slider.html#method__validateNewRail", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewRailSize", "url": "Slider.html#method__validateNewRailSize", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewThumb", "url": "Slider.html#method__validateNewThumb", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewThumbImage", "url": "Slider.html#method__validateNewThumbImage", "type": "method"}, {"access": "protected", "host": "Slider", "name": "_validateNewValue", "url": "Slider.html#method__validateNewValue", "type": "method"}, {"access": "", "host": "Slider", "name": "value", "url": "Slider.html#config_value", "type": "config"}, {"access": "", "host": "Slider", "name": "valueChange", "url": "Slider.html#event_valueChange", "type": "event"}]; |
|
4335 </script> |
|
4336 </body> |
|
4337 </html> |