docs/symbols/Roo.form.Layout.html
[roojs1] / docs / symbols / Roo.form.Layout.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.form.Layout</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.form.Layout-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.form.Layout-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.form.Layout-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.form.Layout-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.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.Layout 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.form.Layout
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_form_Layout.js.html">Roo/form/Layout.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">Layout</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         Creates a container for layout and rendering of fields in an {<b>link</b> Roo.form.Form}.
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.form.Layout';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.form" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.form.Layout.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.form.Layout-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.form.Layout-cfg-autoCreate" name=".autoCreate"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">A DomHelper element spec used to autocreate the layout (defaults to {tag: 'div', cls: 'x-form-ct'})</div> 
144                         </div>
145                         
146                         
147
148                     </td>
149                     <td class="msource">
150                         
151                         Roo.form.Layout
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.form.Layout-cfg-clear" name=".clear"></a>
162                         <div class="fixedFont">
163                                 <b  class="itemname">clear</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
164                                 
165                                 
166                         </div>
167                   
168                         <div class="mdesc">
169                             <div class="short">True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)</div> 
170                         </div>
171                         
172                         <div class="mdesc">
173                             <div class="long">True to add a clearing element at the end of this layout, equivalent to CSS clear: both (defaults to true)</div> 
174                         </div>
175                         
176                         
177
178                     </td>
179                     <td class="msource">
180                         
181                         Roo.form.Layout
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.form.Layout-cfg-hideLabels" name=".hideLabels"></a>
192                         <div class="fixedFont">
193                                 <b  class="itemname">hideLabels</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
194                                 
195                                 
196                         </div>
197                   
198                         <div class="mdesc">
199                             <div class="short">True to suppress the display of field labels in this layout (defaults to false)</div> 
200                         </div>
201                         
202                         <div class="mdesc">
203                             <div class="long">True to suppress the display of field labels in this layout (defaults to false)</div> 
204                         </div>
205                         
206                         
207
208                     </td>
209                     <td class="msource">
210                         
211                         Roo.form.Layout
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.form.Layout-cfg-labelAlign" name=".labelAlign"></a>
222                         <div class="fixedFont">
223                                 <b  class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
224                                 
225                                 
226                         </div>
227                   
228                         <div class="mdesc">
229                             <div class="short">Valid values are "left," "top" and "right" (defaults to "left")</div> 
230                         </div>
231                         
232                         <div class="mdesc">
233                             <div class="long">Valid values are "left," "top" and "right" (defaults to "left")</div> 
234                         </div>
235                         
236                         
237
238                     </td>
239                     <td class="msource">
240                         
241                         Roo.form.Layout
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.form.Layout-cfg-labelSeparator" name=".labelSeparator"></a>
252                         <div class="fixedFont">
253                                 <b  class="itemname">labelSeparator</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">The separator to use after field labels (defaults to ':')</div> 
260                         </div>
261                         
262                         <div class="mdesc">
263                             <div class="long">The separator to use after field labels (defaults to ':')</div> 
264                         </div>
265                         
266                         
267
268                     </td>
269                     <td class="msource">
270                         
271                         Roo.form.Layout
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.form.Layout-cfg-labelWidth" name=".labelWidth"></a>
282                         <div class="fixedFont">
283                                 <b  class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
284                                 
285                                 
286                         </div>
287                   
288                         <div class="mdesc">
289                             <div class="short">Fixed width in pixels of all field labels (defaults to undefined)</div> 
290                         </div>
291                         
292                         <div class="mdesc">
293                             <div class="long">Fixed width in pixels of all field labels (defaults to undefined)</div> 
294                         </div>
295                         
296                         
297
298                     </td>
299                     <td class="msource">
300                         
301                         Roo.form.Layout
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.form.Layout-cfg-style" name=".style"></a>
312                         <div class="fixedFont">
313                                 <b  class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object/Function
314                                 
315                                 
316                         </div>
317                   
318                         <div class="mdesc">
319                             <div class="short">A style specification string, e.g.</div> 
320                         </div>
321                         
322                         <div class="mdesc">
323                             <div class="long">A style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or<br/>a function which returns such a specification.</div> 
324                         </div>
325                         
326                         
327
328                     </td>
329                     <td class="msource">
330                         
331                         Roo.form.Layout
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.form.Layout-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.form.Layout-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.form-method-Layout"   name=".Layout"></a>
402                 <div class="fixedFont">
403                         <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">Layout</b>
404                                 
405                                  (<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.form.Layout</div> 
414                  
415                  
416                     <div class="long">
417                         
418                         
419                         
420                                 Create a new Roo.form.Layout
421                         
422                         
423                                 <dl class="detailList">
424                                 <dt class="heading">Parameters:</dt>
425                                 
426                                         <dt>
427                                                 <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>
428                                                 
429                                         </dt>
430                                         <dd>Configuration options</dd>
431                                 
432                                 </dl>
433                         
434                         
435                         
436                         
437                         
438                         
439                         
440
441                     
442                     
443                      
444                     </div>                    
445                 </div>
446
447             </td>
448             <td class="msource">
449                 &nbsp;
450             </td>
451         </tr>
452         
453           
454           <tr class="method-row config-row-alt1 expandable notInherited">
455             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
456            
457            
458             <td class="sig">
459                 <a id="Roo.form.Layout-method-addxtype"   name=".addxtype"></a>
460                 <div class="fixedFont">
461                         <span class="attributes"></span><b class="itemname">addxtype</b>
462                                 
463                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
464                         
465                                 
466                         
467                 </div>
468                 <div class="mdesc">
469                 
470                    <div class="short">Adds a object form elements (using the xtype property as the factory method.</div> 
471                  
472                  
473                  
474                     <div class="long">
475                         
476                                 Adds a object form elements (using the xtype property as the factory method.)<br/>Valid xtypes are:  TextField, TextArea .... Button, Layout, FieldSet, Column
477                     
478                                 
479                         
480                         
481                         
482                         
483                                 <dl class="detailList">
484                                 <dt class="heading">Parameters:</dt>
485                                 
486                                         <dt>
487                                                 <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>
488                                                 
489                                         </dt>
490                                         <dd></dd>
491                                 
492                                 </dl>
493                         
494                         
495                         
496                         
497                         
498                         
499                         
500
501                     
502                     
503                      
504                     </div>                    
505                 </div>
506
507             </td>
508             <td class="msource">
509                 
510                         Roo.form.Layout
511                 &nbsp;
512             </td>
513         </tr>
514         
515                                                        
516     </table>
517
518   
519   <!-- ============================== events summary / details ======================== -->
520   
521   
522   <a id="Roo.form.Layout-events"></a>
523     
524   
525         
526    
527     
528      <table cellspacing="0" class="member-table">
529       <caption class="Empty">Events - Has None</caption>
530      </table>
531     
532     
533   
534     
535     
536   
537   
538   
539  
540 <!-- ============================== footer ================================= -->
541                 <div class="fineprint" style="clear:both">
542                         
543                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 16:37:08 GMT+0800 (HKT)
544                         Based on 
545                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
546                 </div>
547         </body>
548 </html>