sync
[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">
488                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
489                     <td class="sig">
490
491                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
492                         <div class="fixedFont">
493                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
494                                 
495                                 
496                         </div>
497                   
498                         <div class="mdesc">
499                             <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           .</div> 
500                         </div>
501                         
502                         <div class="mdesc">
503                             <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/>    listeners :  { <br/>       'click' : function(e) {<br/>           ..... <br/>        } ,<br/>        .... <br/>    } <br/>  </code></pre></div> 
504                         </div>
505                         
506                         
507
508                     </td>
509                     <td class="msource">
510                         
511                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
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-maxHeight" name=".maxHeight"></a>
522                         <div class="fixedFont">
523                                 <b  class="itemname">maxHeight</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 height for the element (defaults to 10000)</div> 
530                         </div>
531                         
532                         <div class="mdesc">
533                             <div class="long">The maximum height 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-maxWidth" name=".maxWidth"></a>
552                         <div class="fixedFont">
553                                 <b  class="itemname">maxWidth</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 maximum width for the element (defaults to 10000)</div> 
560                         </div>
561                         
562                         <div class="mdesc">
563                             <div class="long">The maximum width for the element (defaults to 10000)</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-minHeight" name=".minHeight"></a>
582                         <div class="fixedFont">
583                                 <b  class="itemname">minHeight</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 height for the element (defaults to 5)</div> 
590                         </div>
591                         
592                         <div class="mdesc">
593                             <div class="long">The minimum height 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-minWidth" name=".minWidth"></a>
612                         <div class="fixedFont">
613                                 <b  class="itemname">minWidth</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 width for the element (defaults to 5)</div> 
620                         </div>
621                         
622                         <div class="mdesc">
623                             <div class="long">The minimum width for the element (defaults to 5)</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-minX" name=".minX"></a>
642                         <div class="fixedFont">
643                                 <b  class="itemname">minX</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 X for the element (only used for west resizing, defaults to 0)</div> 
650                         </div>
651                         
652                         <div class="mdesc">
653                             <div class="long">The minimum allowed page X for the element (only used for west 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-minY" name=".minY"></a>
672                         <div class="fixedFont">
673                                 <b  class="itemname">minY</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
674                                 
675                                 
676                         </div>
677                   
678                         <div class="mdesc">
679                             <div class="short">The minimum allowed page Y for the element (only used for north resizing, defaults to 0)</div> 
680                         </div>
681                         
682                         <div class="mdesc">
683                             <div class="long">The minimum allowed page Y for the element (only used for north resizing, defaults to 0)</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-multiDirectional" name=".multiDirectional"></a>
702                         <div class="fixedFont">
703                                 <b  class="itemname">multiDirectional</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"><b>Deprecated</b>.</div> 
710                         </div>
711                         
712                         <div class="mdesc">
713                             <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> 
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-pinned" name=".pinned"></a>
732                         <div class="fixedFont">
733                                 <b  class="itemname">pinned</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 ensure that the resize handles are always visible, false to display them only when the<br/>user mouses over the resizable borders.</div> 
740                         </div>
741                         
742                         <div class="mdesc">
743                             <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> 
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-preserveRatio" name=".preserveRatio"></a>
762                         <div class="fixedFont">
763                                 <b  class="itemname">preserveRatio</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
764                                 
765                                 
766                         </div>
767                   
768                         <div class="mdesc">
769                             <div class="short">True to preserve the original ratio between height and width during resize (defaults to false)</div> 
770                         </div>
771                         
772                         <div class="mdesc">
773                             <div class="long">True to preserve the original ratio between height and width during 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-resizeChild" name=".resizeChild"></a>
792                         <div class="fixedFont">
793                                 <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
794                                 
795                                 
796                         </div>
797                   
798                         <div class="mdesc">
799                             <div class="short">True to resize the first child, or id/element to resize (defaults to false)</div> 
800                         </div>
801                         
802                         <div class="mdesc">
803                             <div class="long">True to resize the first child, or id/element to resize (defaults to false)</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-resizeRegion" name=".resizeRegion"></a>
822                         <div class="fixedFont">
823                                 <b  class="itemname">resizeRegion</b> : Roo.lib.Region
824                                 
825                                 
826                         </div>
827                   
828                         <div class="mdesc">
829                             <div class="short">Constrain the resize to a particular region</div> 
830                         </div>
831                         
832                         <div class="mdesc">
833                             <div class="long">Constrain the resize to a particular region</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-transparent" name=".transparent"></a>
852                         <div class="fixedFont">
853                                 <b  class="itemname">transparent</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
854                                 
855                                 
856                         </div>
857                   
858                         <div class="mdesc">
859                             <div class="short">True for transparent handles.</div> 
860                         </div>
861                         
862                         <div class="mdesc">
863                             <div class="long">True for transparent handles. This is only applied at config time. (defaults to false)</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-width" name=".width"></a>
882                         <div class="fixedFont">
883                                 <b  class="itemname">width</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 width of the element in pixels (defaults to null)</div> 
890                         </div>
891                         
892                         <div class="mdesc">
893                             <div class="long">The width of the element in pixels (defaults to null)</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-widthIncrement" name=".widthIncrement"></a>
912                         <div class="fixedFont">
913                                 <b  class="itemname">widthIncrement</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
914                                 
915                                 
916                         </div>
917                   
918                         <div class="mdesc">
919                             <div class="short">The increment to snap the width resize in pixels (dynamic must be true, defaults to 0)</div> 
920                         </div>
921                         
922                         <div class="mdesc">
923                             <div class="long">The increment to snap the width resize in pixels (dynamic must be true, defaults to 0)</div> 
924                         </div>
925                         
926                         
927
928                     </td>
929                     <td class="msource">
930                         
931                         Roo.Resizable
932                                 
933                     </td>
934                 </tr>
935         
936         
937                 <tr class="config-row expandable config-row-alt1 notInherited">
938                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
939                     <td class="sig">
940
941                         <a id="Roo.Resizable-cfg-wrap" name=".wrap"></a>
942                         <div class="fixedFont">
943                                 <b  class="itemname">wrap</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
944                                 
945                                 
946                         </div>
947                   
948                         <div class="mdesc">
949                             <div class="short">True to wrap an element with a div if needed (required for textareas and images, defaults to false)</div> 
950                         </div>
951                         
952                         <div class="mdesc">
953                             <div class="long">True to wrap an element with a div if needed (required for textareas and images, defaults to false)</div> 
954                         </div>
955                         
956                         
957
958                     </td>
959                     <td class="msource">
960                         
961                         Roo.Resizable
962                                 
963                     </td>
964                 </tr>
965         
966         
967     </table>
968                 
969   
970   
971   
972   
973   
974   
975   
976   
977   <!-- ============================== public properties ==================== -->        
978   
979   
980   
981     <a id="Roo.Resizable-props"></a>      
982     
983     
984
985     
986     
987      <table cellspacing="0" class="member-table">
988       <caption class="Empty">Public Properties - Has None</caption>
989      </table>
990     
991     
992      
993     
994   <!-- ============================== methods summary / details ======================== -->
995   
996   
997   <a id="Roo.Resizable-methods"></a>
998         <!-- constructor?? -->
999         
1000         <!-- static's first 
1001         
1002         
1003         -->
1004         
1005         <!-- then dynamics first -->
1006         
1007   
1008   
1009     
1010     
1011     
1012       <table cellspacing="0" class="member-table">
1013       <caption>Public Methods</caption>
1014         <tr>
1015             <th class="sig-header" colspan="2">Method</th>            
1016             <th class="msource-header">Defined By</th>
1017
1018         </tr>
1019         
1020         
1021         
1022          
1023         
1024         
1025           
1026           <tr class="method-row config-row-alt0 expandable notInherited">
1027             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1028            
1029            
1030             <td class="sig">
1031                 <a id="Roo-method-Resizable"   name=".Resizable"></a>
1032                 <div class="fixedFont">
1033                         <span class="attributes">new <B>Roo.</B></span><b class="itemname">Resizable</b>
1034                                 
1035                                  (<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>) 
1036                         
1037                                 
1038                         
1039                 </div>
1040                 <div class="mdesc">
1041                 
1042                  
1043                         <div class="short">Create a new Roo.Resizable</div> 
1044                  
1045                  
1046                     <div class="long">
1047                         
1048                         
1049                         
1050                                 Create a new Roo.Resizable
1051                         
1052                         
1053                                 <dl class="detailList">
1054                                 <dt class="heading">Parameters:</dt>
1055                                 
1056                                         <dt>
1057                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
1058                                                 
1059                                         </dt>
1060                                         <dd>The id or element to resize</dd>
1061                                 
1062                                         <dt>
1063                                                 <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>
1064                                                 
1065                                         </dt>
1066                                         <dd>configuration options</dd>
1067                                 
1068                                 </dl>
1069                         
1070                         
1071                         
1072                         
1073                         
1074                         
1075                         
1076
1077                     
1078                     
1079                      
1080                     </div>                    
1081                 </div>
1082
1083             </td>
1084             <td class="msource">
1085                 &nbsp;
1086             </td>
1087         </tr>
1088         
1089           
1090           <tr class="method-row config-row-alt1 expandable">
1091             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1092            
1093            
1094             <td class="sig">
1095                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
1096                 <div class="fixedFont">
1097                         <span class="attributes"></span><b class="itemname">addEvents</b>
1098                                 
1099                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
1100                         
1101                                 
1102                         
1103                 </div>
1104                 <div class="mdesc">
1105                 
1106                    <div class="short">Used to define events on this Observable</div> 
1107                  
1108                  
1109                  
1110                     <div class="long">
1111                         
1112                                 Used to define events on this Observable
1113                     
1114                                 
1115                         
1116                         
1117                         
1118                         
1119                                 <dl class="detailList">
1120                                 <dt class="heading">Parameters:</dt>
1121                                 
1122                                         <dt>
1123                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>object</b>
1124                                                 
1125                                         </dt>
1126                                         <dd>The object with the events defined</dd>
1127                                 
1128                                 </dl>
1129                         
1130                         
1131                         
1132                         
1133                         
1134                         
1135                         
1136
1137                     
1138                     
1139                      
1140                     </div>                    
1141                 </div>
1142
1143             </td>
1144             <td class="msource">
1145                 
1146                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1147                 &nbsp;
1148             </td>
1149         </tr>
1150         
1151           
1152           <tr class="method-row config-row-alt0 expandable">
1153             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1154            
1155            
1156             <td class="sig">
1157                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
1158                 <div class="fixedFont">
1159                         <span class="attributes"></span><b class="itemname">addListener</b>
1160                                 
1161                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1162                         
1163                                 
1164                         
1165                 </div>
1166                 <div class="mdesc">
1167                 
1168                    <div class="short">Appends an event handler to this component</div> 
1169                  
1170                  
1171                  
1172                     <div class="long">
1173                         
1174                                 Appends an event handler to this component
1175                     
1176                                 
1177                         
1178                         
1179                         
1180                         
1181                                 <dl class="detailList">
1182                                 <dt class="heading">Parameters:</dt>
1183                                 
1184                                         <dt>
1185                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1186                                                 
1187                                         </dt>
1188                                         <dd>The type of event to listen for</dd>
1189                                 
1190                                         <dt>
1191                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1192                                                 
1193                                         </dt>
1194                                         <dd>The method the event invokes</dd>
1195                                 
1196                                         <dt>
1197                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1198                                                 
1199                                         </dt>
1200                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1201                                 
1202                                         <dt>
1203                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1204                                                 
1205                                         </dt>
1206                                         <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/>             <pre><code><br/>                el.on('click', this.onClick, this, {<br/>                       single: true,<br/>              delay: 100,<br/>                forumId: 4<br/>         });<br/>                </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/>               el.on({<br/>                    'click': {<br/>                 fn: this.onClick,<br/>                  scope: this,<br/>                       delay: 100<br/>                 }, <br/>                'mouseover': {<br/>                     fn: this.onMouseOver,<br/>                      scope: this<br/>                },<br/>                 'mouseout': {<br/>                      fn: this.onMouseOut,<br/>                       scope: this<br/>                }<br/>          });<br/>                </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/>        <pre><code><br/>                el.on({<br/>                    'click': this.onClick,<br/>             'mouseover': this.onMouseOver,<br/>             'mouseout': this.onMouseOut,<br/>               scope: this<br/>                });<br/>                </code></pre></dd>
1207                                 
1208                                 </dl>
1209                         
1210                         
1211                         
1212                         
1213                         
1214                         
1215                         
1216
1217                     
1218                     
1219                      
1220                     </div>                    
1221                 </div>
1222
1223             </td>
1224             <td class="msource">
1225                 
1226                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1227                 &nbsp;
1228             </td>
1229         </tr>
1230         
1231           
1232           <tr class="method-row config-row-alt1 expandable notInherited">
1233             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1234            
1235            
1236             <td class="sig">
1237                 <a id="Roo.Resizable-method-destroy"   name=".destroy"></a>
1238                 <div class="fixedFont">
1239                         <span class="attributes"></span><b class="itemname">destroy</b>
1240                                 
1241                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>) 
1242                         
1243                                 
1244                         
1245                 </div>
1246                 <div class="mdesc">
1247                 
1248                    <div class="short">Destroys this resizable.</div> 
1249                  
1250                  
1251                  
1252                     <div class="long">
1253                         
1254                                 Destroys this resizable. If the element was wrapped and<br/>removeEl is not true then the element remains.
1255                     
1256                                 
1257                         
1258                         
1259                         
1260                         
1261                                 <dl class="detailList">
1262                                 <dt class="heading">Parameters:</dt>
1263                                 
1264                                         <dt>
1265                                                 <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>
1266                                                 
1267                                         </dt>
1268                                         <dd>(optional) true to remove the element from the DOM</dd>
1269                                 
1270                                 </dl>
1271                         
1272                         
1273                         
1274                         
1275                         
1276                         
1277                         
1278
1279                     
1280                     
1281                      
1282                     </div>                    
1283                 </div>
1284
1285             </td>
1286             <td class="msource">
1287                 
1288                         Roo.Resizable
1289                 &nbsp;
1290             </td>
1291         </tr>
1292         
1293           
1294           <tr class="method-row config-row-alt0 expandable">
1295             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1296            
1297            
1298             <td class="sig">
1299                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
1300                 <div class="fixedFont">
1301                         <span class="attributes"></span><b class="itemname">fireEvent</b>
1302                                 
1303                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>) 
1304                         
1305                                 
1306                                          : 
1307                                         
1308                                                 
1309                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1310                                         
1311                                         
1312                                         
1313                                 
1314                         
1315                 </div>
1316                 <div class="mdesc">
1317                 
1318                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
1319                  
1320                  
1321                  
1322                     <div class="long">
1323                         
1324                                 Fires the specified event with the passed parameters (minus the event name).
1325                     
1326                                 
1327                         
1328                         
1329                         
1330                         
1331                                 <dl class="detailList">
1332                                 <dt class="heading">Parameters:</dt>
1333                                 
1334                                         <dt>
1335                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1336                                                 
1337                                         </dt>
1338                                         <dd></dd>
1339                                 
1340                                         <dt>
1341                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span>  <b>args</b>
1342                                                 
1343                                         </dt>
1344                                         <dd>Variable number of parameters are passed to handlers</dd>
1345                                 
1346                                 </dl>
1347                         
1348                         
1349                         
1350                         
1351                         
1352                                 <dl class="detailList">
1353                                 <dt class="heading">Returns:</dt>
1354                                 
1355                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  returns false if any of the handlers return false otherwise it returns true</dd>
1356                                 
1357                                 </dl>
1358                         
1359                         
1360                         
1361
1362                     
1363                     
1364                      
1365                     </div>                    
1366                 </div>
1367
1368             </td>
1369             <td class="msource">
1370                 
1371                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1372                 &nbsp;
1373             </td>
1374         </tr>
1375         
1376           
1377           <tr class="method-row config-row-alt1 expandable notInherited">
1378             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1379            
1380            
1381             <td class="sig">
1382                 <a id="Roo.Resizable-method-getEl"   name=".getEl"></a>
1383                 <div class="fixedFont">
1384                         <span class="attributes"></span><b class="itemname">getEl</b>
1385                                 
1386                                  () 
1387                         
1388                                 
1389                                          : 
1390                                         
1391                                                 
1392                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1393                                         
1394                                         
1395                                         
1396                                 
1397                         
1398                 </div>
1399                 <div class="mdesc">
1400                 
1401                    <div class="short">Returns the element this component is bound to.</div> 
1402                  
1403                  
1404                  
1405                     <div class="long">
1406                         
1407                                 Returns the element this component is bound to.
1408                     
1409                                 
1410                         
1411                         
1412                         
1413                         
1414                         
1415                         
1416                         
1417                         
1418                                 <dl class="detailList">
1419                                 <dt class="heading">Returns:</dt>
1420                                 
1421                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
1422                                 
1423                                 </dl>
1424                         
1425                         
1426                         
1427
1428                     
1429                     
1430                      
1431                     </div>                    
1432                 </div>
1433
1434             </td>
1435             <td class="msource">
1436                 
1437                         Roo.Resizable
1438                 &nbsp;
1439             </td>
1440         </tr>
1441         
1442           
1443           <tr class="method-row config-row-alt0 expandable notInherited">
1444             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1445            
1446            
1447             <td class="sig">
1448                 <a id="Roo.Resizable-method-getResizeChild"   name=".getResizeChild"></a>
1449                 <div class="fixedFont">
1450                         <span class="attributes"></span><b class="itemname">getResizeChild</b>
1451                                 
1452                                  () 
1453                         
1454                                 
1455                                          : 
1456                                         
1457                                                 
1458                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1459                                         
1460                                         
1461                                         
1462                                 
1463                         
1464                 </div>
1465                 <div class="mdesc">
1466                 
1467                    <div class="short">Returns the resizeChild element (or null).</div> 
1468                  
1469                  
1470                  
1471                     <div class="long">
1472                         
1473                                 Returns the resizeChild element (or null).
1474                     
1475                                 
1476                         
1477                         
1478                         
1479                         
1480                         
1481                         
1482                         
1483                         
1484                                 <dl class="detailList">
1485                                 <dt class="heading">Returns:</dt>
1486                                 
1487                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
1488                                 
1489                                 </dl>
1490                         
1491                         
1492                         
1493
1494                     
1495                     
1496                      
1497                     </div>                    
1498                 </div>
1499
1500             </td>
1501             <td class="msource">
1502                 
1503                         Roo.Resizable
1504                 &nbsp;
1505             </td>
1506         </tr>
1507         
1508           
1509           <tr class="method-row config-row-alt1 expandable">
1510             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1511            
1512            
1513             <td class="sig">
1514                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
1515                 <div class="fixedFont">
1516                         <span class="attributes"></span><b class="itemname">hasListener</b>
1517                                 
1518                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
1519                         
1520                                 
1521                                          : 
1522                                         
1523                                                 
1524                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1525                                         
1526                                         
1527                                         
1528                                 
1529                         
1530                 </div>
1531                 <div class="mdesc">
1532                 
1533                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
1534                  
1535                  
1536                  
1537                     <div class="long">
1538                         
1539                                 Checks to see if this object has any listeners for a specified event
1540                     
1541                                 
1542                         
1543                         
1544                         
1545                         
1546                                 <dl class="detailList">
1547                                 <dt class="heading">Parameters:</dt>
1548                                 
1549                                         <dt>
1550                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1551                                                 
1552                                         </dt>
1553                                         <dd>The name of the event to check for</dd>
1554                                 
1555                                 </dl>
1556                         
1557                         
1558                         
1559                         
1560                         
1561                                 <dl class="detailList">
1562                                 <dt class="heading">Returns:</dt>
1563                                 
1564                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  True if the event is being listened for, else false</dd>
1565                                 
1566                                 </dl>
1567                         
1568                         
1569                         
1570
1571                     
1572                     
1573                      
1574                     </div>                    
1575                 </div>
1576
1577             </td>
1578             <td class="msource">
1579                 
1580                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1581                 &nbsp;
1582             </td>
1583         </tr>
1584         
1585           
1586           <tr class="method-row config-row-alt0 expandable">
1587             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1588            
1589            
1590             <td class="sig">
1591                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
1592                 <div class="fixedFont">
1593                         <span class="attributes"></span><b class="itemname">on</b>
1594                                 
1595                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>) 
1596                         
1597                                 
1598                         
1599                 </div>
1600                 <div class="mdesc">
1601                 
1602                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
1603                  
1604                  
1605                  
1606                     <div class="long">
1607                         
1608                                 Appends an event handler to this element (shorthand for addListener)
1609                     
1610                                 
1611                         
1612                         
1613                         
1614                         
1615                                 <dl class="detailList">
1616                                 <dt class="heading">Parameters:</dt>
1617                                 
1618                                         <dt>
1619                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1620                                                 
1621                                         </dt>
1622                                         <dd>The type of event to listen for</dd>
1623                                 
1624                                         <dt>
1625                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1626                                                 
1627                                         </dt>
1628                                         <dd>The method the event invokes</dd>
1629                                 
1630                                         <dt>
1631                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1632                                                 
1633                                         </dt>
1634                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1635                                 
1636                                         <dt>
1637                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>options</b>
1638                                                 
1639                                         </dt>
1640                                         <dd>(optional)</dd>
1641                                 
1642                                 </dl>
1643                         
1644                         
1645                         
1646                         
1647                         
1648                         
1649                         
1650
1651                     
1652                     
1653                      
1654                     </div>                    
1655                 </div>
1656
1657             </td>
1658             <td class="msource">
1659                 
1660                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1661                 &nbsp;
1662             </td>
1663         </tr>
1664         
1665           
1666           <tr class="method-row config-row-alt1 expandable">
1667             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1668            
1669            
1670             <td class="sig">
1671                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
1672                 <div class="fixedFont">
1673                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
1674                                 
1675                                  () 
1676                         
1677                                 
1678                         
1679                 </div>
1680                 <div class="mdesc">
1681                 
1682                    <div class="short">Removes all listeners for this object</div> 
1683                  
1684                  
1685                  
1686                     <div class="long">
1687                         
1688                                 Removes all listeners for this object
1689                     
1690                                 
1691                         
1692                         
1693                         
1694                         
1695                         
1696                         
1697                         
1698                         
1699                         
1700                         
1701
1702                     
1703                     
1704                      
1705                     </div>                    
1706                 </div>
1707
1708             </td>
1709             <td class="msource">
1710                 
1711                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1712                 &nbsp;
1713             </td>
1714         </tr>
1715         
1716           
1717           <tr class="method-row config-row-alt0 expandable">
1718             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1719            
1720            
1721             <td class="sig">
1722                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
1723                 <div class="fixedFont">
1724                         <span class="attributes"></span><b class="itemname">removeListener</b>
1725                                 
1726                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1727                         
1728                                 
1729                         
1730                 </div>
1731                 <div class="mdesc">
1732                 
1733                    <div class="short">Removes a listener</div> 
1734                  
1735                  
1736                  
1737                     <div class="long">
1738                         
1739                                 Removes a listener
1740                     
1741                                 
1742                         
1743                         
1744                         
1745                         
1746                                 <dl class="detailList">
1747                                 <dt class="heading">Parameters:</dt>
1748                                 
1749                                         <dt>
1750                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1751                                                 
1752                                         </dt>
1753                                         <dd>The type of event to listen for</dd>
1754                                 
1755                                         <dt>
1756                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1757                                                 
1758                                         </dt>
1759                                         <dd>The handler to remove</dd>
1760                                 
1761                                         <dt>
1762                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1763                                                 
1764                                         </dt>
1765                                         <dd>(optional) The scope (this object) for the handler</dd>
1766                                 
1767                                 </dl>
1768                         
1769                         
1770                         
1771                         
1772                         
1773                         
1774                         
1775
1776                     
1777                     
1778                      
1779                     </div>                    
1780                 </div>
1781
1782             </td>
1783             <td class="msource">
1784                 
1785                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1786                 &nbsp;
1787             </td>
1788         </tr>
1789         
1790           
1791           <tr class="method-row config-row-alt1 expandable notInherited">
1792             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1793            
1794            
1795             <td class="sig">
1796                 <a id="Roo.Resizable-method-resizeTo"   name=".resizeTo"></a>
1797                 <div class="fixedFont">
1798                         <span class="attributes"></span><b class="itemname">resizeTo</b>
1799                                 
1800                                  (<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>) 
1801                         
1802                                 
1803                         
1804                 </div>
1805                 <div class="mdesc">
1806                 
1807                    <div class="short">Perform a manual resize</div> 
1808                  
1809                  
1810                  
1811                     <div class="long">
1812                         
1813                                 Perform a manual resize
1814                     
1815                                 
1816                         
1817                         
1818                         
1819                         
1820                                 <dl class="detailList">
1821                                 <dt class="heading">Parameters:</dt>
1822                                 
1823                                         <dt>
1824                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>width</b>
1825                                                 
1826                                         </dt>
1827                                         <dd></dd>
1828                                 
1829                                         <dt>
1830                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>height</b>
1831                                                 
1832                                         </dt>
1833                                         <dd></dd>
1834                                 
1835                                 </dl>
1836                         
1837                         
1838                         
1839                         
1840                         
1841                         
1842                         
1843
1844                     
1845                     
1846                      
1847                     </div>                    
1848                 </div>
1849
1850             </td>
1851             <td class="msource">
1852                 
1853                         Roo.Resizable
1854                 &nbsp;
1855             </td>
1856         </tr>
1857         
1858           
1859           <tr class="method-row config-row-alt0 expandable">
1860             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1861            
1862            
1863             <td class="sig">
1864                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
1865                 <div class="fixedFont">
1866                         <span class="attributes"></span><b class="itemname">un</b>
1867                                 
1868                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>) 
1869                         
1870                                 
1871                         
1872                 </div>
1873                 <div class="mdesc">
1874                 
1875                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
1876                  
1877                  
1878                  
1879                     <div class="long">
1880                         
1881                                 Removes a listener (shorthand for removeListener)
1882                     
1883                                 
1884                         
1885                         
1886                         
1887                         
1888                                 <dl class="detailList">
1889                                 <dt class="heading">Parameters:</dt>
1890                                 
1891                                         <dt>
1892                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1893                                                 
1894                                         </dt>
1895                                         <dd>The type of event to listen for</dd>
1896                                 
1897                                         <dt>
1898                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1899                                                 
1900                                         </dt>
1901                                         <dd>The handler to remove</dd>
1902                                 
1903                                         <dt>
1904                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>scope</b>
1905                                                 
1906                                         </dt>
1907                                         <dd>(optional) The scope (this object) for the handler</dd>
1908                                 
1909                                 </dl>
1910                         
1911                         
1912                         
1913                         
1914                         
1915                         
1916                         
1917
1918                     
1919                     
1920                      
1921                     </div>                    
1922                 </div>
1923
1924             </td>
1925             <td class="msource">
1926                 
1927                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1928                 &nbsp;
1929             </td>
1930         </tr>
1931         
1932                                                        
1933     </table>
1934
1935   
1936   <!-- ============================== events summary / details ======================== -->
1937   
1938   
1939   <a id="Roo.Resizable-events"></a>
1940     
1941   
1942         
1943    
1944   
1945     
1946     
1947     
1948       <table cellspacing="0" class="member-table">
1949                 <caption>Events</caption>
1950               <thead>
1951                 <tr>
1952                     <th class="sig-header" colspan="2">Event</th>            
1953                     <th class="msource-header">Defined By</th>
1954
1955                 </tr>
1956               </thead>  
1957         
1958         
1959          
1960         
1961         
1962           <tr class="method-row expandable config-row-alt0 notInherited">
1963             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1964             
1965             <td class="sig">
1966                 <a id="Roo.Resizable-event-*beforeresize"></a>
1967                 
1968                <div class="fixedFont">
1969                 <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>) 
1970                 
1971                 </div>
1972
1973                 <div class="mdesc">
1974
1975                    <div class="short">Fired before resize is allowed.
1976                    
1977                 </div> 
1978                     
1979                     <div class="long">
1980                     
1981                         Fired before resize is allowed. Set enabled to false to cancel resize.
1982                     
1983                         
1984                         
1985                 
1986                         
1987                                 <dl class="detailList">
1988                                 <dt class="heading">Parameters:</dt>
1989                                 
1990                                         <dt>
1991                                                 <span class="fixedFont"><a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a></span> <b>this</b>
1992                                                 
1993                                         </dt>
1994                                         <dd></dd>
1995                                 
1996                                         <dt>
1997                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1998                                                 
1999                                         </dt>
2000                                         <dd>The mousedown event</dd>
2001                                 
2002                                 </dl>
2003                         
2004                         
2005                         
2006                         
2007                         
2008                         
2009                         
2010
2011                     
2012                     
2013                      
2014                     </div>                    
2015                 </div>
2016
2017             </td>
2018             <td class="msource">
2019                 Roo.Resizable
2020             </td>
2021         </tr>
2022         
2023           <tr class="method-row expandable config-row-alt1 notInherited">
2024             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2025             
2026             <td class="sig">
2027                 <a id="Roo.Resizable-event-*resize"></a>
2028                 
2029                <div class="fixedFont">
2030                 <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>) 
2031                 
2032                 </div>
2033
2034                 <div class="mdesc">
2035
2036                    <div class="short">Fired after a resize.
2037                    
2038                 </div> 
2039                     
2040                     <div class="long">
2041                     
2042                         Fired after a resize.
2043                     
2044                         
2045                         
2046                 
2047                         
2048                                 <dl class="detailList">
2049                                 <dt class="heading">Parameters:</dt>
2050                                 
2051                                         <dt>
2052                                                 <span class="fixedFont"><a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a></span> <b>this</b>
2053                                                 
2054                                         </dt>
2055                                         <dd></dd>
2056                                 
2057                                         <dt>
2058                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
2059                                                 
2060                                         </dt>
2061                                         <dd>The new width</dd>
2062                                 
2063                                         <dt>
2064                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2065                                                 
2066                                         </dt>
2067                                         <dd>The new height</dd>
2068                                 
2069                                         <dt>
2070                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2071                                                 
2072                                         </dt>
2073                                         <dd>The mouseup event</dd>
2074                                 
2075                                 </dl>
2076                         
2077                         
2078                         
2079                         
2080                         
2081                         
2082                         
2083
2084                     
2085                     
2086                      
2087                     </div>                    
2088                 </div>
2089
2090             </td>
2091             <td class="msource">
2092                 Roo.Resizable
2093             </td>
2094         </tr>
2095         
2096                                                        
2097     </table>
2098
2099   
2100   
2101   
2102  
2103 <!-- ============================== footer ================================= -->
2104                 <div class="fineprint" style="clear:both">
2105                         
2106                         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)
2107                         Based on 
2108                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
2109                 </div>
2110         </body>
2111 </html>