docs/symbols/Roo.Resizable.html
[roojs1] / docs / symbols / Roo.Resizable.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.Resizable</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.Resizable-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.Resizable-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.Resizable-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.Resizable-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.Resizable 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.Resizable
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_Resizable.js.html">Roo/Resizable.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">Resizable</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         <p>Applies drag handles to an element to make it resizable. The drag handles are inserted into the element<br/>and positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you can wrap<br/>the textarea in a div and set "resizeChild" to true (or to the id of the element), <b>or</b> set wrap:true in your config and<br/>the element will be wrapped for you automatically.</p><br/><p>Here is the list of valid resize handles:</p><br/><pre><br/>Value   Description<br/>------  -------------------<br/> 'n'     north<br/> 's'     south<br/> 'e'     east<br/> 'w'     west<br/> 'nw'    northwest<br/> 'sw'    southwest<br/> 'se'    southeast<br/> 'ne'    northeast<br/> 'all'   all<br/></pre><br/><p>Here's an example showing the creation of a typical Resizable:</p><br/><pre><code><br/>var resizer = new Roo.Resizable("element-id", {<br/>    handles: 'all',<br/>    minWidth: 200,<br/>    minHeight: 100,<br/>    maxWidth: 500,<br/>    maxHeight: 400,<br/>    pinned: true<br/>});<br/>resizer.on("resize", myHandler);<br/></code></pre><br/><p>To hide a particular handle, set its display to none in CSS, or through script:<br><br/>resizer.east.setDisplayed(false);</p>
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.Resizable';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.Resizable.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.Resizable-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.Resizable-cfg-adjustments" name=".adjustments"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">adjustments</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/String
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">String "auto" or an array [width, height] with values to be <b>added</b> to the<br/>resize operation's new size (defaults to [0, 0])</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">String "auto" or an array [width, height] with values to be <b>added</b> to the<br/>resize operation's new size (defaults to [0, 0])</div> 
144                         </div>
145                         
146                         
147
148                     </td>
149                     <td class="msource">
150                         
151                         Roo.Resizable
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.Resizable-cfg-animate" name=".animate"></a>
162                         <div class="fixedFont">
163                                 <b  class="itemname">animate</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 animate the resize (not compatible with dynamic sizing, defaults to false)</div> 
170                         </div>
171                         
172                         <div class="mdesc">
173                             <div class="long">True to animate the resize (not compatible with dynamic sizing, defaults to false)</div> 
174                         </div>
175                         
176                         
177
178                     </td>
179                     <td class="msource">
180                         
181                         Roo.Resizable
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.Resizable-cfg-constrainTo" name=".constrainTo"></a>
192                         <div class="fixedFont">
193                                 <b  class="itemname">constrainTo</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">Constrain the resize to a particular element</div> 
200                         </div>
201                         
202                         <div class="mdesc">
203                             <div class="long">Constrain the resize to a particular element</div> 
204                         </div>
205                         
206                         
207
208                     </td>
209                     <td class="msource">
210                         
211                         Roo.Resizable
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.Resizable-cfg-disableTrackOver" name=".disableTrackOver"></a>
222                         <div class="fixedFont">
223                                 <b  class="itemname">disableTrackOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
224                                 
225                                 
226                         </div>
227                   
228                         <div class="mdesc">
229                             <div class="short">True to disable mouse tracking.</div> 
230                         </div>
231                         
232                         <div class="mdesc">
233                             <div class="long">True to disable mouse tracking. This is only applied at config time. (defaults to false)</div> 
234                         </div>
235                         
236                         
237
238                     </td>
239                     <td class="msource">
240                         
241                         Roo.Resizable
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.Resizable-cfg-draggable" name=".draggable"></a>
252                         <div class="fixedFont">
253                                 <b  class="itemname">draggable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
254                                 
255                                 
256                         </div>
257                   
258                         <div class="mdesc">
259                             <div class="short">Convenience to initialize drag drop (defaults to false)</div> 
260                         </div>
261                         
262                         <div class="mdesc">
263                             <div class="long">Convenience to initialize drag drop (defaults to false)</div> 
264                         </div>
265                         
266                         
267
268                     </td>
269                     <td class="msource">
270                         
271                         Roo.Resizable
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.Resizable-cfg-duration" name=".duration"></a>
282                         <div class="fixedFont">
283                                 <b  class="itemname">duration</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">Animation duration if animate = true (defaults to .35)</div> 
290                         </div>
291                         
292                         <div class="mdesc">
293                             <div class="long">Animation duration if animate = true (defaults to .35)</div> 
294                         </div>
295                         
296                         
297
298                     </td>
299                     <td class="msource">
300                         
301                         Roo.Resizable
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.Resizable-cfg-dynamic" name=".dynamic"></a>
312                         <div class="fixedFont">
313                                 <b  class="itemname">dynamic</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 resize the element while dragging instead of using a proxy (defaults to false)</div> 
320                         </div>
321                         
322                         <div class="mdesc">
323                             <div class="long">True to resize the element while dragging instead of using a proxy (defaults to false)</div> 
324                         </div>
325                         
326                         
327
328                     </td>
329                     <td class="msource">
330                         
331                         Roo.Resizable
332                                 
333                     </td>
334                 </tr>
335         
336         
337                 <tr class="config-row expandable config-row-alt1 notInherited">
338                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
339                     <td class="sig">
340
341                         <a id="Roo.Resizable-cfg-easing" name=".easing"></a>
342                         <div class="fixedFont">
343                                 <b  class="itemname">easing</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
344                                 
345                                 
346                         </div>
347                   
348                         <div class="mdesc">
349                             <div class="short">Animation easing if animate = true (defaults to 'easingOutStrong')</div> 
350                         </div>
351                         
352                         <div class="mdesc">
353                             <div class="long">Animation easing if animate = true (defaults to 'easingOutStrong')</div> 
354                         </div>
355                         
356                         
357
358                     </td>
359                     <td class="msource">
360                         
361                         Roo.Resizable
362                                 
363                     </td>
364                 </tr>
365         
366         
367                 <tr class="config-row expandable config-row-alt0 notInherited">
368                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
369                     <td class="sig">
370
371                         <a id="Roo.Resizable-cfg-enabled" name=".enabled"></a>
372                         <div class="fixedFont">
373                                 <b  class="itemname">enabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
374                                 
375                                 
376                         </div>
377                   
378                         <div class="mdesc">
379                             <div class="short">False to disable resizing (defaults to true)</div> 
380                         </div>
381                         
382                         <div class="mdesc">
383                             <div class="long">False to disable resizing (defaults to true)</div> 
384                         </div>
385                         
386                         
387
388                     </td>
389                     <td class="msource">
390                         
391                         Roo.Resizable
392                                 
393                     </td>
394                 </tr>
395         
396         
397                 <tr class="config-row expandable config-row-alt1 notInherited">
398                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
399                     <td class="sig">
400
401                         <a id="Roo.Resizable-cfg-handles" name=".handles"></a>
402                         <div class="fixedFont">
403                                 <b  class="itemname">handles</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
404                                 
405                                 
406                         </div>
407                   
408                         <div class="mdesc">
409                             <div class="short">String consisting of the resize handles to display (defaults to undefined)</div> 
410                         </div>
411                         
412                         <div class="mdesc">
413                             <div class="long">String consisting of the resize handles to display (defaults to undefined)</div> 
414                         </div>
415                         
416                         
417
418                     </td>
419                     <td class="msource">
420                         
421                         Roo.Resizable
422                                 
423                     </td>
424                 </tr>
425         
426         
427                 <tr class="config-row expandable config-row-alt0 notInherited">
428                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
429                     <td class="sig">
430
431                         <a id="Roo.Resizable-cfg-height" name=".height"></a>
432                         <div class="fixedFont">
433                                 <b  class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
434                                 
435                                 
436                         </div>
437                   
438                         <div class="mdesc">
439                             <div class="short">The height of the element in pixels (defaults to null)</div> 
440                         </div>
441                         
442                         <div class="mdesc">
443                             <div class="long">The height of the element in pixels (defaults to null)</div> 
444                         </div>
445                         
446                         
447
448                     </td>
449                     <td class="msource">
450                         
451                         Roo.Resizable
452                                 
453                     </td>
454                 </tr>
455         
456         
457                 <tr class="config-row expandable config-row-alt1 notInherited">
458                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
459                     <td class="sig">
460
461                         <a id="Roo.Resizable-cfg-heightIncrement" name=".heightIncrement"></a>
462                         <div class="fixedFont">
463                                 <b  class="itemname">heightIncrement</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
464                                 
465                                 
466                         </div>
467                   
468                         <div class="mdesc">
469                             <div class="short">The increment to snap the height resize in pixels (dynamic must be true, defaults to 0)</div> 
470                         </div>
471                         
472                         <div class="mdesc">
473                             <div class="long">The increment to snap the height resize in pixels (dynamic must be true, defaults to 0)</div> 
474                         </div>
475                         
476                         
477
478                     </td>
479                     <td class="msource">
480                         
481                         Roo.Resizable
482                                 
483                     </td>
484                 </tr>
485         
486         
487                 <tr class="config-row expandable config-row-alt0 notInherited">
488                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
489                     <td class="sig">
490
491                         <a id="Roo.Resizable-cfg-maxHeight" name=".maxHeight"></a>
492                         <div class="fixedFont">
493                                 <b  class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
494                                 
495                                 
496                         </div>
497                   
498                         <div class="mdesc">
499                             <div class="short">The maximum height for the element (defaults to 10000)</div> 
500                         </div>
501                         
502                         <div class="mdesc">
503                             <div class="long">The maximum height for the element (defaults to 10000)</div> 
504                         </div>
505                         
506                         
507
508                     </td>
509                     <td class="msource">
510                         
511                         Roo.Resizable
512                                 
513                     </td>
514                 </tr>
515         
516         
517                 <tr class="config-row expandable config-row-alt1 notInherited">
518                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
519                     <td class="sig">
520
521                         <a id="Roo.Resizable-cfg-maxWidth" name=".maxWidth"></a>
522                         <div class="fixedFont">
523                                 <b  class="itemname">maxWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
524                                 
525                                 
526                         </div>
527                   
528                         <div class="mdesc">
529                             <div class="short">The maximum width for the element (defaults to 10000)</div> 
530                         </div>
531                         
532                         <div class="mdesc">
533                             <div class="long">The maximum width for the element (defaults to 10000)</div> 
534                         </div>
535                         
536                         
537
538                     </td>
539                     <td class="msource">
540                         
541                         Roo.Resizable
542                                 
543                     </td>
544                 </tr>
545         
546         
547                 <tr class="config-row expandable config-row-alt0 notInherited">
548                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
549                     <td class="sig">
550
551                         <a id="Roo.Resizable-cfg-minHeight" name=".minHeight"></a>
552                         <div class="fixedFont">
553                                 <b  class="itemname">minHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
554                                 
555                                 
556                         </div>
557                   
558                         <div class="mdesc">
559                             <div class="short">The minimum height for the element (defaults to 5)</div> 
560                         </div>
561                         
562                         <div class="mdesc">
563                             <div class="long">The minimum height for the element (defaults to 5)</div> 
564                         </div>
565                         
566                         
567
568                     </td>
569                     <td class="msource">
570                         
571                         Roo.Resizable
572                                 
573                     </td>
574                 </tr>
575         
576         
577                 <tr class="config-row expandable config-row-alt1 notInherited">
578                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
579                     <td class="sig">
580
581                         <a id="Roo.Resizable-cfg-minWidth" name=".minWidth"></a>
582                         <div class="fixedFont">
583                                 <b  class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
584                                 
585                                 
586                         </div>
587                   
588                         <div class="mdesc">
589                             <div class="short">The minimum width for the element (defaults to 5)</div> 
590                         </div>
591                         
592                         <div class="mdesc">
593                             <div class="long">The minimum width for the element (defaults to 5)</div> 
594                         </div>
595                         
596                         
597
598                     </td>
599                     <td class="msource">
600                         
601                         Roo.Resizable
602                                 
603                     </td>
604                 </tr>
605         
606         
607                 <tr class="config-row expandable config-row-alt0 notInherited">
608                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
609                     <td class="sig">
610
611                         <a id="Roo.Resizable-cfg-minX" name=".minX"></a>
612                         <div class="fixedFont">
613                                 <b  class="itemname">minX</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
614                                 
615                                 
616                         </div>
617                   
618                         <div class="mdesc">
619                             <div class="short">The minimum allowed page X for the element (only used for west resizing, defaults to 0)</div> 
620                         </div>
621                         
622                         <div class="mdesc">
623                             <div class="long">The minimum allowed page X for the element (only used for west resizing, defaults to 0)</div> 
624                         </div>
625                         
626                         
627
628                     </td>
629                     <td class="msource">
630                         
631                         Roo.Resizable
632                                 
633                     </td>
634                 </tr>
635         
636         
637                 <tr class="config-row expandable config-row-alt1 notInherited">
638                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
639                     <td class="sig">
640
641                         <a id="Roo.Resizable-cfg-minY" name=".minY"></a>
642                         <div class="fixedFont">
643                                 <b  class="itemname">minY</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
644                                 
645                                 
646                         </div>
647                   
648                         <div class="mdesc">
649                             <div class="short">The minimum allowed page Y for the element (only used for north resizing, defaults to 0)</div> 
650                         </div>
651                         
652                         <div class="mdesc">
653                             <div class="long">The minimum allowed page Y for the element (only used for north resizing, defaults to 0)</div> 
654                         </div>
655                         
656                         
657
658                     </td>
659                     <td class="msource">
660                         
661                         Roo.Resizable
662                                 
663                     </td>
664                 </tr>
665         
666         
667                 <tr class="config-row expandable config-row-alt0 notInherited">
668                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
669                     <td class="sig">
670
671                         <a id="Roo.Resizable-cfg-multiDirectional" name=".multiDirectional"></a>
672                         <div class="fixedFont">
673                                 <b  class="itemname">multiDirectional</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
674                                 
675                                 
676                         </div>
677                   
678                         <div class="mdesc">
679                             <div class="short"><b>Deprecated</b>.</div> 
680                         </div>
681                         
682                         <div class="mdesc">
683                             <div class="long"><b>Deprecated</b>.  The old style of adding multi-direction resize handles, deprecated<br/>in favor of the handles config option (defaults to false)</div> 
684                         </div>
685                         
686                         
687
688                     </td>
689                     <td class="msource">
690                         
691                         Roo.Resizable
692                                 
693                     </td>
694                 </tr>
695         
696         
697                 <tr class="config-row expandable config-row-alt1 notInherited">
698                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
699                     <td class="sig">
700
701                         <a id="Roo.Resizable-cfg-pinned" name=".pinned"></a>
702                         <div class="fixedFont">
703                                 <b  class="itemname">pinned</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
704                                 
705                                 
706                         </div>
707                   
708                         <div class="mdesc">
709                             <div class="short">True to ensure that the resize handles are always visible, false to display them only when the<br/>user mouses over the resizable borders.</div> 
710                         </div>
711                         
712                         <div class="mdesc">
713                             <div class="long">True to ensure that the resize handles are always visible, false to display them only when the<br/>user mouses over the resizable borders. This is only applied at config time. (defaults to false)</div> 
714                         </div>
715                         
716                         
717
718                     </td>
719                     <td class="msource">
720                         
721                         Roo.Resizable
722                                 
723                     </td>
724                 </tr>
725         
726         
727                 <tr class="config-row expandable config-row-alt0 notInherited">
728                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
729                     <td class="sig">
730
731                         <a id="Roo.Resizable-cfg-preserveRatio" name=".preserveRatio"></a>
732                         <div class="fixedFont">
733                                 <b  class="itemname">preserveRatio</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
734                                 
735                                 
736                         </div>
737                   
738                         <div class="mdesc">
739                             <div class="short">True to preserve the original ratio between height and width during resize (defaults to false)</div> 
740                         </div>
741                         
742                         <div class="mdesc">
743                             <div class="long">True to preserve the original ratio between height and width during resize (defaults to false)</div> 
744                         </div>
745                         
746                         
747
748                     </td>
749                     <td class="msource">
750                         
751                         Roo.Resizable
752                                 
753                     </td>
754                 </tr>
755         
756         
757                 <tr class="config-row expandable config-row-alt1 notInherited">
758                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
759                     <td class="sig">
760
761                         <a id="Roo.Resizable-cfg-resizeChild" name=".resizeChild"></a>
762                         <div class="fixedFont">
763                                 <b  class="itemname">resizeChild</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String/Element
764                                 
765                                 
766                         </div>
767                   
768                         <div class="mdesc">
769                             <div class="short">True to resize the first child, or id/element to resize (defaults to false)</div> 
770                         </div>
771                         
772                         <div class="mdesc">
773                             <div class="long">True to resize the first child, or id/element to resize (defaults to false)</div> 
774                         </div>
775                         
776                         
777
778                     </td>
779                     <td class="msource">
780                         
781                         Roo.Resizable
782                                 
783                     </td>
784                 </tr>
785         
786         
787                 <tr class="config-row expandable config-row-alt0 notInherited">
788                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
789                     <td class="sig">
790
791                         <a id="Roo.Resizable-cfg-resizeRegion" name=".resizeRegion"></a>
792                         <div class="fixedFont">
793                                 <b  class="itemname">resizeRegion</b> : Roo.lib.Region
794                                 
795                                 
796                         </div>
797                   
798                         <div class="mdesc">
799                             <div class="short">Constrain the resize to a particular region</div> 
800                         </div>
801                         
802                         <div class="mdesc">
803                             <div class="long">Constrain the resize to a particular region</div> 
804                         </div>
805                         
806                         
807
808                     </td>
809                     <td class="msource">
810                         
811                         Roo.Resizable
812                                 
813                     </td>
814                 </tr>
815         
816         
817                 <tr class="config-row expandable config-row-alt1 notInherited">
818                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
819                     <td class="sig">
820
821                         <a id="Roo.Resizable-cfg-transparent" name=".transparent"></a>
822                         <div class="fixedFont">
823                                 <b  class="itemname">transparent</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
824                                 
825                                 
826                         </div>
827                   
828                         <div class="mdesc">
829                             <div class="short">True for transparent handles.</div> 
830                         </div>
831                         
832                         <div class="mdesc">
833                             <div class="long">True for transparent handles. This is only applied at config time. (defaults to false)</div> 
834                         </div>
835                         
836                         
837
838                     </td>
839                     <td class="msource">
840                         
841                         Roo.Resizable
842                                 
843                     </td>
844                 </tr>
845         
846         
847                 <tr class="config-row expandable config-row-alt0 notInherited">
848                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
849                     <td class="sig">
850
851                         <a id="Roo.Resizable-cfg-width" name=".width"></a>
852                         <div class="fixedFont">
853                                 <b  class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
854                                 
855                                 
856                         </div>
857                   
858                         <div class="mdesc">
859                             <div class="short">The width of the element in pixels (defaults to null)</div> 
860                         </div>
861                         
862                         <div class="mdesc">
863                             <div class="long">The width of the element in pixels (defaults to null)</div> 
864                         </div>
865                         
866                         
867
868                     </td>
869                     <td class="msource">
870                         
871                         Roo.Resizable
872                                 
873                     </td>
874                 </tr>
875         
876         
877                 <tr class="config-row expandable config-row-alt1 notInherited">
878                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
879                     <td class="sig">
880
881                         <a id="Roo.Resizable-cfg-widthIncrement" name=".widthIncrement"></a>
882                         <div class="fixedFont">
883                                 <b  class="itemname">widthIncrement</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
884                                 
885                                 
886                         </div>
887                   
888                         <div class="mdesc">
889                             <div class="short">The increment to snap the width resize in pixels (dynamic must be true, defaults to 0)</div> 
890                         </div>
891                         
892                         <div class="mdesc">
893                             <div class="long">The increment to snap the width resize in pixels (dynamic must be true, defaults to 0)</div> 
894                         </div>
895                         
896                         
897
898                     </td>
899                     <td class="msource">
900                         
901                         Roo.Resizable
902                                 
903                     </td>
904                 </tr>
905         
906         
907                 <tr class="config-row expandable config-row-alt0 notInherited">
908                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
909                     <td class="sig">
910
911                         <a id="Roo.Resizable-cfg-wrap" name=".wrap"></a>
912                         <div class="fixedFont">
913                                 <b  class="itemname">wrap</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
914                                 
915                                 
916                         </div>
917                   
918                         <div class="mdesc">
919                             <div class="short">True to wrap an element with a div if needed (required for textareas and images, defaults to false)</div> 
920                         </div>
921                         
922                         <div class="mdesc">
923                             <div class="long">True to wrap an element with a div if needed (required for textareas and images, defaults to false)</div> 
924                         </div>
925                         
926                         
927
928                     </td>
929                     <td class="msource">
930                         
931                         Roo.Resizable
932                                 
933                     </td>
934                 </tr>
935         
936         
937     </table>
938                 
939   
940   
941   
942   
943   
944   
945   
946   
947   <!-- ============================== public properties ==================== -->        
948   
949   
950   
951     <a id="Roo.Resizable-props"></a>      
952     
953     
954
955     
956     
957      <table cellspacing="0" class="member-table">
958       <caption class="Empty">Public Properties - Has None</caption>
959      </table>
960     
961     
962      
963     
964   <!-- ============================== methods summary / details ======================== -->
965   
966   
967   <a id="Roo.Resizable-methods"></a>
968         <!-- constructor?? -->
969         
970         <!-- static's first 
971         
972         
973         -->
974         
975         <!-- then dynamics first -->
976         
977   
978   
979     
980     
981     
982       <table cellspacing="0" class="member-table">
983       <caption>Public Methods</caption>
984         <tr>
985             <th class="sig-header" colspan="2">Method</th>            
986             <th class="msource-header">Defined By</th>
987
988         </tr>
989         
990         
991         
992          
993         
994         
995           
996           <tr class="method-row config-row-alt0 expandable notInherited">
997             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
998            
999            
1000             <td class="sig">
1001                 <a id="Roo-method-Resizable"   name=".Resizable"></a>
1002                 <div class="fixedFont">
1003                         <span class="attributes">new <B>Roo.</B></span><b class="itemname">Resizable</b>
1004                                 
1005                                  (<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>) 
1006                         
1007                                 
1008                         
1009                 </div>
1010                 <div class="mdesc">
1011                 
1012                  
1013                         <div class="short">Create a new Roo.Resizable</div> 
1014                  
1015                  
1016                     <div class="long">
1017                         
1018                         
1019                         
1020                                 Create a new Roo.Resizable
1021                         
1022                         
1023                                 <dl class="detailList">
1024                                 <dt class="heading">Parameters:</dt>
1025                                 
1026                                         <dt>
1027                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
1028                                                 
1029                                         </dt>
1030                                         <dd>The id or element to resize</dd>
1031                                 
1032                                         <dt>
1033                                                 <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>
1034                                                 
1035                                         </dt>
1036                                         <dd>configuration options</dd>
1037                                 
1038                                 </dl>
1039                         
1040                         
1041                         
1042                         
1043                         
1044                         
1045                         
1046
1047                     
1048                     
1049                      
1050                     </div>                    
1051                 </div>
1052
1053             </td>
1054             <td class="msource">
1055                 &nbsp;
1056             </td>
1057         </tr>
1058         
1059           
1060           <tr class="method-row config-row-alt1 expandable notInherited">
1061             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1062            
1063            
1064             <td class="sig">
1065                 <a id="Roo.Resizable-method-destroy"   name=".destroy"></a>
1066                 <div class="fixedFont">
1067                         <span class="attributes"></span><b class="itemname">destroy</b>
1068                                 
1069                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>) 
1070                         
1071                                 
1072                         
1073                 </div>
1074                 <div class="mdesc">
1075                 
1076                    <div class="short">Destroys this resizable.</div> 
1077                  
1078                  
1079                  
1080                     <div class="long">
1081                         
1082                                 Destroys this resizable. If the element was wrapped and<br/>removeEl is not true then the element remains.
1083                     
1084                                 
1085                         
1086                         
1087                         
1088                         
1089                                 <dl class="detailList">
1090                                 <dt class="heading">Parameters:</dt>
1091                                 
1092                                         <dt>
1093                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>removeEl</b>
1094                                                 
1095                                         </dt>
1096                                         <dd>(optional) true to remove the element from the DOM</dd>
1097                                 
1098                                 </dl>
1099                         
1100                         
1101                         
1102                         
1103                         
1104                         
1105                         
1106
1107                     
1108                     
1109                      
1110                     </div>                    
1111                 </div>
1112
1113             </td>
1114             <td class="msource">
1115                 
1116                         Roo.Resizable
1117                 &nbsp;
1118             </td>
1119         </tr>
1120         
1121           
1122           <tr class="method-row config-row-alt0 expandable notInherited">
1123             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1124            
1125            
1126             <td class="sig">
1127                 <a id="Roo.Resizable-method-getEl"   name=".getEl"></a>
1128                 <div class="fixedFont">
1129                         <span class="attributes"></span><b class="itemname">getEl</b>
1130                                 
1131                                  () 
1132                         
1133                                 
1134                                          : 
1135                                         
1136                                                 
1137                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1138                                         
1139                                         
1140                                         
1141                                 
1142                         
1143                 </div>
1144                 <div class="mdesc">
1145                 
1146                    <div class="short">Returns the element this component is bound to.</div> 
1147                  
1148                  
1149                  
1150                     <div class="long">
1151                         
1152                                 Returns the element this component is bound to.
1153                     
1154                                 
1155                         
1156                         
1157                         
1158                         
1159                         
1160                         
1161                         
1162                         
1163                                 <dl class="detailList">
1164                                 <dt class="heading">Returns:</dt>
1165                                 
1166                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
1167                                 
1168                                 </dl>
1169                         
1170                         
1171                         
1172
1173                     
1174                     
1175                      
1176                     </div>                    
1177                 </div>
1178
1179             </td>
1180             <td class="msource">
1181                 
1182                         Roo.Resizable
1183                 &nbsp;
1184             </td>
1185         </tr>
1186         
1187           
1188           <tr class="method-row config-row-alt1 expandable notInherited">
1189             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1190            
1191            
1192             <td class="sig">
1193                 <a id="Roo.Resizable-method-getResizeChild"   name=".getResizeChild"></a>
1194                 <div class="fixedFont">
1195                         <span class="attributes"></span><b class="itemname">getResizeChild</b>
1196                                 
1197                                  () 
1198                         
1199                                 
1200                                          : 
1201                                         
1202                                                 
1203                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1204                                         
1205                                         
1206                                         
1207                                 
1208                         
1209                 </div>
1210                 <div class="mdesc">
1211                 
1212                    <div class="short">Returns the resizeChild element (or null).</div> 
1213                  
1214                  
1215                  
1216                     <div class="long">
1217                         
1218                                 Returns the resizeChild element (or null).
1219                     
1220                                 
1221                         
1222                         
1223                         
1224                         
1225                         
1226                         
1227                         
1228                         
1229                                 <dl class="detailList">
1230                                 <dt class="heading">Returns:</dt>
1231                                 
1232                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
1233                                 
1234                                 </dl>
1235                         
1236                         
1237                         
1238
1239                     
1240                     
1241                      
1242                     </div>                    
1243                 </div>
1244
1245             </td>
1246             <td class="msource">
1247                 
1248                         Roo.Resizable
1249                 &nbsp;
1250             </td>
1251         </tr>
1252         
1253           
1254           <tr class="method-row config-row-alt0 expandable notInherited">
1255             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1256            
1257            
1258             <td class="sig">
1259                 <a id="Roo.Resizable-method-resizeTo"   name=".resizeTo"></a>
1260                 <div class="fixedFont">
1261                         <span class="attributes"></span><b class="itemname">resizeTo</b>
1262                                 
1263                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>) 
1264                         
1265                                 
1266                         
1267                 </div>
1268                 <div class="mdesc">
1269                 
1270                    <div class="short">Perform a manual resize</div> 
1271                  
1272                  
1273                  
1274                     <div class="long">
1275                         
1276                                 Perform a manual resize
1277                     
1278                                 
1279                         
1280                         
1281                         
1282                         
1283                                 <dl class="detailList">
1284                                 <dt class="heading">Parameters:</dt>
1285                                 
1286                                         <dt>
1287                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>width</b>
1288                                                 
1289                                         </dt>
1290                                         <dd></dd>
1291                                 
1292                                         <dt>
1293                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>height</b>
1294                                                 
1295                                         </dt>
1296                                         <dd></dd>
1297                                 
1298                                 </dl>
1299                         
1300                         
1301                         
1302                         
1303                         
1304                         
1305                         
1306
1307                     
1308                     
1309                      
1310                     </div>                    
1311                 </div>
1312
1313             </td>
1314             <td class="msource">
1315                 
1316                         Roo.Resizable
1317                 &nbsp;
1318             </td>
1319         </tr>
1320         
1321                                                        
1322     </table>
1323
1324   
1325   <!-- ============================== events summary / details ======================== -->
1326   
1327   
1328   <a id="Roo.Resizable-events"></a>
1329     
1330   
1331         
1332    
1333   
1334     
1335     
1336     
1337       <table cellspacing="0" class="member-table">
1338                 <caption>Events</caption>
1339               <thead>
1340                 <tr>
1341                     <th class="sig-header" colspan="2">Event</th>            
1342                     <th class="msource-header">Defined By</th>
1343
1344                 </tr>
1345               </thead>  
1346         
1347         
1348          
1349         
1350         
1351           <tr class="method-row expandable config-row-alt0 notInherited">
1352             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1353             
1354             <td class="sig">
1355                 <a id="Roo.Resizable-event-*beforeresize"></a>
1356                 
1357                <div class="fixedFont">
1358                 <b class="itemname">beforeresize</b> (<a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>) 
1359                 
1360                 </div>
1361
1362                 <div class="mdesc">
1363
1364                    <div class="short">Fired before resize is allowed.
1365                    
1366                 </div> 
1367                     
1368                     <div class="long">
1369                     
1370                         Fired before resize is allowed. Set enabled to false to cancel resize.
1371                     
1372                         
1373                         
1374                 
1375                         
1376                                 <dl class="detailList">
1377                                 <dt class="heading">Parameters:</dt>
1378                                 
1379                                         <dt>
1380                                                 <span class="fixedFont"><a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a></span> <b>this</b>
1381                                                 
1382                                         </dt>
1383                                         <dd></dd>
1384                                 
1385                                         <dt>
1386                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1387                                                 
1388                                         </dt>
1389                                         <dd>The mousedown event</dd>
1390                                 
1391                                 </dl>
1392                         
1393                         
1394                         
1395                         
1396                         
1397                         
1398                         
1399
1400                     
1401                     
1402                      
1403                     </div>                    
1404                 </div>
1405
1406             </td>
1407             <td class="msource">
1408                 Roo.Resizable
1409             </td>
1410         </tr>
1411         
1412           <tr class="method-row expandable config-row-alt1 notInherited">
1413             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1414             
1415             <td class="sig">
1416                 <a id="Roo.Resizable-event-*resize"></a>
1417                 
1418                <div class="fixedFont">
1419                 <b class="itemname">resize</b> (<a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>) 
1420                 
1421                 </div>
1422
1423                 <div class="mdesc">
1424
1425                    <div class="short">Fired after a resize.
1426                    
1427                 </div> 
1428                     
1429                     <div class="long">
1430                     
1431                         Fired after a resize.
1432                     
1433                         
1434                         
1435                 
1436                         
1437                                 <dl class="detailList">
1438                                 <dt class="heading">Parameters:</dt>
1439                                 
1440                                         <dt>
1441                                                 <span class="fixedFont"><a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a></span> <b>this</b>
1442                                                 
1443                                         </dt>
1444                                         <dd></dd>
1445                                 
1446                                         <dt>
1447                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
1448                                                 
1449                                         </dt>
1450                                         <dd>The new width</dd>
1451                                 
1452                                         <dt>
1453                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
1454                                                 
1455                                         </dt>
1456                                         <dd>The new height</dd>
1457                                 
1458                                         <dt>
1459                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1460                                                 
1461                                         </dt>
1462                                         <dd>The mouseup event</dd>
1463                                 
1464                                 </dl>
1465                         
1466                         
1467                         
1468                         
1469                         
1470                         
1471                         
1472
1473                     
1474                     
1475                      
1476                     </div>                    
1477                 </div>
1478
1479             </td>
1480             <td class="msource">
1481                 Roo.Resizable
1482             </td>
1483         </tr>
1484         
1485                                                        
1486     </table>
1487
1488   
1489   
1490   
1491  
1492 <!-- ============================== footer ================================= -->
1493                 <div class="fineprint" style="clear:both">
1494                         
1495                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 16:37:03 GMT+0800 (HKT)
1496                         Based on 
1497                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1498                 </div>
1499         </body>
1500 </html>