docs/symbols
[roojs1] / docs / symbols / Roo.util.ClickRepeater.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.util.ClickRepeater</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.util.ClickRepeater-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.util.ClickRepeater-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.util.ClickRepeater-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.util.ClickRepeater-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38         <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.util.ClickRepeater 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.util.ClickRepeater
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.util</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_util_ClickRepeater.js.html">Roo/util/ClickRepeater.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">ClickRepeater</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         A wrapper class which can be applied to any element. Fires a "click" event while the<br/>mouse is pressed. The interval between firings may be specified in the config but<br/>defaults to 10 milliseconds.<br/><br/>Optionally, a CSS class may be applied to the element during the time it is pressed.
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.util.ClickRepeater';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.util" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.util.ClickRepeater.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.util.ClickRepeater-configs"></a>
108                 
109     
110      
111     
112         
113       <table cellspacing="0" class="member-table">   
114       <caption>Config Options (Usually are also Properties)</caption>
115     
116         
117         <tr>
118             <th class="sig-header" colspan="2">Options</th>
119             
120             <th class="msource-header">Defined By</th>
121         </tr>
122         
123         
124         
125         
126         
127                 <tr class="config-row expandable config-row-alt0 notInherited">
128                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
129                     <td class="sig">
130
131                         <a id="Roo.util.ClickRepeater-cfg-accelerate" name=".accelerate"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">accelerate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">True if autorepeating should start slowly and accelerate.</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">True if autorepeating should start slowly and accelerate.<br/>          "interval" and "delay" are ignored. "immediate" is honored.</div> 
144                         </div>
145                         
146                         
147
148                     </td>
149                     <td class="msource">
150                         
151                         Roo.util.ClickRepeater
152                                 
153                     </td>
154                 </tr>
155         
156         
157                 <tr class="config-row expandable config-row-alt1 notInherited">
158                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
159                     <td class="sig">
160
161                         <a id="Roo.util.ClickRepeater-cfg-delay" name=".delay"></a>
162                         <div class="fixedFont">
163                                 <b  class="itemname">delay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
164                                 
165                                 
166                         </div>
167                   
168                         <div class="mdesc">
169                             <div class="short">The initial delay before the repeating event begins firing.</div> 
170                         </div>
171                         
172                         <div class="mdesc">
173                             <div class="long">The initial delay before the repeating event begins firing.<br/>Similar to an autorepeat key delay.</div> 
174                         </div>
175                         
176                         
177
178                     </td>
179                     <td class="msource">
180                         
181                         Roo.util.ClickRepeater
182                                 
183                     </td>
184                 </tr>
185         
186         
187                 <tr class="config-row expandable config-row-alt0 notInherited">
188                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
189                     <td class="sig">
190
191                         <a id="Roo.util.ClickRepeater-cfg-el" name=".el"></a>
192                         <div class="fixedFont">
193                                 <b  class="itemname">el</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element
194                                 
195                                 
196                         </div>
197                   
198                         <div class="mdesc">
199                             <div class="short">The element to act as a button.</div> 
200                         </div>
201                         
202                         <div class="mdesc">
203                             <div class="long">The element to act as a button.</div> 
204                         </div>
205                         
206                         
207
208                     </td>
209                     <td class="msource">
210                         
211                         Roo.util.ClickRepeater
212                                 
213                     </td>
214                 </tr>
215         
216         
217                 <tr class="config-row expandable config-row-alt1 notInherited">
218                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
219                     <td class="sig">
220
221                         <a id="Roo.util.ClickRepeater-cfg-interval" name=".interval"></a>
222                         <div class="fixedFont">
223                                 <b  class="itemname">interval</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
224                                 
225                                 
226                         </div>
227                   
228                         <div class="mdesc">
229                             <div class="short">The interval between firings of the "click" event.</div> 
230                         </div>
231                         
232                         <div class="mdesc">
233                             <div class="long">The interval between firings of the "click" event. Default 10 ms.</div> 
234                         </div>
235                         
236                         
237
238                     </td>
239                     <td class="msource">
240                         
241                         Roo.util.ClickRepeater
242                                 
243                     </td>
244                 </tr>
245         
246         
247                 <tr class="config-row expandable config-row-alt0 notInherited">
248                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
249                     <td class="sig">
250
251                         <a id="Roo.util.ClickRepeater-cfg-pressClass" name=".pressClass"></a>
252                         <div class="fixedFont">
253                                 <b  class="itemname">pressClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
254                                 
255                                 
256                         </div>
257                   
258                         <div class="mdesc">
259                             <div class="short">A CSS class name to be applied to the element while pressed.</div> 
260                         </div>
261                         
262                         <div class="mdesc">
263                             <div class="long">A CSS class name to be applied to the element while pressed.</div> 
264                         </div>
265                         
266                         
267
268                     </td>
269                     <td class="msource">
270                         
271                         Roo.util.ClickRepeater
272                                 
273                     </td>
274                 </tr>
275         
276         
277                 <tr class="config-row expandable config-row-alt1 notInherited">
278                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
279                     <td class="sig">
280
281                         <a id="Roo.util.ClickRepeater-cfg-preventDefault" name=".preventDefault"></a>
282                         <div class="fixedFont">
283                                 <b  class="itemname">preventDefault</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
284                                 
285                                 
286                         </div>
287                   
288                         <div class="mdesc">
289                             <div class="short">True to prevent the default click event</div> 
290                         </div>
291                         
292                         <div class="mdesc">
293                             <div class="long">True to prevent the default click event</div> 
294                         </div>
295                         
296                         
297
298                     </td>
299                     <td class="msource">
300                         
301                         Roo.util.ClickRepeater
302                                 
303                     </td>
304                 </tr>
305         
306         
307                 <tr class="config-row expandable config-row-alt0 notInherited">
308                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
309                     <td class="sig">
310
311                         <a id="Roo.util.ClickRepeater-cfg-stopDefault" name=".stopDefault"></a>
312                         <div class="fixedFont">
313                                 <b  class="itemname">stopDefault</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
314                                 
315                                 
316                         </div>
317                   
318                         <div class="mdesc">
319                             <div class="short">True to stop the default click event</div> 
320                         </div>
321                         
322                         <div class="mdesc">
323                             <div class="long">True to stop the default click event</div> 
324                         </div>
325                         
326                         
327
328                     </td>
329                     <td class="msource">
330                         
331                         Roo.util.ClickRepeater
332                                 
333                     </td>
334                 </tr>
335         
336         
337     </table>
338                 
339   
340   
341   
342   
343   
344   
345   
346   
347   <!-- ============================== public properties ==================== -->        
348   
349   
350   
351     <a id="Roo.util.ClickRepeater-props"></a>      
352     
353     
354
355     
356     
357      <table cellspacing="0" class="member-table">
358       <caption class="Empty">Public Properties - Has None</caption>
359      </table>
360     
361     
362      
363     
364   <!-- ============================== methods summary / details ======================== -->
365   
366   
367   <a id="Roo.util.ClickRepeater-methods"></a>
368         <!-- constructor?? -->
369         
370         <!-- static's first 
371         
372         
373         -->
374         
375         <!-- then dynamics first -->
376         
377   
378   
379     
380     
381     
382       <table cellspacing="0" class="member-table">
383       <caption>Public Methods</caption>
384         <tr>
385             <th class="sig-header" colspan="2">Method</th>            
386             <th class="msource-header">Defined By</th>
387
388         </tr>
389         
390         
391         
392          
393         
394         
395           
396           <tr class="method-row config-row-alt0 expandable notInherited">
397             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
398            
399            
400             <td class="sig">
401                 <a id="Roo.util-method-ClickRepeater"   name=".ClickRepeater"></a>
402                 <div class="fixedFont">
403                         <span class="attributes">new <B>Roo.util.</B></span><b class="itemname">ClickRepeater</b>
404                                 
405                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
406                         
407                                 
408                         
409                 </div>
410                 <div class="mdesc">
411                 
412                  
413                         <div class="short">Create a new Roo.util.ClickRepeater</div> 
414                  
415                  
416                     <div class="long">
417                         
418                         
419                         
420                                 Create a new Roo.util.ClickRepeater
421                         
422                         
423                                 <dl class="detailList">
424                                 <dt class="heading">Parameters:</dt>
425                                 
426                                         <dt>
427                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span>  <b>el</b>
428                                                 
429                                         </dt>
430                                         <dd>The element to listen on</dd>
431                                 
432                                         <dt>
433                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>config</b>
434                                                 
435                                         </dt>
436                                         <dd></dd>
437                                 
438                                 </dl>
439                         
440                         
441                         
442                         
443                         
444                         
445                         
446
447                     
448                     
449                      
450                     </div>                    
451                 </div>
452
453             </td>
454             <td class="msource">
455                 &nbsp;
456             </td>
457         </tr>
458         
459                                                        
460     </table>
461
462   
463   <!-- ============================== events summary / details ======================== -->
464   
465   
466   <a id="Roo.util.ClickRepeater-events"></a>
467     
468   
469         
470    
471   
472     
473     
474     
475       <table cellspacing="0" class="member-table">
476                 <caption>Events</caption>
477               <thead>
478                 <tr>
479                     <th class="sig-header" colspan="2">Event</th>            
480                     <th class="msource-header">Defined By</th>
481
482                 </tr>
483               </thead>  
484         
485         
486          
487         
488         
489           <tr class="method-row expandable config-row-alt0 notInherited">
490             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
491             
492             <td class="sig">
493                 <a id="Roo.util.ClickRepeater-event-*click"></a>
494                 
495                <div class="fixedFont">
496                 <b class="itemname">click</b> (<a href="./Roo.util.ClickRepeater.html#constructor" roo:cls="Roo.util.ClickRepeater.html#constructor">Roo.util.ClickRepeater</a> <B><i>this</i></B>) 
497                 
498                 </div>
499
500                 <div class="mdesc">
501
502                    <div class="short">Fires on a specified interval during the time the element is pressed.
503                    
504                 </div> 
505                     
506                     <div class="long">
507                     
508                         Fires on a specified interval during the time the element is pressed.
509                     
510                         
511                         
512                 
513                         
514                                 <dl class="detailList">
515                                 <dt class="heading">Parameters:</dt>
516                                 
517                                         <dt>
518                                                 <span class="fixedFont"><a href="./Roo.util.ClickRepeater.html#constructor" roo:cls="Roo.util.ClickRepeater.html#constructor">Roo.util.ClickRepeater</a></span> <b>this</b>
519                                                 
520                                         </dt>
521                                         <dd></dd>
522                                 
523                                 </dl>
524                         
525                         
526                         
527                         
528                         
529                         
530                         
531
532                     
533                     
534                      
535                     </div>                    
536                 </div>
537
538             </td>
539             <td class="msource">
540                 Roo.util.ClickRepeater
541             </td>
542         </tr>
543         
544           <tr class="method-row expandable config-row-alt1 notInherited">
545             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
546             
547             <td class="sig">
548                 <a id="Roo.util.ClickRepeater-event-*mousedown"></a>
549                 
550                <div class="fixedFont">
551                 <b class="itemname">mousedown</b> (<a href="./Roo.util.ClickRepeater.html#constructor" roo:cls="Roo.util.ClickRepeater.html#constructor">Roo.util.ClickRepeater</a> <B><i>this</i></B>) 
552                 
553                 </div>
554
555                 <div class="mdesc">
556
557                    <div class="short">Fires when the mouse button is depressed.
558                    
559                 </div> 
560                     
561                     <div class="long">
562                     
563                         Fires when the mouse button is depressed.
564                     
565                         
566                         
567                 
568                         
569                                 <dl class="detailList">
570                                 <dt class="heading">Parameters:</dt>
571                                 
572                                         <dt>
573                                                 <span class="fixedFont"><a href="./Roo.util.ClickRepeater.html#constructor" roo:cls="Roo.util.ClickRepeater.html#constructor">Roo.util.ClickRepeater</a></span> <b>this</b>
574                                                 
575                                         </dt>
576                                         <dd></dd>
577                                 
578                                 </dl>
579                         
580                         
581                         
582                         
583                         
584                         
585                         
586
587                     
588                     
589                      
590                     </div>                    
591                 </div>
592
593             </td>
594             <td class="msource">
595                 Roo.util.ClickRepeater
596             </td>
597         </tr>
598         
599           <tr class="method-row expandable config-row-alt0 notInherited">
600             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
601             
602             <td class="sig">
603                 <a id="Roo.util.ClickRepeater-event-*mouseup"></a>
604                 
605                <div class="fixedFont">
606                 <b class="itemname">mouseup</b> (<a href="./Roo.util.ClickRepeater.html#constructor" roo:cls="Roo.util.ClickRepeater.html#constructor">Roo.util.ClickRepeater</a> <B><i>this</i></B>) 
607                 
608                 </div>
609
610                 <div class="mdesc">
611
612                    <div class="short">Fires when the mouse key is released.
613                    
614                 </div> 
615                     
616                     <div class="long">
617                     
618                         Fires when the mouse key is released.
619                     
620                         
621                         
622                 
623                         
624                                 <dl class="detailList">
625                                 <dt class="heading">Parameters:</dt>
626                                 
627                                         <dt>
628                                                 <span class="fixedFont"><a href="./Roo.util.ClickRepeater.html#constructor" roo:cls="Roo.util.ClickRepeater.html#constructor">Roo.util.ClickRepeater</a></span> <b>this</b>
629                                                 
630                                         </dt>
631                                         <dd></dd>
632                                 
633                                 </dl>
634                         
635                         
636                         
637                         
638                         
639                         
640                         
641
642                     
643                     
644                      
645                     </div>                    
646                 </div>
647
648             </td>
649             <td class="msource">
650                 Roo.util.ClickRepeater
651             </td>
652         </tr>
653         
654                                                        
655     </table>
656
657   
658   
659   
660  
661 <!-- ============================== footer ================================= -->
662                 <div class="fineprint" style="clear:both">
663                         
664                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 16:11:58 GMT+0800 (HKT)
665                         Based on 
666                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
667                 </div>
668         </body>
669 </html>