docs/symbols/Roo.menu.Menu.html
[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         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         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).
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.menu.Menu';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.menu" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.menu.Menu.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.menu.Menu-configs"></a>
108                 
109     
110      
111     
112         
113       <table cellspacing="0" class="member-table">   
114       <caption>Config Options (Usually are also Properties)</caption>
115     
116         
117         <tr>
118             <th class="sig-header" colspan="2">Options</th>
119             
120             <th class="msource-header">Defined By</th>
121         </tr>
122         
123         
124         
125         
126         
127                 <tr class="config-row expandable config-row-alt0 notInherited">
128                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
129                     <td class="sig">
130
131                         <a id="Roo.menu.Menu-cfg-allowOtherMenus" name=".allowOtherMenus"></a>
132                         <div class="fixedFont">
133                                 <b  class="itemname">allowOtherMenus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
134                                 
135                                 
136                         </div>
137                   
138                         <div class="mdesc">
139                             <div class="short">True to allow multiple menus to be displayed at the same time (defaults to false)</div> 
140                         </div>
141                         
142                         <div class="mdesc">
143                             <div class="long">True to allow multiple menus to be displayed at the same time (defaults to false)</div> 
144                         </div>
145                         
146                         
147
148                     </td>
149                     <td class="msource">
150                         
151                         Roo.menu.Menu
152                                 
153                     </td>
154                 </tr>
155         
156         
157                 <tr class="config-row expandable config-row-alt1 notInherited">
158                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
159                     <td class="sig">
160
161                         <a id="Roo.menu.Menu-cfg-defaultAlign" name=".defaultAlign"></a>
162                         <div class="fixedFont">
163                                 <b  class="itemname">defaultAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
164                                 
165                                 
166                         </div>
167                   
168                         <div class="mdesc">
169                             <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> 
170                         </div>
171                         
172                         <div class="mdesc">
173                             <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> 
174                         </div>
175                         
176                         
177
178                     </td>
179                     <td class="msource">
180                         
181                         Roo.menu.Menu
182                                 
183                     </td>
184                 </tr>
185         
186         
187                 <tr class="config-row expandable config-row-alt0 notInherited">
188                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
189                     <td class="sig">
190
191                         <a id="Roo.menu.Menu-cfg-minWidth" name=".minWidth"></a>
192                         <div class="fixedFont">
193                                 <b  class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
194                                 
195                                 
196                         </div>
197                   
198                         <div class="mdesc">
199                             <div class="short">The minimum width of the menu in pixels (defaults to 120)</div> 
200                         </div>
201                         
202                         <div class="mdesc">
203                             <div class="long">The minimum width of the menu in pixels (defaults to 120)</div> 
204                         </div>
205                         
206                         
207
208                     </td>
209                     <td class="msource">
210                         
211                         Roo.menu.Menu
212                                 
213                     </td>
214                 </tr>
215         
216         
217                 <tr class="config-row expandable config-row-alt1 notInherited">
218                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
219                     <td class="sig">
220
221                         <a id="Roo.menu.Menu-cfg-registerMenu" name=".registerMenu"></a>
222                         <div class="fixedFont">
223                                 <b  class="itemname">registerMenu</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
224                                 
225                                 
226                         </div>
227                   
228                         <div class="mdesc">
229                             <div class="short">True (default) - means that clicking on screen etc.</div> 
230                         </div>
231                         
232                         <div class="mdesc">
233                             <div class="long">True (default) - means that clicking on screen etc. hides it.</div> 
234                         </div>
235                         
236                         
237
238                     </td>
239                     <td class="msource">
240                         
241                         Roo.menu.Menu
242                                 
243                     </td>
244                 </tr>
245         
246         
247                 <tr class="config-row expandable config-row-alt0 notInherited">
248                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
249                     <td class="sig">
250
251                         <a id="Roo.menu.Menu-cfg-shadow" name=".shadow"></a>
252                         <div class="fixedFont">
253                                 <b  class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
254                                 
255                                 
256                         </div>
257                   
258                         <div class="mdesc">
259                             <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> 
260                         </div>
261                         
262                         <div class="mdesc">
263                             <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> 
264                         </div>
265                         
266                         
267
268                     </td>
269                     <td class="msource">
270                         
271                         Roo.menu.Menu
272                                 
273                     </td>
274                 </tr>
275         
276         
277                 <tr class="config-row expandable config-row-alt1 notInherited">
278                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
279                     <td class="sig">
280
281                         <a id="Roo.menu.Menu-cfg-subMenuAlign" name=".subMenuAlign"></a>
282                         <div class="fixedFont">
283                                 <b  class="itemname">subMenuAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
284                                 
285                                 
286                         </div>
287                   
288                         <div class="mdesc">
289                             <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> 
290                         </div>
291                         
292                         <div class="mdesc">
293                             <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> 
294                         </div>
295                         
296                         
297
298                     </td>
299                     <td class="msource">
300                         
301                         Roo.menu.Menu
302                                 
303                     </td>
304                 </tr>
305         
306         
307     </table>
308                 
309   
310   
311   
312   
313   
314   
315   
316   
317   <!-- ============================== public properties ==================== -->        
318   
319   
320   
321     <a id="Roo.menu.Menu-props"></a>      
322     
323     
324
325     
326     
327      <table cellspacing="0" class="member-table">
328       <caption class="Empty">Public Properties - Has None</caption>
329      </table>
330     
331     
332      
333     
334   <!-- ============================== methods summary / details ======================== -->
335   
336   
337   <a id="Roo.menu.Menu-methods"></a>
338         <!-- constructor?? -->
339         
340         <!-- static's first 
341         
342         
343         -->
344         
345         <!-- then dynamics first -->
346         
347   
348   
349     
350     
351     
352       <table cellspacing="0" class="member-table">
353       <caption>Public Methods</caption>
354         <tr>
355             <th class="sig-header" colspan="2">Method</th>            
356             <th class="msource-header">Defined By</th>
357
358         </tr>
359         
360         
361         
362          
363         
364         
365           
366           <tr class="method-row config-row-alt0 expandable notInherited">
367             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
368            
369            
370             <td class="sig">
371                 <a id="Roo.menu-method-Menu"   name=".Menu"></a>
372                 <div class="fixedFont">
373                         <span class="attributes">new <B>Roo.menu.</B></span><b class="itemname">Menu</b>
374                                 
375                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
376                         
377                                 
378                         
379                 </div>
380                 <div class="mdesc">
381                 
382                  
383                         <div class="short">Create a new Roo.menu.Menu</div> 
384                  
385                  
386                     <div class="long">
387                         
388                         
389                         
390                                 Create a new Roo.menu.Menu
391                         
392                         
393                                 <dl class="detailList">
394                                 <dt class="heading">Parameters:</dt>
395                                 
396                                         <dt>
397                                                 <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>
398                                                 
399                                         </dt>
400                                         <dd>Configuration options</dd>
401                                 
402                                 </dl>
403                         
404                         
405                         
406                         
407                         
408                         
409                         
410
411                     
412                     
413                      
414                     </div>                    
415                 </div>
416
417             </td>
418             <td class="msource">
419                 &nbsp;
420             </td>
421         </tr>
422         
423           
424           <tr class="method-row config-row-alt1 expandable notInherited">
425             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
426            
427            
428             <td class="sig">
429                 <a id="Roo.menu.Menu-method-add"   name=".add"></a>
430                 <div class="fixedFont">
431                         <span class="attributes"></span><b class="itemname">add</b>
432                                 
433                                  (Mixed <B><i>args</i></B>) 
434                         
435                                 
436                                          : 
437                                         
438                                                 
439                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
440                                         
441                                         
442                                         
443                                 
444                         
445                 </div>
446                 <div class="mdesc">
447                 
448                    <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> 
449                  
450                  
451                  
452                     <div class="long">
453                         
454                                 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>
455                     
456                                 
457                         
458                         
459                         
460                         
461                                 <dl class="detailList">
462                                 <dt class="heading">Parameters:</dt>
463                                 
464                                         <dt>
465                                                 <span class="fixedFont">Mixed</span>  <b>args</b>
466                                                 
467                                         </dt>
468                                         <dd>One or more menu items, menu item configs or other objects that can be converted to menu items</dd>
469                                 
470                                 </dl>
471                         
472                         
473                         
474                         
475                         
476                                 <dl class="detailList">
477                                 <dt class="heading">Returns:</dt>
478                                 
479                                         <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>
480                                 
481                                 </dl>
482                         
483                         
484                         
485
486                     
487                     
488                      
489                     </div>                    
490                 </div>
491
492             </td>
493             <td class="msource">
494                 
495                         Roo.menu.Menu
496                 &nbsp;
497             </td>
498         </tr>
499         
500           
501           <tr class="method-row config-row-alt0 expandable notInherited">
502             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
503            
504            
505             <td class="sig">
506                 <a id="Roo.menu.Menu-method-addElement"   name=".addElement"></a>
507                 <div class="fixedFont">
508                         <span class="attributes"></span><b class="itemname">addElement</b>
509                                 
510                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>) 
511                         
512                                 
513                                          : 
514                                         
515                                                 
516                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
517                                         
518                                         
519                                         
520                                 
521                         
522                 </div>
523                 <div class="mdesc">
524                 
525                    <div class="short">Adds an {<b>link</b> Roo.Element} object to the menu</div> 
526                  
527                  
528                  
529                     <div class="long">
530                         
531                                 Adds an {<b>link</b> Roo.Element} object to the menu
532                     
533                                 
534                         
535                         
536                         
537                         
538                                 <dl class="detailList">
539                                 <dt class="heading">Parameters:</dt>
540                                 
541                                         <dt>
542                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>el</b>
543                                                 
544                                         </dt>
545                                         <dd>The element or DOM node to add, or its id</dd>
546                                 
547                                 </dl>
548                         
549                         
550                         
551                         
552                         
553                                 <dl class="detailList">
554                                 <dt class="heading">Returns:</dt>
555                                 
556                                         <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>
557                                 
558                                 </dl>
559                         
560                         
561                         
562
563                     
564                     
565                      
566                     </div>                    
567                 </div>
568
569             </td>
570             <td class="msource">
571                 
572                         Roo.menu.Menu
573                 &nbsp;
574             </td>
575         </tr>
576         
577           
578           <tr class="method-row config-row-alt1 expandable notInherited">
579             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
580            
581            
582             <td class="sig">
583                 <a id="Roo.menu.Menu-method-addItem"   name=".addItem"></a>
584                 <div class="fixedFont">
585                         <span class="attributes"></span><b class="itemname">addItem</b>
586                                 
587                                  (<a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>item</i></B>) 
588                         
589                                 
590                                          : 
591                                         
592                                                 
593                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
594                                         
595                                         
596                                         
597                                 
598                         
599                 </div>
600                 <div class="mdesc">
601                 
602                    <div class="short">Adds an existing object based on {<b>link</b> Roo.menu.Item} to the menu</div> 
603                  
604                  
605                  
606                     <div class="long">
607                         
608                                 Adds an existing object based on {<b>link</b> Roo.menu.Item} to the menu
609                     
610                                 
611                         
612                         
613                         
614                         
615                                 <dl class="detailList">
616                                 <dt class="heading">Parameters:</dt>
617                                 
618                                         <dt>
619                                                 <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>
620                                                 
621                                         </dt>
622                                         <dd>The menu item to add</dd>
623                                 
624                                 </dl>
625                         
626                         
627                         
628                         
629                         
630                                 <dl class="detailList">
631                                 <dt class="heading">Returns:</dt>
632                                 
633                                         <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>
634                                 
635                                 </dl>
636                         
637                         
638                         
639
640                     
641                     
642                      
643                     </div>                    
644                 </div>
645
646             </td>
647             <td class="msource">
648                 
649                         Roo.menu.Menu
650                 &nbsp;
651             </td>
652         </tr>
653         
654           
655           <tr class="method-row config-row-alt0 expandable notInherited">
656             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
657            
658            
659             <td class="sig">
660                 <a id="Roo.menu.Menu-method-addMenuItem"   name=".addMenuItem"></a>
661                 <div class="fixedFont">
662                         <span class="attributes"></span><b class="itemname">addMenuItem</b>
663                                 
664                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
665                         
666                                 
667                                          : 
668                                         
669                                                 
670                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
671                                         
672                                         
673                                         
674                                 
675                         
676                 </div>
677                 <div class="mdesc">
678                 
679                    <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> 
680                  
681                  
682                  
683                     <div class="long">
684                         
685                                 Creates a new {<b>link</b> Roo.menu.Item} based an the supplied config object and adds it to the menu
686                     
687                                 
688                         
689                         
690                         
691                         
692                                 <dl class="detailList">
693                                 <dt class="heading">Parameters:</dt>
694                                 
695                                         <dt>
696                                                 <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>
697                                                 
698                                         </dt>
699                                         <dd>A MenuItem config object</dd>
700                                 
701                                 </dl>
702                         
703                         
704                         
705                         
706                         
707                                 <dl class="detailList">
708                                 <dt class="heading">Returns:</dt>
709                                 
710                                         <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>
711                                 
712                                 </dl>
713                         
714                         
715                         
716
717                     
718                     
719                      
720                     </div>                    
721                 </div>
722
723             </td>
724             <td class="msource">
725                 
726                         Roo.menu.Menu
727                 &nbsp;
728             </td>
729         </tr>
730         
731           
732           <tr class="method-row config-row-alt1 expandable notInherited">
733             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
734            
735            
736             <td class="sig">
737                 <a id="Roo.menu.Menu-method-addSeparator"   name=".addSeparator"></a>
738                 <div class="fixedFont">
739                         <span class="attributes"></span><b class="itemname">addSeparator</b>
740                                 
741                                  () 
742                         
743                                 
744                                          : 
745                                         
746                                                 
747                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
748                                         
749                                         
750                                         
751                                 
752                         
753                 </div>
754                 <div class="mdesc">
755                 
756                    <div class="short">Adds a separator bar to the menu</div> 
757                  
758                  
759                  
760                     <div class="long">
761                         
762                                 Adds a separator bar to the menu
763                     
764                                 
765                         
766                         
767                         
768                         
769                         
770                         
771                         
772                         
773                                 <dl class="detailList">
774                                 <dt class="heading">Returns:</dt>
775                                 
776                                         <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>
777                                 
778                                 </dl>
779                         
780                         
781                         
782
783                     
784                     
785                      
786                     </div>                    
787                 </div>
788
789             </td>
790             <td class="msource">
791                 
792                         Roo.menu.Menu
793                 &nbsp;
794             </td>
795         </tr>
796         
797           
798           <tr class="method-row config-row-alt0 expandable notInherited">
799             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
800            
801            
802             <td class="sig">
803                 <a id="Roo.menu.Menu-method-addText"   name=".addText"></a>
804                 <div class="fixedFont">
805                         <span class="attributes"></span><b class="itemname">addText</b>
806                                 
807                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>) 
808                         
809                                 
810                                          : 
811                                         
812                                                 
813                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
814                                         
815                                         
816                                         
817                                 
818                         
819                 </div>
820                 <div class="mdesc">
821                 
822                    <div class="short">Creates a new {<b>link</b> Roo.menu.TextItem} with the supplied text and adds it to the menu</div> 
823                  
824                  
825                  
826                     <div class="long">
827                         
828                                 Creates a new {<b>link</b> Roo.menu.TextItem} with the supplied text and adds it to the menu
829                     
830                                 
831                         
832                         
833                         
834                         
835                                 <dl class="detailList">
836                                 <dt class="heading">Parameters:</dt>
837                                 
838                                         <dt>
839                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>text</b>
840                                                 
841                                         </dt>
842                                         <dd>The text to display in the menu item</dd>
843                                 
844                                 </dl>
845                         
846                         
847                         
848                         
849                         
850                                 <dl class="detailList">
851                                 <dt class="heading">Returns:</dt>
852                                 
853                                         <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>
854                                 
855                                 </dl>
856                         
857                         
858                         
859
860                     
861                     
862                      
863                     </div>                    
864                 </div>
865
866             </td>
867             <td class="msource">
868                 
869                         Roo.menu.Menu
870                 &nbsp;
871             </td>
872         </tr>
873         
874           
875           <tr class="method-row config-row-alt1 expandable notInherited">
876             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
877            
878            
879             <td class="sig">
880                 <a id="Roo.menu.Menu-method-getEl"   name=".getEl"></a>
881                 <div class="fixedFont">
882                         <span class="attributes"></span><b class="itemname">getEl</b>
883                                 
884                                  () 
885                         
886                                 
887                                          : 
888                                         
889                                                 
890                                                 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
891                                         
892                                         
893                                         
894                                 
895                         
896                 </div>
897                 <div class="mdesc">
898                 
899                    <div class="short">Returns this menu's underlying {<b>link</b> Roo.Element} object</div> 
900                  
901                  
902                  
903                     <div class="long">
904                         
905                                 Returns this menu's underlying {<b>link</b> Roo.Element} object
906                     
907                                 
908                         
909                         
910                         
911                         
912                         
913                         
914                         
915                         
916                                 <dl class="detailList">
917                                 <dt class="heading">Returns:</dt>
918                                 
919                                         <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  The element</dd>
920                                 
921                                 </dl>
922                         
923                         
924                         
925
926                     
927                     
928                      
929                     </div>                    
930                 </div>
931
932             </td>
933             <td class="msource">
934                 
935                         Roo.menu.Menu
936                 &nbsp;
937             </td>
938         </tr>
939         
940           
941           <tr class="method-row config-row-alt0 expandable notInherited">
942             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
943            
944            
945             <td class="sig">
946                 <a id="Roo.menu.Menu-method-hide"   name=".hide"></a>
947                 <div class="fixedFont">
948                         <span class="attributes"></span><b class="itemname">hide</b>
949                                 
950                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>deep</i></B>) 
951                         
952                                 
953                         
954                 </div>
955                 <div class="mdesc">
956                 
957                    <div class="short">Hides this menu and optionally all parent menus</div> 
958                  
959                  
960                  
961                     <div class="long">
962                         
963                                 Hides this menu and optionally all parent menus
964                     
965                                 
966                         
967                         
968                         
969                         
970                                 <dl class="detailList">
971                                 <dt class="heading">Parameters:</dt>
972                                 
973                                         <dt>
974                                                 <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>
975                                                 
976                                         </dt>
977                                         <dd>(optional) True to hide all parent menus recursively, if any (defaults to false)</dd>
978                                 
979                                 </dl>
980                         
981                         
982                         
983                         
984                         
985                         
986                         
987
988                     
989                     
990                      
991                     </div>                    
992                 </div>
993
994             </td>
995             <td class="msource">
996                 
997                         Roo.menu.Menu
998                 &nbsp;
999             </td>
1000         </tr>
1001         
1002           
1003           <tr class="method-row config-row-alt1 expandable notInherited">
1004             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1005            
1006            
1007             <td class="sig">
1008                 <a id="Roo.menu.Menu-method-insert"   name=".insert"></a>
1009                 <div class="fixedFont">
1010                         <span class="attributes"></span><b class="itemname">insert</b>
1011                                 
1012                                  (<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>) 
1013                         
1014                                 
1015                                          : 
1016                                         
1017                                                 
1018                                                 <a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a>
1019                                         
1020                                         
1021                                         
1022                                 
1023                         
1024                 </div>
1025                 <div class="mdesc">
1026                 
1027                    <div class="short">Inserts an existing object based on {<b>link</b> Roo.menu.Item} to the menu at a specified index</div> 
1028                  
1029                  
1030                  
1031                     <div class="long">
1032                         
1033                                 Inserts an existing object based on {<b>link</b> Roo.menu.Item} to the menu at a specified index
1034                     
1035                                 
1036                         
1037                         
1038                         
1039                         
1040                                 <dl class="detailList">
1041                                 <dt class="heading">Parameters:</dt>
1042                                 
1043                                         <dt>
1044                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>index</b>
1045                                                 
1046                                         </dt>
1047                                         <dd>The index in the menu's list of current items where the new item should be inserted</dd>
1048                                 
1049                                         <dt>
1050                                                 <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>
1051                                                 
1052                                         </dt>
1053                                         <dd>The menu item to add</dd>
1054                                 
1055                                 </dl>
1056                         
1057                         
1058                         
1059                         
1060                         
1061                                 <dl class="detailList">
1062                                 <dt class="heading">Returns:</dt>
1063                                 
1064                                         <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>
1065                                 
1066                                 </dl>
1067                         
1068                         
1069                         
1070
1071                     
1072                     
1073                      
1074                     </div>                    
1075                 </div>
1076
1077             </td>
1078             <td class="msource">
1079                 
1080                         Roo.menu.Menu
1081                 &nbsp;
1082             </td>
1083         </tr>
1084         
1085           
1086           <tr class="method-row config-row-alt0 expandable notInherited">
1087             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1088            
1089            
1090             <td class="sig">
1091                 <a id="Roo.menu.Menu-method-isVisible"   name=".isVisible"></a>
1092                 <div class="fixedFont">
1093                         <span class="attributes"></span><b class="itemname">isVisible</b>
1094                                 
1095                                  () 
1096                         
1097                                 
1098                         
1099                 </div>
1100                 <div class="mdesc">
1101                 
1102                    <div class="short">Read-only.</div> 
1103                  
1104                  
1105                  
1106                     <div class="long">
1107                         
1108                                 Read-only.  Returns true if the menu is currently displayed, else false.
1109                     
1110                                 
1111                         
1112                         
1113                         
1114                         
1115                         
1116                         
1117                         
1118                         
1119                         
1120                         
1121
1122                     
1123                     
1124                      
1125                     </div>                    
1126                 </div>
1127
1128             </td>
1129             <td class="msource">
1130                 
1131                         Roo.menu.Menu
1132                 &nbsp;
1133             </td>
1134         </tr>
1135         
1136           
1137           <tr class="method-row config-row-alt1 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-remove"   name=".remove"></a>
1143                 <div class="fixedFont">
1144                         <span class="attributes"></span><b class="itemname">remove</b>
1145                                 
1146                                  (<a href="./Roo.menu.Item.html#constructor" roo:cls="Roo.menu.Item.html#constructor">Roo.menu.Item</a> <B><i>item</i></B>) 
1147                         
1148                                 
1149                         
1150                 </div>
1151                 <div class="mdesc">
1152                 
1153                    <div class="short">Removes an {<b>link</b> Roo.menu.Item} from the menu and destroys the object</div> 
1154                  
1155                  
1156                  
1157                     <div class="long">
1158                         
1159                                 Removes an {<b>link</b> Roo.menu.Item} from the menu and destroys the object
1160                     
1161                                 
1162                         
1163                         
1164                         
1165                         
1166                                 <dl class="detailList">
1167                                 <dt class="heading">Parameters:</dt>
1168                                 
1169                                         <dt>
1170                                                 <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>
1171                                                 
1172                                         </dt>
1173                                         <dd>The menu item to remove</dd>
1174                                 
1175                                 </dl>
1176                         
1177                         
1178                         
1179                         
1180                         
1181                         
1182                         
1183
1184                     
1185                     
1186                      
1187                     </div>                    
1188                 </div>
1189
1190             </td>
1191             <td class="msource">
1192                 
1193                         Roo.menu.Menu
1194                 &nbsp;
1195             </td>
1196         </tr>
1197         
1198           
1199           <tr class="method-row config-row-alt0 expandable notInherited">
1200             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1201            
1202            
1203             <td class="sig">
1204                 <a id="Roo.menu.Menu-method-removeAll"   name=".removeAll"></a>
1205                 <div class="fixedFont">
1206                         <span class="attributes"></span><b class="itemname">removeAll</b>
1207                                 
1208                                  () 
1209                         
1210                                 
1211                         
1212                 </div>
1213                 <div class="mdesc">
1214                 
1215                    <div class="short">Removes and destroys all items in the menu</div> 
1216                  
1217                  
1218                  
1219                     <div class="long">
1220                         
1221                                 Removes and destroys all items in the menu
1222                     
1223                                 
1224                         
1225                         
1226                         
1227                         
1228                         
1229                         
1230                         
1231                         
1232                         
1233                         
1234
1235                     
1236                     
1237                      
1238                     </div>                    
1239                 </div>
1240
1241             </td>
1242             <td class="msource">
1243                 
1244                         Roo.menu.Menu
1245                 &nbsp;
1246             </td>
1247         </tr>
1248         
1249           
1250           <tr class="method-row config-row-alt1 expandable notInherited">
1251             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1252            
1253            
1254             <td class="sig">
1255                 <a id="Roo.menu.Menu-method-show"   name=".show"></a>
1256                 <div class="fixedFont">
1257                         <span class="attributes"></span><b class="itemname">show</b>
1258                                 
1259                                  (<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>) 
1260                         
1261                                 
1262                         
1263                 </div>
1264                 <div class="mdesc">
1265                 
1266                    <div class="short">Displays this menu relative to another element</div> 
1267                  
1268                  
1269                  
1270                     <div class="long">
1271                         
1272                                 Displays this menu relative to another element
1273                     
1274                                 
1275                         
1276                         
1277                         
1278                         
1279                                 <dl class="detailList">
1280                                 <dt class="heading">Parameters:</dt>
1281                                 
1282                                         <dt>
1283                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span>  <b>element</b>
1284                                                 
1285                                         </dt>
1286                                         <dd>The element to align to</dd>
1287                                 
1288                                         <dt>
1289                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>position</b>
1290                                                 
1291                                         </dt>
1292                                         <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>
1293                                 
1294                                         <dt>
1295                                                 <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>
1296                                                 
1297                                         </dt>
1298                                         <dd>(optional) This menu's parent menu, if applicable (defaults to undefined)</dd>
1299                                 
1300                                 </dl>
1301                         
1302                         
1303                         
1304                         
1305                         
1306                         
1307                         
1308
1309                     
1310                     
1311                      
1312                     </div>                    
1313                 </div>
1314
1315             </td>
1316             <td class="msource">
1317                 
1318                         Roo.menu.Menu
1319                 &nbsp;
1320             </td>
1321         </tr>
1322         
1323           
1324           <tr class="method-row config-row-alt0 expandable notInherited">
1325             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1326            
1327            
1328             <td class="sig">
1329                 <a id="Roo.menu.Menu-method-showAt"   name=".showAt"></a>
1330                 <div class="fixedFont">
1331                         <span class="attributes"></span><b class="itemname">showAt</b>
1332                                 
1333                                  (<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>) 
1334                         
1335                                 
1336                         
1337                 </div>
1338                 <div class="mdesc">
1339                 
1340                    <div class="short">Displays this menu at a specific xy position</div> 
1341                  
1342                  
1343                  
1344                     <div class="long">
1345                         
1346                                 Displays this menu at a specific xy position
1347                     
1348                                 
1349                         
1350                         
1351                         
1352                         
1353                                 <dl class="detailList">
1354                                 <dt class="heading">Parameters:</dt>
1355                                 
1356                                         <dt>
1357                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  <b>xyPosition</b>
1358                                                 
1359                                         </dt>
1360                                         <dd>Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)</dd>
1361                                 
1362                                         <dt>
1363                                                 <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>
1364                                                 
1365                                         </dt>
1366                                         <dd>(optional) This menu's parent menu, if applicable (defaults to undefined)</dd>
1367                                 
1368                                 </dl>
1369                         
1370                         
1371                         
1372                         
1373                         
1374                         
1375                         
1376
1377                     
1378                     
1379                      
1380                     </div>                    
1381                 </div>
1382
1383             </td>
1384             <td class="msource">
1385                 
1386                         Roo.menu.Menu
1387                 &nbsp;
1388             </td>
1389         </tr>
1390         
1391                                                        
1392     </table>
1393
1394   
1395   <!-- ============================== events summary / details ======================== -->
1396   
1397   
1398   <a id="Roo.menu.Menu-events"></a>
1399     
1400   
1401         
1402    
1403   
1404     
1405     
1406     
1407       <table cellspacing="0" class="member-table">
1408                 <caption>Events</caption>
1409               <thead>
1410                 <tr>
1411                     <th class="sig-header" colspan="2">Event</th>            
1412                     <th class="msource-header">Defined By</th>
1413
1414                 </tr>
1415               </thead>  
1416         
1417         
1418          
1419         
1420         
1421           <tr class="method-row expandable config-row-alt0 notInherited">
1422             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1423             
1424             <td class="sig">
1425                 <a id="Roo.menu.Menu-event-*beforehide"></a>
1426                 
1427                <div class="fixedFont">
1428                 <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>) 
1429                 
1430                 </div>
1431
1432                 <div class="mdesc">
1433
1434                    <div class="short">Fires before this menu is hidden
1435                    
1436                 </div> 
1437                     
1438                     <div class="long">
1439                     
1440                         Fires before this menu is hidden
1441                     
1442                         
1443                         
1444                 
1445                         
1446                                 <dl class="detailList">
1447                                 <dt class="heading">Parameters:</dt>
1448                                 
1449                                         <dt>
1450                                                 <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>
1451                                                 
1452                                         </dt>
1453                                         <dd></dd>
1454                                 
1455                                 </dl>
1456                         
1457                         
1458                         
1459                         
1460                         
1461                         
1462                         
1463
1464                     
1465                     
1466                      
1467                     </div>                    
1468                 </div>
1469
1470             </td>
1471             <td class="msource">
1472                 Roo.menu.Menu
1473             </td>
1474         </tr>
1475         
1476           <tr class="method-row expandable config-row-alt1 notInherited">
1477             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1478             
1479             <td class="sig">
1480                 <a id="Roo.menu.Menu-event-*beforeshow"></a>
1481                 
1482                <div class="fixedFont">
1483                 <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>) 
1484                 
1485                 </div>
1486
1487                 <div class="mdesc">
1488
1489                    <div class="short">Fires before this menu is displayed
1490                    
1491                 </div> 
1492                     
1493                     <div class="long">
1494                     
1495                         Fires before this menu is displayed
1496                     
1497                         
1498                         
1499                 
1500                         
1501                                 <dl class="detailList">
1502                                 <dt class="heading">Parameters:</dt>
1503                                 
1504                                         <dt>
1505                                                 <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>
1506                                                 
1507                                         </dt>
1508                                         <dd></dd>
1509                                 
1510                                 </dl>
1511                         
1512                         
1513                         
1514                         
1515                         
1516                         
1517                         
1518
1519                     
1520                     
1521                      
1522                     </div>                    
1523                 </div>
1524
1525             </td>
1526             <td class="msource">
1527                 Roo.menu.Menu
1528             </td>
1529         </tr>
1530         
1531           <tr class="method-row expandable config-row-alt0 notInherited">
1532             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1533             
1534             <td class="sig">
1535                 <a id="Roo.menu.Menu-event-*click"></a>
1536                 
1537                <div class="fixedFont">
1538                 <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>) 
1539                 
1540                 </div>
1541
1542                 <div class="mdesc">
1543
1544                    <div class="short">Fires when this menu is clicked (or when the enter key is pressed while it is active)
1545                    
1546                 </div> 
1547                     
1548                     <div class="long">
1549                     
1550                         Fires when this menu is clicked (or when the enter key is pressed while it is active)
1551                     
1552                         
1553                         
1554                 
1555                         
1556                                 <dl class="detailList">
1557                                 <dt class="heading">Parameters:</dt>
1558                                 
1559                                         <dt>
1560                                                 <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>
1561                                                 
1562                                         </dt>
1563                                         <dd></dd>
1564                                 
1565                                         <dt>
1566                                                 <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>
1567                                                 
1568                                         </dt>
1569                                         <dd>The menu item that was clicked</dd>
1570                                 
1571                                         <dt>
1572                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1573                                                 
1574                                         </dt>
1575                                         <dd></dd>
1576                                 
1577                                 </dl>
1578                         
1579                         
1580                         
1581                         
1582                         
1583                         
1584                         
1585
1586                     
1587                     
1588                      
1589                     </div>                    
1590                 </div>
1591
1592             </td>
1593             <td class="msource">
1594                 Roo.menu.Menu
1595             </td>
1596         </tr>
1597         
1598           <tr class="method-row expandable config-row-alt1 notInherited">
1599             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1600             
1601             <td class="sig">
1602                 <a id="Roo.menu.Menu-event-*hide"></a>
1603                 
1604                <div class="fixedFont">
1605                 <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>) 
1606                 
1607                 </div>
1608
1609                 <div class="mdesc">
1610
1611                    <div class="short">Fires after this menu is hidden
1612                    
1613                 </div> 
1614                     
1615                     <div class="long">
1616                     
1617                         Fires after this menu is hidden
1618                     
1619                         
1620                         
1621                 
1622                         
1623                                 <dl class="detailList">
1624                                 <dt class="heading">Parameters:</dt>
1625                                 
1626                                         <dt>
1627                                                 <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>
1628                                                 
1629                                         </dt>
1630                                         <dd></dd>
1631                                 
1632                                 </dl>
1633                         
1634                         
1635                         
1636                         
1637                         
1638                         
1639                         
1640
1641                     
1642                     
1643                      
1644                     </div>                    
1645                 </div>
1646
1647             </td>
1648             <td class="msource">
1649                 Roo.menu.Menu
1650             </td>
1651         </tr>
1652         
1653           <tr class="method-row expandable config-row-alt0 notInherited">
1654             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1655             
1656             <td class="sig">
1657                 <a id="Roo.menu.Menu-event-*itemclick"></a>
1658                 
1659                <div class="fixedFont">
1660                 <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>) 
1661                 
1662                 </div>
1663
1664                 <div class="mdesc">
1665
1666                    <div class="short">Fires when a menu item contained in this menu is clicked
1667                    
1668                 </div> 
1669                     
1670                     <div class="long">
1671                     
1672                         Fires when a menu item contained in this menu is clicked
1673                     
1674                         
1675                         
1676                 
1677                         
1678                                 <dl class="detailList">
1679                                 <dt class="heading">Parameters:</dt>
1680                                 
1681                                         <dt>
1682                                                 <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>
1683                                                 
1684                                         </dt>
1685                                         <dd>The BaseItem that was clicked</dd>
1686                                 
1687                                         <dt>
1688                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1689                                                 
1690                                         </dt>
1691                                         <dd></dd>
1692                                 
1693                                 </dl>
1694                         
1695                         
1696                         
1697                         
1698                         
1699                         
1700                         
1701
1702                     
1703                     
1704                      
1705                     </div>                    
1706                 </div>
1707
1708             </td>
1709             <td class="msource">
1710                 Roo.menu.Menu
1711             </td>
1712         </tr>
1713         
1714           <tr class="method-row expandable config-row-alt1 notInherited">
1715             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1716             
1717             <td class="sig">
1718                 <a id="Roo.menu.Menu-event-*mouseout"></a>
1719                 
1720                <div class="fixedFont">
1721                 <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>) 
1722                 
1723                 </div>
1724
1725                 <div class="mdesc">
1726
1727                    <div class="short">Fires when the mouse exits this menu
1728                    
1729                 </div> 
1730                     
1731                     <div class="long">
1732                     
1733                         Fires when the mouse exits this menu
1734                     
1735                         
1736                         
1737                 
1738                         
1739                                 <dl class="detailList">
1740                                 <dt class="heading">Parameters:</dt>
1741                                 
1742                                         <dt>
1743                                                 <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>
1744                                                 
1745                                         </dt>
1746                                         <dd></dd>
1747                                 
1748                                         <dt>
1749                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1750                                                 
1751                                         </dt>
1752                                         <dd></dd>
1753                                 
1754                                         <dt>
1755                                                 <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>
1756                                                 
1757                                         </dt>
1758                                         <dd>The menu item that was clicked</dd>
1759                                 
1760                                 </dl>
1761                         
1762                         
1763                         
1764                         
1765                         
1766                         
1767                         
1768
1769                     
1770                     
1771                      
1772                     </div>                    
1773                 </div>
1774
1775             </td>
1776             <td class="msource">
1777                 Roo.menu.Menu
1778             </td>
1779         </tr>
1780         
1781           <tr class="method-row expandable config-row-alt0 notInherited">
1782             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1783             
1784             <td class="sig">
1785                 <a id="Roo.menu.Menu-event-*mouseover"></a>
1786                 
1787                <div class="fixedFont">
1788                 <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>) 
1789                 
1790                 </div>
1791
1792                 <div class="mdesc">
1793
1794                    <div class="short">Fires when the mouse is hovering over this menu
1795                    
1796                 </div> 
1797                     
1798                     <div class="long">
1799                     
1800                         Fires when the mouse is hovering over this menu
1801                     
1802                         
1803                         
1804                 
1805                         
1806                                 <dl class="detailList">
1807                                 <dt class="heading">Parameters:</dt>
1808                                 
1809                                         <dt>
1810                                                 <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>
1811                                                 
1812                                         </dt>
1813                                         <dd></dd>
1814                                 
1815                                         <dt>
1816                                                 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1817                                                 
1818                                         </dt>
1819                                         <dd></dd>
1820                                 
1821                                         <dt>
1822                                                 <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>
1823                                                 
1824                                         </dt>
1825                                         <dd>The menu item that was clicked</dd>
1826                                 
1827                                 </dl>
1828                         
1829                         
1830                         
1831                         
1832                         
1833                         
1834                         
1835
1836                     
1837                     
1838                      
1839                     </div>                    
1840                 </div>
1841
1842             </td>
1843             <td class="msource">
1844                 Roo.menu.Menu
1845             </td>
1846         </tr>
1847         
1848           <tr class="method-row expandable config-row-alt1 notInherited">
1849             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1850             
1851             <td class="sig">
1852                 <a id="Roo.menu.Menu-event-*show"></a>
1853                 
1854                <div class="fixedFont">
1855                 <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>) 
1856                 
1857                 </div>
1858
1859                 <div class="mdesc">
1860
1861                    <div class="short">Fires after this menu is displayed
1862                    
1863                 </div> 
1864                     
1865                     <div class="long">
1866                     
1867                         Fires after this menu is displayed
1868                     
1869                         
1870                         
1871                 
1872                         
1873                                 <dl class="detailList">
1874                                 <dt class="heading">Parameters:</dt>
1875                                 
1876                                         <dt>
1877                                                 <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>
1878                                                 
1879                                         </dt>
1880                                         <dd></dd>
1881                                 
1882                                 </dl>
1883                         
1884                         
1885                         
1886                         
1887                         
1888                         
1889                         
1890
1891                     
1892                     
1893                      
1894                     </div>                    
1895                 </div>
1896
1897             </td>
1898             <td class="msource">
1899                 Roo.menu.Menu
1900             </td>
1901         </tr>
1902         
1903                                                        
1904     </table>
1905
1906   
1907   
1908   
1909  
1910 <!-- ============================== footer ================================= -->
1911                 <div class="fineprint" style="clear:both">
1912                         
1913                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 15:55:29 GMT+0800 (HKT)
1914                         Based on 
1915                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
1916                 </div>
1917         </body>
1918 </html>