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