sync
[roojs1] / docs / symbols / Roo.UpdateManager.BasicRenderer.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.UpdateManager.BasicRenderer</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.UpdateManager.BasicRenderer-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.UpdateManager.BasicRenderer-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.UpdateManager.BasicRenderer
51                         </h1>
52                         
53     <table cellspacing="0" class="class-summary-table">
54         
55                 <tr><td class="label">Package:</td><td class="hd-info">Roo.UpdateManager</td></tr>
56         
57         <tr><td class="label">Defined In:</td><td class="hd-info">
58                         
59                                         <a href="./src/Roo_UpdateManager.js.html">Roo/UpdateManager.js</a>.
60                         
61         </td></tr>
62         <tr><td class="label">Class:</td><td class="hd-info">BasicRenderer</td></tr>
63         
64         
65         
66         
67     </table>
68
69     
70 <!-- ============================== class summary ========================== -->                        
71     <div class="description">
72         Default Content renderer. Updates the elements innerHTML with the responseText.
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.UpdateManager.BasicRenderer';">[Add Your comment/notes about this class]</u>
81         <br/>
82         <iframe frameborder="0"  id="comments-Roo.UpdateManager" style="border: none;width:100%;" 
83                 src="/blog.php/GtkDjsComments/Roo.UpdateManager.BasicRenderer.html"></iframe>
84 </div>
85         
86
87                 
88 <!-- ============================== config options ========================== -->                                               
89                  
90     
91     
92                 
93     <div class="hr"></div>
94     <a id="Roo.UpdateManager.BasicRenderer-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.UpdateManager.BasicRenderer-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.UpdateManager.BasicRenderer-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 notInherited">
163             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
164            
165            
166             <td class="sig">
167                 <a id="Roo.UpdateManager-method-BasicRenderer"   name=".BasicRenderer"></a>
168                 <div class="fixedFont">
169                         <span class="attributes">new <B>Roo.UpdateManager.</B></span><b class="itemname">BasicRenderer</b>
170                                 
171                                  () 
172                         
173                                 
174                         
175                 </div>
176                 <div class="mdesc">
177                 
178                  
179                         <div class="short">Create a new Roo.UpdateManager.BasicRenderer</div> 
180                  
181                  
182                     <div class="long">
183                         
184                         
185                         
186                                 Create a new Roo.UpdateManager.BasicRenderer
187                         
188                         
189                         
190                         
191                         
192                         
193                         
194                         
195
196                     
197                     
198                      
199                     </div>                    
200                 </div>
201
202             </td>
203             <td class="msource">
204                 &nbsp;
205             </td>
206         </tr>
207         
208           
209           <tr class="method-row config-row-alt1 expandable notInherited">
210             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
211            
212            
213             <td class="sig">
214                 <a id="Roo.UpdateManager.BasicRenderer-method-render"   name=".render"></a>
215                 <div class="fixedFont">
216                         <span class="attributes"></span><b class="itemname">render</b>
217                                 
218                                  (<a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a> <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>response</i></B>, UpdateManager <B><i>updateManager</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>) 
219                         
220                                 
221                         
222                 </div>
223                 <div class="mdesc">
224                 
225                    <div class="short">This is called when the transaction is completed and it's time to update the element - The BasicRenderer<br/>updates the elements innerHTML with the responseText - To perform a custom render (i.e.</div> 
226                  
227                  
228                  
229                     <div class="long">
230                         
231                                 This is called when the transaction is completed and it's time to update the element - The BasicRenderer<br/>updates the elements innerHTML with the responseText - To perform a custom render (i.e. XML or JSON processing),<br/>create an object with a "render(el, response)" method and pass it to setRenderer on the UpdateManager.
232                     
233                                 
234                         
235                         
236                         
237                         
238                                 <dl class="detailList">
239                                 <dt class="heading">Parameters:</dt>
240                                 
241                                         <dt>
242                                                 <span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  <b>el</b>
243                                                 
244                                         </dt>
245                                         <dd>The element being rendered</dd>
246                                 
247                                         <dt>
248                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>response</b>
249                                                 
250                                         </dt>
251                                         <dd>The YUI Connect response object</dd>
252                                 
253                                         <dt>
254                                                 <span class="fixedFont">UpdateManager</span>  <b>updateManager</b>
255                                                 
256                                         </dt>
257                                         <dd>The calling update manager</dd>
258                                 
259                                         <dt>
260                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>callback</b>
261                                                 
262                                         </dt>
263                                         <dd>A callback that will need to be called if loadScripts is true on the UpdateManager</dd>
264                                 
265                                 </dl>
266                         
267                         
268                         
269                         
270                         
271                         
272                         
273
274                     
275                     
276                      
277                     </div>                    
278                 </div>
279
280             </td>
281             <td class="msource">
282                 
283                         Roo.UpdateManager.BasicRenderer
284                 &nbsp;
285             </td>
286         </tr>
287         
288                                                        
289     </table>
290
291   
292   <!-- ============================== events summary / details ======================== -->
293   
294   
295   <a id="Roo.UpdateManager.BasicRenderer-events"></a>
296     
297   
298         
299    
300     
301      <table cellspacing="0" class="member-table">
302       <caption class="Empty">Events - Has None</caption>
303      </table>
304     
305     
306   
307     
308     
309   
310   
311   
312  
313 <!-- ============================== footer ================================= -->
314                 <div class="fineprint" style="clear:both">
315                         
316                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:07 GMT+0800 (HKT)
317                         Based on 
318                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
319                 </div>
320         </body>
321 </html>