sync
[roojs1] / docs / symbols / Roo.util.DelayedTask.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.DelayedTask</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.DelayedTask-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.util.DelayedTask-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.util.DelayedTask-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.util.DelayedTask-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 <!-- ============================== class title / details ============================ -->
46     
47     
48     <h1 class="classTitle">
49                                 
50                                 Class Roo.util.DelayedTask
51                         </h1>
52                         
53     <table cellspacing="0" class="class-summary-table">
54         
55                 <tr><td class="label">Package:</td><td class="hd-info">Roo.util</td></tr>
56         
57         <tr><td class="label">Defined In:</td><td class="hd-info">
58                         
59                                         <a href="./src/Roo_util_DelayedTask.js.html">Roo/util/DelayedTask.js</a>.
60                         
61         </td></tr>
62         <tr><td class="label">Class:</td><td class="hd-info">DelayedTask</td></tr>
63         
64         
65         
66         
67     </table>
68
69     
70 <!-- ============================== class summary ========================== -->                        
71     <div class="description">
72         Provides a convenient method of performing setTimeout where a new<br/>timeout cancels the old timeout. An example would be performing validation on a keypress.<br/>You can use this class to buffer<br/>the keypress events for a certain number of milliseconds, and perform only if they stop<br/>for that amount of time.
73     </div>
74
75         
76 <!-- ============================== Class comment block... ========================== -->                                       
77
78 <div class="comments">
79         <b>Class Comments / Notes</B> =>  
80         <u onclick="parent.CommentDialog.showCommentId = 'Roo.util.DelayedTask';">[Add Your comment/notes about this class]</u>
81         <br/>
82         <iframe frameborder="0"  id="comments-Roo.util" style="border: none;width:100%;" 
83                 src="/blog.php/GtkDjsComments/Roo.util.DelayedTask.html"></iframe>
84 </div>
85         
86
87                 
88 <!-- ============================== config options ========================== -->                                               
89                  
90     
91     
92                 
93     <div class="hr"></div>
94     <a id="Roo.util.DelayedTask-configs"></a>
95                 
96     
97     
98      <table cellspacing="0" class="member-table">
99       <caption class="Empty">Config Options - Has None</caption>
100      </table>
101     
102     
103      
104                 
105   
106   
107   
108   
109   
110   
111   
112   
113   <!-- ============================== public properties ==================== -->        
114   
115   
116   
117     <a id="Roo.util.DelayedTask-props"></a>      
118     
119     
120
121     
122     
123      <table cellspacing="0" class="member-table">
124       <caption class="Empty">Public Properties - Has None</caption>
125      </table>
126     
127     
128      
129     
130   <!-- ============================== methods summary / details ======================== -->
131   
132   
133   <a id="Roo.util.DelayedTask-methods"></a>
134         <!-- constructor?? -->
135         
136         <!-- static's first 
137         
138         
139         -->
140         
141         <!-- then dynamics first -->
142         
143   
144   
145     
146     
147     
148       <table cellspacing="0" class="member-table">
149       <caption>Public Methods</caption>
150         <tr>
151             <th class="sig-header" colspan="2">Method</th>            
152             <th class="msource-header">Defined By</th>
153
154         </tr>
155         
156         
157         
158          
159         
160         
161           
162           <tr class="method-row config-row-alt0 expandable notInherited">
163             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
164            
165            
166             <td class="sig">
167                 <a id="Roo.util-method-DelayedTask"   name=".DelayedTask"></a>
168                 <div class="fixedFont">
169                         <span class="attributes">new <B>Roo.util.</B></span><b class="itemname">DelayedTask</b>
170                                 
171                                  (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>args</i></B>) 
172                         
173                                 
174                         
175                 </div>
176                 <div class="mdesc">
177                 
178                  
179                         <div class="short">Create a new Roo.util.DelayedTask</div> 
180                  
181                  
182                     <div class="long">
183                         
184                         
185                         
186                                 Create a new Roo.util.DelayedTask
187                         
188                         
189                                 <dl class="detailList">
190                                 <dt class="heading">Parameters:</dt>
191                                 
192                                         <dt>
193                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>fn</b>
194                                                 
195                                         </dt>
196                                         <dd>(optional) The default function to timeout</dd>
197                                 
198                                         <dt>
199                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
200                                                 
201                                         </dt>
202                                         <dd>(optional) The default scope of that timeout</dd>
203                                 
204                                         <dt>
205                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  <b>args</b>
206                                                 
207                                         </dt>
208                                         <dd>(optional) The default Array of arguments</dd>
209                                 
210                                 </dl>
211                         
212                         
213                         
214                         
215                         
216                         
217                         
218
219                     
220                     
221                      
222                     </div>                    
223                 </div>
224
225             </td>
226             <td class="msource">
227                 &nbsp;
228             </td>
229         </tr>
230         
231                                                        
232     </table>
233
234   
235   <!-- ============================== events summary / details ======================== -->
236   
237   
238   <a id="Roo.util.DelayedTask-events"></a>
239     
240   
241         
242    
243     
244      <table cellspacing="0" class="member-table">
245       <caption class="Empty">Events - Has None</caption>
246      </table>
247     
248     
249   
250     
251     
252   
253   
254   
255  
256 <!-- ============================== footer ================================= -->
257                 <div class="fineprint" style="clear:both">
258                         
259                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:09 GMT+0800 (HKT)
260                         Based on 
261                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
262                 </div>
263         </body>
264 </html>