1 <div class="body-wrap">
2 <div class="top-tools">
3 <a class="inner-link" href="#Ext.menu.ColorMenu-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4 <a class="inner-link" href="#Ext.menu.ColorMenu-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5 <a class="inner-link" href="#Ext.menu.ColorMenu-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6 <a class="inner-link" href="#Ext.menu.ColorMenu-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7 <a class="bookmark" href="../docs/?class=Ext.menu.ColorMenu"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
9 <div class="inheritance res-block">
10 <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11 <img src="resources/elbow-end.gif"/><a ext:cls="Ext.menu.Menu" ext:member="" href="output/Ext.menu.Menu.html">Menu</a>
12 <img src="resources/elbow-end.gif"/>ColorMenu</pre></div>
13 <h1>Class Ext.menu.ColorMenu</h1>
14 <table cellspacing="0">
15 <tr><td class="label">Package:</td><td class="hd-info">Ext.menu</td></tr>
16 <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/ColorMenu.js" target="_blank">ColorMenu.js</a></td></tr>
17 <tr><td class="label">Class:</td><td class="hd-info">ColorMenu</td></tr>
18 <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.menu.Menu" ext:member="" href="output/Ext.menu.Menu.html">Menu</a></td></tr>
20 <div class="description">
22 A menu containing a <a ext:cls="Ext.menu.ColorItem" href="output/Ext.menu.ColorItem.html">Ext.menu.ColorItem</a> component (which provides a basic color picker). </div>
24 <div class="hr"></div>
25 <a id="Ext.menu.ColorMenu-configs"></a>
26 <h2>Config Options</h2>
27 <table cellspacing="0" class="member-table">
29 <th class="sig-header" colspan="2">Config Options</th>
30 <th class="msource-header">Defined By</th>
32 <tr class="config-row inherited">
\r
33 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
35 <a id="Ext.menu.ColorMenu-allowOtherMenus"></a>
\r
36 <b>allowOtherMenus</b> : Boolean <div class="mdesc">
\r
37 True to allow multiple menus to be displayed at the same time (defaults to false) </div>
\r
39 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#allowOtherMenus" href="output/Ext.menu.Menu.html#allowOtherMenus">Menu</a></td>
\r
41 <tr class="config-row inherited alt expandable">
\r
42 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
44 <a id="Ext.menu.ColorMenu-defaultAlign"></a>
\r
45 <b>defaultAlign</b> : String <div class="mdesc">
\r
46 <div class="short">The default Ext.Element.alignTo anchor position value for this menu relative to its element of origin (defaults to "t...</div>
\r
48 The default <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> anchor position value for this menu relative to its element of origin (defaults to "tl-bl?") </div>
\r
51 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#defaultAlign" href="output/Ext.menu.Menu.html#defaultAlign">Menu</a></td>
\r
53 <tr class="config-row inherited expandable">
\r
54 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
56 <a id="Ext.menu.ColorMenu-defaults"></a>
\r
57 <b>defaults</b> : Object <div class="mdesc">
\r
58 <div class="short">A config object that will be applied to all items added to this container either via the items config or via the add ...</div>
\r
60 A config object that will be applied to all items added to this container either via the <a ext:cls="Ext.menu.Menu" ext:member="items" href="output/Ext.menu.Menu.html#items">items</a> config or via the <a ext:cls="Ext.menu.Menu" ext:member="add" href="output/Ext.menu.Menu.html#add">add</a> method. The defaults config can contain any number of name/value property pairs to be added to each item, and should be valid for the types of items being added to the menu. </div>
\r
63 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#defaults" href="output/Ext.menu.Menu.html#defaults">Menu</a></td>
\r
65 <tr class="config-row inherited alt expandable">
\r
66 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
68 <a id="Ext.menu.ColorMenu-ignoreParentClicks"></a>
\r
69 <b>ignoreParentClicks</b> : Boolean <div class="mdesc">
\r
70 <div class="short">True to ignore clicks on any item in this menu that is a parent item (displays a submenu) so that the submenu is not ...</div>
\r
72 True to ignore clicks on any item in this menu that is a parent item (displays a submenu) so that the submenu is not dismissed when clicking the parent item (defaults to false). </div>
\r
75 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#ignoreParentClicks" href="output/Ext.menu.Menu.html#ignoreParentClicks">Menu</a></td>
\r
77 <tr class="config-row inherited">
\r
78 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
80 <a id="Ext.menu.ColorMenu-items"></a>
\r
81 <b>items</b> : Mixed <div class="mdesc">
\r
82 An array of items to be added to this menu. See <a ext:cls="Ext.menu.Menu" ext:member="add" href="output/Ext.menu.Menu.html#add">add</a> for a list of valid item types. </div>
\r
84 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#items" href="output/Ext.menu.Menu.html#items">Menu</a></td>
\r
86 <tr class="config-row inherited alt expandable">
\r
87 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
89 <a id="Ext.menu.ColorMenu-listeners"></a>
\r
90 <b>listeners</b> : Object <div class="mdesc">
\r
91 <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>
\r
93 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
\r
96 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
\r
98 <tr class="config-row inherited">
\r
99 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
101 <a id="Ext.menu.ColorMenu-minWidth"></a>
\r
102 <b>minWidth</b> : Number <div class="mdesc">
\r
103 The minimum width of the menu in pixels (defaults to 120) </div>
\r
105 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#minWidth" href="output/Ext.menu.Menu.html#minWidth">Menu</a></td>
\r
107 <tr class="config-row inherited alt expandable">
\r
108 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
110 <a id="Ext.menu.ColorMenu-shadow"></a>
\r
111 <b>shadow</b> : Boolean/String <div class="mdesc">
\r
112 <div class="short">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right shadow (defaults to "si...</div>
\r
114 True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right shadow (defaults to "sides") </div>
\r
117 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#shadow" href="output/Ext.menu.Menu.html#shadow">Menu</a></td>
\r
119 <tr class="config-row inherited">
\r
120 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
122 <a id="Ext.menu.ColorMenu-subMenuAlign"></a>
\r
123 <b>subMenuAlign</b> : String <div class="mdesc">
\r
124 The <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> anchor position value to use for submenus of this menu (defaults to "tl-tr?") </div>
\r
126 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#subMenuAlign" href="output/Ext.menu.Menu.html#subMenuAlign">Menu</a></td>
\r
129 <a id="Ext.menu.ColorMenu-props"></a>
130 <h2>Public Properties</h2>
131 <table cellspacing="0" class="member-table">
133 <th class="sig-header" colspan="2">Property</th>
134 <th class="msource-header">Defined By</th>
136 <tr class="property-row inherited">
\r
137 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
139 <a id="Ext.menu.ColorMenu-items"></a>
\r
140 <b>items</b> : Ext.util.MixedCollection <div class="mdesc">
\r
141 A MixedCollection of this Menu's items </div>
\r
143 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#items" href="output/Ext.menu.Menu.html#items">Menu</a></td>
\r
145 <tr class="property-row alt">
\r
146 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
148 <a id="Ext.menu.ColorMenu-palette"></a>
\r
149 <b>palette</b> : ColorPalette <div class="mdesc">
\r
150 The <a ext:cls="Ext.ColorPalette" href="output/Ext.ColorPalette.html">Ext.ColorPalette</a> instance for this ColorMenu </div>
\r
152 <td class="msource">ColorMenu</td>
\r
155 <a id="Ext.menu.ColorMenu-methods"></a>
156 <h2>Public Methods</h2>
157 <table cellspacing="0" class="member-table">
159 <th class="sig-header" colspan="2">Method</th>
160 <th class="msource-header">Defined By</th>
162 <tr class="method-row expandable">
\r
163 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
165 <a id="Ext.menu.ColorMenu-ColorMenu"></a>
\r
166 <b>ColorMenu</b>( <code>Object config</code> ) <div class="mdesc">
\r
167 <div class="short">Creates a new ColorMenu</div>
\r
169 Creates a new ColorMenu <div class="mdetail-params">
\r
170 <strong>Parameters:</strong>
\r
171 <ul><li><code>config</code> : Object<div class="sub-desc">Configuration options</div></li> </ul>
\r
172 <strong>Returns:</strong>
\r
174 <li><code></code></li>
\r
180 <td class="msource">ColorMenu</td>
\r
182 <tr class="method-row inherited alt expandable">
\r
183 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
185 <a id="Ext.menu.ColorMenu-add"></a>
\r
186 <b>add</b>( <code>Mixed args</code> ) : Ext.menu.Item <div class="mdesc">
\r
187 <div class="short">Adds one or more items of any type supported by the Menu class, or that can be converted into menu items.
188 Any of the ...</div>
\r
190 Adds one or more items of any type supported by the Menu class, or that can be converted into menu items.
191 Any of the following are valid:
193 <li>Any menu item object based on <a ext:cls="Ext.menu.BaseItem" href="output/Ext.menu.BaseItem.html">Ext.menu.BaseItem</a></li>
194 <li>An HTMLElement object which will be converted to a menu item</li>
195 <li>A menu item config object that will be created as a new menu item</li>
196 <li>A string, which can either be '-' or 'separator' to add a menu separator, otherwise
197 it will be converted into a <a ext:cls="Ext.menu.TextItem" href="output/Ext.menu.TextItem.html">Ext.menu.TextItem</a> and added</li>
200 <pre><code><i>// Create the menu</i>
201 <b>var</b> menu = <b>new</b> Ext.menu.Menu();
203 <i>// Create a menu item to add by reference</i>
204 <b>var</b> menuItem = <b>new</b> Ext.menu.Item({ text: <em>'New Item!'</em> });
206 <i>// Add a bunch of items at once using different methods.</i>
207 <i>// Only the last item added will be returned.</i>
208 <b>var</b> item = menu.add(
209 menuItem, <i>// add existing item by ref</i>
210 <em>'Dynamic Item'</em>, <i>// <b>new</b> TextItem</i>
211 <em>'-'</em>, <i>// <b>new</b> separator</i>
212 { text: <em>'Config Item'</em> } <i>// <b>new</b> item by config</i>
213 );</code></pre> <div class="mdetail-params">
\r
214 <strong>Parameters:</strong>
\r
215 <ul><li><code>args</code> : Mixed<div class="sub-desc">One or more menu items, menu item configs or other objects that can be converted to menu items</div></li> </ul>
\r
216 <strong>Returns:</strong>
\r
218 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added, or the last one if multiple items were added</div></li>
\r
224 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#add" href="output/Ext.menu.Menu.html#add">Menu</a></td>
\r
226 <tr class="method-row inherited expandable">
\r
227 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
229 <a id="Ext.menu.ColorMenu-addElement"></a>
\r
230 <b>addElement</b>( <code>Mixed el</code> ) : Ext.menu.Item <div class="mdesc">
\r
231 <div class="short">Adds an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> object to the menu</div>
\r
233 Adds an <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> object to the menu <div class="mdetail-params">
\r
234 <strong>Parameters:</strong>
\r
235 <ul><li><code>el</code> : Mixed<div class="sub-desc">The element or DOM node to add, or its id</div></li> </ul>
\r
236 <strong>Returns:</strong>
\r
238 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added</div></li>
\r
244 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#addElement" href="output/Ext.menu.Menu.html#addElement">Menu</a></td>
\r
246 <tr class="method-row inherited alt expandable">
\r
247 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
249 <a id="Ext.menu.ColorMenu-addEvents"></a>
\r
250 <b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
\r
251 <div class="short">Used to define events on this Observable</div>
\r
253 Used to define events on this Observable <div class="mdetail-params">
\r
254 <strong>Parameters:</strong>
\r
255 <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
\r
256 <strong>Returns:</strong>
\r
258 <li><code>void</code></li>
\r
264 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
\r
266 <tr class="method-row inherited expandable">
\r
267 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
269 <a id="Ext.menu.ColorMenu-addItem"></a>
\r
270 <b>addItem</b>( <code>Ext.menu.Item item</code> ) : Ext.menu.Item <div class="mdesc">
\r
271 <div class="short">Adds an existing object based on <a ext:cls="Ext.menu.BaseItem" href="output/Ext.menu.BaseItem.html">Ext.menu.BaseItem</a> to the menu</div>
\r
273 Adds an existing object based on <a ext:cls="Ext.menu.BaseItem" href="output/Ext.menu.BaseItem.html">Ext.menu.BaseItem</a> to the menu <div class="mdetail-params">
\r
274 <strong>Parameters:</strong>
\r
275 <ul><li><code>item</code> : Ext.menu.Item<div class="sub-desc">The menu item to add</div></li> </ul>
\r
276 <strong>Returns:</strong>
\r
278 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added</div></li>
\r
284 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#addItem" href="output/Ext.menu.Menu.html#addItem">Menu</a></td>
\r
286 <tr class="method-row inherited alt expandable">
\r
287 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
289 <a id="Ext.menu.ColorMenu-addListener"></a>
\r
290 <b>addListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
\r
291 <div class="short">Appends an event handler to this component</div>
\r
293 Appends an event handler to this component <div class="mdetail-params">
\r
294 <strong>Parameters:</strong>
\r
295 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
296 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
297 properties. This may contain any of the following properties:<ul>
298 <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
299 <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
300 <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
301 <li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
302 by the specified number of milliseconds. If the event fires again within that time, the original
303 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
306 <b>Combining Options</b><br>
307 Using the options argument, it is possible to combine different types of listeners:<br>
309 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
310 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
316 <b>Attaching multiple handlers in 1 call</b><br>
317 The method also allows for a single argument to be passed which is a config object containing properties
318 which specify multiple handlers.
322 fn: <b>this</b>.onClick,
326 <em>'mouseover'</em> : {
327 fn: <b>this</b>.onMouseOver,
330 <em>'mouseout'</em> : {
331 fn: <b>this</b>.onMouseOut,
336 Or a shorthand syntax:<br>
338 <em>'click'</em> : <b>this</b>.onClick,
339 <em>'mouseover'</em> : <b>this</b>.onMouseOver,
340 <em>'mouseout'</em> : <b>this</b>.onMouseOut,
342 });</code></pre></div></li> </ul>
\r
343 <strong>Returns:</strong>
\r
345 <li><code>void</code></li>
\r
351 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
\r
353 <tr class="method-row inherited expandable">
\r
354 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
356 <a id="Ext.menu.ColorMenu-addMenuItem"></a>
\r
357 <b>addMenuItem</b>( <code>Object config</code> ) : Ext.menu.Item <div class="mdesc">
\r
358 <div class="short">Creates a new <a ext:cls="Ext.menu.Item" href="output/Ext.menu.Item.html">Ext.menu.Item</a> based an the supplied config object and adds it to the menu</div>
\r
360 Creates a new <a ext:cls="Ext.menu.Item" href="output/Ext.menu.Item.html">Ext.menu.Item</a> based an the supplied config object and adds it to the menu <div class="mdetail-params">
\r
361 <strong>Parameters:</strong>
\r
362 <ul><li><code>config</code> : Object<div class="sub-desc">A MenuItem config object</div></li> </ul>
\r
363 <strong>Returns:</strong>
\r
365 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added</div></li>
\r
371 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#addMenuItem" href="output/Ext.menu.Menu.html#addMenuItem">Menu</a></td>
\r
373 <tr class="method-row inherited alt expandable">
\r
374 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
376 <a id="Ext.menu.ColorMenu-addSeparator"></a>
\r
377 <b>addSeparator</b>() : Ext.menu.Item <div class="mdesc">
\r
378 <div class="short">Adds a separator bar to the menu</div>
\r
380 Adds a separator bar to the menu <div class="mdetail-params">
\r
381 <strong>Parameters:</strong>
\r
382 <ul><li>None.</li> </ul>
\r
383 <strong>Returns:</strong>
\r
385 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added</div></li>
\r
391 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#addSeparator" href="output/Ext.menu.Menu.html#addSeparator">Menu</a></td>
\r
393 <tr class="method-row inherited expandable">
\r
394 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
396 <a id="Ext.menu.ColorMenu-addText"></a>
\r
397 <b>addText</b>( <code>String text</code> ) : Ext.menu.Item <div class="mdesc">
\r
398 <div class="short">Creates a new <a ext:cls="Ext.menu.TextItem" href="output/Ext.menu.TextItem.html">Ext.menu.TextItem</a> with the supplied text and adds it to the menu</div>
\r
400 Creates a new <a ext:cls="Ext.menu.TextItem" href="output/Ext.menu.TextItem.html">Ext.menu.TextItem</a> with the supplied text and adds it to the menu <div class="mdetail-params">
\r
401 <strong>Parameters:</strong>
\r
402 <ul><li><code>text</code> : String<div class="sub-desc">The text to display in the menu item</div></li> </ul>
\r
403 <strong>Returns:</strong>
\r
405 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added</div></li>
\r
411 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#addText" href="output/Ext.menu.Menu.html#addText">Menu</a></td>
\r
413 <tr class="method-row inherited alt expandable">
\r
414 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
416 <a id="Ext.menu.ColorMenu-destroy"></a>
\r
417 <b>destroy</b>() : void <div class="mdesc">
\r
418 <div class="short">Destroys the menu by unregistering it from Ext.menu.MenuMgr, purging event listeners,
419 removing all of the menus item...</div>
\r
421 Destroys the menu by unregistering it from <a ext:cls="Ext.menu.MenuMgr" href="output/Ext.menu.MenuMgr.html">Ext.menu.MenuMgr</a>, purging event listeners,
422 removing all of the menus items, then destroying the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> <div class="mdetail-params">
\r
423 <strong>Parameters:</strong>
\r
424 <ul><li>None.</li> </ul>
\r
425 <strong>Returns:</strong>
\r
427 <li><code>void</code></li>
\r
433 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#destroy" href="output/Ext.menu.Menu.html#destroy">Menu</a></td>
\r
435 <tr class="method-row inherited expandable">
\r
436 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
438 <a id="Ext.menu.ColorMenu-fireEvent"></a>
\r
439 <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : Boolean <div class="mdesc">
\r
440 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
\r
442 Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
\r
443 <strong>Parameters:</strong>
\r
444 <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul>
\r
445 <strong>Returns:</strong>
\r
447 <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
\r
453 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
\r
455 <tr class="method-row inherited alt expandable">
\r
456 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
458 <a id="Ext.menu.ColorMenu-getEl"></a>
\r
459 <b>getEl</b>() : Ext.Element <div class="mdesc">
\r
460 <div class="short">Returns this menu's underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> object</div>
\r
462 Returns this menu's underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> object <div class="mdetail-params">
\r
463 <strong>Parameters:</strong>
\r
464 <ul><li>None.</li> </ul>
\r
465 <strong>Returns:</strong>
\r
467 <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
\r
473 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#getEl" href="output/Ext.menu.Menu.html#getEl">Menu</a></td>
\r
475 <tr class="method-row inherited expandable">
\r
476 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
478 <a id="Ext.menu.ColorMenu-hasListener"></a>
\r
479 <b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc">
\r
480 <div class="short">Checks to see if this object has any listeners for a specified event</div>
\r
482 Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
\r
483 <strong>Parameters:</strong>
\r
484 <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
\r
485 <strong>Returns:</strong>
\r
487 <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
\r
493 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
\r
495 <tr class="method-row inherited alt expandable">
\r
496 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
498 <a id="Ext.menu.ColorMenu-hide"></a>
\r
499 <b>hide</b>( <span class="optional" title="Optional">[<code>Boolean deep</code>]</span> ) : void <div class="mdesc">
\r
500 <div class="short">Hides this menu and optionally all parent menus</div>
\r
502 Hides this menu and optionally all parent menus <div class="mdetail-params">
\r
503 <strong>Parameters:</strong>
\r
504 <ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to hide all parent menus recursively, if any (defaults to false)</div></li> </ul>
\r
505 <strong>Returns:</strong>
\r
507 <li><code>void</code></li>
\r
513 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#hide" href="output/Ext.menu.Menu.html#hide">Menu</a></td>
\r
515 <tr class="method-row inherited expandable">
\r
516 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
518 <a id="Ext.menu.ColorMenu-insert"></a>
\r
519 <b>insert</b>( <code>Number index</code>, <code>Ext.menu.Item item</code> ) : Ext.menu.Item <div class="mdesc">
\r
520 <div class="short">Inserts an existing object based on <a ext:cls="Ext.menu.BaseItem" href="output/Ext.menu.BaseItem.html">Ext.menu.BaseItem</a> to the menu at a specified index</div>
\r
522 Inserts an existing object based on <a ext:cls="Ext.menu.BaseItem" href="output/Ext.menu.BaseItem.html">Ext.menu.BaseItem</a> to the menu at a specified index <div class="mdetail-params">
\r
523 <strong>Parameters:</strong>
\r
524 <ul><li><code>index</code> : Number<div class="sub-desc">The index in the menu's list of current items where the new item should be inserted</div></li><li><code>item</code> : Ext.menu.Item<div class="sub-desc">The menu item to add</div></li> </ul>
\r
525 <strong>Returns:</strong>
\r
527 <li><code>Ext.menu.Item</code><div class="sub-desc">The menu item that was added</div></li>
\r
533 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#insert" href="output/Ext.menu.Menu.html#insert">Menu</a></td>
\r
535 <tr class="method-row inherited alt expandable">
\r
536 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
538 <a id="Ext.menu.ColorMenu-isVisible"></a>
\r
539 <b>isVisible</b>() : void <div class="mdesc">
\r
540 <div class="short">Read-only. Returns true if the menu is currently displayed, else false.</div>
\r
542 Read-only. Returns true if the menu is currently displayed, else false. <div class="mdetail-params">
\r
543 <strong>Parameters:</strong>
\r
544 <ul><li>None.</li> </ul>
\r
545 <strong>Returns:</strong>
\r
547 <li><code>void</code></li>
\r
553 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#isVisible" href="output/Ext.menu.Menu.html#isVisible">Menu</a></td>
\r
555 <tr class="method-row inherited expandable">
\r
556 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
558 <a id="Ext.menu.ColorMenu-on"></a>
\r
559 <b>on</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span> ) : void <div class="mdesc">
\r
560 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
\r
562 Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
\r
563 <strong>Parameters:</strong>
\r
564 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
565 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
\r
566 <strong>Returns:</strong>
\r
568 <li><code>void</code></li>
\r
574 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
\r
576 <tr class="method-row inherited alt expandable">
\r
577 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
579 <a id="Ext.menu.ColorMenu-purgeListeners"></a>
\r
580 <b>purgeListeners</b>() : void <div class="mdesc">
\r
581 <div class="short">Removes all listeners for this object</div>
\r
583 Removes all listeners for this object <div class="mdetail-params">
\r
584 <strong>Parameters:</strong>
\r
585 <ul><li>None.</li> </ul>
\r
586 <strong>Returns:</strong>
\r
588 <li><code>void</code></li>
\r
594 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
\r
596 <tr class="method-row inherited expandable">
\r
597 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
599 <a id="Ext.menu.ColorMenu-relayEvents"></a>
\r
600 <b>relayEvents</b>( <code>Object o</code>, <code>Array events</code> ) : void <div class="mdesc">
\r
601 <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>
\r
603 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>. <div class="mdetail-params">
\r
604 <strong>Parameters:</strong>
\r
605 <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li> </ul>
\r
606 <strong>Returns:</strong>
\r
608 <li><code>void</code></li>
\r
614 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>
\r
616 <tr class="method-row inherited alt expandable">
\r
617 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
619 <a id="Ext.menu.ColorMenu-remove"></a>
\r
620 <b>remove</b>( <code>Ext.menu.Item item</code> ) : void <div class="mdesc">
\r
621 <div class="short">Removes an <a ext:cls="Ext.menu.Item" href="output/Ext.menu.Item.html">Ext.menu.Item</a> from the menu and destroys the object</div>
\r
623 Removes an <a ext:cls="Ext.menu.Item" href="output/Ext.menu.Item.html">Ext.menu.Item</a> from the menu and destroys the object <div class="mdetail-params">
\r
624 <strong>Parameters:</strong>
\r
625 <ul><li><code>item</code> : Ext.menu.Item<div class="sub-desc">The menu item to remove</div></li> </ul>
\r
626 <strong>Returns:</strong>
\r
628 <li><code>void</code></li>
\r
634 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#remove" href="output/Ext.menu.Menu.html#remove">Menu</a></td>
\r
636 <tr class="method-row inherited expandable">
\r
637 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
639 <a id="Ext.menu.ColorMenu-removeAll"></a>
\r
640 <b>removeAll</b>() : void <div class="mdesc">
\r
641 <div class="short">Removes and destroys all items in the menu</div>
\r
643 Removes and destroys all items in the menu <div class="mdetail-params">
\r
644 <strong>Parameters:</strong>
\r
645 <ul><li>None.</li> </ul>
\r
646 <strong>Returns:</strong>
\r
648 <li><code>void</code></li>
\r
654 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#removeAll" href="output/Ext.menu.Menu.html#removeAll">Menu</a></td>
\r
656 <tr class="method-row inherited alt expandable">
\r
657 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
659 <a id="Ext.menu.ColorMenu-removeListener"></a>
\r
660 <b>removeListener</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
661 <div class="short">Removes a listener</div>
\r
663 Removes a listener <div class="mdetail-params">
\r
664 <strong>Parameters:</strong>
\r
665 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
\r
666 <strong>Returns:</strong>
\r
668 <li><code>void</code></li>
\r
674 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
\r
676 <tr class="method-row inherited expandable">
\r
677 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
679 <a id="Ext.menu.ColorMenu-resumeEvents"></a>
\r
680 <b>resumeEvents</b>() : void <div class="mdesc">
\r
681 <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
\r
683 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params">
\r
684 <strong>Parameters:</strong>
\r
685 <ul><li>None.</li> </ul>
\r
686 <strong>Returns:</strong>
\r
688 <li><code>void</code></li>
\r
694 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
\r
696 <tr class="method-row inherited alt expandable">
\r
697 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
699 <a id="Ext.menu.ColorMenu-show"></a>
\r
700 <b>show</b>( <code>Mixed element</code>, <span class="optional" title="Optional">[<code>String position</code>]</span>, <span class="optional" title="Optional">[<code>Ext.menu.Menu parentMenu</code>]</span> ) : void <div class="mdesc">
\r
701 <div class="short">Displays this menu relative to another element</div>
\r
703 Displays this menu relative to another element <div class="mdetail-params">
\r
704 <strong>Parameters:</strong>
\r
705 <ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to</div></li><li><code>position</code> : String<div class="sub-desc">(optional) The <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> anchor position to use in aligning to
706 the element (defaults to this.defaultAlign)</div></li><li><code>parentMenu</code> : Ext.menu.Menu<div class="sub-desc">(optional) This menu's parent menu, if applicable (defaults to undefined)</div></li> </ul>
\r
707 <strong>Returns:</strong>
\r
709 <li><code>void</code></li>
\r
715 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#show" href="output/Ext.menu.Menu.html#show">Menu</a></td>
\r
717 <tr class="method-row inherited expandable">
\r
718 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
720 <a id="Ext.menu.ColorMenu-showAt"></a>
\r
721 <b>showAt</b>( <code>Array xyPosition</code>, <span class="optional" title="Optional">[<code>Ext.menu.Menu parentMenu</code>]</span> ) : void <div class="mdesc">
\r
722 <div class="short">Displays this menu at a specific xy position</div>
\r
724 Displays this menu at a specific xy position <div class="mdetail-params">
\r
725 <strong>Parameters:</strong>
\r
726 <ul><li><code>xyPosition</code> : Array<div class="sub-desc">Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)</div></li><li><code>parentMenu</code> : Ext.menu.Menu<div class="sub-desc">(optional) This menu's parent menu, if applicable (defaults to undefined)</div></li> </ul>
\r
727 <strong>Returns:</strong>
\r
729 <li><code>void</code></li>
\r
735 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#showAt" href="output/Ext.menu.Menu.html#showAt">Menu</a></td>
\r
737 <tr class="method-row inherited alt expandable">
\r
738 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
740 <a id="Ext.menu.ColorMenu-suspendEvents"></a>
\r
741 <b>suspendEvents</b>() : void <div class="mdesc">
\r
742 <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
\r
744 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params">
\r
745 <strong>Parameters:</strong>
\r
746 <ul><li>None.</li> </ul>
\r
747 <strong>Returns:</strong>
\r
749 <li><code>void</code></li>
\r
755 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
\r
757 <tr class="method-row inherited expandable">
\r
758 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
760 <a id="Ext.menu.ColorMenu-un"></a>
\r
761 <b>un</b>( <code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
762 <div class="short">Removes a listener (shorthand for removeListener)</div>
\r
764 Removes a listener (shorthand for removeListener) <div class="mdetail-params">
\r
765 <strong>Parameters:</strong>
\r
766 <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
\r
767 <strong>Returns:</strong>
\r
769 <li><code>void</code></li>
\r
775 <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
\r
778 <a id="Ext.menu.ColorMenu-events"></a>
779 <h2>Public Events</h2>
780 <table cellspacing="0" class="member-table">
782 <th class="sig-header" colspan="2">Event</th>
783 <th class="msource-header">Defined By</th>
785 <tr class="event-row inherited expandable">
\r
786 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
788 <a id="Ext.menu.ColorMenu-beforehide"></a>
\r
789 <b>beforehide</b> : ( <code>Ext.menu.Menu this</code> ) <div class="mdesc">
\r
790 <div class="short">Fires before this menu is hidden</div>
\r
792 Fires before this menu is hidden <div class="mdetail-params">
\r
793 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
794 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li> </ul>
\r
799 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-beforehide" href="output/Ext.menu.Menu.html#event-beforehide">Menu</a></td>
\r
801 <tr class="event-row inherited alt expandable">
\r
802 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
804 <a id="Ext.menu.ColorMenu-beforeshow"></a>
\r
805 <b>beforeshow</b> : ( <code>Ext.menu.Menu this</code> ) <div class="mdesc">
\r
806 <div class="short">Fires before this menu is displayed</div>
\r
808 Fires before this menu is displayed <div class="mdetail-params">
\r
809 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
810 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li> </ul>
\r
815 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-beforeshow" href="output/Ext.menu.Menu.html#event-beforeshow">Menu</a></td>
\r
817 <tr class="event-row inherited expandable">
\r
818 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
820 <a id="Ext.menu.ColorMenu-click"></a>
\r
821 <b>click</b> : ( <code>Ext.menu.Menu this</code>, <code>Ext.menu.Item menuItem</code>, <code>Ext.EventObject e</code> ) <div class="mdesc">
\r
822 <div class="short">Fires when this menu is clicked (or when the enter key is pressed while it is active)</div>
\r
824 Fires when this menu is clicked (or when the enter key is pressed while it is active) <div class="mdetail-params">
\r
825 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
826 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li><li><code>menuItem</code> : Ext.menu.Item<div class="sub-desc">The menu item that was clicked</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc"></div></li> </ul>
\r
831 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-click" href="output/Ext.menu.Menu.html#event-click">Menu</a></td>
\r
833 <tr class="event-row inherited alt expandable">
\r
834 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
836 <a id="Ext.menu.ColorMenu-hide"></a>
\r
837 <b>hide</b> : ( <code>Ext.menu.Menu this</code> ) <div class="mdesc">
\r
838 <div class="short">Fires after this menu is hidden</div>
\r
840 Fires after this menu is hidden <div class="mdetail-params">
\r
841 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
842 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li> </ul>
\r
847 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-hide" href="output/Ext.menu.Menu.html#event-hide">Menu</a></td>
\r
849 <tr class="event-row inherited expandable">
\r
850 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
852 <a id="Ext.menu.ColorMenu-itemclick"></a>
\r
853 <b>itemclick</b> : ( <code>Ext.menu.BaseItem baseItem</code>, <code>Ext.EventObject e</code> ) <div class="mdesc">
\r
854 <div class="short">Fires when a menu item contained in this menu is clicked</div>
\r
856 Fires when a menu item contained in this menu is clicked <div class="mdetail-params">
\r
857 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
858 <ul><li><code>baseItem</code> : Ext.menu.BaseItem<div class="sub-desc">The BaseItem that was clicked</div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc"></div></li> </ul>
\r
863 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-itemclick" href="output/Ext.menu.Menu.html#event-itemclick">Menu</a></td>
\r
865 <tr class="event-row inherited alt expandable">
\r
866 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
868 <a id="Ext.menu.ColorMenu-mouseout"></a>
\r
869 <b>mouseout</b> : ( <code>Ext.menu.Menu this</code>, <code>Ext.EventObject e</code>, <code>Ext.menu.Item menuItem</code> ) <div class="mdesc">
\r
870 <div class="short">Fires when the mouse exits this menu</div>
\r
872 Fires when the mouse exits this menu <div class="mdetail-params">
\r
873 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
874 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc"></div></li><li><code>menuItem</code> : Ext.menu.Item<div class="sub-desc">The menu item that was clicked</div></li> </ul>
\r
879 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-mouseout" href="output/Ext.menu.Menu.html#event-mouseout">Menu</a></td>
\r
881 <tr class="event-row inherited expandable">
\r
882 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
884 <a id="Ext.menu.ColorMenu-mouseover"></a>
\r
885 <b>mouseover</b> : ( <code>Ext.menu.Menu this</code>, <code>Ext.EventObject e</code>, <code>Ext.menu.Item menuItem</code> ) <div class="mdesc">
\r
886 <div class="short">Fires when the mouse is hovering over this menu</div>
\r
888 Fires when the mouse is hovering over this menu <div class="mdetail-params">
\r
889 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
890 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc"></div></li><li><code>menuItem</code> : Ext.menu.Item<div class="sub-desc">The menu item that was clicked</div></li> </ul>
\r
895 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-mouseover" href="output/Ext.menu.Menu.html#event-mouseover">Menu</a></td>
\r
897 <tr class="event-row alt expandable">
\r
898 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
900 <a id="Ext.menu.ColorMenu-select"></a>
\r
901 <b>select</b> : ( <code>ColorPalette palette</code>, <code>String color</code> ) <div class="mdesc">
\r
902 <div class="short"></div>
\r
904 <div class="mdetail-params">
\r
905 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
906 <ul><li><code>palette</code> : ColorPalette<div class="sub-desc"></div></li><li><code>color</code> : String<div class="sub-desc"></div></li> </ul>
\r
911 <td class="msource">ColorMenu</td>
\r
913 <tr class="event-row inherited expandable">
\r
914 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
916 <a id="Ext.menu.ColorMenu-show"></a>
\r
917 <b>show</b> : ( <code>Ext.menu.Menu this</code> ) <div class="mdesc">
\r
918 <div class="short">Fires after this menu is displayed</div>
\r
920 Fires after this menu is displayed <div class="mdetail-params">
\r
921 <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
\r
922 <ul><li><code>this</code> : Ext.menu.Menu<div class="sub-desc"></div></li> </ul>
\r
927 <td class="msource"><a ext:cls="Ext.menu.Menu" ext:member="#event-show" href="output/Ext.menu.Menu.html#event-show">Menu</a></td>
\r