root/platform/firefox/FireMobileSimulator/trunk/src/chrome/content/ext-2.2/docs/output/Ext.menu.ColorItem.html @ 25482

Revision 25482, 94.8 kB (checked in by thorikawa, 4 years ago)

端末追加画面を試験的にExtJSに対応
TODO: 端末名によるリアルタイム絞り込み検索/キャリアによる絞り込み

  • Property svn:mime-type set to text/plain
  • Property svn:executable set to *
Line 
1        <div class="body-wrap">
2        <div class="top-tools">
3            <a class="inner-link" href="#Ext.menu.ColorItem-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4            <a class="inner-link" href="#Ext.menu.ColorItem-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5            <a class="inner-link" href="#Ext.menu.ColorItem-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                            <a class="inner-link" href="#Ext.menu.ColorItem-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.ColorItem"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8        </div>
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.Component" ext:member="" href="output/Ext.Component.html">Component</a>
12    <img src="resources/elbow-end.gif"/><a ext:cls="Ext.menu.BaseItem" ext:member="" href="output/Ext.menu.BaseItem.html">BaseItem</a>
13      <img src="resources/elbow-end.gif"/><a ext:cls="Ext.menu.Adapter" ext:member="" href="output/Ext.menu.Adapter.html">Adapter</a>
14        <img src="resources/elbow-end.gif"/>ColorItem</pre></div>
15                <h1>Class Ext.menu.ColorItem</h1>
16        <table cellspacing="0">
17            <tr><td class="label">Package:</td><td class="hd-info">Ext.menu</td></tr>
18            <tr><td class="label">Defined In:</td><td class="hd-info">ColorItem.js</td></tr>
19            <tr><td class="label">Class:</td><td class="hd-info">ColorItem</td></tr>
20                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.menu.Adapter" ext:member="" href="output/Ext.menu.Adapter.html">Adapter</a></td></tr>
21                    </table>
22        <div class="description">
23            A menu item that wraps the <a ext:cls="Ext.ColorPalette" href="output/Ext.ColorPalette.html">Ext.ColorPalette</a> component.        </div>
24       
25        <div class="hr"></div>
26                <a id="Ext.menu.ColorItem-configs"></a>
27        <h2>Config Options</h2>
28        <table cellspacing="0" class="member-table">
29            <tr>
30                <th class="sig-header" colspan="2">Config Options</th>
31                <th class="msource-header">Defined By</th>
32            </tr>
33                <tr class="config-row inherited">
34        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
35        <td class="sig">
36        <a id="Ext.menu.ColorItem-activeClass"></a>
37            <b>activeClass</b> : String            <div class="mdesc">
38                            The CSS class to use when the item becomes activated (defaults to "x-menu-item-active")                        </div>
39        </td>
40        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#activeClass" href="output/Ext.menu.BaseItem.html#activeClass">BaseItem</a></td>
41    </tr>
42        <tr class="config-row inherited alt">
43        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
44        <td class="sig">
45        <a id="Ext.menu.ColorItem-allowDomMove"></a>
46            <b>allowDomMove</b> : Boolean            <div class="mdesc">
47                            Whether the component can move the Dom node when rendering (defaults to true).                        </div>
48        </td>
49        <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
50    </tr>
51        <tr class="config-row inherited expandable">
52        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
53        <td class="sig">
54        <a id="Ext.menu.ColorItem-applyTo"></a>
55            <b>applyTo</b> : Mixed            <div class="mdesc">
56                        <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div>
57            <div class="long">
58                The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container.            </div>
59                        </div>
60        </td>
61        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
62    </tr>
63        <tr class="config-row inherited alt expandable">
64        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
65        <td class="sig">
66        <a id="Ext.menu.ColorItem-autoEl"></a>
67            <b>autoEl</b> : String/Object            <div class="mdesc">
68                        <div class="short">A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inlin...</div>
69            <div class="long">
70                A tag name or DomHelper spec to create an element with. This is intended to create shorthand utility components inline via JSON. It should not be used for higher level components which already create their own elements. Example usage: <pre><code>{xtype:<em>'box'</em>, autoEl: <em>'div'</em>, cls:<em>'my-class'</em>}
71{xtype:<em>'box'</em>, autoEl: {tag:<em>'blockquote'</em>, html:<em>'autoEl is cool!'</em>}} // <b>with</b> DomHelper</code></pre>            </div>
72                        </div>
73        </td>
74        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoEl" href="output/Ext.Component.html#autoEl">Component</a></td>
75    </tr>
76        <tr class="config-row inherited expandable">
77        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
78        <td class="sig">
79        <a id="Ext.menu.ColorItem-autoShow"></a>
80            <b>autoShow</b> : Boolean            <div class="mdesc">
81                        <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>
82            <div class="long">
83                True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false).            </div>
84                        </div>
85        </td>
86        <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
87    </tr>
88        <tr class="config-row inherited alt">
89        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
90        <td class="sig">
91        <a id="Ext.menu.ColorItem-canActivate"></a>
92            <b>canActivate</b> : Boolean            <div class="mdesc">
93                            True if this item can be visually activated (defaults to false)                        </div>
94        </td>
95        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#canActivate" href="output/Ext.menu.BaseItem.html#canActivate">BaseItem</a></td>
96    </tr>
97        <tr class="config-row inherited expandable">
98        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
99        <td class="sig">
100        <a id="Ext.menu.ColorItem-cls"></a>
101            <b>cls</b> : String            <div class="mdesc">
102                        <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
103            <div class="long">
104                An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules.            </div>
105                        </div>
106        </td>
107        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
108    </tr>
109        <tr class="config-row inherited alt expandable">
110        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
111        <td class="sig">
112        <a id="Ext.menu.ColorItem-ctCls"></a>
113            <b>ctCls</b> : String            <div class="mdesc">
114                        <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
115            <div class="long">
116                An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.            </div>
117                        </div>
118        </td>
119        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
120    </tr>
121        <tr class="config-row inherited">
122        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
123        <td class="sig">
124        <a id="Ext.menu.ColorItem-disabled"></a>
125            <b>disabled</b> : Boolean            <div class="mdesc">
126                            Render this component disabled (default is false).                        </div>
127        </td>
128        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
129    </tr>
130        <tr class="config-row inherited alt">
131        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
132        <td class="sig">
133        <a id="Ext.menu.ColorItem-disabledClass"></a>
134            <b>disabledClass</b> : String            <div class="mdesc">
135                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
136        </td>
137        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
138    </tr>
139        <tr class="config-row inherited">
140        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
141        <td class="sig">
142        <a id="Ext.menu.ColorItem-handler"></a>
143            <b>handler</b> : Function            <div class="mdesc">
144                            A function that will handle the click event of this menu item (defaults to undefined)                        </div>
145        </td>
146        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#handler" href="output/Ext.menu.BaseItem.html#handler">BaseItem</a></td>
147    </tr>
148        <tr class="config-row inherited alt">
149        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
150        <td class="sig">
151        <a id="Ext.menu.ColorItem-hidden"></a>
152            <b>hidden</b> : Boolean            <div class="mdesc">
153                            Render this component hidden (default is false).                        </div>
154        </td>
155        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
156    </tr>
157        <tr class="config-row inherited">
158        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
159        <td class="sig">
160        <a id="Ext.menu.ColorItem-hideDelay"></a>
161            <b>hideDelay</b> : Number            <div class="mdesc">
162                            Length of time in milliseconds to wait before hiding after a click (defaults to 100)                        </div>
163        </td>
164        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#hideDelay" href="output/Ext.menu.BaseItem.html#hideDelay">BaseItem</a></td>
165    </tr>
166        <tr class="config-row inherited alt expandable">
167        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
168        <td class="sig">
169        <a id="Ext.menu.ColorItem-hideMode"></a>
170            <b>hideMode</b> : String            <div class="mdesc">
171                        <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
172            <div class="long">
173                How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".            </div>
174                        </div>
175        </td>
176        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
177    </tr>
178        <tr class="config-row inherited">
179        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
180        <td class="sig">
181        <a id="Ext.menu.ColorItem-hideOnClick"></a>
182            <b>hideOnClick</b> : Boolean            <div class="mdesc">
183                            True to hide the containing menu after this item is clicked (defaults to true)                        </div>
184        </td>
185        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#hideOnClick" href="output/Ext.menu.BaseItem.html#hideOnClick">BaseItem</a></td>
186    </tr>
187        <tr class="config-row inherited alt expandable">
188        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
189        <td class="sig">
190        <a id="Ext.menu.ColorItem-hideParent"></a>
191            <b>hideParent</b> : Boolean            <div class="mdesc">
192                        <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>
193            <div class="long">
194                True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container.            </div>
195                        </div>
196        </td>
197        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
198    </tr>
199        <tr class="config-row inherited">
200        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
201        <td class="sig">
202        <a id="Ext.menu.ColorItem-id"></a>
203            <b>id</b> : String            <div class="mdesc">
204                            The unique id of this component (defaults to an auto-assigned id).                        </div>
205        </td>
206        <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
207    </tr>
208        <tr class="config-row inherited alt expandable">
209        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
210        <td class="sig">
211        <a id="Ext.menu.ColorItem-listeners"></a>
212            <b>listeners</b> : Object            <div class="mdesc">
213                        <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
214            <div class="long">
215                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>
216                        </div>
217        </td>
218        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
219    </tr>
220        <tr class="config-row inherited expandable">
221        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
222        <td class="sig">
223        <a id="Ext.menu.ColorItem-overCls"></a>
224            <b>overCls</b> : String            <div class="mdesc">
225                        <div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div>
226            <div class="long">
227                An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules.            </div>
228                        </div>
229        </td>
230        <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>
231    </tr>
232        <tr class="config-row inherited alt expandable">
233        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
234        <td class="sig">
235        <a id="Ext.menu.ColorItem-plugins"></a>
236            <b>plugins</b> : Object/Array            <div class="mdesc">
237                        <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
238            <div class="long">
239                An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality.            </div>
240                        </div>
241        </td>
242        <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
243    </tr>
244        <tr class="config-row inherited expandable">
245        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
246        <td class="sig">
247        <a id="Ext.menu.ColorItem-renderTo"></a>
248            <b>renderTo</b> : Mixed            <div class="mdesc">
249                        <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>
250            <div class="long">
251                The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required.            </div>
252                        </div>
253        </td>
254        <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
255    </tr>
256        <tr class="config-row inherited alt">
257        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
258        <td class="sig">
259        <a id="Ext.menu.ColorItem-scope"></a>
260            <b>scope</b> : Object            <div class="mdesc">
261                            The scope in which the handler function will be called.                        </div>
262        </td>
263        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#scope" href="output/Ext.menu.BaseItem.html#scope">BaseItem</a></td>
264    </tr>
265        <tr class="config-row inherited expandable">
266        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
267        <td class="sig">
268        <a id="Ext.menu.ColorItem-stateEvents"></a>
269            <b>stateEvents</b> : Array            <div class="mdesc">
270                        <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
271            <div class="long">
272                An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
273                        </div>
274        </td>
275        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
276    </tr>
277        <tr class="config-row inherited alt expandable">
278        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
279        <td class="sig">
280        <a id="Ext.menu.ColorItem-stateId"></a>
281            <b>stateId</b> : String            <div class="mdesc">
282                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
283            <div class="long">
284                The unique id for this component to use for state management purposes (defaults to the component id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
285                        </div>
286        </td>
287        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
288    </tr>
289        <tr class="config-row inherited expandable">
290        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
291        <td class="sig">
292        <a id="Ext.menu.ColorItem-stateful"></a>
293            <b>stateful</b> : Boolean            <div class="mdesc">
294                        <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>
295            <div class="long">
296                A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p>            </div>
297                        </div>
298        </td>
299        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
300    </tr>
301        <tr class="config-row inherited alt expandable">
302        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
303        <td class="sig">
304        <a id="Ext.menu.ColorItem-style"></a>
305            <b>style</b> : String            <div class="mdesc">
306                        <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
307            <div class="long">
308                A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>.            </div>
309                        </div>
310        </td>
311        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
312    </tr>
313        <tr class="config-row inherited expandable">
314        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
315        <td class="sig">
316        <a id="Ext.menu.ColorItem-xtype"></a>
317            <b>xtype</b> : String            <div class="mdesc">
318                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
319            <div class="long">
320                The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>
321                        </div>
322        </td>
323        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
324    </tr>
325            </table>
326                <a id="Ext.menu.ColorItem-props"></a>
327        <h2>Public Properties</h2>
328                <table cellspacing="0" class="member-table">
329            <tr>
330                <th class="sig-header" colspan="2">Property</th>
331                <th class="msource-header">Defined By</th>
332            </tr>
333                <tr class="property-row inherited">
334        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
335        <td class="sig">
336        <a id="Ext.menu.ColorItem-disabled"></a>
337            <b>disabled</b> : Boolean            <div class="mdesc">
338                            True if this component is disabled. Read-only.                        </div>
339        </td>
340        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
341    </tr>
342        <tr class="property-row inherited alt">
343        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
344        <td class="sig">
345        <a id="Ext.menu.ColorItem-hidden"></a>
346            <b>hidden</b> : Boolean            <div class="mdesc">
347                           
348True if this component is hidden. Read-only.                        </div>
349        </td>
350        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
351    </tr>
352        <tr class="property-row inherited">
353        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
354        <td class="sig">
355        <a id="Ext.menu.ColorItem-initialConfig"></a>
356            <b>initialConfig</b> : Object            <div class="mdesc">
357                            This Component's initial configuration specification. Read-only.                        </div>
358        </td>
359        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
360    </tr>
361        <tr class="property-row inherited alt expandable">
362        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
363        <td class="sig">
364        <a id="Ext.menu.ColorItem-ownerCt"></a>
365            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
366                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
367the component is added to a...</div>
368            <div class="long">
369                The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically when
370the component is added to a container).  Read-only.            </div>
371                        </div>
372        </td>
373        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
374    </tr>
375        <tr class="property-row">
376        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
377        <td class="sig">
378        <a id="Ext.menu.ColorItem-palette"></a>
379            <b>palette</b> : Ext.ColorPalette            <div class="mdesc">
380                            The Ext.ColorPalette object                        </div>
381        </td>
382        <td class="msource">ColorItem</td>
383    </tr>
384        <tr class="property-row inherited alt">
385        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
386        <td class="sig">
387        <a id="Ext.menu.ColorItem-parentMenu"></a>
388            <b>parentMenu</b> : Ext.menu.Menu            <div class="mdesc">
389                            The parent Menu of this Item.                        </div>
390        </td>
391        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#parentMenu" href="output/Ext.menu.BaseItem.html#parentMenu">BaseItem</a></td>
392    </tr>
393        <tr class="property-row inherited">
394        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
395        <td class="sig">
396        <a id="Ext.menu.ColorItem-rendered"></a>
397            <b>rendered</b> : Boolean            <div class="mdesc">
398                            True if this component has been rendered. Read-only.                        </div>
399        </td>
400        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
401    </tr>
402            </table>
403                <a id="Ext.menu.ColorItem-methods"></a>
404        <h2>Public Methods</h2>
405                <table cellspacing="0" class="member-table">
406            <tr>
407                <th class="sig-header" colspan="2">Method</th>
408                <th class="msource-header">Defined By</th>
409            </tr>
410                <tr class="method-row expandable">
411        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
412        <td class="sig">
413        <a id="Ext.menu.ColorItem-ColorItem"></a>
414            <b>ColorItem</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">
415                        <div class="short">Creates a new ColorItem</div>
416            <div class="long">
417                Creates a new ColorItem    <div class="mdetail-params">
418        <strong>Parameters:</strong>
419        <ul><li><code>config</code> : Object<div class="sub-desc">Configuration options</div></li>        </ul>
420        <strong>Returns:</strong>
421        <ul>
422            <li><code></code></li>
423        </ul>
424    </div>
425                </div>
426                        </div>
427        </td>
428        <td class="msource">ColorItem</td>
429    </tr>
430        <tr class="method-row inherited alt expandable">
431        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
432        <td class="sig">
433        <a id="Ext.menu.ColorItem-addClass"></a>
434            <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
435                        <div class="short">Adds a CSS class to the component's underlying element.</div>
436            <div class="long">
437                Adds a CSS class to the component's underlying element.    <div class="mdetail-params">
438        <strong>Parameters:</strong>
439        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>
440        <strong>Returns:</strong>
441        <ul>
442            <li><code>void</code></li>
443        </ul>
444    </div>
445                </div>
446                        </div>
447        </td>
448        <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
449    </tr>
450        <tr class="method-row inherited expandable">
451        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
452        <td class="sig">
453        <a id="Ext.menu.ColorItem-addEvents"></a>
454            <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">
455                        <div class="short">Used to define events on this Observable</div>
456            <div class="long">
457                Used to define events on this Observable    <div class="mdetail-params">
458        <strong>Parameters:</strong>
459        <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>
460        <strong>Returns:</strong>
461        <ul>
462            <li><code>void</code></li>
463        </ul>
464    </div>
465                </div>
466                        </div>
467        </td>
468        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
469    </tr>
470        <tr class="method-row inherited alt expandable">
471        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
472        <td class="sig">
473        <a id="Ext.menu.ColorItem-addListener"></a>
474            <b>addListener</b>(&nbsp;<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>&nbsp;) : void            <div class="mdesc">
475                        <div class="short">Appends an event handler to this component</div>
476            <div class="long">
477                Appends an event handler to this component    <div class="mdetail-params">
478        <strong>Parameters:</strong>
479        <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
480function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
481properties. This may contain any of the following properties:<ul>
482<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>
483<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>
484<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>
485<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
486by the specified number of milliseconds. If the event fires again within that time, the original
487handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
488</ul><br>
489<p>
490<b>Combining Options</b><br>
491Using the options argument, it is possible to combine different types of listeners:<br>
492<br>
493A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
494<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
495    single: true,
496    delay: 100,
497    forumId: 4
498});</code></pre>
499<p>
500<b>Attaching multiple handlers in 1 call</b><br>
501The method also allows for a single argument to be passed which is a config object containing properties
502which specify multiple handlers.
503<p>
504<pre><code>foo.on({
505    <em>'click'</em> : {
506        fn: <b>this</b>.onClick,
507        scope: <b>this</b>,
508        delay: 100
509    },
510    <em>'mouseover'</em> : {
511        fn: <b>this</b>.onMouseOver,
512        scope: <b>this</b>
513    },
514    <em>'mouseout'</em> : {
515        fn: <b>this</b>.onMouseOut,
516        scope: <b>this</b>
517    }
518});</code></pre>
519<p>
520Or a shorthand syntax:<br>
521<pre><code>foo.on({
522    <em>'click'</em> : <b>this</b>.onClick,
523    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
524    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
525     scope: <b>this</b>
526});</code></pre></div></li>        </ul>
527        <strong>Returns:</strong>
528        <ul>
529            <li><code>void</code></li>
530        </ul>
531    </div>
532                </div>
533                        </div>
534        </td>
535        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
536    </tr>
537        <tr class="method-row inherited expandable">
538        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
539        <td class="sig">
540        <a id="Ext.menu.ColorItem-applyToMarkup"></a>
541            <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">
542                        <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
543            <div class="long">
544                Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">
545        <strong>Parameters:</strong>
546        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>
547        <strong>Returns:</strong>
548        <ul>
549            <li><code>void</code></li>
550        </ul>
551    </div>
552                </div>
553                        </div>
554        </td>
555        <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
556    </tr>
557        <tr class="method-row inherited alt expandable">
558        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
559        <td class="sig">
560        <a id="Ext.menu.ColorItem-cloneConfig"></a>
561            <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">
562                        <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
563            <div class="long">
564                Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">
565        <strong>Parameters:</strong>
566        <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
567An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>
568        <strong>Returns:</strong>
569        <ul>
570            <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
571        </ul>
572    </div>
573                </div>
574                        </div>
575        </td>
576        <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
577    </tr>
578        <tr class="method-row inherited expandable">
579        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
580        <td class="sig">
581        <a id="Ext.menu.ColorItem-destroy"></a>
582            <b>destroy</b>() : void            <div class="mdesc">
583                        <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
584removing the c...</div>
585            <div class="long">
586                Destroys this component by purging any event listeners, removing the component's element from the DOM,
587removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
588<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
589should usually not need to be called directly.    <div class="mdetail-params">
590        <strong>Parameters:</strong>
591        <ul><li>None.</li>        </ul>
592        <strong>Returns:</strong>
593        <ul>
594            <li><code>void</code></li>
595        </ul>
596    </div>
597                </div>
598                        </div>
599        </td>
600        <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
601    </tr>
602        <tr class="method-row inherited alt expandable">
603        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
604        <td class="sig">
605        <a id="Ext.menu.ColorItem-disable"></a>
606            <b>disable</b>() : Ext.Component            <div class="mdesc">
607                        <div class="short">Disable this component.</div>
608            <div class="long">
609                Disable this component.    <div class="mdetail-params">
610        <strong>Parameters:</strong>
611        <ul><li>None.</li>        </ul>
612        <strong>Returns:</strong>
613        <ul>
614            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
615        </ul>
616    </div>
617                </div>
618                        </div>
619        </td>
620        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
621    </tr>
622        <tr class="method-row inherited expandable">
623        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
624        <td class="sig">
625        <a id="Ext.menu.ColorItem-enable"></a>
626            <b>enable</b>() : Ext.Component            <div class="mdesc">
627                        <div class="short">Enable this component.</div>
628            <div class="long">
629                Enable this component.    <div class="mdetail-params">
630        <strong>Parameters:</strong>
631        <ul><li>None.</li>        </ul>
632        <strong>Returns:</strong>
633        <ul>
634            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
635        </ul>
636    </div>
637                </div>
638                        </div>
639        </td>
640        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
641    </tr>
642        <tr class="method-row inherited alt expandable">
643        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
644        <td class="sig">
645        <a id="Ext.menu.ColorItem-findParentBy"></a>
646            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">
647                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
648true, the con...</div>
649            <div class="long">
650                Find a container above this component at any level by a custom function. If the passed function returns
651true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">
652        <strong>Parameters:</strong>
653        <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
654        <strong>Returns:</strong>
655        <ul>
656            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
657        </ul>
658    </div>
659                </div>
660                        </div>
661        </td>
662        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>
663    </tr>
664        <tr class="method-row inherited expandable">
665        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
666        <td class="sig">
667        <a id="Ext.menu.ColorItem-findParentByType"></a>
668            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Container            <div class="mdesc">
669                        <div class="short">Find a container above this component at any level by xtype or class</div>
670            <div class="long">
671                Find a container above this component at any level by xtype or class    <div class="mdetail-params">
672        <strong>Parameters:</strong>
673        <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>
674        <strong>Returns:</strong>
675        <ul>
676            <li><code>Container</code><div class="sub-desc">The found container</div></li>
677        </ul>
678    </div>
679                </div>
680                        </div>
681        </td>
682        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>
683    </tr>
684        <tr class="method-row inherited alt expandable">
685        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
686        <td class="sig">
687        <a id="Ext.menu.ColorItem-fireEvent"></a>
688            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">
689                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
690            <div class="long">
691                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">
692        <strong>Parameters:</strong>
693        <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>
694        <strong>Returns:</strong>
695        <ul>
696            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
697        </ul>
698    </div>
699                </div>
700                        </div>
701        </td>
702        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
703    </tr>
704        <tr class="method-row inherited expandable">
705        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
706        <td class="sig">
707        <a id="Ext.menu.ColorItem-focus"></a>
708            <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component            <div class="mdesc">
709                        <div class="short">Try to focus this component.</div>
710            <div class="long">
711                Try to focus this component.    <div class="mdetail-params">
712        <strong>Parameters:</strong>
713        <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li>        </ul>
714        <strong>Returns:</strong>
715        <ul>
716            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
717        </ul>
718    </div>
719                </div>
720                        </div>
721        </td>
722        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
723    </tr>
724        <tr class="method-row inherited alt expandable">
725        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
726        <td class="sig">
727        <a id="Ext.menu.ColorItem-getEl"></a>
728            <b>getEl</b>() : Ext.Element            <div class="mdesc">
729                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
730            <div class="long">
731                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">
732        <strong>Parameters:</strong>
733        <ul><li>None.</li>        </ul>
734        <strong>Returns:</strong>
735        <ul>
736            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
737        </ul>
738    </div>
739                </div>
740                        </div>
741        </td>
742        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
743    </tr>
744        <tr class="method-row inherited expandable">
745        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
746        <td class="sig">
747        <a id="Ext.menu.ColorItem-getId"></a>
748            <b>getId</b>() : String            <div class="mdesc">
749                        <div class="short">Returns the id of this component.</div>
750            <div class="long">
751                Returns the id of this component.    <div class="mdetail-params">
752        <strong>Parameters:</strong>
753        <ul><li>None.</li>        </ul>
754        <strong>Returns:</strong>
755        <ul>
756            <li><code>String</code></li>
757        </ul>
758    </div>
759                </div>
760                        </div>
761        </td>
762        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
763    </tr>
764        <tr class="method-row inherited alt expandable">
765        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
766        <td class="sig">
767        <a id="Ext.menu.ColorItem-getItemId"></a>
768            <b>getItemId</b>() : String            <div class="mdesc">
769                        <div class="short">Returns the item id of this component.</div>
770            <div class="long">
771                Returns the item id of this component.    <div class="mdetail-params">
772        <strong>Parameters:</strong>
773        <ul><li>None.</li>        </ul>
774        <strong>Returns:</strong>
775        <ul>
776            <li><code>String</code></li>
777        </ul>
778    </div>
779                </div>
780                        </div>
781        </td>
782        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
783    </tr>
784        <tr class="method-row inherited expandable">
785        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
786        <td class="sig">
787        <a id="Ext.menu.ColorItem-getXType"></a>
788            <b>getXType</b>() : String            <div class="mdesc">
789                        <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
790available xtypes, see the Ex...</div>
791            <div class="long">
792                Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of all
793available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
794<pre><code>var t = <b>new</b> Ext.form.TextField();
795alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">
796        <strong>Parameters:</strong>
797        <ul><li>None.</li>        </ul>
798        <strong>Returns:</strong>
799        <ul>
800            <li><code>String</code><div class="sub-desc">The xtype</div></li>
801        </ul>
802    </div>
803                </div>
804                        </div>
805        </td>
806        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
807    </tr>
808        <tr class="method-row inherited alt expandable">
809        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
810        <td class="sig">
811        <a id="Ext.menu.ColorItem-getXTypes"></a>
812            <b>getXTypes</b>() : String            <div class="mdesc">
813                        <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
814available xtypes, see the Ext...</div>
815            <div class="long">
816                <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
817available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
818<p><b>If using your own subclasses, be aware that a Component must register its own xtype
819to participate in determination of inherited xtypes.</b></p>
820<p>Example usage:</p>
821<pre><code>
822var t = new Ext.form.TextField();
823alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">
824        <strong>Parameters:</strong>
825        <ul><li>None.</li>        </ul>
826        <strong>Returns:</strong>
827        <ul>
828            <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
829        </ul>
830    </div>
831                </div>
832                        </div>
833        </td>
834        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
835    </tr>
836        <tr class="method-row inherited expandable">
837        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
838        <td class="sig">
839        <a id="Ext.menu.ColorItem-hasListener"></a>
840            <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">
841                        <div class="short">Checks to see if this object has any listeners for a specified event</div>
842            <div class="long">
843                Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">
844        <strong>Parameters:</strong>
845        <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>
846        <strong>Returns:</strong>
847        <ul>
848            <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
849        </ul>
850    </div>
851                </div>
852                        </div>
853        </td>
854        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
855    </tr>
856        <tr class="method-row inherited alt expandable">
857        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
858        <td class="sig">
859        <a id="Ext.menu.ColorItem-hide"></a>
860            <b>hide</b>() : Ext.Component            <div class="mdesc">
861                        <div class="short">Hide this component.</div>
862            <div class="long">
863                Hide this component.    <div class="mdetail-params">
864        <strong>Parameters:</strong>
865        <ul><li>None.</li>        </ul>
866        <strong>Returns:</strong>
867        <ul>
868            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
869        </ul>
870    </div>
871                </div>
872                        </div>
873        </td>
874        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
875    </tr>
876        <tr class="method-row inherited expandable">
877        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
878        <td class="sig">
879        <a id="Ext.menu.ColorItem-isVisible"></a>
880            <b>isVisible</b>() : void            <div class="mdesc">
881                        <div class="short">Returns true if this component is visible.</div>
882            <div class="long">
883                Returns true if this component is visible.    <div class="mdetail-params">
884        <strong>Parameters:</strong>
885        <ul><li>None.</li>        </ul>
886        <strong>Returns:</strong>
887        <ul>
888            <li><code>void</code></li>
889        </ul>
890    </div>
891                </div>
892                        </div>
893        </td>
894        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
895    </tr>
896        <tr class="method-row inherited alt expandable">
897        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
898        <td class="sig">
899        <a id="Ext.menu.ColorItem-isXType"></a>
900            <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">
901                        <div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
902from th...</div>
903            <div class="long">
904                <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
905from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
906<p><b>If using your own subclasses, be aware that a Component must register its own xtype
907to participate in determination of inherited xtypes.</b></p>
908<p>For a list of all available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
909<p>Example usage:</p>
910<pre><code>var t = <b>new</b> Ext.form.TextField();
911<b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
912<b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
913<b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">
914        <strong>Parameters:</strong>
915        <ul><li><code>xtype</code> : String<div class="sub-desc">The xtype to check for this Component</div></li><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) False to check whether this Component is descended from the xtype (this is
916the default), or true to check whether this Component is directly of the specified xtype.</div></li>        </ul>
917        <strong>Returns:</strong>
918        <ul>
919            <li><code>void</code></li>
920        </ul>
921    </div>
922                </div>
923                        </div>
924        </td>
925        <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
926    </tr>
927        <tr class="method-row inherited expandable">
928        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
929        <td class="sig">
930        <a id="Ext.menu.ColorItem-on"></a>
931            <b>on</b>(&nbsp;<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>&nbsp;) : void            <div class="mdesc">
932                        <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
933            <div class="long">
934                Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">
935        <strong>Parameters:</strong>
936        <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
937function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
938        <strong>Returns:</strong>
939        <ul>
940            <li><code>void</code></li>
941        </ul>
942    </div>
943                </div>
944                        </div>
945        </td>
946        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
947    </tr>
948        <tr class="method-row inherited alt expandable">
949        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
950        <td class="sig">
951        <a id="Ext.menu.ColorItem-purgeListeners"></a>
952            <b>purgeListeners</b>() : void            <div class="mdesc">
953                        <div class="short">Removes all listeners for this object</div>
954            <div class="long">
955                Removes all listeners for this object    <div class="mdetail-params">
956        <strong>Parameters:</strong>
957        <ul><li>None.</li>        </ul>
958        <strong>Returns:</strong>
959        <ul>
960            <li><code>void</code></li>
961        </ul>
962    </div>
963                </div>
964                        </div>
965        </td>
966        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
967    </tr>
968        <tr class="method-row inherited expandable">
969        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
970        <td class="sig">
971        <a id="Ext.menu.ColorItem-relayEvents"></a>
972            <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">
973                        <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>
974            <div class="long">
975                Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">
976        <strong>Parameters:</strong>
977        <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>
978        <strong>Returns:</strong>
979        <ul>
980            <li><code>void</code></li>
981        </ul>
982    </div>
983                </div>
984                        </div>
985        </td>
986        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>
987    </tr>
988        <tr class="method-row inherited alt expandable">
989        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
990        <td class="sig">
991        <a id="Ext.menu.ColorItem-removeClass"></a>
992            <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">
993                        <div class="short">Removes a CSS class from the component's underlying element.</div>
994            <div class="long">
995                Removes a CSS class from the component's underlying element.    <div class="mdetail-params">
996        <strong>Parameters:</strong>
997        <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>
998        <strong>Returns:</strong>
999        <ul>
1000            <li><code>void</code></li>
1001        </ul>
1002    </div>
1003                </div>
1004                        </div>
1005        </td>
1006        <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
1007    </tr>
1008        <tr class="method-row inherited expandable">
1009        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1010        <td class="sig">
1011        <a id="Ext.menu.ColorItem-removeListener"></a>
1012            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1013                        <div class="short">Removes a listener</div>
1014            <div class="long">
1015                Removes a listener    <div class="mdetail-params">
1016        <strong>Parameters:</strong>
1017        <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>
1018        <strong>Returns:</strong>
1019        <ul>
1020            <li><code>void</code></li>
1021        </ul>
1022    </div>
1023                </div>
1024                        </div>
1025        </td>
1026        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
1027    </tr>
1028        <tr class="method-row inherited alt expandable">
1029        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1030        <td class="sig">
1031        <a id="Ext.menu.ColorItem-render"></a>
1032            <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Element/HTMLElement/String container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void            <div class="mdesc">
1033                        <div class="short">Render this Components into the passed HTML element.
1034If you are using a Container object to house this Component, the...</div>
1035            <div class="long">
1036                <p>Render this Components into the passed HTML element.</p>
1037<p><b>If you are using a <a ext:cls="Ext.Container" href="output/Ext.Container.html">Container</a> object to house this Component, then
1038do not use the render method.</b></p>
1039<p>A Container's child Components are rendered by that Container's
1040<a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager when the Container is first rendered.</p>
1041<p>Certain layout managers allow dynamic addition of child components. Those that do
1042include <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a>, <a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a>,
1043<a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a>, <a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a>.</p>
1044<p>If the Container is already rendered when a new child Component is added, you may need to call
1045the Container's <a ext:cls="Ext.Container" ext:member="doLayout" href="output/Ext.Container.html#doLayout">doLayout</a> to refresh the view which causes any
1046unrendered child Components to be rendered. This is required so that you can add multiple
1047child components if needed while only refreshing the layout once.</p>
1048<p>When creating complex UIs, it is important to remember that sizing and positioning
1049of child items is the responsibility of the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager.
1050If you expect child items to be sized in response to user interactions, you must
1051configure the Container with a layout manager which creates and manages the type of layout you
1052have in mind.</p>
1053<p><b>Omitting the Container's <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config means that a basic
1054layout manager is used which does nothnig but render child components sequentially into the
1055Container. No sizing or positioning will be performed in this situation.</b></p>    <div class="mdetail-params">
1056        <strong>Parameters:</strong>
1057        <ul><li><code>container</code> : Element/HTMLElement/String<div class="sub-desc">(optional) The element this Component should be
1058rendered into. If it is being created from existing markup, this should be omitted.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
1059which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>
1060        <strong>Returns:</strong>
1061        <ul>
1062            <li><code>void</code></li>
1063        </ul>
1064    </div>
1065                </div>
1066                        </div>
1067        </td>
1068        <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
1069    </tr>
1070        <tr class="method-row inherited expandable">
1071        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1072        <td class="sig">
1073        <a id="Ext.menu.ColorItem-resumeEvents"></a>
1074            <b>resumeEvents</b>() : void            <div class="mdesc">
1075                        <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>
1076            <div class="long">
1077                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">
1078        <strong>Parameters:</strong>
1079        <ul><li>None.</li>        </ul>
1080        <strong>Returns:</strong>
1081        <ul>
1082            <li><code>void</code></li>
1083        </ul>
1084    </div>
1085                </div>
1086                        </div>
1087        </td>
1088        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
1089    </tr>
1090        <tr class="method-row inherited alt expandable">
1091        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1092        <td class="sig">
1093        <a id="Ext.menu.ColorItem-setDisabled"></a>
1094            <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">
1095                        <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1096            <div class="long">
1097                Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">
1098        <strong>Parameters:</strong>
1099        <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>
1100        <strong>Returns:</strong>
1101        <ul>
1102            <li><code>void</code></li>
1103        </ul>
1104    </div>
1105                </div>
1106                        </div>
1107        </td>
1108        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
1109    </tr>
1110        <tr class="method-row inherited expandable">
1111        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1112        <td class="sig">
1113        <a id="Ext.menu.ColorItem-setHandler"></a>
1114            <b>setHandler</b>(&nbsp;<code>Function handler</code>, <code>Object scope</code>&nbsp;) : void            <div class="mdesc">
1115                        <div class="short">Sets the function that will handle click events for this item (equivalent to passing in the handler
1116config property)....</div>
1117            <div class="long">
1118                Sets the function that will handle click events for this item (equivalent to passing in the <a ext:cls="Ext.menu.BaseItem" ext:member="handler" href="output/Ext.menu.BaseItem.html#handler">handler</a>
1119config property).  If an existing handler is already registered, it will be unregistered for you.    <div class="mdetail-params">
1120        <strong>Parameters:</strong>
1121        <ul><li><code>handler</code> : Function<div class="sub-desc">The function that should be called on click</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope that should be passed to the handler</div></li>        </ul>
1122        <strong>Returns:</strong>
1123        <ul>
1124            <li><code>void</code></li>
1125        </ul>
1126    </div>
1127                </div>
1128                        </div>
1129        </td>
1130        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#setHandler" href="output/Ext.menu.BaseItem.html#setHandler">BaseItem</a></td>
1131    </tr>
1132        <tr class="method-row inherited alt expandable">
1133        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1134        <td class="sig">
1135        <a id="Ext.menu.ColorItem-setVisible"></a>
1136            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">
1137                        <div class="short">Convenience function to hide or show this component by boolean.</div>
1138            <div class="long">
1139                Convenience function to hide or show this component by boolean.    <div class="mdetail-params">
1140        <strong>Parameters:</strong>
1141        <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>
1142        <strong>Returns:</strong>
1143        <ul>
1144            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1145        </ul>
1146    </div>
1147                </div>
1148                        </div>
1149        </td>
1150        <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
1151    </tr>
1152        <tr class="method-row inherited expandable">
1153        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1154        <td class="sig">
1155        <a id="Ext.menu.ColorItem-show"></a>
1156            <b>show</b>() : Ext.Component            <div class="mdesc">
1157                        <div class="short">Show this component.</div>
1158            <div class="long">
1159                Show this component.    <div class="mdetail-params">
1160        <strong>Parameters:</strong>
1161        <ul><li>None.</li>        </ul>
1162        <strong>Returns:</strong>
1163        <ul>
1164            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
1165        </ul>
1166    </div>
1167                </div>
1168                        </div>
1169        </td>
1170        <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
1171    </tr>
1172        <tr class="method-row inherited alt expandable">
1173        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1174        <td class="sig">
1175        <a id="Ext.menu.ColorItem-suspendEvents"></a>
1176            <b>suspendEvents</b>() : void            <div class="mdesc">
1177                        <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>
1178            <div class="long">
1179                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">
1180        <strong>Parameters:</strong>
1181        <ul><li>None.</li>        </ul>
1182        <strong>Returns:</strong>
1183        <ul>
1184            <li><code>void</code></li>
1185        </ul>
1186    </div>
1187                </div>
1188                        </div>
1189        </td>
1190        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
1191    </tr>
1192        <tr class="method-row inherited expandable">
1193        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1194        <td class="sig">
1195        <a id="Ext.menu.ColorItem-un"></a>
1196            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">
1197                        <div class="short">Removes a listener (shorthand for removeListener)</div>
1198            <div class="long">
1199                Removes a listener (shorthand for removeListener)    <div class="mdetail-params">
1200        <strong>Parameters:</strong>
1201        <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>
1202        <strong>Returns:</strong>
1203        <ul>
1204            <li><code>void</code></li>
1205        </ul>
1206    </div>
1207                </div>
1208                        </div>
1209        </td>
1210        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
1211    </tr>
1212            </table>
1213                <a id="Ext.menu.ColorItem-events"></a>
1214        <h2>Public Events</h2>
1215                <table cellspacing="0" class="member-table">
1216            <tr>
1217                <th class="sig-header" colspan="2">Event</th>
1218                <th class="msource-header">Defined By</th>
1219            </tr>
1220                <tr class="event-row inherited expandable">
1221        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1222        <td class="sig">
1223        <a id="Ext.menu.ColorItem-activate"></a>
1224            <b>activate</b> : (&nbsp;<code>Ext.menu.BaseItem this</code>&nbsp;)            <div class="mdesc">
1225                        <div class="short">Fires when this item is activated</div>
1226            <div class="long">
1227                Fires when this item is activated    <div class="mdetail-params">
1228        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1229        <ul><li><code>this</code> : Ext.menu.BaseItem<div class="sub-desc"></div></li>        </ul>
1230    </div>
1231                </div>
1232                        </div>
1233        </td>
1234        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#event-activate" href="output/Ext.menu.BaseItem.html#event-activate">BaseItem</a></td>
1235    </tr>
1236        <tr class="event-row inherited alt expandable">
1237        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1238        <td class="sig">
1239        <a id="Ext.menu.ColorItem-beforedestroy"></a>
1240            <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1241                        <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
1242            <div class="long">
1243                Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">
1244        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1245        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1246    </div>
1247                </div>
1248                        </div>
1249        </td>
1250        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
1251    </tr>
1252        <tr class="event-row inherited expandable">
1253        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1254        <td class="sig">
1255        <a id="Ext.menu.ColorItem-beforehide"></a>
1256            <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1257                        <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
1258            <div class="long">
1259                Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">
1260        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1261        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1262    </div>
1263                </div>
1264                        </div>
1265        </td>
1266        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
1267    </tr>
1268        <tr class="event-row inherited alt expandable">
1269        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1270        <td class="sig">
1271        <a id="Ext.menu.ColorItem-beforerender"></a>
1272            <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1273                        <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
1274            <div class="long">
1275                Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">
1276        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1277        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1278    </div>
1279                </div>
1280                        </div>
1281        </td>
1282        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
1283    </tr>
1284        <tr class="event-row inherited expandable">
1285        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1286        <td class="sig">
1287        <a id="Ext.menu.ColorItem-beforeshow"></a>
1288            <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1289                        <div class="short">Fires before the component is shown. Return false to stop the show.</div>
1290            <div class="long">
1291                Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">
1292        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1293        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1294    </div>
1295                </div>
1296                        </div>
1297        </td>
1298        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
1299    </tr>
1300        <tr class="event-row inherited alt expandable">
1301        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1302        <td class="sig">
1303        <a id="Ext.menu.ColorItem-beforestaterestore"></a>
1304            <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1305                        <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
1306            <div class="long">
1307                Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">
1308        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1309        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1310    </div>
1311                </div>
1312                        </div>
1313        </td>
1314        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
1315    </tr>
1316        <tr class="event-row inherited expandable">
1317        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1318        <td class="sig">
1319        <a id="Ext.menu.ColorItem-beforestatesave"></a>
1320            <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1321                        <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
1322            <div class="long">
1323                Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">
1324        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1325        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1326    </div>
1327                </div>
1328                        </div>
1329        </td>
1330        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
1331    </tr>
1332        <tr class="event-row inherited alt expandable">
1333        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1334        <td class="sig">
1335        <a id="Ext.menu.ColorItem-click"></a>
1336            <b>click</b> : (&nbsp;<code>Ext.menu.BaseItem this</code>, <code>Ext.EventObject e</code>&nbsp;)            <div class="mdesc">
1337                        <div class="short">Fires when this item is clicked</div>
1338            <div class="long">
1339                Fires when this item is clicked    <div class="mdetail-params">
1340        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1341        <ul><li><code>this</code> : Ext.menu.BaseItem<div class="sub-desc"></div></li><li><code>e</code> : Ext.EventObject<div class="sub-desc"></div></li>        </ul>
1342    </div>
1343                </div>
1344                        </div>
1345        </td>
1346        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#event-click" href="output/Ext.menu.BaseItem.html#event-click">BaseItem</a></td>
1347    </tr>
1348        <tr class="event-row inherited expandable">
1349        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1350        <td class="sig">
1351        <a id="Ext.menu.ColorItem-deactivate"></a>
1352            <b>deactivate</b> : (&nbsp;<code>Ext.menu.BaseItem this</code>&nbsp;)            <div class="mdesc">
1353                        <div class="short">Fires when this item is deactivated</div>
1354            <div class="long">
1355                Fires when this item is deactivated    <div class="mdetail-params">
1356        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1357        <ul><li><code>this</code> : Ext.menu.BaseItem<div class="sub-desc"></div></li>        </ul>
1358    </div>
1359                </div>
1360                        </div>
1361        </td>
1362        <td class="msource"><a ext:cls="Ext.menu.BaseItem" ext:member="#event-deactivate" href="output/Ext.menu.BaseItem.html#event-deactivate">BaseItem</a></td>
1363    </tr>
1364        <tr class="event-row inherited alt expandable">
1365        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1366        <td class="sig">
1367        <a id="Ext.menu.ColorItem-destroy"></a>
1368            <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1369                        <div class="short">Fires after the component is destroyed.</div>
1370            <div class="long">
1371                Fires after the component is destroyed.    <div class="mdetail-params">
1372        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1373        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1374    </div>
1375                </div>
1376                        </div>
1377        </td>
1378        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
1379    </tr>
1380        <tr class="event-row inherited expandable">
1381        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1382        <td class="sig">
1383        <a id="Ext.menu.ColorItem-disable"></a>
1384            <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1385                        <div class="short">Fires after the component is disabled.</div>
1386            <div class="long">
1387                Fires after the component is disabled.    <div class="mdetail-params">
1388        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1389        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1390    </div>
1391                </div>
1392                        </div>
1393        </td>
1394        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
1395    </tr>
1396        <tr class="event-row inherited alt expandable">
1397        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1398        <td class="sig">
1399        <a id="Ext.menu.ColorItem-enable"></a>
1400            <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1401                        <div class="short">Fires after the component is enabled.</div>
1402            <div class="long">
1403                Fires after the component is enabled.    <div class="mdetail-params">
1404        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1405        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1406    </div>
1407                </div>
1408                        </div>
1409        </td>
1410        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
1411    </tr>
1412        <tr class="event-row inherited expandable">
1413        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1414        <td class="sig">
1415        <a id="Ext.menu.ColorItem-hide"></a>
1416            <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1417                        <div class="short">Fires after the component is hidden.</div>
1418            <div class="long">
1419                Fires after the component is hidden.    <div class="mdetail-params">
1420        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1421        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1422    </div>
1423                </div>
1424                        </div>
1425        </td>
1426        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
1427    </tr>
1428        <tr class="event-row inherited alt expandable">
1429        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1430        <td class="sig">
1431        <a id="Ext.menu.ColorItem-render"></a>
1432            <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1433                        <div class="short">Fires after the component is rendered.</div>
1434            <div class="long">
1435                Fires after the component is rendered.    <div class="mdetail-params">
1436        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1437        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1438    </div>
1439                </div>
1440                        </div>
1441        </td>
1442        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
1443    </tr>
1444        <tr class="event-row inherited expandable">
1445        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1446        <td class="sig">
1447        <a id="Ext.menu.ColorItem-show"></a>
1448            <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">
1449                        <div class="short">Fires after the component is shown.</div>
1450            <div class="long">
1451                Fires after the component is shown.    <div class="mdetail-params">
1452        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1453        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>
1454    </div>
1455                </div>
1456                        </div>
1457        </td>
1458        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
1459    </tr>
1460        <tr class="event-row inherited alt expandable">
1461        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1462        <td class="sig">
1463        <a id="Ext.menu.ColorItem-staterestore"></a>
1464            <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1465                        <div class="short">Fires after the state of the component is restored.</div>
1466            <div class="long">
1467                Fires after the state of the component is restored.    <div class="mdetail-params">
1468        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1469        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1470    </div>
1471                </div>
1472                        </div>
1473        </td>
1474        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
1475    </tr>
1476        <tr class="event-row inherited expandable">
1477        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1478        <td class="sig">
1479        <a id="Ext.menu.ColorItem-statesave"></a>
1480            <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">
1481                        <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
1482            <div class="long">
1483                Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">
1484        <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
1485        <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li>        </ul>
1486    </div>
1487                </div>
1488                        </div>
1489        </td>
1490        <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
1491    </tr>
1492            </table>
1493       
1494        </div>
Note: See TracBrowser for help on using the browser.