commit extjs-2.2.1
[extjs.git] / docs / output / Ext.DatePicker.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext.DatePicker-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext.DatePicker-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext.DatePicker-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                             <a class="inner-link" href="#Ext.DatePicker-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7                         <a class="bookmark" href="../docs/?class=Ext.DatePicker"><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"/>DatePicker</pre></div>
13                 <h1>Class Ext.DatePicker</h1>
14         <table cellspacing="0">
15             <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
16             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/DatePicker.js" target="_blank">DatePicker.js</a></td></tr>
17             <tr><td class="label">Class:</td><td class="hd-info">DatePicker</td></tr>
18                                     <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a></td></tr>
19                     </table>
20         <div class="description">
21             *
22 Simple date picker class.        </div>
23         
24         <div class="hr"></div>
25                 <a id="Ext.DatePicker-configs"></a>
26         <h2>Config Options</h2>
27         <table cellspacing="0" class="member-table">
28             <tr>
29                 <th class="sig-header" colspan="2">Config Options</th>
30                 <th class="msource-header">Defined By</th>
31             </tr>
32                 <tr class="config-row inherited">\r
33         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
34         <td class="sig">\r
35         <a id="Ext.DatePicker-allowDomMove"></a>\r
36             <b>allowDomMove</b> : Boolean            <div class="mdesc">\r
37                             Whether the component can move the Dom node when rendering (defaults to true).                        </div>\r
38         </td>\r
39         <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>\r
40     </tr>\r
41         <tr class="config-row inherited alt expandable">\r
42         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
43         <td class="sig">\r
44         <a id="Ext.DatePicker-applyTo"></a>\r
45             <b>applyTo</b> : Mixed            <div class="mdesc">\r
46                         <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>\r
47             <div class="long">\r
48                 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>\r
49                         </div>\r
50         </td>\r
51         <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>\r
52     </tr>\r
53         <tr class="config-row inherited expandable">\r
54         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
55         <td class="sig">\r
56         <a id="Ext.DatePicker-autoShow"></a>\r
57             <b>autoShow</b> : Boolean            <div class="mdesc">\r
58                         <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>\r
59             <div class="long">\r
60                 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>\r
61                         </div>\r
62         </td>\r
63         <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>\r
64     </tr>\r
65         <tr class="config-row alt">\r
66         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
67         <td class="sig">\r
68         <a id="Ext.DatePicker-cancelText"></a>\r
69             <b>cancelText</b> : String            <div class="mdesc">\r
70                             The text to display on the cancel button                        </div>\r
71         </td>\r
72         <td class="msource">DatePicker</td>\r
73     </tr>\r
74         <tr class="config-row inherited expandable">\r
75         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
76         <td class="sig">\r
77         <a id="Ext.DatePicker-clearCls"></a>\r
78             <b>clearCls</b> : String            <div class="mdesc">\r
79                         <div class="short">The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). This config is only used when this Co...</div>\r
80             <div class="long">\r
81                 The CSS class used to provide field clearing (defaults to 'x-form-clear-left'). <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p>            </div>\r
82                         </div>\r
83         </td>\r
84         <td class="msource"><a ext:cls="Ext.Component" ext:member="#clearCls" href="output/Ext.Component.html#clearCls">Component</a></td>\r
85     </tr>\r
86         <tr class="config-row inherited alt expandable">\r
87         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
88         <td class="sig">\r
89         <a id="Ext.DatePicker-cls"></a>\r
90             <b>cls</b> : String            <div class="mdesc">\r
91                         <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>\r
92             <div class="long">\r
93                 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>\r
94                         </div>\r
95         </td>\r
96         <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>\r
97     </tr>\r
98         <tr class="config-row">\r
99         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
100         <td class="sig">\r
101         <a id="Ext.DatePicker-constrainToViewport"></a>\r
102             <b>constrainToViewport</b> : Boolean            <div class="mdesc">\r
103                             <b>Deprecated</b> (not currently used). True to constrain the date picker to the viewport (defaults to true)                        </div>\r
104         </td>\r
105         <td class="msource">DatePicker</td>\r
106     </tr>\r
107         <tr class="config-row inherited alt expandable">\r
108         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
109         <td class="sig">\r
110         <a id="Ext.DatePicker-ctCls"></a>\r
111             <b>ctCls</b> : String            <div class="mdesc">\r
112                         <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>\r
113             <div class="long">\r
114                 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>\r
115                         </div>\r
116         </td>\r
117         <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>\r
118     </tr>\r
119         <tr class="config-row">\r
120         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
121         <td class="sig">\r
122         <a id="Ext.DatePicker-dayNames"></a>\r
123             <b>dayNames</b> : Array            <div class="mdesc">\r
124                             An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)                        </div>\r
125         </td>\r
126         <td class="msource">DatePicker</td>\r
127     </tr>\r
128         <tr class="config-row inherited alt">\r
129         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
130         <td class="sig">\r
131         <a id="Ext.DatePicker-disabled"></a>\r
132             <b>disabled</b> : Boolean            <div class="mdesc">\r
133                             Render this component disabled (default is false).                        </div>\r
134         </td>\r
135         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>\r
136     </tr>\r
137         <tr class="config-row inherited">\r
138         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
139         <td class="sig">\r
140         <a id="Ext.DatePicker-disabledClass"></a>\r
141             <b>disabledClass</b> : String            <div class="mdesc">\r
142                             CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>\r
143         </td>\r
144         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>\r
145     </tr>\r
146         <tr class="config-row alt expandable">\r
147         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
148         <td class="sig">\r
149         <a id="Ext.DatePicker-disabledDates"></a>\r
150             <b>disabledDates</b> : Array            <div class="mdesc">\r
151                         <div class="short">An array of "dates" to disable, as strings. These strings will be used to build a dynamic regular expression so they ...</div>\r
152             <div class="long">\r
153                 An array of "dates" to disable, as strings. These strings will be used to build a dynamic regular expression so they are very powerful. Some examples: <ul> <li>["03/08/2003", "09/16/2003"] would disable those exact dates</li> <li>["03/08", "09/16"] would disable those days for every year</li> <li>["^03/08"] would only match the beginning (useful if you are using short years)</li> <li>["03/../2006"] would disable every day in March 2006</li> <li>["^03"] would disable every day in every March</li> </ul> Note that the format of the dates included in the array should exactly match the <a ext:cls="Ext.DatePicker" ext:member="format" href="output/Ext.DatePicker.html#format">format</a> config. In order to support regular expressions, if you are using a date format that has "." in it, you will have to escape the dot when restricting dates. For example: ["03\\.08\\.03"].            </div>\r
154                         </div>\r
155         </td>\r
156         <td class="msource">DatePicker</td>\r
157     </tr>\r
158         <tr class="config-row expandable">\r
159         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
160         <td class="sig">\r
161         <a id="Ext.DatePicker-disabledDatesRE"></a>\r
162             <b>disabledDatesRE</b> : RegExp            <div class="mdesc">\r
163                         <div class="short">JavaScript regular expression used to disable a pattern of dates (defaults to null). The disabledDates config will ge...</div>\r
164             <div class="long">\r
165                 JavaScript regular expression used to disable a pattern of dates (defaults to null). The <a ext:cls="Ext.DatePicker" ext:member="disabledDates" href="output/Ext.DatePicker.html#disabledDates">disabledDates</a> config will generate this regex internally, but if you specify disabledDatesRE it will take precedence over the disabledDates value.            </div>\r
166                         </div>\r
167         </td>\r
168         <td class="msource">DatePicker</td>\r
169     </tr>\r
170         <tr class="config-row alt">\r
171         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
172         <td class="sig">\r
173         <a id="Ext.DatePicker-disabledDatesText"></a>\r
174             <b>disabledDatesText</b> : String            <div class="mdesc">\r
175                             The tooltip text to display when the date falls on a disabled date (defaults to "Disabled")                        </div>\r
176         </td>\r
177         <td class="msource">DatePicker</td>\r
178     </tr>\r
179         <tr class="config-row">\r
180         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
181         <td class="sig">\r
182         <a id="Ext.DatePicker-disabledDays"></a>\r
183             <b>disabledDays</b> : Array            <div class="mdesc">\r
184                             An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).                        </div>\r
185         </td>\r
186         <td class="msource">DatePicker</td>\r
187     </tr>\r
188         <tr class="config-row alt">\r
189         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
190         <td class="sig">\r
191         <a id="Ext.DatePicker-disabledDaysText"></a>\r
192             <b>disabledDaysText</b> : String            <div class="mdesc">\r
193                             The tooltip to display when the date falls on a disabled day (defaults to "Disabled")                        </div>\r
194         </td>\r
195         <td class="msource">DatePicker</td>\r
196     </tr>\r
197         <tr class="config-row inherited expandable">\r
198         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
199         <td class="sig">\r
200         <a id="Ext.DatePicker-fieldLabel"></a>\r
201             <b>fieldLabel</b> : String            <div class="mdesc">\r
202                         <div class="short">The label text to display next to this Component (defaults to '') This config is only used when this Component is ren...</div>\r
203             <div class="long">\r
204                 The label text to display next to this Component (defaults to '') <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
205     height: 100,
206     renderTo: Ext.getBody(),
207     items: [{
208         xtype: <em>'textfield'</em>,
209         fieldLabel: <em>'Name'</em>
210     }]
211 });</code></pre>            </div>\r
212                         </div>\r
213         </td>\r
214         <td class="msource"><a ext:cls="Ext.Component" ext:member="#fieldLabel" href="output/Ext.Component.html#fieldLabel">Component</a></td>\r
215     </tr>\r
216         <tr class="config-row alt expandable">\r
217         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
218         <td class="sig">\r
219         <a id="Ext.DatePicker-format"></a>\r
220             <b>format</b> : String            <div class="mdesc">\r
221                         <div class="short">The default date format string which can be overriden for localization support. The format must be valid according to...</div>\r
222             <div class="long">\r
223                 The default date format string which can be overriden for localization support. The format must be valid according to <a ext:cls="Date" ext:member="parseDate" href="output/Date.html#parseDate">Date.parseDate</a> (defaults to 'm/d/y').            </div>\r
224                         </div>\r
225         </td>\r
226         <td class="msource">DatePicker</td>\r
227     </tr>\r
228         <tr class="config-row inherited">\r
229         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
230         <td class="sig">\r
231         <a id="Ext.DatePicker-hidden"></a>\r
232             <b>hidden</b> : Boolean            <div class="mdesc">\r
233                             Render this component hidden (default is false).                        </div>\r
234         </td>\r
235         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>\r
236     </tr>\r
237         <tr class="config-row inherited alt expandable">\r
238         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
239         <td class="sig">\r
240         <a id="Ext.DatePicker-hideLabel"></a>\r
241             <b>hideLabel</b> : Boolean            <div class="mdesc">\r
242                         <div class="short">True to completely hide the label element (defaults to false). By default, even if you do not specify a fieldLabel th...</div>\r
243             <div class="long">\r
244                 True to completely hide the label element (defaults to false). By default, even if you do not specify a <a ext:cls="fieldLabel" href="output/fieldLabel.html">fieldLabel</a> the space will still be reserved so that the field will line up with other fields that do have labels. Setting this to true will cause the field to not reserve that space. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
245     height: 100,
246     renderTo: Ext.getBody(),
247     items: [{
248         xtype: <em>'textfield'</em>
249         hideLabel: true
250     }]
251 });</code></pre>            </div>\r
252                         </div>\r
253         </td>\r
254         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideLabel" href="output/Ext.Component.html#hideLabel">Component</a></td>\r
255     </tr>\r
256         <tr class="config-row inherited expandable">\r
257         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
258         <td class="sig">\r
259         <a id="Ext.DatePicker-hideMode"></a>\r
260             <b>hideMode</b> : String            <div class="mdesc">\r
261                         <div class="short">How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset p...</div>\r
262             <div class="long">\r
263                 <p>How this component should be hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display".</p> <p>For Containers which may be hidden and shown as part of a <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">card layout</a> Container such as a <a ext:cls="Ext.TabPanel" href="output/Ext.TabPanel.html">TabPanel</a>, it is recommended that hideMode is configured as "offsets". This ensures that hidden Components still have height and width so that layout managers can perform measurements when calculating layouts.</p>            </div>\r
264                         </div>\r
265         </td>\r
266         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>\r
267     </tr>\r
268         <tr class="config-row inherited alt expandable">\r
269         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
270         <td class="sig">\r
271         <a id="Ext.DatePicker-hideParent"></a>\r
272             <b>hideParent</b> : Boolean            <div class="mdesc">\r
273                         <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>\r
274             <div class="long">\r
275                 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>\r
276                         </div>\r
277         </td>\r
278         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>\r
279     </tr>\r
280         <tr class="config-row inherited expandable">\r
281         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
282         <td class="sig">\r
283         <a id="Ext.DatePicker-id"></a>\r
284             <b>id</b> : String            <div class="mdesc">\r
285                         <div class="short">The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to ...</div>\r
286             <div class="long">\r
287                 The unique id of this component (defaults to an auto-assigned id). You should assign an id if you need to be able to access the component later and you do not have an object reference available (e.g., using <a ext:cls="Ext.ComponentMgr" ext:member="getCmp" href="output/Ext.ComponentMgr.html#getCmp">Ext.ComponentMgr.getCmp</a>). Note that this id will also be used as the element id for the containing HTML element that is rendered to the page for this component. This allows you to write id-based CSS rules to style the specific instance of this component uniquely, and also to select sub-elements using this component's id as the parent.            </div>\r
288                         </div>\r
289         </td>\r
290         <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>\r
291     </tr>\r
292         <tr class="config-row inherited alt expandable">\r
293         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
294         <td class="sig">\r
295         <a id="Ext.DatePicker-itemCls"></a>\r
296             <b>itemCls</b> : String            <div class="mdesc">\r
297                         <div class="short">An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCl...</div>\r
298             <div class="long">\r
299                 An additional CSS class to apply to the wrapper's form item element of this field (defaults to the container's itemCls value if set, or ''). Since it is applied to the item wrapper, it allows you to write standard CSS rules that can apply to the field, the label (if specified) or any other element within the markup for the field. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code><i>// Apply a style to the field's label:</i>
300 &lt;style>
301     .required .x-form-item-label {font-weight:bold;color:red;}
302 &lt;/style>
303
304 <b>new</b> Ext.FormPanel({
305     height: 100,
306     renderTo: Ext.getBody(),
307     items: [{
308         xtype: <em>'textfield'</em>,
309         fieldLabel: <em>'Name'</em>,
310         itemCls: <em>'required'</em> <i>//<b>this</b> label will be styled</i>
311     },{
312         xtype: <em>'textfield'</em>,
313         fieldLabel: <em>'Favorite Color'</em>
314     }]
315 });</code></pre>            </div>\r
316                         </div>\r
317         </td>\r
318         <td class="msource"><a ext:cls="Ext.Component" ext:member="#itemCls" href="output/Ext.Component.html#itemCls">Component</a></td>\r
319     </tr>\r
320         <tr class="config-row inherited expandable">\r
321         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
322         <td class="sig">\r
323         <a id="Ext.DatePicker-labelSeparator"></a>\r
324             <b>labelSeparator</b> : String            <div class="mdesc">\r
325                         <div class="short">The standard separator to display after the text of each form label (defaults to the value of Ext.layout.FormLayout.l...</div>\r
326             <div class="long">\r
327                 The standard separator to display after the text of each form label (defaults to the value of <a ext:cls="Ext.layout.FormLayout" ext:member="labelSeparator" href="output/Ext.layout.FormLayout.html#labelSeparator">Ext.layout.FormLayout.labelSeparator</a>, which is a colon ':' by default). To display no separator for this field's label specify empty string ''. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
328     height: 100,
329     renderTo: Ext.getBody(),
330     items: [{
331         xtype: <em>'textfield'</em>,
332         fieldLabel: <em>'Name'</em>,
333         labelSeparator: <em>'...'</em>
334     }]
335 });</code></pre>            </div>\r
336                         </div>\r
337         </td>\r
338         <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelSeparator" href="output/Ext.Component.html#labelSeparator">Component</a></td>\r
339     </tr>\r
340         <tr class="config-row inherited alt expandable">\r
341         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
342         <td class="sig">\r
343         <a id="Ext.DatePicker-labelStyle"></a>\r
344             <b>labelStyle</b> : String            <div class="mdesc">\r
345                         <div class="short">A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if se...</div>\r
346             <div class="long">\r
347                 A CSS style specification to apply directly to this field's label (defaults to the container's labelStyle value if set, or '').<code></code>. <p><b>This config is only used when this Component is rendered by a Container which has been configured to use the <a ext:cls="Ext.form.FormLayout" href="output/Ext.form.FormLayout.html">FormLayout</a> layout manager.</b></p> Example use:<pre><code>new Ext.FormPanel({
348     height: 100,
349     renderTo: Ext.getBody(),
350     items: [{
351         xtype: <em>'textfield'</em>,
352         fieldLabel: <em>'Name'</em>,
353         labelStyle: <em>'font-weight:bold;'</em>
354     }]
355 });</code></pre>            </div>\r
356                         </div>\r
357         </td>\r
358         <td class="msource"><a ext:cls="Ext.Component" ext:member="#labelStyle" href="output/Ext.Component.html#labelStyle">Component</a></td>\r
359     </tr>\r
360         <tr class="config-row inherited expandable">\r
361         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
362         <td class="sig">\r
363         <a id="Ext.DatePicker-listeners"></a>\r
364             <b>listeners</b> : Object            <div class="mdesc">\r
365                         <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>\r
366             <div class="long">\r
367                 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once.            </div>\r
368                         </div>\r
369         </td>\r
370         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>\r
371     </tr>\r
372         <tr class="config-row alt">\r
373         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
374         <td class="sig">\r
375         <a id="Ext.DatePicker-maxDate"></a>\r
376             <b>maxDate</b> : Date            <div class="mdesc">\r
377                             Maximum allowable date (JavaScript date object, defaults to null)                        </div>\r
378         </td>\r
379         <td class="msource">DatePicker</td>\r
380     </tr>\r
381         <tr class="config-row">\r
382         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
383         <td class="sig">\r
384         <a id="Ext.DatePicker-maxText"></a>\r
385             <b>maxText</b> : String            <div class="mdesc">\r
386                             The error text to display if the maxDate validation fails (defaults to "This date is after the maximum date")                        </div>\r
387         </td>\r
388         <td class="msource">DatePicker</td>\r
389     </tr>\r
390         <tr class="config-row alt">\r
391         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
392         <td class="sig">\r
393         <a id="Ext.DatePicker-minDate"></a>\r
394             <b>minDate</b> : Date            <div class="mdesc">\r
395                             Minimum allowable date (JavaScript date object, defaults to null)                        </div>\r
396         </td>\r
397         <td class="msource">DatePicker</td>\r
398     </tr>\r
399         <tr class="config-row">\r
400         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
401         <td class="sig">\r
402         <a id="Ext.DatePicker-minText"></a>\r
403             <b>minText</b> : String            <div class="mdesc">\r
404                             The error text to display if the minDate validation fails (defaults to "This date is before the minimum date")                        </div>\r
405         </td>\r
406         <td class="msource">DatePicker</td>\r
407     </tr>\r
408         <tr class="config-row alt">\r
409         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
410         <td class="sig">\r
411         <a id="Ext.DatePicker-monthNames"></a>\r
412             <b>monthNames</b> : Array            <div class="mdesc">\r
413                             An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)                        </div>\r
414         </td>\r
415         <td class="msource">DatePicker</td>\r
416     </tr>\r
417         <tr class="config-row">\r
418         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
419         <td class="sig">\r
420         <a id="Ext.DatePicker-monthYearText"></a>\r
421             <b>monthYearText</b> : String            <div class="mdesc">\r
422                             The header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)')                        </div>\r
423         </td>\r
424         <td class="msource">DatePicker</td>\r
425     </tr>\r
426         <tr class="config-row alt">\r
427         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
428         <td class="sig">\r
429         <a id="Ext.DatePicker-nextText"></a>\r
430             <b>nextText</b> : String            <div class="mdesc">\r
431                             The next month navigation button tooltip (defaults to 'Next Month (Control+Right)')                        </div>\r
432         </td>\r
433         <td class="msource">DatePicker</td>\r
434     </tr>\r
435         <tr class="config-row">\r
436         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
437         <td class="sig">\r
438         <a id="Ext.DatePicker-okText"></a>\r
439             <b>okText</b> : String            <div class="mdesc">\r
440                             The text to display on the ok button                        </div>\r
441         </td>\r
442         <td class="msource">DatePicker</td>\r
443     </tr>\r
444         <tr class="config-row inherited alt expandable">\r
445         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
446         <td class="sig">\r
447         <a id="Ext.DatePicker-overCls"></a>\r
448             <b>overCls</b> : String            <div class="mdesc">\r
449                         <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>\r
450             <div class="long">\r
451                 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>\r
452                         </div>\r
453         </td>\r
454         <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>\r
455     </tr>\r
456         <tr class="config-row inherited expandable">\r
457         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
458         <td class="sig">\r
459         <a id="Ext.DatePicker-plugins"></a>\r
460             <b>plugins</b> : Object/Array            <div class="mdesc">\r
461                         <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>\r
462             <div class="long">\r
463                 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>\r
464                         </div>\r
465         </td>\r
466         <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>\r
467     </tr>\r
468         <tr class="config-row alt">\r
469         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
470         <td class="sig">\r
471         <a id="Ext.DatePicker-prevText"></a>\r
472             <b>prevText</b> : String            <div class="mdesc">\r
473                             The previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)')                        </div>\r
474         </td>\r
475         <td class="msource">DatePicker</td>\r
476     </tr>\r
477         <tr class="config-row inherited expandable">\r
478         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
479         <td class="sig">\r
480         <a id="Ext.DatePicker-renderTo"></a>\r
481             <b>renderTo</b> : Mixed            <div class="mdesc">\r
482                         <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>\r
483             <div class="long">\r
484                 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>\r
485                         </div>\r
486         </td>\r
487         <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>\r
488     </tr>\r
489         <tr class="config-row alt expandable">\r
490         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
491         <td class="sig">\r
492         <a id="Ext.DatePicker-showToday"></a>\r
493             <b>showToday</b> : Boolean            <div class="mdesc">\r
494                         <div class="short">False to hide the footer area containing the Today button and disable the keyboard handler for spacebar that selects ...</div>\r
495             <div class="long">\r
496                 False to hide the footer area containing the Today button and disable the keyboard handler for spacebar that selects the current date (defaults to true).            </div>\r
497                         </div>\r
498         </td>\r
499         <td class="msource">DatePicker</td>\r
500     </tr>\r
501         <tr class="config-row">\r
502         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
503         <td class="sig">\r
504         <a id="Ext.DatePicker-startDay"></a>\r
505             <b>startDay</b> : Number            <div class="mdesc">\r
506                             Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)                        </div>\r
507         </td>\r
508         <td class="msource">DatePicker</td>\r
509     </tr>\r
510         <tr class="config-row inherited alt expandable">\r
511         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
512         <td class="sig">\r
513         <a id="Ext.DatePicker-stateEvents"></a>\r
514             <b>stateEvents</b> : Array            <div class="mdesc">\r
515                         <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>\r
516             <div class="long">\r
517                 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>\r
518                         </div>\r
519         </td>\r
520         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>\r
521     </tr>\r
522         <tr class="config-row inherited expandable">\r
523         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
524         <td class="sig">\r
525         <a id="Ext.DatePicker-stateId"></a>\r
526             <b>stateId</b> : String            <div class="mdesc">\r
527                         <div class="short">The unique id for this component to use for state management purposes (defaults to the component id if one was set, o...</div>\r
528             <div class="long">\r
529                 The unique id for this component to use for state management purposes (defaults to the component id if one was set, otherwise null if the component is using a generated 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>\r
530                         </div>\r
531         </td>\r
532         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>\r
533     </tr>\r
534         <tr class="config-row inherited alt expandable">\r
535         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
536         <td class="sig">\r
537         <a id="Ext.DatePicker-stateful"></a>\r
538             <b>stateful</b> : Boolean            <div class="mdesc">\r
539                         <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>\r
540             <div class="long">\r
541                 <p>A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup. The component must have either a <a ext:cls="Ext.Component" ext:member="stateId" href="output/Ext.Component.html#stateId">stateId</a> or <a ext:cls="Ext.Component" ext:member="id" href="output/Ext.Component.html#id">id</a> assigned for state to be managed. Auto-generated ids are not guaranteed to be stable across page loads and cannot be relied upon to save and restore the same state for a component.<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="Ext.Component" ext:member="staterestore" href="output/Ext.Component.html#staterestore">staterestore</a>, <a ext:cls="Ext.Component" ext:member="beforestatesave" href="output/Ext.Component.html#beforestatesave">beforestatesave</a> and <a ext:cls="Ext.Component" ext:member="statesave" href="output/Ext.Component.html#statesave">statesave</a> events</p>            </div>\r
542                         </div>\r
543         </td>\r
544         <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>\r
545     </tr>\r
546         <tr class="config-row inherited expandable">\r
547         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
548         <td class="sig">\r
549         <a id="Ext.DatePicker-style"></a>\r
550             <b>style</b> : String            <div class="mdesc">\r
551                         <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>\r
552             <div class="long">\r
553                 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>\r
554                         </div>\r
555         </td>\r
556         <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>\r
557     </tr>\r
558         <tr class="config-row alt">\r
559         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
560         <td class="sig">\r
561         <a id="Ext.DatePicker-todayText"></a>\r
562             <b>todayText</b> : String            <div class="mdesc">\r
563                             The text to display on the button that selects the current date (defaults to "Today")                        </div>\r
564         </td>\r
565         <td class="msource">DatePicker</td>\r
566     </tr>\r
567         <tr class="config-row">\r
568         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
569         <td class="sig">\r
570         <a id="Ext.DatePicker-todayTip"></a>\r
571             <b>todayTip</b> : String            <div class="mdesc">\r
572                             The tooltip to display for the button that selects the current date (defaults to "{current date} (Spacebar)")                        </div>\r
573         </td>\r
574         <td class="msource">DatePicker</td>\r
575     </tr>\r
576         <tr class="config-row inherited alt expandable">\r
577         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
578         <td class="sig">\r
579         <a id="Ext.DatePicker-xtype"></a>\r
580             <b>xtype</b> : String            <div class="mdesc">\r
581                         <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>\r
582             <div class="long">\r
583                 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>\r
584                         </div>\r
585         </td>\r
586         <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>\r
587     </tr>\r
588             </table>
589                 <a id="Ext.DatePicker-props"></a>
590         <h2>Public Properties</h2>
591                 <table cellspacing="0" class="member-table">
592             <tr>
593                 <th class="sig-header" colspan="2">Property</th>
594                 <th class="msource-header">Defined By</th>
595             </tr>
596                 <tr class="property-row inherited">\r
597         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
598         <td class="sig">\r
599         <a id="Ext.DatePicker-disabled"></a>\r
600             <b>disabled</b> : Boolean            <div class="mdesc">\r
601                             True if this component is disabled. Read-only.                        </div>\r
602         </td>\r
603         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>\r
604     </tr>\r
605         <tr class="property-row inherited alt">\r
606         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
607         <td class="sig">\r
608         <a id="Ext.DatePicker-hidden"></a>\r
609             <b>hidden</b> : Boolean            <div class="mdesc">\r
610                             
611 True if this component is hidden. Read-only.                        </div>\r
612         </td>\r
613         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>\r
614     </tr>\r
615         <tr class="property-row inherited">\r
616         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
617         <td class="sig">\r
618         <a id="Ext.DatePicker-initialConfig"></a>\r
619             <b>initialConfig</b> : Object            <div class="mdesc">\r
620                             This Component's initial configuration specification. Read-only.                        </div>\r
621         </td>\r
622         <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>\r
623     </tr>\r
624         <tr class="property-row inherited alt expandable">\r
625         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
626         <td class="sig">\r
627         <a id="Ext.DatePicker-ownerCt"></a>\r
628             <b>ownerCt</b> : Ext.Container            <div class="mdesc">\r
629                         <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
630 the component is added to a...</div>\r
631             <div class="long">\r
632                 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
633 the component is added to a container).  Read-only.            </div>\r
634                         </div>\r
635         </td>\r
636         <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>\r
637     </tr>\r
638         <tr class="property-row inherited">\r
639         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
640         <td class="sig">\r
641         <a id="Ext.DatePicker-rendered"></a>\r
642             <b>rendered</b> : Boolean            <div class="mdesc">\r
643                             True if this component has been rendered. Read-only.                        </div>\r
644         </td>\r
645         <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>\r
646     </tr>\r
647             </table>
648                 <a id="Ext.DatePicker-methods"></a>
649         <h2>Public Methods</h2>
650                 <table cellspacing="0" class="member-table">
651             <tr>
652                 <th class="sig-header" colspan="2">Method</th>
653                 <th class="msource-header">Defined By</th>
654             </tr>
655                 <tr class="method-row expandable">\r
656         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
657         <td class="sig">\r
658         <a id="Ext.DatePicker-DatePicker"></a>\r
659             <b>DatePicker</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">\r
660                         <div class="short">Create a new DatePicker</div>\r
661             <div class="long">\r
662                 Create a new DatePicker    <div class="mdetail-params">\r
663         <strong>Parameters:</strong>\r
664         <ul><li><code>config</code> : Object<div class="sub-desc">The config object</div></li>        </ul>\r
665         <strong>Returns:</strong>\r
666         <ul>\r
667             <li><code></code></li>\r
668         </ul>\r
669     </div>\r
670                 </div>\r
671                         </div>\r
672         </td>\r
673         <td class="msource">DatePicker</td>\r
674     </tr>\r
675         <tr class="method-row inherited alt expandable">\r
676         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
677         <td class="sig">\r
678         <a id="Ext.DatePicker-addClass"></a>\r
679             <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">\r
680                         <div class="short">Adds a CSS class to the component's underlying element.</div>\r
681             <div class="long">\r
682                 Adds a CSS class to the component's underlying element.    <div class="mdetail-params">\r
683         <strong>Parameters:</strong>\r
684         <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li>        </ul>\r
685         <strong>Returns:</strong>\r
686         <ul>\r
687             <li><code>void</code></li>\r
688         </ul>\r
689     </div>\r
690                 </div>\r
691                         </div>\r
692         </td>\r
693         <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>\r
694     </tr>\r
695         <tr class="method-row inherited expandable">\r
696         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
697         <td class="sig">\r
698         <a id="Ext.DatePicker-addEvents"></a>\r
699             <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">\r
700                         <div class="short">Used to define events on this Observable</div>\r
701             <div class="long">\r
702                 Used to define events on this Observable    <div class="mdetail-params">\r
703         <strong>Parameters:</strong>\r
704         <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>\r
705         <strong>Returns:</strong>\r
706         <ul>\r
707             <li><code>void</code></li>\r
708         </ul>\r
709     </div>\r
710                 </div>\r
711                         </div>\r
712         </td>\r
713         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>\r
714     </tr>\r
715         <tr class="method-row inherited alt expandable">\r
716         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
717         <td class="sig">\r
718         <a id="Ext.DatePicker-addListener"></a>\r
719             <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">\r
720                         <div class="short">Appends an event handler to this component</div>\r
721             <div class="long">\r
722                 Appends an event handler to this component    <div class="mdetail-params">\r
723         <strong>Parameters:</strong>\r
724         <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
725 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
726 properties. This may contain any of the following properties:<ul>
727 <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>
728 <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>
729 <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>
730 <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
731 by the specified number of milliseconds. If the event fires again within that time, the original
732 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
733 </ul><br>
734 <p>
735 <b>Combining Options</b><br>
736 Using the options argument, it is possible to combine different types of listeners:<br>
737 <br>
738 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
739 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
740     single: true,
741     delay: 100,
742     forumId: 4
743 });</code></pre>
744 <p>
745 <b>Attaching multiple handlers in 1 call</b><br>
746 The method also allows for a single argument to be passed which is a config object containing properties
747 which specify multiple handlers.
748 <p>
749 <pre><code>foo.on({
750     <em>'click'</em> : {
751         fn: <b>this</b>.onClick,
752         scope: <b>this</b>,
753         delay: 100
754     },
755     <em>'mouseover'</em> : {
756         fn: <b>this</b>.onMouseOver,
757         scope: <b>this</b>
758     },
759     <em>'mouseout'</em> : {
760         fn: <b>this</b>.onMouseOut,
761         scope: <b>this</b>
762     }
763 });</code></pre>
764 <p>
765 Or a shorthand syntax:<br>
766 <pre><code>foo.on({
767     <em>'click'</em> : <b>this</b>.onClick,
768     <em>'mouseover'</em> : <b>this</b>.onMouseOver,
769     <em>'mouseout'</em> : <b>this</b>.onMouseOut,
770      scope: <b>this</b>
771 });</code></pre></div></li>        </ul>\r
772         <strong>Returns:</strong>\r
773         <ul>\r
774             <li><code>void</code></li>\r
775         </ul>\r
776     </div>\r
777                 </div>\r
778                         </div>\r
779         </td>\r
780         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>\r
781     </tr>\r
782         <tr class="method-row inherited expandable">\r
783         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
784         <td class="sig">\r
785         <a id="Ext.DatePicker-applyToMarkup"></a>\r
786             <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">\r
787                         <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>\r
788             <div class="long">\r
789                 Apply this component to existing markup that is valid. With this function, no call to render() is required.    <div class="mdetail-params">\r
790         <strong>Parameters:</strong>\r
791         <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li>        </ul>\r
792         <strong>Returns:</strong>\r
793         <ul>\r
794             <li><code>void</code></li>\r
795         </ul>\r
796     </div>\r
797                 </div>\r
798                         </div>\r
799         </td>\r
800         <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>\r
801     </tr>\r
802         <tr class="method-row inherited alt expandable">\r
803         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
804         <td class="sig">\r
805         <a id="Ext.DatePicker-cloneConfig"></a>\r
806             <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
807                         <div class="short">Clone the current component using the original config values passed into this instance by default.</div>\r
808             <div class="long">\r
809                 Clone the current component using the original config values passed into this instance by default.    <div class="mdetail-params">\r
810         <strong>Parameters:</strong>\r
811         <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
812 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li>        </ul>\r
813         <strong>Returns:</strong>\r
814         <ul>\r
815             <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>\r
816         </ul>\r
817     </div>\r
818                 </div>\r
819                         </div>\r
820         </td>\r
821         <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>\r
822     </tr>\r
823         <tr class="method-row inherited expandable">\r
824         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
825         <td class="sig">\r
826         <a id="Ext.DatePicker-destroy"></a>\r
827             <b>destroy</b>() : void            <div class="mdesc">\r
828                         <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
829 removing the c...</div>\r
830             <div class="long">\r
831                 Destroys this component by purging any event listeners, removing the component's element from the DOM,
832 removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
833 <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>.  Destruction is generally handled automatically by the framework and this method
834 should usually not need to be called directly.    <div class="mdetail-params">\r
835         <strong>Parameters:</strong>\r
836         <ul><li>None.</li>        </ul>\r
837         <strong>Returns:</strong>\r
838         <ul>\r
839             <li><code>void</code></li>\r
840         </ul>\r
841     </div>\r
842                 </div>\r
843                         </div>\r
844         </td>\r
845         <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>\r
846     </tr>\r
847         <tr class="method-row inherited alt expandable">\r
848         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
849         <td class="sig">\r
850         <a id="Ext.DatePicker-disable"></a>\r
851             <b>disable</b>() : Ext.Component            <div class="mdesc">\r
852                         <div class="short">Disable this component.</div>\r
853             <div class="long">\r
854                 Disable this component.    <div class="mdetail-params">\r
855         <strong>Parameters:</strong>\r
856         <ul><li>None.</li>        </ul>\r
857         <strong>Returns:</strong>\r
858         <ul>\r
859             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
860         </ul>\r
861     </div>\r
862                 </div>\r
863                         </div>\r
864         </td>\r
865         <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>\r
866     </tr>\r
867         <tr class="method-row inherited expandable">\r
868         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
869         <td class="sig">\r
870         <a id="Ext.DatePicker-enable"></a>\r
871             <b>enable</b>() : Ext.Component            <div class="mdesc">\r
872                         <div class="short">Enable this component.</div>\r
873             <div class="long">\r
874                 Enable this component.    <div class="mdetail-params">\r
875         <strong>Parameters:</strong>\r
876         <ul><li>None.</li>        </ul>\r
877         <strong>Returns:</strong>\r
878         <ul>\r
879             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
880         </ul>\r
881     </div>\r
882                 </div>\r
883                         </div>\r
884         </td>\r
885         <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>\r
886     </tr>\r
887         <tr class="method-row inherited alt expandable">\r
888         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
889         <td class="sig">\r
890         <a id="Ext.DatePicker-findParentBy"></a>\r
891             <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Container            <div class="mdesc">\r
892                         <div class="short">Find a container above this component at any level by a custom function. If the passed function returns
893 true, the con...</div>\r
894             <div class="long">\r
895                 Find a container above this component at any level by a custom function. If the passed function returns
896 true, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">\r
897         <strong>Parameters:</strong>\r
898         <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>\r
899         <strong>Returns:</strong>\r
900         <ul>\r
901             <li><code>Ext.Container</code><div class="sub-desc">The first Container for which the custom function returns true</div></li>\r
902         </ul>\r
903     </div>\r
904                 </div>\r
905                         </div>\r
906         </td>\r
907         <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>\r
908     </tr>\r
909         <tr class="method-row inherited expandable">\r
910         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
911         <td class="sig">\r
912         <a id="Ext.DatePicker-findParentByType"></a>\r
913             <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Ext.Container            <div class="mdesc">\r
914                         <div class="short">Find a container above this component at any level by xtype or class</div>\r
915             <div class="long">\r
916                 Find a container above this component at any level by xtype or class    <div class="mdetail-params">\r
917         <strong>Parameters:</strong>\r
918         <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>\r
919         <strong>Returns:</strong>\r
920         <ul>\r
921             <li><code>Ext.Container</code><div class="sub-desc">The first Container which matches the given xtype or class</div></li>\r
922         </ul>\r
923     </div>\r
924                 </div>\r
925                         </div>\r
926         </td>\r
927         <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>\r
928     </tr>\r
929         <tr class="method-row inherited alt expandable">\r
930         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
931         <td class="sig">\r
932         <a id="Ext.DatePicker-fireEvent"></a>\r
933             <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">\r
934                         <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>\r
935             <div class="long">\r
936                 Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">\r
937         <strong>Parameters:</strong>\r
938         <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>\r
939         <strong>Returns:</strong>\r
940         <ul>\r
941             <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>\r
942         </ul>\r
943     </div>\r
944                 </div>\r
945                         </div>\r
946         </td>\r
947         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>\r
948     </tr>\r
949         <tr class="method-row inherited expandable">\r
950         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
951         <td class="sig">\r
952         <a id="Ext.DatePicker-focus"></a>\r
953             <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">\r
954                         <div class="short">Try to focus this component.</div>\r
955             <div class="long">\r
956                 Try to focus this component.    <div class="mdetail-params">\r
957         <strong>Parameters:</strong>\r
958         <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>\r
959         <strong>Returns:</strong>\r
960         <ul>\r
961             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
962         </ul>\r
963     </div>\r
964                 </div>\r
965                         </div>\r
966         </td>\r
967         <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>\r
968     </tr>\r
969         <tr class="method-row inherited alt expandable">\r
970         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
971         <td class="sig">\r
972         <a id="Ext.DatePicker-getEl"></a>\r
973             <b>getEl</b>() : Ext.Element            <div class="mdesc">\r
974                         <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>\r
975             <div class="long">\r
976                 Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">\r
977         <strong>Parameters:</strong>\r
978         <ul><li>None.</li>        </ul>\r
979         <strong>Returns:</strong>\r
980         <ul>\r
981             <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>\r
982         </ul>\r
983     </div>\r
984                 </div>\r
985                         </div>\r
986         </td>\r
987         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>\r
988     </tr>\r
989         <tr class="method-row inherited expandable">\r
990         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
991         <td class="sig">\r
992         <a id="Ext.DatePicker-getId"></a>\r
993             <b>getId</b>() : String            <div class="mdesc">\r
994                         <div class="short">Returns the id of this component.</div>\r
995             <div class="long">\r
996                 Returns the id of this component.    <div class="mdetail-params">\r
997         <strong>Parameters:</strong>\r
998         <ul><li>None.</li>        </ul>\r
999         <strong>Returns:</strong>\r
1000         <ul>\r
1001             <li><code>String</code></li>\r
1002         </ul>\r
1003     </div>\r
1004                 </div>\r
1005                         </div>\r
1006         </td>\r
1007         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>\r
1008     </tr>\r
1009         <tr class="method-row inherited alt expandable">\r
1010         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1011         <td class="sig">\r
1012         <a id="Ext.DatePicker-getItemId"></a>\r
1013             <b>getItemId</b>() : String            <div class="mdesc">\r
1014                         <div class="short">Returns the item id of this component.</div>\r
1015             <div class="long">\r
1016                 Returns the item id of this component.    <div class="mdetail-params">\r
1017         <strong>Parameters:</strong>\r
1018         <ul><li>None.</li>        </ul>\r
1019         <strong>Returns:</strong>\r
1020         <ul>\r
1021             <li><code>String</code></li>\r
1022         </ul>\r
1023     </div>\r
1024                 </div>\r
1025                         </div>\r
1026         </td>\r
1027         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>\r
1028     </tr>\r
1029         <tr class="method-row expandable">\r
1030         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1031         <td class="sig">\r
1032         <a id="Ext.DatePicker-getValue"></a>\r
1033             <b>getValue</b>() : Date            <div class="mdesc">\r
1034                         <div class="short">Gets the current selected value of the date field</div>\r
1035             <div class="long">\r
1036                 Gets the current selected value of the date field    <div class="mdetail-params">\r
1037         <strong>Parameters:</strong>\r
1038         <ul><li>None.</li>        </ul>\r
1039         <strong>Returns:</strong>\r
1040         <ul>\r
1041             <li><code>Date</code><div class="sub-desc">The selected date</div></li>\r
1042         </ul>\r
1043     </div>\r
1044                 </div>\r
1045                         </div>\r
1046         </td>\r
1047         <td class="msource">DatePicker</td>\r
1048     </tr>\r
1049         <tr class="method-row inherited alt expandable">\r
1050         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1051         <td class="sig">\r
1052         <a id="Ext.DatePicker-getXType"></a>\r
1053             <b>getXType</b>() : String            <div class="mdesc">\r
1054                         <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
1055 available xtypes, see the Ex...</div>\r
1056             <div class="long">\r
1057                 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
1058 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
1059 <pre><code>var t = <b>new</b> Ext.form.TextField();
1060 alert(t.getXType());  // alerts <em>'textfield'</em></code></pre>    <div class="mdetail-params">\r
1061         <strong>Parameters:</strong>\r
1062         <ul><li>None.</li>        </ul>\r
1063         <strong>Returns:</strong>\r
1064         <ul>\r
1065             <li><code>String</code><div class="sub-desc">The xtype</div></li>\r
1066         </ul>\r
1067     </div>\r
1068                 </div>\r
1069                         </div>\r
1070         </td>\r
1071         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>\r
1072     </tr>\r
1073         <tr class="method-row inherited expandable">\r
1074         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1075         <td class="sig">\r
1076         <a id="Ext.DatePicker-getXTypes"></a>\r
1077             <b>getXTypes</b>() : String            <div class="mdesc">\r
1078                         <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1079 available xtypes, see the Ext...</div>\r
1080             <div class="long">\r
1081                 <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1082 available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p>
1083 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1084 to participate in determination of inherited xtypes.</b></p>
1085 <p>Example usage:</p>
1086 <pre><code>\r
1087 var t = new Ext.form.TextField();\r
1088 alert(t.getXTypes());  // alerts 'component/box/field/textfield'</pre></code>    <div class="mdetail-params">\r
1089         <strong>Parameters:</strong>\r
1090         <ul><li>None.</li>        </ul>\r
1091         <strong>Returns:</strong>\r
1092         <ul>\r
1093             <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>\r
1094         </ul>\r
1095     </div>\r
1096                 </div>\r
1097                         </div>\r
1098         </td>\r
1099         <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>\r
1100     </tr>\r
1101         <tr class="method-row inherited alt expandable">\r
1102         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1103         <td class="sig">\r
1104         <a id="Ext.DatePicker-hasListener"></a>\r
1105             <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">\r
1106                         <div class="short">Checks to see if this object has any listeners for a specified event</div>\r
1107             <div class="long">\r
1108                 Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">\r
1109         <strong>Parameters:</strong>\r
1110         <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>\r
1111         <strong>Returns:</strong>\r
1112         <ul>\r
1113             <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>\r
1114         </ul>\r
1115     </div>\r
1116                 </div>\r
1117                         </div>\r
1118         </td>\r
1119         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>\r
1120     </tr>\r
1121         <tr class="method-row inherited expandable">\r
1122         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1123         <td class="sig">\r
1124         <a id="Ext.DatePicker-hide"></a>\r
1125             <b>hide</b>() : Ext.Component            <div class="mdesc">\r
1126                         <div class="short">Hide this component.</div>\r
1127             <div class="long">\r
1128                 Hide this component.    <div class="mdetail-params">\r
1129         <strong>Parameters:</strong>\r
1130         <ul><li>None.</li>        </ul>\r
1131         <strong>Returns:</strong>\r
1132         <ul>\r
1133             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1134         </ul>\r
1135     </div>\r
1136                 </div>\r
1137                         </div>\r
1138         </td>\r
1139         <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>\r
1140     </tr>\r
1141         <tr class="method-row inherited alt expandable">\r
1142         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1143         <td class="sig">\r
1144         <a id="Ext.DatePicker-isVisible"></a>\r
1145             <b>isVisible</b>() : void            <div class="mdesc">\r
1146                         <div class="short">Returns true if this component is visible.</div>\r
1147             <div class="long">\r
1148                 Returns true if this component is visible.    <div class="mdetail-params">\r
1149         <strong>Parameters:</strong>\r
1150         <ul><li>None.</li>        </ul>\r
1151         <strong>Returns:</strong>\r
1152         <ul>\r
1153             <li><code>void</code></li>\r
1154         </ul>\r
1155     </div>\r
1156                 </div>\r
1157                         </div>\r
1158         </td>\r
1159         <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>\r
1160     </tr>\r
1161         <tr class="method-row inherited expandable">\r
1162         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1163         <td class="sig">\r
1164         <a id="Ext.DatePicker-isXType"></a>\r
1165             <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void            <div class="mdesc">\r
1166                         <div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1167 from th...</div>\r
1168             <div class="long">\r
1169                 <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1170 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1171 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1172 to participate in determination of inherited xtypes.</b></p>
1173 <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>
1174 <p>Example usage:</p>
1175 <pre><code>var t = <b>new</b> Ext.form.TextField();
1176 <b>var</b> isText = t.isXType(<em>'textfield'</em>);        <i>// true</i>
1177 <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>);       <i>// true, descended from BoxComponent</i>
1178 <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre>    <div class="mdetail-params">\r
1179         <strong>Parameters:</strong>\r
1180         <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
1181 the default), or true to check whether this Component is directly of the specified xtype.</div></li>        </ul>\r
1182         <strong>Returns:</strong>\r
1183         <ul>\r
1184             <li><code>void</code></li>\r
1185         </ul>\r
1186     </div>\r
1187                 </div>\r
1188                         </div>\r
1189         </td>\r
1190         <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>\r
1191     </tr>\r
1192         <tr class="method-row inherited alt expandable">\r
1193         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1194         <td class="sig">\r
1195         <a id="Ext.DatePicker-on"></a>\r
1196             <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">\r
1197                         <div class="short">Appends an event handler to this element (shorthand for addListener)</div>\r
1198             <div class="long">\r
1199                 Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">\r
1200         <strong>Parameters:</strong>\r
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 method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
1202 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
1203         <strong>Returns:</strong>\r
1204         <ul>\r
1205             <li><code>void</code></li>\r
1206         </ul>\r
1207     </div>\r
1208                 </div>\r
1209                         </div>\r
1210         </td>\r
1211         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>\r
1212     </tr>\r
1213         <tr class="method-row inherited expandable">\r
1214         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1215         <td class="sig">\r
1216         <a id="Ext.DatePicker-purgeListeners"></a>\r
1217             <b>purgeListeners</b>() : void            <div class="mdesc">\r
1218                         <div class="short">Removes all listeners for this object</div>\r
1219             <div class="long">\r
1220                 Removes all listeners for this object    <div class="mdetail-params">\r
1221         <strong>Parameters:</strong>\r
1222         <ul><li>None.</li>        </ul>\r
1223         <strong>Returns:</strong>\r
1224         <ul>\r
1225             <li><code>void</code></li>\r
1226         </ul>\r
1227     </div>\r
1228                 </div>\r
1229                         </div>\r
1230         </td>\r
1231         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>\r
1232     </tr>\r
1233         <tr class="method-row inherited alt expandable">\r
1234         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1235         <td class="sig">\r
1236         <a id="Ext.DatePicker-relayEvents"></a>\r
1237             <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">\r
1238                         <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>\r
1239             <div class="long">\r
1240                 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">\r
1241         <strong>Parameters:</strong>\r
1242         <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li>        </ul>\r
1243         <strong>Returns:</strong>\r
1244         <ul>\r
1245             <li><code>void</code></li>\r
1246         </ul>\r
1247     </div>\r
1248                 </div>\r
1249                         </div>\r
1250         </td>\r
1251         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>\r
1252     </tr>\r
1253         <tr class="method-row inherited expandable">\r
1254         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1255         <td class="sig">\r
1256         <a id="Ext.DatePicker-removeClass"></a>\r
1257             <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void            <div class="mdesc">\r
1258                         <div class="short">Removes a CSS class from the component's underlying element.</div>\r
1259             <div class="long">\r
1260                 Removes a CSS class from the component's underlying element.    <div class="mdetail-params">\r
1261         <strong>Parameters:</strong>\r
1262         <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li>        </ul>\r
1263         <strong>Returns:</strong>\r
1264         <ul>\r
1265             <li><code>void</code></li>\r
1266         </ul>\r
1267     </div>\r
1268                 </div>\r
1269                         </div>\r
1270         </td>\r
1271         <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>\r
1272     </tr>\r
1273         <tr class="method-row inherited alt expandable">\r
1274         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1275         <td class="sig">\r
1276         <a id="Ext.DatePicker-removeListener"></a>\r
1277             <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">\r
1278                         <div class="short">Removes a listener</div>\r
1279             <div class="long">\r
1280                 Removes a listener    <div class="mdetail-params">\r
1281         <strong>Parameters:</strong>\r
1282         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
1283         <strong>Returns:</strong>\r
1284         <ul>\r
1285             <li><code>void</code></li>\r
1286         </ul>\r
1287     </div>\r
1288                 </div>\r
1289                         </div>\r
1290         </td>\r
1291         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>\r
1292     </tr>\r
1293         <tr class="method-row inherited expandable">\r
1294         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1295         <td class="sig">\r
1296         <a id="Ext.DatePicker-render"></a>\r
1297             <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">\r
1298                         <div class="short">Render this Component into the passed HTML element.
1299 If you are using a Container object to house this Component, then...</div>\r
1300             <div class="long">\r
1301                 <p>Render this Component into the passed HTML element.</p>
1302 <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
1303 do not use the render method.</b></p>
1304 <p>A Container's child Components are rendered by that Container's
1305 <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> manager when the Container is first rendered.</p>
1306 <p>Certain layout managers allow dynamic addition of child components. Those that do
1307 include <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>,
1308 <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>
1309 <p>If the Container is already rendered when a new child Component is added, you may need to call
1310 the 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
1311 unrendered child Components to be rendered. This is required so that you can add multiple
1312 child components if needed while only refreshing the layout once.</p>
1313 <p>When creating complex UIs, it is important to remember that sizing and positioning
1314 of 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.
1315 If you expect child items to be sized in response to user interactions, you must
1316 configure the Container with a layout manager which creates and manages the type of layout you
1317 have in mind.</p>
1318 <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
1319 layout manager is used which does nothing but render child components sequentially into the
1320 Container. No sizing or positioning will be performed in this situation.</b></p>    <div class="mdetail-params">\r
1321         <strong>Parameters:</strong>\r
1322         <ul><li><code>container</code> : Element/HTMLElement/String<div class="sub-desc">(optional) The element this Component should be
1323 rendered 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>
1324 which this component will be inserted (defaults to appending to the end of the container)</div></li>        </ul>\r
1325         <strong>Returns:</strong>\r
1326         <ul>\r
1327             <li><code>void</code></li>\r
1328         </ul>\r
1329     </div>\r
1330                 </div>\r
1331                         </div>\r
1332         </td>\r
1333         <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>\r
1334     </tr>\r
1335         <tr class="method-row inherited alt expandable">\r
1336         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1337         <td class="sig">\r
1338         <a id="Ext.DatePicker-resumeEvents"></a>\r
1339             <b>resumeEvents</b>() : void            <div class="mdesc">\r
1340                         <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>\r
1341             <div class="long">\r
1342                 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">\r
1343         <strong>Parameters:</strong>\r
1344         <ul><li>None.</li>        </ul>\r
1345         <strong>Returns:</strong>\r
1346         <ul>\r
1347             <li><code>void</code></li>\r
1348         </ul>\r
1349     </div>\r
1350                 </div>\r
1351                         </div>\r
1352         </td>\r
1353         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>\r
1354     </tr>\r
1355         <tr class="method-row inherited expandable">\r
1356         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1357         <td class="sig">\r
1358         <a id="Ext.DatePicker-setDisabled"></a>\r
1359             <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void            <div class="mdesc">\r
1360                         <div class="short">Convenience function for setting disabled/enabled by boolean.</div>\r
1361             <div class="long">\r
1362                 Convenience function for setting disabled/enabled by boolean.    <div class="mdetail-params">\r
1363         <strong>Parameters:</strong>\r
1364         <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li>        </ul>\r
1365         <strong>Returns:</strong>\r
1366         <ul>\r
1367             <li><code>void</code></li>\r
1368         </ul>\r
1369     </div>\r
1370                 </div>\r
1371                         </div>\r
1372         </td>\r
1373         <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>\r
1374     </tr>\r
1375         <tr class="method-row alt expandable">\r
1376         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1377         <td class="sig">\r
1378         <a id="Ext.DatePicker-setDisabledDates"></a>\r
1379             <b>setDisabledDates</b>(&nbsp;<code>Array/RegExp disabledDates</code>&nbsp;) : void            <div class="mdesc">\r
1380                         <div class="short">Replaces any existing disabled dates with new values and refreshes the DatePicker.</div>\r
1381             <div class="long">\r
1382                 Replaces any existing disabled dates with new values and refreshes the DatePicker.    <div class="mdetail-params">\r
1383         <strong>Parameters:</strong>\r
1384         <ul><li><code>disabledDates</code> : Array/RegExp<div class="sub-desc">An array of date strings (see the <a ext:cls="Ext.DatePicker" ext:member="disabledDates" href="output/Ext.DatePicker.html#disabledDates">disabledDates</a> config
1385 for details on supported values), or a JavaScript regular expression used to disable a pattern of dates.</div></li>        </ul>\r
1386         <strong>Returns:</strong>\r
1387         <ul>\r
1388             <li><code>void</code></li>\r
1389         </ul>\r
1390     </div>\r
1391                 </div>\r
1392                         </div>\r
1393         </td>\r
1394         <td class="msource">DatePicker</td>\r
1395     </tr>\r
1396         <tr class="method-row expandable">\r
1397         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1398         <td class="sig">\r
1399         <a id="Ext.DatePicker-setDisabledDays"></a>\r
1400             <b>setDisabledDays</b>(&nbsp;<code>Array disabledDays</code>&nbsp;) : void            <div class="mdesc">\r
1401                         <div class="short">Replaces any existing disabled days (by index, 0-6) with new values and refreshes the DatePicker.</div>\r
1402             <div class="long">\r
1403                 Replaces any existing disabled days (by index, 0-6) with new values and refreshes the DatePicker.    <div class="mdetail-params">\r
1404         <strong>Parameters:</strong>\r
1405         <ul><li><code>disabledDays</code> : Array<div class="sub-desc">An array of disabled day indexes. See the <a ext:cls="Ext.DatePicker" ext:member="disabledDays" href="output/Ext.DatePicker.html#disabledDays">disabledDays</a> config
1406 for details on supported values.</div></li>        </ul>\r
1407         <strong>Returns:</strong>\r
1408         <ul>\r
1409             <li><code>void</code></li>\r
1410         </ul>\r
1411     </div>\r
1412                 </div>\r
1413                         </div>\r
1414         </td>\r
1415         <td class="msource">DatePicker</td>\r
1416     </tr>\r
1417         <tr class="method-row alt expandable">\r
1418         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1419         <td class="sig">\r
1420         <a id="Ext.DatePicker-setMaxDate"></a>\r
1421             <b>setMaxDate</b>(&nbsp;<code>Date value</code>&nbsp;) : void            <div class="mdesc">\r
1422                         <div class="short">Replaces any existing <a ext:cls="Ext.DatePicker" ext:member="maxDate" href="output/Ext.DatePicker.html#maxDate">maxDate</a> with the new value and refreshes the DatePicker.</div>\r
1423             <div class="long">\r
1424                 Replaces any existing <a ext:cls="Ext.DatePicker" ext:member="maxDate" href="output/Ext.DatePicker.html#maxDate">maxDate</a> with the new value and refreshes the DatePicker.    <div class="mdetail-params">\r
1425         <strong>Parameters:</strong>\r
1426         <ul><li><code>value</code> : Date<div class="sub-desc">The maximum date that can be selected</div></li>        </ul>\r
1427         <strong>Returns:</strong>\r
1428         <ul>\r
1429             <li><code>void</code></li>\r
1430         </ul>\r
1431     </div>\r
1432                 </div>\r
1433                         </div>\r
1434         </td>\r
1435         <td class="msource">DatePicker</td>\r
1436     </tr>\r
1437         <tr class="method-row expandable">\r
1438         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1439         <td class="sig">\r
1440         <a id="Ext.DatePicker-setMinDate"></a>\r
1441             <b>setMinDate</b>(&nbsp;<code>Date value</code>&nbsp;) : void            <div class="mdesc">\r
1442                         <div class="short">Replaces any existing <a ext:cls="Ext.DatePicker" ext:member="minDate" href="output/Ext.DatePicker.html#minDate">minDate</a> with the new value and refreshes the DatePicker.</div>\r
1443             <div class="long">\r
1444                 Replaces any existing <a ext:cls="Ext.DatePicker" ext:member="minDate" href="output/Ext.DatePicker.html#minDate">minDate</a> with the new value and refreshes the DatePicker.    <div class="mdetail-params">\r
1445         <strong>Parameters:</strong>\r
1446         <ul><li><code>value</code> : Date<div class="sub-desc">The minimum date that can be selected</div></li>        </ul>\r
1447         <strong>Returns:</strong>\r
1448         <ul>\r
1449             <li><code>void</code></li>\r
1450         </ul>\r
1451     </div>\r
1452                 </div>\r
1453                         </div>\r
1454         </td>\r
1455         <td class="msource">DatePicker</td>\r
1456     </tr>\r
1457         <tr class="method-row alt expandable">\r
1458         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1459         <td class="sig">\r
1460         <a id="Ext.DatePicker-setValue"></a>\r
1461             <b>setValue</b>(&nbsp;<code>Date value</code>&nbsp;) : void            <div class="mdesc">\r
1462                         <div class="short">Sets the value of the date field</div>\r
1463             <div class="long">\r
1464                 Sets the value of the date field    <div class="mdetail-params">\r
1465         <strong>Parameters:</strong>\r
1466         <ul><li><code>value</code> : Date<div class="sub-desc">The date to set</div></li>        </ul>\r
1467         <strong>Returns:</strong>\r
1468         <ul>\r
1469             <li><code>void</code></li>\r
1470         </ul>\r
1471     </div>\r
1472                 </div>\r
1473                         </div>\r
1474         </td>\r
1475         <td class="msource">DatePicker</td>\r
1476     </tr>\r
1477         <tr class="method-row inherited expandable">\r
1478         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1479         <td class="sig">\r
1480         <a id="Ext.DatePicker-setVisible"></a>\r
1481             <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component            <div class="mdesc">\r
1482                         <div class="short">Convenience function to hide or show this component by boolean.</div>\r
1483             <div class="long">\r
1484                 Convenience function to hide or show this component by boolean.    <div class="mdetail-params">\r
1485         <strong>Parameters:</strong>\r
1486         <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li>        </ul>\r
1487         <strong>Returns:</strong>\r
1488         <ul>\r
1489             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1490         </ul>\r
1491     </div>\r
1492                 </div>\r
1493                         </div>\r
1494         </td>\r
1495         <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>\r
1496     </tr>\r
1497         <tr class="method-row inherited alt expandable">\r
1498         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1499         <td class="sig">\r
1500         <a id="Ext.DatePicker-show"></a>\r
1501             <b>show</b>() : Ext.Component            <div class="mdesc">\r
1502                         <div class="short">Show this component.</div>\r
1503             <div class="long">\r
1504                 Show this component.    <div class="mdetail-params">\r
1505         <strong>Parameters:</strong>\r
1506         <ul><li>None.</li>        </ul>\r
1507         <strong>Returns:</strong>\r
1508         <ul>\r
1509             <li><code>Ext.Component</code><div class="sub-desc">this</div></li>\r
1510         </ul>\r
1511     </div>\r
1512                 </div>\r
1513                         </div>\r
1514         </td>\r
1515         <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>\r
1516     </tr>\r
1517         <tr class="method-row inherited expandable">\r
1518         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1519         <td class="sig">\r
1520         <a id="Ext.DatePicker-suspendEvents"></a>\r
1521             <b>suspendEvents</b>() : void            <div class="mdesc">\r
1522                         <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>\r
1523             <div class="long">\r
1524                 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">\r
1525         <strong>Parameters:</strong>\r
1526         <ul><li>None.</li>        </ul>\r
1527         <strong>Returns:</strong>\r
1528         <ul>\r
1529             <li><code>void</code></li>\r
1530         </ul>\r
1531     </div>\r
1532                 </div>\r
1533                         </div>\r
1534         </td>\r
1535         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>\r
1536     </tr>\r
1537         <tr class="method-row inherited alt expandable">\r
1538         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1539         <td class="sig">\r
1540         <a id="Ext.DatePicker-un"></a>\r
1541             <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">\r
1542                         <div class="short">Removes a listener (shorthand for removeListener)</div>\r
1543             <div class="long">\r
1544                 Removes a listener (shorthand for removeListener)    <div class="mdetail-params">\r
1545         <strong>Parameters:</strong>\r
1546         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
1547         <strong>Returns:</strong>\r
1548         <ul>\r
1549             <li><code>void</code></li>\r
1550         </ul>\r
1551     </div>\r
1552                 </div>\r
1553                         </div>\r
1554         </td>\r
1555         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>\r
1556     </tr>\r
1557             </table>
1558                 <a id="Ext.DatePicker-events"></a>
1559         <h2>Public Events</h2>
1560                 <table cellspacing="0" class="member-table">
1561             <tr>
1562                 <th class="sig-header" colspan="2">Event</th>
1563                 <th class="msource-header">Defined By</th>
1564             </tr>
1565                 <tr class="event-row inherited expandable">\r
1566         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1567         <td class="sig">\r
1568         <a id="Ext.DatePicker-beforedestroy"></a>\r
1569             <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1570                         <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>\r
1571             <div class="long">\r
1572                 Fires before the component is destroyed. Return false to stop the destroy.    <div class="mdetail-params">\r
1573         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1574         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1575     </div>\r
1576                 </div>\r
1577                         </div>\r
1578         </td>\r
1579         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>\r
1580     </tr>\r
1581         <tr class="event-row inherited alt expandable">\r
1582         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1583         <td class="sig">\r
1584         <a id="Ext.DatePicker-beforehide"></a>\r
1585             <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1586                         <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>\r
1587             <div class="long">\r
1588                 Fires before the component is hidden. Return false to stop the hide.    <div class="mdetail-params">\r
1589         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1590         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1591     </div>\r
1592                 </div>\r
1593                         </div>\r
1594         </td>\r
1595         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>\r
1596     </tr>\r
1597         <tr class="event-row inherited expandable">\r
1598         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1599         <td class="sig">\r
1600         <a id="Ext.DatePicker-beforerender"></a>\r
1601             <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1602                         <div class="short">Fires before the component is rendered. Return false to stop the render.</div>\r
1603             <div class="long">\r
1604                 Fires before the component is rendered. Return false to stop the render.    <div class="mdetail-params">\r
1605         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1606         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1607     </div>\r
1608                 </div>\r
1609                         </div>\r
1610         </td>\r
1611         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>\r
1612     </tr>\r
1613         <tr class="event-row inherited alt expandable">\r
1614         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1615         <td class="sig">\r
1616         <a id="Ext.DatePicker-beforeshow"></a>\r
1617             <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1618                         <div class="short">Fires before the component is shown. Return false to stop the show.</div>\r
1619             <div class="long">\r
1620                 Fires before the component is shown. Return false to stop the show.    <div class="mdetail-params">\r
1621         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1622         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1623     </div>\r
1624                 </div>\r
1625                         </div>\r
1626         </td>\r
1627         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>\r
1628     </tr>\r
1629         <tr class="event-row inherited expandable">\r
1630         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1631         <td class="sig">\r
1632         <a id="Ext.DatePicker-beforestaterestore"></a>\r
1633             <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1634                         <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>\r
1635             <div class="long">\r
1636                 Fires before the state of the component is restored. Return false to stop the restore.    <div class="mdetail-params">\r
1637         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1638         <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>\r
1639     </div>\r
1640                 </div>\r
1641                         </div>\r
1642         </td>\r
1643         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>\r
1644     </tr>\r
1645         <tr class="event-row inherited alt expandable">\r
1646         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1647         <td class="sig">\r
1648         <a id="Ext.DatePicker-beforestatesave"></a>\r
1649             <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1650                         <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>\r
1651             <div class="long">\r
1652                 Fires before the state of the component is saved to the configured state provider. Return false to stop the save.    <div class="mdetail-params">\r
1653         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1654         <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>\r
1655     </div>\r
1656                 </div>\r
1657                         </div>\r
1658         </td>\r
1659         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>\r
1660     </tr>\r
1661         <tr class="event-row inherited expandable">\r
1662         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1663         <td class="sig">\r
1664         <a id="Ext.DatePicker-destroy"></a>\r
1665             <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1666                         <div class="short">Fires after the component is destroyed.</div>\r
1667             <div class="long">\r
1668                 Fires after the component is destroyed.    <div class="mdetail-params">\r
1669         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1670         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1671     </div>\r
1672                 </div>\r
1673                         </div>\r
1674         </td>\r
1675         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>\r
1676     </tr>\r
1677         <tr class="event-row inherited alt expandable">\r
1678         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1679         <td class="sig">\r
1680         <a id="Ext.DatePicker-disable"></a>\r
1681             <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1682                         <div class="short">Fires after the component is disabled.</div>\r
1683             <div class="long">\r
1684                 Fires after the component is disabled.    <div class="mdetail-params">\r
1685         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1686         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1687     </div>\r
1688                 </div>\r
1689                         </div>\r
1690         </td>\r
1691         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>\r
1692     </tr>\r
1693         <tr class="event-row inherited expandable">\r
1694         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1695         <td class="sig">\r
1696         <a id="Ext.DatePicker-enable"></a>\r
1697             <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1698                         <div class="short">Fires after the component is enabled.</div>\r
1699             <div class="long">\r
1700                 Fires after the component is enabled.    <div class="mdetail-params">\r
1701         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1702         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1703     </div>\r
1704                 </div>\r
1705                         </div>\r
1706         </td>\r
1707         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>\r
1708     </tr>\r
1709         <tr class="event-row inherited alt expandable">\r
1710         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1711         <td class="sig">\r
1712         <a id="Ext.DatePicker-hide"></a>\r
1713             <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1714                         <div class="short">Fires after the component is hidden.</div>\r
1715             <div class="long">\r
1716                 Fires after the component is hidden.    <div class="mdetail-params">\r
1717         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1718         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1719     </div>\r
1720                 </div>\r
1721                         </div>\r
1722         </td>\r
1723         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>\r
1724     </tr>\r
1725         <tr class="event-row inherited expandable">\r
1726         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1727         <td class="sig">\r
1728         <a id="Ext.DatePicker-render"></a>\r
1729             <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1730                         <div class="short">Fires after the component is rendered.</div>\r
1731             <div class="long">\r
1732                 Fires after the component is rendered.    <div class="mdetail-params">\r
1733         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1734         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1735     </div>\r
1736                 </div>\r
1737                         </div>\r
1738         </td>\r
1739         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>\r
1740     </tr>\r
1741         <tr class="event-row alt expandable">\r
1742         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1743         <td class="sig">\r
1744         <a id="Ext.DatePicker-select"></a>\r
1745             <b>select</b> : (&nbsp;<code>DatePicker this</code>, <code>Date date</code>&nbsp;)            <div class="mdesc">\r
1746                         <div class="short">Fires when a date is selected</div>\r
1747             <div class="long">\r
1748                 Fires when a date is selected    <div class="mdetail-params">\r
1749         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1750         <ul><li><code>this</code> : DatePicker<div class="sub-desc"></div></li><li><code>date</code> : Date<div class="sub-desc">The selected date</div></li>        </ul>\r
1751     </div>\r
1752                 </div>\r
1753                         </div>\r
1754         </td>\r
1755         <td class="msource">DatePicker</td>\r
1756     </tr>\r
1757         <tr class="event-row inherited expandable">\r
1758         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1759         <td class="sig">\r
1760         <a id="Ext.DatePicker-show"></a>\r
1761             <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;)            <div class="mdesc">\r
1762                         <div class="short">Fires after the component is shown.</div>\r
1763             <div class="long">\r
1764                 Fires after the component is shown.    <div class="mdetail-params">\r
1765         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1766         <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li>        </ul>\r
1767     </div>\r
1768                 </div>\r
1769                         </div>\r
1770         </td>\r
1771         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>\r
1772     </tr>\r
1773         <tr class="event-row inherited alt expandable">\r
1774         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1775         <td class="sig">\r
1776         <a id="Ext.DatePicker-staterestore"></a>\r
1777             <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1778                         <div class="short">Fires after the state of the component is restored.</div>\r
1779             <div class="long">\r
1780                 Fires after the state of the component is restored.    <div class="mdetail-params">\r
1781         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1782         <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>\r
1783     </div>\r
1784                 </div>\r
1785                         </div>\r
1786         </td>\r
1787         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>\r
1788     </tr>\r
1789         <tr class="event-row inherited expandable">\r
1790         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
1791         <td class="sig">\r
1792         <a id="Ext.DatePicker-statesave"></a>\r
1793             <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;)            <div class="mdesc">\r
1794                         <div class="short">Fires after the state of the component is saved to the configured state provider.</div>\r
1795             <div class="long">\r
1796                 Fires after the state of the component is saved to the configured state provider.    <div class="mdetail-params">\r
1797         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
1798         <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>\r
1799     </div>\r
1800                 </div>\r
1801                         </div>\r
1802         </td>\r
1803         <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>\r
1804     </tr>\r
1805             </table>
1806         
1807         </div>