2 "name" : "Roo.DatePicker",
7 "desc" : "Simple date picker class.",
11 "memberOf" : "DatePicker",
20 "desc" : "The config object",
29 "desc" : "Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)",
30 "memberOf" : "Roo.DatePicker",
34 "name" : "monthYearText",
36 "desc" : "The header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)')",
37 "memberOf" : "Roo.DatePicker",
41 "name" : "monthNames",
43 "desc" : "An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)",
44 "memberOf" : "Roo.DatePicker",
50 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
51 "memberOf" : "Roo.util.Observable",
57 "desc" : "The default date format string which can be overriden for localization support. The format must be\nvalid according to {@link Date#parseDate} (defaults to 'm/d/y').",
58 "memberOf" : "Roo.DatePicker",
64 "desc" : "The next month navigation button tooltip (defaults to 'Next Month (Control+Right)')",
65 "memberOf" : "Roo.DatePicker",
71 "desc" : "The error text to display if the maxDate validation fails (defaults to \"This date is after the maximum date\")",
72 "memberOf" : "Roo.DatePicker",
76 "name" : "constrainToViewport",
78 "desc" : "True to constrain the date picker to the viewport (defaults to true)",
79 "memberOf" : "Roo.DatePicker",
85 "desc" : "The error text to display if the minDate validation fails (defaults to \"This date is before the minimum date\")",
86 "memberOf" : "Roo.DatePicker",
90 "name" : "disabledDatesText",
92 "desc" : "The tooltip text to display when the date falls on a disabled date (defaults to \"\")",
93 "memberOf" : "Roo.DatePicker",
99 "desc" : "The tooltip to display for the button that selects the current date (defaults to \"{current date} (Spacebar)\")",
100 "memberOf" : "Roo.DatePicker",
106 "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
107 "memberOf" : "Roo.Component",
114 "name" : "todayText",
116 "desc" : "The text to display on the button that selects the current date (defaults to \"Today\")",
117 "memberOf" : "Roo.DatePicker",
121 "name" : "cancelText",
123 "desc" : "The text to display on the cancel button",
124 "memberOf" : "Roo.DatePicker",
128 "name" : "allowDomMove",
130 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
131 "memberOf" : "Roo.Component",
135 "name" : "showClear",
137 "desc" : "Show a clear button (usefull for date form elements that can be blank.)",
138 "memberOf" : "Roo.DatePicker",
144 "desc" : "The previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)')",
145 "memberOf" : "Roo.DatePicker",
151 "desc" : "An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)",
152 "memberOf" : "Roo.DatePicker",
156 "name" : "actionMode",
158 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
159 "memberOf" : "Roo.Component",
163 "name" : "disabledDaysText",
165 "desc" : "The tooltip to display when the date falls on a disabled day (defaults to \"\")",
166 "memberOf" : "Roo.DatePicker",
170 "name" : "disabledDatesRE",
172 "desc" : "JavaScript regular expression used to disable a pattern of dates (defaults to null)",
173 "memberOf" : "Roo.DatePicker",
179 "desc" : "Minimum allowable date (JavaScript date object, defaults to null)",
180 "memberOf" : "Roo.DatePicker",
184 "name" : "disabledDays",
186 "desc" : "An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).",
187 "memberOf" : "Roo.DatePicker",
193 "desc" : "The text to display on the ok button",
194 "memberOf" : "Roo.DatePicker",
200 "desc" : "Maximum allowable date (JavaScript date object, defaults to null)",
201 "memberOf" : "Roo.DatePicker",
205 "name" : "disableClass",
207 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
208 "memberOf" : "Roo.Component",
215 "desc" : "Gets the current selected value of the date field",
217 "isConstructor" : false,
219 "memberOf" : "Roo.DatePicker",
229 "desc" : "The selected date"
235 "desc" : "Sets the value of the date field",
237 "isConstructor" : false,
239 "memberOf" : "Roo.DatePicker",
248 "desc" : "The date to set",
256 "desc" : "Returns the id of this component.",
258 "isConstructor" : false,
260 "memberOf" : "Roo.Component",
276 "desc" : "If this is a lazy rendering component, render it to its container element.",
278 "isConstructor" : false,
280 "memberOf" : "Roo.Component",
287 "name" : "container",
288 "type" : "String/HTMLElement/Element",
289 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
297 "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
299 "isConstructor" : false,
301 "memberOf" : "Roo.Component",
310 "name" : "isVisible",
311 "desc" : "Returns true if this component is visible.",
313 "isConstructor" : false,
315 "memberOf" : "Roo.Component",
324 "name" : "setDisabled",
325 "desc" : "Convenience function for setting disabled/enabled by boolean.",
327 "isConstructor" : false,
329 "memberOf" : "Roo.Component",
346 "desc" : "Hide this component.",
348 "isConstructor" : false,
350 "memberOf" : "Roo.Component",
359 "type" : "Roo.Component",
366 "desc" : "Try to focus this component.",
368 "isConstructor" : false,
370 "memberOf" : "Roo.Component",
377 "name" : "selectText",
379 "desc" : "True to also select the text in this component (if applicable)",
386 "type" : "Roo.Component",
393 "desc" : "Show this component.",
395 "isConstructor" : false,
397 "memberOf" : "Roo.Component",
406 "type" : "Roo.Component",
413 "desc" : "Enable this component.",
415 "isConstructor" : false,
417 "memberOf" : "Roo.Component",
426 "type" : "Roo.Component",
432 "name" : "setVisible",
433 "desc" : "Convenience function to hide or show this component by boolean.",
435 "isConstructor" : false,
437 "memberOf" : "Roo.Component",
446 "desc" : "True to show, false to hide",
453 "type" : "Roo.Component",
460 "desc" : "Disable this component.",
462 "isConstructor" : false,
464 "memberOf" : "Roo.Component",
473 "type" : "Roo.Component",
480 "desc" : "Returns the underlying {@link Roo.Element}.",
482 "isConstructor" : false,
484 "memberOf" : "Roo.Component",
493 "type" : "Roo.Element",
494 "desc" : "The element"
499 "name" : "purgeListeners",
500 "desc" : "Removes all listeners for this object",
502 "isConstructor" : false,
504 "memberOf" : "Roo.util.Observable",
514 "desc" : "Appends an event handler to this element (shorthand for addListener)",
516 "isConstructor" : false,
518 "memberOf" : "Roo.util.Observable",
525 "name" : "eventName",
527 "desc" : "The type of event to listen for",
533 "desc" : "The method the event invokes",
539 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
545 "desc" : "(optional)",
553 "desc" : "Removes a listener (shorthand for removeListener)",
555 "isConstructor" : false,
557 "memberOf" : "Roo.util.Observable",
564 "name" : "eventName",
566 "desc" : "The type of event to listen for",
572 "desc" : "The handler to remove",
578 "desc" : "(optional) The scope (this object) for the handler",
585 "name" : "addEvents",
586 "desc" : "Used to define events on this Observable",
588 "isConstructor" : false,
590 "memberOf" : "Roo.util.Observable",
599 "desc" : "The object with the events defined",
606 "name" : "releaseCapture",
607 "desc" : "Removes <b>all</b> added captures from the Observable.",
609 "isConstructor" : false,
611 "memberOf" : "Roo.util.Observable",
619 "type" : "Observable",
620 "desc" : "The Observable to release",
627 "name" : "removeListener",
628 "desc" : "Removes a listener",
630 "isConstructor" : false,
632 "memberOf" : "Roo.util.Observable",
639 "name" : "eventName",
641 "desc" : "The type of event to listen for",
647 "desc" : "The handler to remove",
653 "desc" : "(optional) The scope (this object) for the handler",
660 "name" : "fireEvent",
661 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
663 "isConstructor" : false,
665 "memberOf" : "Roo.util.Observable",
672 "name" : "eventName",
679 "type" : "Object...",
680 "desc" : "Variable number of parameters are passed to handlers",
688 "desc" : "returns false if any of the handlers return false otherwise it returns true"
693 "name" : "hasListener",
694 "desc" : "Checks to see if this object has any listeners for a specified event",
696 "isConstructor" : false,
698 "memberOf" : "Roo.util.Observable",
705 "name" : "eventName",
707 "desc" : "The name of the event to check for",
715 "desc" : "True if the event is being listened for, else false"
721 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
723 "isConstructor" : false,
725 "memberOf" : "Roo.util.Observable",
733 "type" : "Observable",
734 "desc" : "The Observable to capture",
740 "desc" : "The function to call",
746 "desc" : "(optional) The scope (this object) for the fn",
753 "name" : "addListener",
754 "desc" : "Appends an event handler to this component",
756 "isConstructor" : false,
758 "memberOf" : "Roo.util.Observable",
765 "name" : "eventName",
767 "desc" : "The type of event to listen for",
773 "desc" : "The method the event invokes",
779 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
785 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",
795 "desc" : "Fires when a date is selected",
796 "memberOf" : "Roo.DatePicker",
804 "type" : "DatePicker",
811 "desc" : "The selected date",
818 "name" : "monthchange",
819 "desc" : "Fires when the displayed month changes",
820 "memberOf" : "Roo.DatePicker",
828 "type" : "DatePicker",
835 "desc" : "The selected month",
842 "name" : "beforerender",
843 "desc" : "Fires before the component is rendered. Return false to stop the render.",
844 "memberOf" : "Roo.Component",
852 "type" : "Roo.Component",
861 "desc" : "Fires after the component is disabled.",
862 "memberOf" : "Roo.Component",
870 "type" : "Roo.Component",
879 "desc" : "Fires after the component is rendered.",
880 "memberOf" : "Roo.Component",
888 "type" : "Roo.Component",
897 "desc" : "Fires after the component is destroyed.",
898 "memberOf" : "Roo.Component",
906 "type" : "Roo.Component",
915 "desc" : "Fires after the component is hidden.",
916 "memberOf" : "Roo.Component",
924 "type" : "Roo.Component",
932 "name" : "beforehide",
933 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
934 "memberOf" : "Roo.Component",
942 "type" : "Roo.Component",
951 "desc" : "Fires after the component is shown.",
952 "memberOf" : "Roo.Component",
960 "type" : "Roo.Component",
968 "name" : "beforeshow",
969 "desc" : "Fires before the component is shown. Return false to stop the show.",
970 "memberOf" : "Roo.Component",
978 "type" : "Roo.Component",
987 "desc" : "Fires after the component is enabled.",
988 "memberOf" : "Roo.Component",
996 "type" : "Roo.Component",
1004 "name" : "beforedestroy",
1005 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1006 "memberOf" : "Roo.Component",
1014 "type" : "Roo.Component",
1016 "isOptional" : false