sync
[roojs1] / docs / symbols / Roo.LoadMask.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.LoadMask</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.LoadMask-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.LoadMask-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.LoadMask-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.LoadMask-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.LoadMask
51                         </h1>
52                         
53     <table cellspacing="0" class="class-summary-table">
54         
55                 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
56         
57         <tr><td class="label">Defined In:</td><td class="hd-info">
58                         
59                                         <a href="./src/Roo_LoadMask.js.html">Roo/LoadMask.js</a>.
60                         
61         </td></tr>
62         <tr><td class="label">Class:</td><td class="hd-info">LoadMask</td></tr>
63         
64         
65         
66         
67     </table>
68
69     
70 <!-- ============================== class summary ========================== -->                        
71     <div class="description">
72         A simple utility class for generically masking elements while loading data.  If the element being masked has<br/>an underlying {<b>link</b> Roo.data.Store}, the masking will be automatically synchronized with the store's loading<br/>process and the mask element will be cached for reuse.  For all other elements, this mask will replace the<br/>element's UpdateManager load indicator and will be destroyed after the initial load.
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.LoadMask';">[Add Your comment/notes about this class]</u>
81         <br/>
82         <iframe frameborder="0"  id="comments-Roo" style="border: none;width:100%;" 
83                 src="/blog.php/GtkDjsComments/Roo.LoadMask.html"></iframe>
84 </div>
85         
86
87                 
88 <!-- ============================== config options ========================== -->                                               
89                  
90     
91     
92                 
93     <div class="hr"></div>
94     <a id="Roo.LoadMask-configs"></a>
95                 
96     
97      
98     
99         
100       <table cellspacing="0" class="member-table">   
101       <caption>Config Options (Usually are also Properties)</caption>
102     
103         
104         <tr>
105             <th class="sig-header" colspan="2">Options</th>
106             
107             <th class="msource-header">Defined By</th>
108         </tr>
109         
110         
111         
112         
113         
114                 <tr class="config-row expandable config-row-alt0 notInherited">
115                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
116                     <td class="sig">
117
118                         <a id="Roo.LoadMask-cfg-msg" name=".msg"></a>
119                         <div class="fixedFont">
120                                 <b  class="itemname">msg</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
121                                 
122                                 
123                         </div>
124                   
125                         <div class="mdesc">
126                             <div class="short">The text to display in a centered loading message box (defaults to 'Loading.</div> 
127                         </div>
128                         
129                         <div class="mdesc">
130                             <div class="long">The text to display in a centered loading message box (defaults to 'Loading...')</div> 
131                         </div>
132                         
133                         
134
135                     </td>
136                     <td class="msource">
137                         
138                         Roo.LoadMask
139                                 
140                     </td>
141                 </tr>
142         
143         
144                 <tr class="config-row expandable config-row-alt1 notInherited">
145                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
146                     <td class="sig">
147
148                         <a id="Roo.LoadMask-cfg-msgCls" name=".msgCls"></a>
149                         <div class="fixedFont">
150                                 <b  class="itemname">msgCls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
151                                 
152                                 
153                         </div>
154                   
155                         <div class="mdesc">
156                             <div class="short">The CSS class to apply to the loading message element (defaults to "x-mask-loading")</div> 
157                         </div>
158                         
159                         <div class="mdesc">
160                             <div class="long">The CSS class to apply to the loading message element (defaults to "x-mask-loading")</div> 
161                         </div>
162                         
163                         
164
165                     </td>
166                     <td class="msource">
167                         
168                         Roo.LoadMask
169                                 
170                     </td>
171                 </tr>
172         
173         
174                 <tr class="config-row expandable config-row-alt0 notInherited">
175                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
176                     <td class="sig">
177
178                         <a id="Roo.LoadMask-cfg-removeMask" name=".removeMask"></a>
179                         <div class="fixedFont">
180                                 <b  class="itemname">removeMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
181                                 
182                                 
183                         </div>
184                   
185                         <div class="mdesc">
186                             <div class="short">True to create a single-use mask that is automatically destroyed after loading (useful for page loads),<br/>False to persist the mask element reference for multiple uses (e.g.</div> 
187                         </div>
188                         
189                         <div class="mdesc">
190                             <div class="long">True to create a single-use mask that is automatically destroyed after loading (useful for page loads),<br/>False to persist the mask element reference for multiple uses (e.g., for paged data widgets).  Defaults to false.</div> 
191                         </div>
192                         
193                         
194
195                     </td>
196                     <td class="msource">
197                         
198                         Roo.LoadMask
199                                 
200                     </td>
201                 </tr>
202         
203         
204     </table>
205                 
206   
207   
208   
209   
210   
211   
212   
213   
214   <!-- ============================== public properties ==================== -->        
215   
216   
217   
218     <a id="Roo.LoadMask-props"></a>      
219     
220     
221
222     
223     
224      <table cellspacing="0" class="member-table">
225       <caption class="Empty">Public Properties - Has None</caption>
226      </table>
227     
228     
229      
230     
231   <!-- ============================== methods summary / details ======================== -->
232   
233   
234   <a id="Roo.LoadMask-methods"></a>
235         <!-- constructor?? -->
236         
237         <!-- static's first 
238         
239         
240         -->
241         
242         <!-- then dynamics first -->
243         
244   
245   
246     
247     
248     
249       <table cellspacing="0" class="member-table">
250       <caption>Public Methods</caption>
251         <tr>
252             <th class="sig-header" colspan="2">Method</th>            
253             <th class="msource-header">Defined By</th>
254
255         </tr>
256         
257         
258         
259          
260         
261         
262           
263           <tr class="method-row config-row-alt0 expandable notInherited">
264             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
265            
266            
267             <td class="sig">
268                 <a id="Roo-method-LoadMask"   name=".LoadMask"></a>
269                 <div class="fixedFont">
270                         <span class="attributes">new <B>Roo.</B></span><b class="itemname">LoadMask</b>
271                                 
272                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.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>) 
273                         
274                                 
275                         
276                 </div>
277                 <div class="mdesc">
278                 
279                  
280                         <div class="short">Create a new Roo.LoadMask</div> 
281                  
282                  
283                     <div class="long">
284                         
285                         
286                         
287                                 Create a new Roo.LoadMask
288                         
289                         
290                                 <dl class="detailList">
291                                 <dt class="heading">Parameters:</dt>
292                                 
293                                         <dt>
294                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
295                                                 
296                                         </dt>
297                                         <dd>The element or DOM node, or its id</dd>
298                                 
299                                         <dt>
300                                                 <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>
301                                                 
302                                         </dt>
303                                         <dd>The config object</dd>
304                                 
305                                 </dl>
306                         
307                         
308                         
309                         
310                         
311                         
312                         
313
314                     
315                     
316                      
317                     </div>                    
318                 </div>
319
320             </td>
321             <td class="msource">
322                 &nbsp;
323             </td>
324         </tr>
325         
326           
327           <tr class="method-row config-row-alt1 expandable notInherited">
328             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
329            
330            
331             <td class="sig">
332                 <a id="Roo.LoadMask-method-disable"   name=".disable"></a>
333                 <div class="fixedFont">
334                         <span class="attributes"></span><b class="itemname">disable</b>
335                                 
336                                  () 
337                         
338                                 
339                         
340                 </div>
341                 <div class="mdesc">
342                 
343                    <div class="short">Disables the mask to prevent it from being displayed</div> 
344                  
345                  
346                  
347                     <div class="long">
348                         
349                                 Disables the mask to prevent it from being displayed
350                     
351                                 
352                         
353                         
354                         
355                         
356                         
357                         
358                         
359                         
360                         
361                         
362
363                     
364                     
365                      
366                     </div>                    
367                 </div>
368
369             </td>
370             <td class="msource">
371                 
372                         Roo.LoadMask
373                 &nbsp;
374             </td>
375         </tr>
376         
377           
378           <tr class="method-row config-row-alt0 expandable notInherited">
379             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
380            
381            
382             <td class="sig">
383                 <a id="Roo.LoadMask-method-enable"   name=".enable"></a>
384                 <div class="fixedFont">
385                         <span class="attributes"></span><b class="itemname">enable</b>
386                                 
387                                  () 
388                         
389                                 
390                         
391                 </div>
392                 <div class="mdesc">
393                 
394                    <div class="short">Enables the mask so that it can be displayed</div> 
395                  
396                  
397                  
398                     <div class="long">
399                         
400                                 Enables the mask so that it can be displayed
401                     
402                                 
403                         
404                         
405                         
406                         
407                         
408                         
409                         
410                         
411                         
412                         
413
414                     
415                     
416                      
417                     </div>                    
418                 </div>
419
420             </td>
421             <td class="msource">
422                 
423                         Roo.LoadMask
424                 &nbsp;
425             </td>
426         </tr>
427         
428                                                        
429     </table>
430
431   
432   <!-- ============================== events summary / details ======================== -->
433   
434   
435   <a id="Roo.LoadMask-events"></a>
436     
437   
438         
439    
440     
441      <table cellspacing="0" class="member-table">
442       <caption class="Empty">Events - Has None</caption>
443      </table>
444     
445     
446   
447     
448     
449   
450   
451   
452  
453 <!-- ============================== footer ================================= -->
454                 <div class="fineprint" style="clear:both">
455                         
456                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:06 GMT+0800 (HKT)
457                         Based on 
458                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
459                 </div>
460         </body>
461 </html>