sync
[roojs1] / docs / symbols / Roo.menu.Menu.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.menu.Menu</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.menu.Menu-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.menu.Menu-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.menu.Menu-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.menu.Menu-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.menu.Menu 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.menu.Menu
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.menu</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_menu_Menu.js.html">Roo/menu/Menu.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">Menu</td></tr>
70         
71         
72         <tr><td class="label">Subclasses:</td><td class="hd-info">
73                 <a href="./Roo.menu.ColorMenu.html#constructor" roo:cls="Roo.menu.ColorMenu.html#constructor">Roo.menu.ColorMenu</a>, <a href="./Roo.menu.DateMenu.html#constructor" roo:cls="Roo.menu.DateMenu.html#constructor">Roo.menu.DateMenu</a>
74
75         
76         
77         </td></tr>
78         
79         
80         
81                 <tr><td class="label">Extends:</td><td class="hd-info">
82                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
83         
84                 </td></tr>    
85         
86         
87     </table>
88
89     
90 <!-- ============================== class summary ========================== -->                        
91     <div class="description">
92         A menu object.  This is the container to which you add all other menu items.  Menu can also serve a as a base class<br/>when you want a specialzed menu based off of another component (like {<b>link</b> Roo.menu.DateMenu} for example).
93     </div>
94
95         
96 <!-- ============================== Class comment block... ========================== -->                                       
97
98 <div class="comments">
99         <b>Class Comments / Notes</B> =>  
100         <u onclick="parent.CommentDialog.showCommentId = 'Roo.menu.Menu';">[Add Your comment/notes about this class]</u>
101         <br/>
102         <iframe frameborder="0"  id="comments-Roo.menu" style="border: none;width:100%;" 
103                 src="/blog.php/GtkDjsComments/Roo.menu.Menu.html"></iframe>
104 </div>
105         
106
107                 
108 <!-- ============================== config options ========================== -->                                               
109                  
110     
111     
112                 
113     <div class="hr"></div>
114     <a id="Roo.menu.Menu-configs"></a>
115                 
116     
117      
118     
119         
120       <table cellspacing="0" class="member-table">   
121       <caption>Config Options (Usually are also Properties)</caption>
122     
123         
124         <tr>
125             <th class="sig-header" colspan="2">Options</th>
126             
127             <th class="msource-header">Defined By</th>
128         </tr>
129         
130         
131         
132         
133         
134                 <tr class="config-row expandable config-row-alt0 notInherited">
135                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
136                     <td class="sig">
137
138                         <a id="Roo.menu.Menu-cfg-allowOtherMenus" name=".allowOtherMenus"></a>
139                         <div class="fixedFont">
140                                 <b  class="itemname">allowOtherMenus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
141                                 
142                                 
143                         </div>
144                   
145                         <div class="mdesc">
146                             <div class="short">True to allow multiple menus to be displayed at the same time (defaults to false)</div> 
147                         </div>
148                         
149                         <div class="mdesc">
150                             <div class="long">True to allow multiple menus to be displayed at the same time (defaults to false)</div> 
151                         </div>
152                         
153                         
154
155                     </td>
156                     <td class="msource">
157                         
158                         Roo.menu.Menu
159                                 
160                     </td>
161                 </tr>
162         
163         
164                 <tr class="config-row expandable config-row-alt1 notInherited">
165                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
166                     <td class="sig">
167
168                         <a id="Roo.menu.Menu-cfg-defaultAlign" name=".defaultAlign"></a>
169                         <div class="fixedFont">
170                                 <b  class="itemname">defaultAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
171                                 
172                                 
173                         </div>
174                   
175                         <div class="mdesc">
176                             <div class="short">The default {<b>link</b> Roo.Element<b>alignTo</b>) anchor position value for this menu<br/>relative to its element of origin (defaults to "tl-bl?")</div> 
177                         </div>
178                         
179                         <div class="mdesc">
180                             <div class="long">The default {<b>link</b> Roo.Element<b>alignTo</b>) anchor position value for this menu<br/>relative to its element of origin (defaults to "tl-bl?")</div> 
181                         </div>
182                         
183                         
184
185                     </td>
186                     <td class="msource">
187                         
188                         Roo.menu.Menu
189                                 
190                     </td>
191                 </tr>
192         
193         
194                 <tr class="config-row expandable config-row-alt0">
195                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
196                     <td class="sig">
197
198                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
199                         <div class="fixedFont">
200                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
201                                 
202                                 
203                         </div>
204                   
205                         <div class="mdesc">
206                             <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> 
207                         </div>
208                         
209                         <div class="mdesc">
210                             <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> 
211                         </div>
212                         
213                         
214
215                     </td>
216                     <td class="msource">
217                         
218                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
219                                 
220                     </td>
221                 </tr>
222         
223         
224                 <tr class="config-row expandable config-row-alt1 notInherited">
225                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
226                     <td class="sig">
227
228                         <a id="Roo.menu.Menu-cfg-minWidth" name=".minWidth"></a>
229                         <div class="fixedFont">
230                                 <b  class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
231                                 
232                                 
233                         </div>
234                   
235                         <div class="mdesc">
236                             <div class="short">The minimum width of the menu in pixels (defaults to 120)</div> 
237                         </div>
238                         
239                         <div class="mdesc">
240                             <div class="long">The minimum width of the menu in pixels (defaults to 120)</div> 
241                         </div>
242                         
243                         
244
245                     </td>
246                     <td class="msource">
247                         
248                         Roo.menu.Menu
249                                 
250                     </td>
251                 </tr>
252         
253         
254                 <tr class="config-row expandable config-row-alt0 notInherited">
255                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
256                     <td class="sig">
257
258                         <a id="Roo.menu.Menu-cfg-registerMenu" name=".registerMenu"></a>
259                         <div class="fixedFont">
260                                 <b  class="itemname">registerMenu</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
261                                 
262                                 
263                         </div>
264                   
265                         <div class="mdesc">
266                             <div class="short">True (default) - means that clicking on screen etc.</div> 
267                         </div>
268                         
269                         <div class="mdesc">
270                             <div class="long">True (default) - means that clicking on screen etc. hides it.</div> 
271                         </div>
272                         
273                         
274
275                     </td>
276                     <td class="msource">
277                         
278                         Roo.menu.Menu
279                                 
280                     </td>
281                 </tr>
282         
283         
284                 <tr class="config-row expandable config-row-alt1 notInherited">
285                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
286                     <td class="sig">
287
288                         <a id="Roo.menu.Menu-cfg-shadow" name=".shadow"></a>
289                         <div class="fixedFont">
290                                 <b  class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
291                                 
292                                 
293                         </div>
294                   
295                         <div class="mdesc">
296                             <div class="short">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop"<br/>for bottom-right shadow (defaults to "sides")</div> 
297                         </div>
298                         
299                         <div class="mdesc">
300                             <div class="long">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop"<br/>for bottom-right shadow (defaults to "sides")</div> 
301                         </div>
302                         
303                         
304
305                     </td>
306                     <td class="msource">
307                         
308                         Roo.menu.Menu
309                                 
310                     </td>
311                 </tr>
312         
313         
314                 <tr class="config-row expandable config-row-alt0 notInherited">
315                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
316                     <td class="sig">
317
318                         <a id="Roo.menu.Menu-cfg-subMenuAlign" name=".subMenuAlign"></a>
319                         <div class="fixedFont">
320                                 <b  class="itemname">subMenuAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
321                                 
322                                 
323                         </div>
324                   
325                         <div class="mdesc">
326                             <div class="short">The {<b>link</b> Roo.Element<b>alignTo</b>} anchor position value to use for submenus of<br/>this menu (defaults to "tl-tr?")</div> 
327                         </div>
328                         
329                         <div class="mdesc">
330                             <div class="long">The {<b>link</b> Roo.Element<b>alignTo</b>} anchor position value to use for submenus of<br/>this menu (defaults to "tl-tr?")</div> 
331                         </div>
332                         
333                         
334
335                     </td>
336                     <td class="msource">
337                         
338                         Roo.menu.Menu
339                                 
340                     </td>
341                 </tr>
342         
343         
344     </table>
345                 
346   
347   
348   
349   
350   
351   
352   
353   
354   <!-- ============================== public properties ==================== -->        
355   
356   
357   
358     <a id="Roo.menu.Menu-props"></a>      
359     
360     
361
362     
363     
364      <table cellspacing="0" class="member-table">
365       <caption class="Empty">Public Properties - Has None</caption>
366      </table>
367     
368     
369      
370     
371   <!-- ============================== methods summary / details ======================== -->
372   
373   
374   <a id="Roo.menu.Menu-methods"></a>
375         <!-- constructor?? -->
376         
377         <!-- static's first 
378         
379         
380         -->
381         
382         <!-- then dynamics first -->
383         
384   
385   
386     
387     
388     
389       <table cellspacing="0" class="member-table">
390       <caption>Public Methods</caption>
391         <tr>
392             <th class="sig-header" colspan="2">Method</th>            
393             <th class="msource-header">Defined By</th>
394
395         </tr>
396         
397         
398         
399          
400         
401         
402           
403           <tr class="method-row config-row-alt0 expandable notInherited">
404             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
405            
406            
407             <td class="sig">
408                 <a id="Roo.menu-method-Menu"   name=".Menu"></a>
409                 <div class="fixedFont">
410                         <span class="attributes">new <B>Roo.menu.</B></span><b class="itemname">Menu</b>
411                                 
412                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
413                         
414                                 
415                         
416                 </div>
417                 <div class="mdesc">
418                 
419                  
420                         <div class="short">Create a new Roo.menu.Menu</div> 
421                  
422                  
423                     <div class="long">
424                         
425                         
426                         
427                                 Create a new Roo.menu.Menu
428                         
429                         
430                                 <dl class="detailList">
431                                 <dt class="heading">Parameters:</dt>
432                                 
433                                         <dt>
434                                                 <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>
435                                                 
436                                         </dt>
437                                         <dd>Configuration options</dd>
438                                 
439                                 </dl>
440                         
441                         
442                         
443                         
444                         
445                         
446                         
447
448                     
449                     
450                      
451                     </div>                    
452                 </div>
453
454             </td>
455             <td class="msource">
456                 &nbsp;
457             </td>
458         </tr>
459         
460           
461           <tr class="method-row config-row-alt1 expandable notInherited">
462             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
463            
464            
465             <td class="sig">
466                 <a id="Roo.menu.Menu-method-add"   name=".add"></a>
467                 <div class="fixedFont">
468                         <span class="attributes"></span><b class="itemname">add</b>
469                                 
470                                  (Mixed <B><i>args</i></B>) 
471                         
472                                 
473                                          : 
474                                         
475                                                 
476                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
477                                         
478                                         
479                                         
480                                 
481                         
482                 </div>
483                 <div class="mdesc">
484                 
485                    <div class="short">Addds one or more items of any type supported by the Menu class, or that can be converted into menu items.</div> 
486                  
487                  
488                  
489                     <div class="long">
490                         
491                                 Addds one or more items of any type supported by the Menu class, or that can be converted into menu items.<br/>Any of the following are valid:<br/><ul><br/><li>Any menu item object based on {<b>link</b> Roo.menu.Item}</li><br/><li>An HTMLElement object which will be converted to a menu item</li><br/><li>A menu item config object that will be created as a new menu item</li><br/><li>A string, which can either be '-' or 'separator' to add a menu separator, otherwise<br/>it will be converted into a {<b>link</b> Roo.menu.TextItem} and added</li><br/></ul><br/>Usage:<br/><pre><code><br/>// Create the menu<br/>var menu = new Roo.menu.Menu();<br/><br/>// Create a menu item to add by reference<br/>var menuItem = new Roo.menu.Item({ text: 'New Item!' });<br/><br/>// Add a bunch of items at once using different methods.<br/>// Only the last item added will be returned.<br/>var item = menu.add(<br/>    menuItem,                // add existing item by ref<br/>    'Dynamic Item',          // new TextItem<br/>    '-',                     // new separator<br/>    { text: 'Config Item' }  // new item by config<br/>);<br/></code></pre>
492                     
493                                 
494                         
495                         
496                         
497                         
498                                 <dl class="detailList">
499                                 <dt class="heading">Parameters:</dt>
500                                 
501                                         <dt>
502                                                 <span class="fixedFont">Mixed</span>  <b>args</b>
503                                                 
504                                         </dt>
505                                         <dd>One or more menu items, menu item configs or other objects that can be converted to menu items</dd>
506                                 
507                                 </dl>
508                         
509                         
510                         
511                         
512                         
513                                 <dl class="detailList">
514                                 <dt class="heading">Returns:</dt>
515                                 
516                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added, or the last one if multiple items were added</dd>
517                                 
518                                 </dl>
519                         
520                         
521                         
522
523                     
524                     
525                      
526                     </div>                    
527                 </div>
528
529             </td>
530             <td class="msource">
531                 
532                         Roo.menu.Menu
533                 &nbsp;
534             </td>
535         </tr>
536         
537           
538           <tr class="method-row config-row-alt0 expandable notInherited">
539             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
540            
541            
542             <td class="sig">
543                 <a id="Roo.menu.Menu-method-addElement"   name=".addElement"></a>
544                 <div class="fixedFont">
545                         <span class="attributes"></span><b class="itemname">addElement</b>
546                                 
547                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>) 
548                         
549                                 
550                                          : 
551                                         
552                                                 
553                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
554                                         
555                                         
556                                         
557                                 
558                         
559                 </div>
560                 <div class="mdesc">
561                 
562                    <div class="short">Adds an {<b>link</b> Roo.Element} object to the menu</div> 
563                  
564                  
565                  
566                     <div class="long">
567                         
568                                 Adds an {<b>link</b> Roo.Element} object to the menu
569                     
570                                 
571                         
572                         
573                         
574                         
575                                 <dl class="detailList">
576                                 <dt class="heading">Parameters:</dt>
577                                 
578                                         <dt>
579                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
580                                                 
581                                         </dt>
582                                         <dd>The element or DOM node to add, or its id</dd>
583                                 
584                                 </dl>
585                         
586                         
587                         
588                         
589                         
590                                 <dl class="detailList">
591                                 <dt class="heading">Returns:</dt>
592                                 
593                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added</dd>
594                                 
595                                 </dl>
596                         
597                         
598                         
599
600                     
601                     
602                      
603                     </div>                    
604                 </div>
605
606             </td>
607             <td class="msource">
608                 
609                         Roo.menu.Menu
610                 &nbsp;
611             </td>
612         </tr>
613         
614           
615           <tr class="method-row config-row-alt1 expandable">
616             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
617            
618            
619             <td class="sig">
620                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
621                 <div class="fixedFont">
622                         <span class="attributes"></span><b class="itemname">addEvents</b>
623                                 
624                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
625                         
626                                 
627                         
628                 </div>
629                 <div class="mdesc">
630                 
631                    <div class="short">Used to define events on this Observable</div> 
632                  
633                  
634                  
635                     <div class="long">
636                         
637                                 Used to define events on this Observable
638                     
639                                 
640                         
641                         
642                         
643                         
644                                 <dl class="detailList">
645                                 <dt class="heading">Parameters:</dt>
646                                 
647                                         <dt>
648                                                 <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>
649                                                 
650                                         </dt>
651                                         <dd>The object with the events defined</dd>
652                                 
653                                 </dl>
654                         
655                         
656                         
657                         
658                         
659                         
660                         
661
662                     
663                     
664                      
665                     </div>                    
666                 </div>
667
668             </td>
669             <td class="msource">
670                 
671                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
672                 &nbsp;
673             </td>
674         </tr>
675         
676           
677           <tr class="method-row config-row-alt0 expandable notInherited">
678             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
679            
680            
681             <td class="sig">
682                 <a id="Roo.menu.Menu-method-addItem"   name=".addItem"></a>
683                 <div class="fixedFont">
684                         <span class="attributes"></span><b class="itemname">addItem</b>
685                                 
686                                  (<a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>item</i></B>) 
687                         
688                                 
689                                          : 
690                                         
691                                                 
692                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
693                                         
694                                         
695                                         
696                                 
697                         
698                 </div>
699                 <div class="mdesc">
700                 
701                    <div class="short">Adds an existing object based on {<b>link</b> Roo.menu.Item} to the menu</div> 
702                  
703                  
704                  
705                     <div class="long">
706                         
707                                 Adds an existing object based on {<b>link</b> Roo.menu.Item} to the menu
708                     
709                                 
710                         
711                         
712                         
713                         
714                                 <dl class="detailList">
715                                 <dt class="heading">Parameters:</dt>
716                                 
717                                         <dt>
718                                                 <span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  <b>item</b>
719                                                 
720                                         </dt>
721                                         <dd>The menu item to add</dd>
722                                 
723                                 </dl>
724                         
725                         
726                         
727                         
728                         
729                                 <dl class="detailList">
730                                 <dt class="heading">Returns:</dt>
731                                 
732                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added</dd>
733                                 
734                                 </dl>
735                         
736                         
737                         
738
739                     
740                     
741                      
742                     </div>                    
743                 </div>
744
745             </td>
746             <td class="msource">
747                 
748                         Roo.menu.Menu
749                 &nbsp;
750             </td>
751         </tr>
752         
753           
754           <tr class="method-row config-row-alt1 expandable">
755             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
756            
757            
758             <td class="sig">
759                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
760                 <div class="fixedFont">
761                         <span class="attributes"></span><b class="itemname">addListener</b>
762                                 
763                                  (<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>) 
764                         
765                                 
766                         
767                 </div>
768                 <div class="mdesc">
769                 
770                    <div class="short">Appends an event handler to this component</div> 
771                  
772                  
773                  
774                     <div class="long">
775                         
776                                 Appends an event handler to this component
777                     
778                                 
779                         
780                         
781                         
782                         
783                                 <dl class="detailList">
784                                 <dt class="heading">Parameters:</dt>
785                                 
786                                         <dt>
787                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
788                                                 
789                                         </dt>
790                                         <dd>The type of event to listen for</dd>
791                                 
792                                         <dt>
793                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
794                                                 
795                                         </dt>
796                                         <dd>The method the event invokes</dd>
797                                 
798                                         <dt>
799                                                 <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>
800                                                 
801                                         </dt>
802                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
803                                 
804                                         <dt>
805                                                 <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>
806                                                 
807                                         </dt>
808                                         <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>
809                                 
810                                 </dl>
811                         
812                         
813                         
814                         
815                         
816                         
817                         
818
819                     
820                     
821                      
822                     </div>                    
823                 </div>
824
825             </td>
826             <td class="msource">
827                 
828                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
829                 &nbsp;
830             </td>
831         </tr>
832         
833           
834           <tr class="method-row config-row-alt0 expandable notInherited">
835             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
836            
837            
838             <td class="sig">
839                 <a id="Roo.menu.Menu-method-addMenuItem"   name=".addMenuItem"></a>
840                 <div class="fixedFont">
841                         <span class="attributes"></span><b class="itemname">addMenuItem</b>
842                                 
843                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
844                         
845                                 
846                                          : 
847                                         
848                                                 
849                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
850                                         
851                                         
852                                         
853                                 
854                         
855                 </div>
856                 <div class="mdesc">
857                 
858                    <div class="short">Creates a new {<b>link</b> Roo.menu.Item} based an the supplied config object and adds it to the menu</div> 
859                  
860                  
861                  
862                     <div class="long">
863                         
864                                 Creates a new {<b>link</b> Roo.menu.Item} based an the supplied config object and adds it to the menu
865                     
866                                 
867                         
868                         
869                         
870                         
871                                 <dl class="detailList">
872                                 <dt class="heading">Parameters:</dt>
873                                 
874                                         <dt>
875                                                 <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>
876                                                 
877                                         </dt>
878                                         <dd>A MenuItem config object</dd>
879                                 
880                                 </dl>
881                         
882                         
883                         
884                         
885                         
886                                 <dl class="detailList">
887                                 <dt class="heading">Returns:</dt>
888                                 
889                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added</dd>
890                                 
891                                 </dl>
892                         
893                         
894                         
895
896                     
897                     
898                      
899                     </div>                    
900                 </div>
901
902             </td>
903             <td class="msource">
904                 
905                         Roo.menu.Menu
906                 &nbsp;
907             </td>
908         </tr>
909         
910           
911           <tr class="method-row config-row-alt1 expandable notInherited">
912             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
913            
914            
915             <td class="sig">
916                 <a id="Roo.menu.Menu-method-addSeparator"   name=".addSeparator"></a>
917                 <div class="fixedFont">
918                         <span class="attributes"></span><b class="itemname">addSeparator</b>
919                                 
920                                  () 
921                         
922                                 
923                                          : 
924                                         
925                                                 
926                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
927                                         
928                                         
929                                         
930                                 
931                         
932                 </div>
933                 <div class="mdesc">
934                 
935                    <div class="short">Adds a separator bar to the menu</div> 
936                  
937                  
938                  
939                     <div class="long">
940                         
941                                 Adds a separator bar to the menu
942                     
943                                 
944                         
945                         
946                         
947                         
948                         
949                         
950                         
951                         
952                                 <dl class="detailList">
953                                 <dt class="heading">Returns:</dt>
954                                 
955                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added</dd>
956                                 
957                                 </dl>
958                         
959                         
960                         
961
962                     
963                     
964                      
965                     </div>                    
966                 </div>
967
968             </td>
969             <td class="msource">
970                 
971                         Roo.menu.Menu
972                 &nbsp;
973             </td>
974         </tr>
975         
976           
977           <tr class="method-row config-row-alt0 expandable notInherited">
978             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
979            
980            
981             <td class="sig">
982                 <a id="Roo.menu.Menu-method-addText"   name=".addText"></a>
983                 <div class="fixedFont">
984                         <span class="attributes"></span><b class="itemname">addText</b>
985                                 
986                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>) 
987                         
988                                 
989                                          : 
990                                         
991                                                 
992                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
993                                         
994                                         
995                                         
996                                 
997                         
998                 </div>
999                 <div class="mdesc">
1000                 
1001                    <div class="short">Creates a new {<b>link</b> Roo.menu.TextItem} with the supplied text and adds it to the menu</div> 
1002                  
1003                  
1004                  
1005                     <div class="long">
1006                         
1007                                 Creates a new {<b>link</b> Roo.menu.TextItem} with the supplied text and adds it to the menu
1008                     
1009                                 
1010                         
1011                         
1012                         
1013                         
1014                                 <dl class="detailList">
1015                                 <dt class="heading">Parameters:</dt>
1016                                 
1017                                         <dt>
1018                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>text</b>
1019                                                 
1020                                         </dt>
1021                                         <dd>The text to display in the menu item</dd>
1022                                 
1023                                 </dl>
1024                         
1025                         
1026                         
1027                         
1028                         
1029                                 <dl class="detailList">
1030                                 <dt class="heading">Returns:</dt>
1031                                 
1032                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added</dd>
1033                                 
1034                                 </dl>
1035                         
1036                         
1037                         
1038
1039                     
1040                     
1041                      
1042                     </div>                    
1043                 </div>
1044
1045             </td>
1046             <td class="msource">
1047                 
1048                         Roo.menu.Menu
1049                 &nbsp;
1050             </td>
1051         </tr>
1052         
1053           
1054           <tr class="method-row config-row-alt1 expandable">
1055             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1056            
1057            
1058             <td class="sig">
1059                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
1060                 <div class="fixedFont">
1061                         <span class="attributes"></span><b class="itemname">fireEvent</b>
1062                                 
1063                                  (<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>) 
1064                         
1065                                 
1066                                          : 
1067                                         
1068                                                 
1069                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1070                                         
1071                                         
1072                                         
1073                                 
1074                         
1075                 </div>
1076                 <div class="mdesc">
1077                 
1078                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
1079                  
1080                  
1081                  
1082                     <div class="long">
1083                         
1084                                 Fires the specified event with the passed parameters (minus the event name).
1085                     
1086                                 
1087                         
1088                         
1089                         
1090                         
1091                                 <dl class="detailList">
1092                                 <dt class="heading">Parameters:</dt>
1093                                 
1094                                         <dt>
1095                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1096                                                 
1097                                         </dt>
1098                                         <dd></dd>
1099                                 
1100                                         <dt>
1101                                                 <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>
1102                                                 
1103                                         </dt>
1104                                         <dd>Variable number of parameters are passed to handlers</dd>
1105                                 
1106                                 </dl>
1107                         
1108                         
1109                         
1110                         
1111                         
1112                                 <dl class="detailList">
1113                                 <dt class="heading">Returns:</dt>
1114                                 
1115                                         <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>
1116                                 
1117                                 </dl>
1118                         
1119                         
1120                         
1121
1122                     
1123                     
1124                      
1125                     </div>                    
1126                 </div>
1127
1128             </td>
1129             <td class="msource">
1130                 
1131                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1132                 &nbsp;
1133             </td>
1134         </tr>
1135         
1136           
1137           <tr class="method-row config-row-alt0 expandable notInherited">
1138             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1139            
1140            
1141             <td class="sig">
1142                 <a id="Roo.menu.Menu-method-getEl"   name=".getEl"></a>
1143                 <div class="fixedFont">
1144                         <span class="attributes"></span><b class="itemname">getEl</b>
1145                                 
1146                                  () 
1147                         
1148                                 
1149                                          : 
1150                                         
1151                                                 
1152                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1153                                         
1154                                         
1155                                         
1156                                 
1157                         
1158                 </div>
1159                 <div class="mdesc">
1160                 
1161                    <div class="short">Returns this menu's underlying {<b>link</b> Roo.Element} object</div> 
1162                  
1163                  
1164                  
1165                     <div class="long">
1166                         
1167                                 Returns this menu's underlying {<b>link</b> Roo.Element} object
1168                     
1169                                 
1170                         
1171                         
1172                         
1173                         
1174                         
1175                         
1176                         
1177                         
1178                                 <dl class="detailList">
1179                                 <dt class="heading">Returns:</dt>
1180                                 
1181                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The element</dd>
1182                                 
1183                                 </dl>
1184                         
1185                         
1186                         
1187
1188                     
1189                     
1190                      
1191                     </div>                    
1192                 </div>
1193
1194             </td>
1195             <td class="msource">
1196                 
1197                         Roo.menu.Menu
1198                 &nbsp;
1199             </td>
1200         </tr>
1201         
1202           
1203           <tr class="method-row config-row-alt1 expandable">
1204             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1205            
1206            
1207             <td class="sig">
1208                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
1209                 <div class="fixedFont">
1210                         <span class="attributes"></span><b class="itemname">hasListener</b>
1211                                 
1212                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
1213                         
1214                                 
1215                                          : 
1216                                         
1217                                                 
1218                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1219                                         
1220                                         
1221                                         
1222                                 
1223                         
1224                 </div>
1225                 <div class="mdesc">
1226                 
1227                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
1228                  
1229                  
1230                  
1231                     <div class="long">
1232                         
1233                                 Checks to see if this object has any listeners for a specified event
1234                     
1235                                 
1236                         
1237                         
1238                         
1239                         
1240                                 <dl class="detailList">
1241                                 <dt class="heading">Parameters:</dt>
1242                                 
1243                                         <dt>
1244                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1245                                                 
1246                                         </dt>
1247                                         <dd>The name of the event to check for</dd>
1248                                 
1249                                 </dl>
1250                         
1251                         
1252                         
1253                         
1254                         
1255                                 <dl class="detailList">
1256                                 <dt class="heading">Returns:</dt>
1257                                 
1258                                         <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>
1259                                 
1260                                 </dl>
1261                         
1262                         
1263                         
1264
1265                     
1266                     
1267                      
1268                     </div>                    
1269                 </div>
1270
1271             </td>
1272             <td class="msource">
1273                 
1274                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1275                 &nbsp;
1276             </td>
1277         </tr>
1278         
1279           
1280           <tr class="method-row config-row-alt0 expandable notInherited">
1281             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1282            
1283            
1284             <td class="sig">
1285                 <a id="Roo.menu.Menu-method-hide"   name=".hide"></a>
1286                 <div class="fixedFont">
1287                         <span class="attributes"></span><b class="itemname">hide</b>
1288                                 
1289                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>) 
1290                         
1291                                 
1292                         
1293                 </div>
1294                 <div class="mdesc">
1295                 
1296                    <div class="short">Hides this menu and optionally all parent menus</div> 
1297                  
1298                  
1299                  
1300                     <div class="long">
1301                         
1302                                 Hides this menu and optionally all parent menus
1303                     
1304                                 
1305                         
1306                         
1307                         
1308                         
1309                                 <dl class="detailList">
1310                                 <dt class="heading">Parameters:</dt>
1311                                 
1312                                         <dt>
1313                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>deep</b>
1314                                                 
1315                                         </dt>
1316                                         <dd>(optional) True to hide all parent menus recursively, if any (defaults to false)</dd>
1317                                 
1318                                 </dl>
1319                         
1320                         
1321                         
1322                         
1323                         
1324                         
1325                         
1326
1327                     
1328                     
1329                      
1330                     </div>                    
1331                 </div>
1332
1333             </td>
1334             <td class="msource">
1335                 
1336                         Roo.menu.Menu
1337                 &nbsp;
1338             </td>
1339         </tr>
1340         
1341           
1342           <tr class="method-row config-row-alt1 expandable notInherited">
1343             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1344            
1345            
1346             <td class="sig">
1347                 <a id="Roo.menu.Menu-method-insert"   name=".insert"></a>
1348                 <div class="fixedFont">
1349                         <span class="attributes"></span><b class="itemname">insert</b>
1350                                 
1351                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>item</i></B>) 
1352                         
1353                                 
1354                                          : 
1355                                         
1356                                                 
1357                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
1358                                         
1359                                         
1360                                         
1361                                 
1362                         
1363                 </div>
1364                 <div class="mdesc">
1365                 
1366                    <div class="short">Inserts an existing object based on {<b>link</b> Roo.menu.Item} to the menu at a specified index</div> 
1367                  
1368                  
1369                  
1370                     <div class="long">
1371                         
1372                                 Inserts an existing object based on {<b>link</b> Roo.menu.Item} to the menu at a specified index
1373                     
1374                                 
1375                         
1376                         
1377                         
1378                         
1379                                 <dl class="detailList">
1380                                 <dt class="heading">Parameters:</dt>
1381                                 
1382                                         <dt>
1383                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
1384                                                 
1385                                         </dt>
1386                                         <dd>The index in the menu's list of current items where the new item should be inserted</dd>
1387                                 
1388                                         <dt>
1389                                                 <span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  <b>item</b>
1390                                                 
1391                                         </dt>
1392                                         <dd>The menu item to add</dd>
1393                                 
1394                                 </dl>
1395                         
1396                         
1397                         
1398                         
1399                         
1400                                 <dl class="detailList">
1401                                 <dt class="heading">Returns:</dt>
1402                                 
1403                                         <dd><span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  The menu item that was added</dd>
1404                                 
1405                                 </dl>
1406                         
1407                         
1408                         
1409
1410                     
1411                     
1412                      
1413                     </div>                    
1414                 </div>
1415
1416             </td>
1417             <td class="msource">
1418                 
1419                         Roo.menu.Menu
1420                 &nbsp;
1421             </td>
1422         </tr>
1423         
1424           
1425           <tr class="method-row config-row-alt0 expandable notInherited">
1426             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1427            
1428            
1429             <td class="sig">
1430                 <a id="Roo.menu.Menu-method-isVisible"   name=".isVisible"></a>
1431                 <div class="fixedFont">
1432                         <span class="attributes"></span><b class="itemname">isVisible</b>
1433                                 
1434                                  () 
1435                         
1436                                 
1437                         
1438                 </div>
1439                 <div class="mdesc">
1440                 
1441                    <div class="short">Read-only.</div> 
1442                  
1443                  
1444                  
1445                     <div class="long">
1446                         
1447                                 Read-only.  Returns true if the menu is currently displayed, else false.
1448                     
1449                                 
1450                         
1451                         
1452                         
1453                         
1454                         
1455                         
1456                         
1457                         
1458                         
1459                         
1460
1461                     
1462                     
1463                      
1464                     </div>                    
1465                 </div>
1466
1467             </td>
1468             <td class="msource">
1469                 
1470                         Roo.menu.Menu
1471                 &nbsp;
1472             </td>
1473         </tr>
1474         
1475           
1476           <tr class="method-row config-row-alt1 expandable">
1477             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1478            
1479            
1480             <td class="sig">
1481                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
1482                 <div class="fixedFont">
1483                         <span class="attributes"></span><b class="itemname">on</b>
1484                                 
1485                                  (<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>) 
1486                         
1487                                 
1488                         
1489                 </div>
1490                 <div class="mdesc">
1491                 
1492                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
1493                  
1494                  
1495                  
1496                     <div class="long">
1497                         
1498                                 Appends an event handler to this element (shorthand for addListener)
1499                     
1500                                 
1501                         
1502                         
1503                         
1504                         
1505                                 <dl class="detailList">
1506                                 <dt class="heading">Parameters:</dt>
1507                                 
1508                                         <dt>
1509                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1510                                                 
1511                                         </dt>
1512                                         <dd>The type of event to listen for</dd>
1513                                 
1514                                         <dt>
1515                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1516                                                 
1517                                         </dt>
1518                                         <dd>The method the event invokes</dd>
1519                                 
1520                                         <dt>
1521                                                 <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>
1522                                                 
1523                                         </dt>
1524                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1525                                 
1526                                         <dt>
1527                                                 <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>
1528                                                 
1529                                         </dt>
1530                                         <dd>(optional)</dd>
1531                                 
1532                                 </dl>
1533                         
1534                         
1535                         
1536                         
1537                         
1538                         
1539                         
1540
1541                     
1542                     
1543                      
1544                     </div>                    
1545                 </div>
1546
1547             </td>
1548             <td class="msource">
1549                 
1550                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1551                 &nbsp;
1552             </td>
1553         </tr>
1554         
1555           
1556           <tr class="method-row config-row-alt0 expandable">
1557             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1558            
1559            
1560             <td class="sig">
1561                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
1562                 <div class="fixedFont">
1563                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
1564                                 
1565                                  () 
1566                         
1567                                 
1568                         
1569                 </div>
1570                 <div class="mdesc">
1571                 
1572                    <div class="short">Removes all listeners for this object</div> 
1573                  
1574                  
1575                  
1576                     <div class="long">
1577                         
1578                                 Removes all listeners for this object
1579                     
1580                                 
1581                         
1582                         
1583                         
1584                         
1585                         
1586                         
1587                         
1588                         
1589                         
1590                         
1591
1592                     
1593                     
1594                      
1595                     </div>                    
1596                 </div>
1597
1598             </td>
1599             <td class="msource">
1600                 
1601                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1602                 &nbsp;
1603             </td>
1604         </tr>
1605         
1606           
1607           <tr class="method-row config-row-alt1 expandable notInherited">
1608             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1609            
1610            
1611             <td class="sig">
1612                 <a id="Roo.menu.Menu-method-remove"   name=".remove"></a>
1613                 <div class="fixedFont">
1614                         <span class="attributes"></span><b class="itemname">remove</b>
1615                                 
1616                                  (<a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>item</i></B>) 
1617                         
1618                                 
1619                         
1620                 </div>
1621                 <div class="mdesc">
1622                 
1623                    <div class="short">Removes an {<b>link</b> Roo.menu.Item} from the menu and destroys the object</div> 
1624                  
1625                  
1626                  
1627                     <div class="long">
1628                         
1629                                 Removes an {<b>link</b> Roo.menu.Item} from the menu and destroys the object
1630                     
1631                                 
1632                         
1633                         
1634                         
1635                         
1636                                 <dl class="detailList">
1637                                 <dt class="heading">Parameters:</dt>
1638                                 
1639                                         <dt>
1640                                                 <span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span>  <b>item</b>
1641                                                 
1642                                         </dt>
1643                                         <dd>The menu item to remove</dd>
1644                                 
1645                                 </dl>
1646                         
1647                         
1648                         
1649                         
1650                         
1651                         
1652                         
1653
1654                     
1655                     
1656                      
1657                     </div>                    
1658                 </div>
1659
1660             </td>
1661             <td class="msource">
1662                 
1663                         Roo.menu.Menu
1664                 &nbsp;
1665             </td>
1666         </tr>
1667         
1668           
1669           <tr class="method-row config-row-alt0 expandable notInherited">
1670             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1671            
1672            
1673             <td class="sig">
1674                 <a id="Roo.menu.Menu-method-removeAll"   name=".removeAll"></a>
1675                 <div class="fixedFont">
1676                         <span class="attributes"></span><b class="itemname">removeAll</b>
1677                                 
1678                                  () 
1679                         
1680                                 
1681                         
1682                 </div>
1683                 <div class="mdesc">
1684                 
1685                    <div class="short">Removes and destroys all items in the menu</div> 
1686                  
1687                  
1688                  
1689                     <div class="long">
1690                         
1691                                 Removes and destroys all items in the menu
1692                     
1693                                 
1694                         
1695                         
1696                         
1697                         
1698                         
1699                         
1700                         
1701                         
1702                         
1703                         
1704
1705                     
1706                     
1707                      
1708                     </div>                    
1709                 </div>
1710
1711             </td>
1712             <td class="msource">
1713                 
1714                         Roo.menu.Menu
1715                 &nbsp;
1716             </td>
1717         </tr>
1718         
1719           
1720           <tr class="method-row config-row-alt1 expandable">
1721             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1722            
1723            
1724             <td class="sig">
1725                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
1726                 <div class="fixedFont">
1727                         <span class="attributes"></span><b class="itemname">removeListener</b>
1728                                 
1729                                  (<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>) 
1730                         
1731                                 
1732                         
1733                 </div>
1734                 <div class="mdesc">
1735                 
1736                    <div class="short">Removes a listener</div> 
1737                  
1738                  
1739                  
1740                     <div class="long">
1741                         
1742                                 Removes a listener
1743                     
1744                                 
1745                         
1746                         
1747                         
1748                         
1749                                 <dl class="detailList">
1750                                 <dt class="heading">Parameters:</dt>
1751                                 
1752                                         <dt>
1753                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1754                                                 
1755                                         </dt>
1756                                         <dd>The type of event to listen for</dd>
1757                                 
1758                                         <dt>
1759                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1760                                                 
1761                                         </dt>
1762                                         <dd>The handler to remove</dd>
1763                                 
1764                                         <dt>
1765                                                 <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>
1766                                                 
1767                                         </dt>
1768                                         <dd>(optional) The scope (this object) for the handler</dd>
1769                                 
1770                                 </dl>
1771                         
1772                         
1773                         
1774                         
1775                         
1776                         
1777                         
1778
1779                     
1780                     
1781                      
1782                     </div>                    
1783                 </div>
1784
1785             </td>
1786             <td class="msource">
1787                 
1788                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1789                 &nbsp;
1790             </td>
1791         </tr>
1792         
1793           
1794           <tr class="method-row config-row-alt0 expandable notInherited">
1795             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1796            
1797            
1798             <td class="sig">
1799                 <a id="Roo.menu.Menu-method-show"   name=".show"></a>
1800                 <div class="fixedFont">
1801                         <span class="attributes"></span><b class="itemname">show</b>
1802                                 
1803                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>element</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>position</i></B>, <a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>parentMenu</i></B>) 
1804                         
1805                                 
1806                         
1807                 </div>
1808                 <div class="mdesc">
1809                 
1810                    <div class="short">Displays this menu relative to another element</div> 
1811                  
1812                  
1813                  
1814                     <div class="long">
1815                         
1816                                 Displays this menu relative to another element
1817                     
1818                                 
1819                         
1820                         
1821                         
1822                         
1823                                 <dl class="detailList">
1824                                 <dt class="heading">Parameters:</dt>
1825                                 
1826                                         <dt>
1827                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>element</b>
1828                                                 
1829                                         </dt>
1830                                         <dd>The element to align to</dd>
1831                                 
1832                                         <dt>
1833                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>position</b>
1834                                                 
1835                                         </dt>
1836                                         <dd>(optional) The {<b>link</b> Roo.Element<b>alignTo</b>} anchor position to use in aligning to<br/>the element (defaults to this.defaultAlign)</dd>
1837                                 
1838                                         <dt>
1839                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span>  <b>parentMenu</b>
1840                                                 
1841                                         </dt>
1842                                         <dd>(optional) This menu's parent menu, if applicable (defaults to undefined)</dd>
1843                                 
1844                                 </dl>
1845                         
1846                         
1847                         
1848                         
1849                         
1850                         
1851                         
1852
1853                     
1854                     
1855                      
1856                     </div>                    
1857                 </div>
1858
1859             </td>
1860             <td class="msource">
1861                 
1862                         Roo.menu.Menu
1863                 &nbsp;
1864             </td>
1865         </tr>
1866         
1867           
1868           <tr class="method-row config-row-alt1 expandable notInherited">
1869             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1870            
1871            
1872             <td class="sig">
1873                 <a id="Roo.menu.Menu-method-showAt"   name=".showAt"></a>
1874                 <div class="fixedFont">
1875                         <span class="attributes"></span><b class="itemname">showAt</b>
1876                                 
1877                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>xyPosition</i></B>, <a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>parentMenu</i></B>) 
1878                         
1879                                 
1880                         
1881                 </div>
1882                 <div class="mdesc">
1883                 
1884                    <div class="short">Displays this menu at a specific xy position</div> 
1885                  
1886                  
1887                  
1888                     <div class="long">
1889                         
1890                                 Displays this menu at a specific xy position
1891                     
1892                                 
1893                         
1894                         
1895                         
1896                         
1897                                 <dl class="detailList">
1898                                 <dt class="heading">Parameters:</dt>
1899                                 
1900                                         <dt>
1901                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  <b>xyPosition</b>
1902                                                 
1903                                         </dt>
1904                                         <dd>Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)</dd>
1905                                 
1906                                         <dt>
1907                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span>  <b>parentMenu</b>
1908                                                 
1909                                         </dt>
1910                                         <dd>(optional) This menu's parent menu, if applicable (defaults to undefined)</dd>
1911                                 
1912                                 </dl>
1913                         
1914                         
1915                         
1916                         
1917                         
1918                         
1919                         
1920
1921                     
1922                     
1923                      
1924                     </div>                    
1925                 </div>
1926
1927             </td>
1928             <td class="msource">
1929                 
1930                         Roo.menu.Menu
1931                 &nbsp;
1932             </td>
1933         </tr>
1934         
1935           
1936           <tr class="method-row config-row-alt0 expandable">
1937             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1938            
1939            
1940             <td class="sig">
1941                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
1942                 <div class="fixedFont">
1943                         <span class="attributes"></span><b class="itemname">un</b>
1944                                 
1945                                  (<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>) 
1946                         
1947                                 
1948                         
1949                 </div>
1950                 <div class="mdesc">
1951                 
1952                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
1953                  
1954                  
1955                  
1956                     <div class="long">
1957                         
1958                                 Removes a listener (shorthand for removeListener)
1959                     
1960                                 
1961                         
1962                         
1963                         
1964                         
1965                                 <dl class="detailList">
1966                                 <dt class="heading">Parameters:</dt>
1967                                 
1968                                         <dt>
1969                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1970                                                 
1971                                         </dt>
1972                                         <dd>The type of event to listen for</dd>
1973                                 
1974                                         <dt>
1975                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1976                                                 
1977                                         </dt>
1978                                         <dd>The handler to remove</dd>
1979                                 
1980                                         <dt>
1981                                                 <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>
1982                                                 
1983                                         </dt>
1984                                         <dd>(optional) The scope (this object) for the handler</dd>
1985                                 
1986                                 </dl>
1987                         
1988                         
1989                         
1990                         
1991                         
1992                         
1993                         
1994
1995                     
1996                     
1997                      
1998                     </div>                    
1999                 </div>
2000
2001             </td>
2002             <td class="msource">
2003                 
2004                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2005                 &nbsp;
2006             </td>
2007         </tr>
2008         
2009                                                        
2010     </table>
2011
2012   
2013   <!-- ============================== events summary / details ======================== -->
2014   
2015   
2016   <a id="Roo.menu.Menu-events"></a>
2017     
2018   
2019         
2020    
2021   
2022     
2023     
2024     
2025       <table cellspacing="0" class="member-table">
2026                 <caption>Events</caption>
2027               <thead>
2028                 <tr>
2029                     <th class="sig-header" colspan="2">Event</th>            
2030                     <th class="msource-header">Defined By</th>
2031
2032                 </tr>
2033               </thead>  
2034         
2035         
2036          
2037         
2038         
2039           <tr class="method-row expandable config-row-alt0 notInherited">
2040             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2041             
2042             <td class="sig">
2043                 <a id="Roo.menu.Menu-event-*beforehide"></a>
2044                 
2045                <div class="fixedFont">
2046                 <b class="itemname">beforehide</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>this</i></B>) 
2047                 
2048                 </div>
2049
2050                 <div class="mdesc">
2051
2052                    <div class="short">Fires before this menu is hidden
2053                    
2054                 </div> 
2055                     
2056                     <div class="long">
2057                     
2058                         Fires before this menu is hidden
2059                     
2060                         
2061                         
2062                 
2063                         
2064                                 <dl class="detailList">
2065                                 <dt class="heading">Parameters:</dt>
2066                                 
2067                                         <dt>
2068                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2069                                                 
2070                                         </dt>
2071                                         <dd></dd>
2072                                 
2073                                 </dl>
2074                         
2075                         
2076                         
2077                         
2078                         
2079                         
2080                         
2081
2082                     
2083                     
2084                      
2085                     </div>                    
2086                 </div>
2087
2088             </td>
2089             <td class="msource">
2090                 Roo.menu.Menu
2091             </td>
2092         </tr>
2093         
2094           <tr class="method-row expandable config-row-alt1 notInherited">
2095             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2096             
2097             <td class="sig">
2098                 <a id="Roo.menu.Menu-event-*beforeshow"></a>
2099                 
2100                <div class="fixedFont">
2101                 <b class="itemname">beforeshow</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>this</i></B>) 
2102                 
2103                 </div>
2104
2105                 <div class="mdesc">
2106
2107                    <div class="short">Fires before this menu is displayed
2108                    
2109                 </div> 
2110                     
2111                     <div class="long">
2112                     
2113                         Fires before this menu is displayed
2114                     
2115                         
2116                         
2117                 
2118                         
2119                                 <dl class="detailList">
2120                                 <dt class="heading">Parameters:</dt>
2121                                 
2122                                         <dt>
2123                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2124                                                 
2125                                         </dt>
2126                                         <dd></dd>
2127                                 
2128                                 </dl>
2129                         
2130                         
2131                         
2132                         
2133                         
2134                         
2135                         
2136
2137                     
2138                     
2139                      
2140                     </div>                    
2141                 </div>
2142
2143             </td>
2144             <td class="msource">
2145                 Roo.menu.Menu
2146             </td>
2147         </tr>
2148         
2149           <tr class="method-row expandable config-row-alt0 notInherited">
2150             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2151             
2152             <td class="sig">
2153                 <a id="Roo.menu.Menu-event-*click"></a>
2154                 
2155                <div class="fixedFont">
2156                 <b class="itemname">click</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>this</i></B>, <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>menuItem</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>) 
2157                 
2158                 </div>
2159
2160                 <div class="mdesc">
2161
2162                    <div class="short">Fires when this menu is clicked (or when the enter key is pressed while it is active)
2163                    
2164                 </div> 
2165                     
2166                     <div class="long">
2167                     
2168                         Fires when this menu is clicked (or when the enter key is pressed while it is active)
2169                     
2170                         
2171                         
2172                 
2173                         
2174                                 <dl class="detailList">
2175                                 <dt class="heading">Parameters:</dt>
2176                                 
2177                                         <dt>
2178                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2179                                                 
2180                                         </dt>
2181                                         <dd></dd>
2182                                 
2183                                         <dt>
2184                                                 <span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span> <b>menuItem</b>
2185                                                 
2186                                         </dt>
2187                                         <dd>The menu item that was clicked</dd>
2188                                 
2189                                         <dt>
2190                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2191                                                 
2192                                         </dt>
2193                                         <dd></dd>
2194                                 
2195                                 </dl>
2196                         
2197                         
2198                         
2199                         
2200                         
2201                         
2202                         
2203
2204                     
2205                     
2206                      
2207                     </div>                    
2208                 </div>
2209
2210             </td>
2211             <td class="msource">
2212                 Roo.menu.Menu
2213             </td>
2214         </tr>
2215         
2216           <tr class="method-row expandable config-row-alt1 notInherited">
2217             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2218             
2219             <td class="sig">
2220                 <a id="Roo.menu.Menu-event-*hide"></a>
2221                 
2222                <div class="fixedFont">
2223                 <b class="itemname">hide</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>this</i></B>) 
2224                 
2225                 </div>
2226
2227                 <div class="mdesc">
2228
2229                    <div class="short">Fires after this menu is hidden
2230                    
2231                 </div> 
2232                     
2233                     <div class="long">
2234                     
2235                         Fires after this menu is hidden
2236                     
2237                         
2238                         
2239                 
2240                         
2241                                 <dl class="detailList">
2242                                 <dt class="heading">Parameters:</dt>
2243                                 
2244                                         <dt>
2245                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2246                                                 
2247                                         </dt>
2248                                         <dd></dd>
2249                                 
2250                                 </dl>
2251                         
2252                         
2253                         
2254                         
2255                         
2256                         
2257                         
2258
2259                     
2260                     
2261                      
2262                     </div>                    
2263                 </div>
2264
2265             </td>
2266             <td class="msource">
2267                 Roo.menu.Menu
2268             </td>
2269         </tr>
2270         
2271           <tr class="method-row expandable config-row-alt0 notInherited">
2272             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2273             
2274             <td class="sig">
2275                 <a id="Roo.menu.Menu-event-*itemclick"></a>
2276                 
2277                <div class="fixedFont">
2278                 <b class="itemname">itemclick</b> (<a href="./Roo.menu.BaseItem.html#constructor" roo:cls="Roo.menu.BaseItem.html#constructor">Roo.menu.BaseItem</a> <B><i>baseItem</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>) 
2279                 
2280                 </div>
2281
2282                 <div class="mdesc">
2283
2284                    <div class="short">Fires when a menu item contained in this menu is clicked
2285                    
2286                 </div> 
2287                     
2288                     <div class="long">
2289                     
2290                         Fires when a menu item contained in this menu is clicked
2291                     
2292                         
2293                         
2294                 
2295                         
2296                                 <dl class="detailList">
2297                                 <dt class="heading">Parameters:</dt>
2298                                 
2299                                         <dt>
2300                                                 <span class="fixedFont"><a href="./Roo.menu.BaseItem.html#constructor" roo:cls="Roo.menu.BaseItem.html#constructor">Roo.menu.BaseItem</a></span> <b>baseItem</b>
2301                                                 
2302                                         </dt>
2303                                         <dd>The BaseItem that was clicked</dd>
2304                                 
2305                                         <dt>
2306                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2307                                                 
2308                                         </dt>
2309                                         <dd></dd>
2310                                 
2311                                 </dl>
2312                         
2313                         
2314                         
2315                         
2316                         
2317                         
2318                         
2319
2320                     
2321                     
2322                      
2323                     </div>                    
2324                 </div>
2325
2326             </td>
2327             <td class="msource">
2328                 Roo.menu.Menu
2329             </td>
2330         </tr>
2331         
2332           <tr class="method-row expandable config-row-alt1 notInherited">
2333             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2334             
2335             <td class="sig">
2336                 <a id="Roo.menu.Menu-event-*mouseout"></a>
2337                 
2338                <div class="fixedFont">
2339                 <b class="itemname">mouseout</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</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>, <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>menuItem</i></B>) 
2340                 
2341                 </div>
2342
2343                 <div class="mdesc">
2344
2345                    <div class="short">Fires when the mouse exits this menu
2346                    
2347                 </div> 
2348                     
2349                     <div class="long">
2350                     
2351                         Fires when the mouse exits this menu
2352                     
2353                         
2354                         
2355                 
2356                         
2357                                 <dl class="detailList">
2358                                 <dt class="heading">Parameters:</dt>
2359                                 
2360                                         <dt>
2361                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2362                                                 
2363                                         </dt>
2364                                         <dd></dd>
2365                                 
2366                                         <dt>
2367                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2368                                                 
2369                                         </dt>
2370                                         <dd></dd>
2371                                 
2372                                         <dt>
2373                                                 <span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span> <b>menuItem</b>
2374                                                 
2375                                         </dt>
2376                                         <dd>The menu item that was clicked</dd>
2377                                 
2378                                 </dl>
2379                         
2380                         
2381                         
2382                         
2383                         
2384                         
2385                         
2386
2387                     
2388                     
2389                      
2390                     </div>                    
2391                 </div>
2392
2393             </td>
2394             <td class="msource">
2395                 Roo.menu.Menu
2396             </td>
2397         </tr>
2398         
2399           <tr class="method-row expandable config-row-alt0 notInherited">
2400             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2401             
2402             <td class="sig">
2403                 <a id="Roo.menu.Menu-event-*mouseover"></a>
2404                 
2405                <div class="fixedFont">
2406                 <b class="itemname">mouseover</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</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>, <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>menuItem</i></B>) 
2407                 
2408                 </div>
2409
2410                 <div class="mdesc">
2411
2412                    <div class="short">Fires when the mouse is hovering over this menu
2413                    
2414                 </div> 
2415                     
2416                     <div class="long">
2417                     
2418                         Fires when the mouse is hovering over this menu
2419                     
2420                         
2421                         
2422                 
2423                         
2424                                 <dl class="detailList">
2425                                 <dt class="heading">Parameters:</dt>
2426                                 
2427                                         <dt>
2428                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2429                                                 
2430                                         </dt>
2431                                         <dd></dd>
2432                                 
2433                                         <dt>
2434                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2435                                                 
2436                                         </dt>
2437                                         <dd></dd>
2438                                 
2439                                         <dt>
2440                                                 <span class="fixedFont"><a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a></span> <b>menuItem</b>
2441                                                 
2442                                         </dt>
2443                                         <dd>The menu item that was clicked</dd>
2444                                 
2445                                 </dl>
2446                         
2447                         
2448                         
2449                         
2450                         
2451                         
2452                         
2453
2454                     
2455                     
2456                      
2457                     </div>                    
2458                 </div>
2459
2460             </td>
2461             <td class="msource">
2462                 Roo.menu.Menu
2463             </td>
2464         </tr>
2465         
2466           <tr class="method-row expandable config-row-alt1 notInherited">
2467             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2468             
2469             <td class="sig">
2470                 <a id="Roo.menu.Menu-event-*show"></a>
2471                 
2472                <div class="fixedFont">
2473                 <b class="itemname">show</b> (<a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a> <B><i>this</i></B>) 
2474                 
2475                 </div>
2476
2477                 <div class="mdesc">
2478
2479                    <div class="short">Fires after this menu is displayed
2480                    
2481                 </div> 
2482                     
2483                     <div class="long">
2484                     
2485                         Fires after this menu is displayed
2486                     
2487                         
2488                         
2489                 
2490                         
2491                                 <dl class="detailList">
2492                                 <dt class="heading">Parameters:</dt>
2493                                 
2494                                         <dt>
2495                                                 <span class="fixedFont"><a href="./Roo.menu.Menu.html#constructor" roo:cls="Roo.menu.Menu.html#constructor">Roo.menu.Menu</a></span> <b>this</b>
2496                                                 
2497                                         </dt>
2498                                         <dd></dd>
2499                                 
2500                                 </dl>
2501                         
2502                         
2503                         
2504                         
2505                         
2506                         
2507                         
2508
2509                     
2510                     
2511                      
2512                     </div>                    
2513                 </div>
2514
2515             </td>
2516             <td class="msource">
2517                 Roo.menu.Menu
2518             </td>
2519         </tr>
2520         
2521                                                        
2522     </table>
2523
2524   
2525   
2526   
2527  
2528 <!-- ============================== footer ================================= -->
2529                 <div class="fineprint" style="clear:both">
2530                         
2531                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:09 GMT+0800 (HKT)
2532                         Based on 
2533                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
2534                 </div>
2535         </body>
2536 </html>