2 "name" : "Roo.DatePicker",
7 "desc" : "Simple date picker class.",
11 "memberOf" : "DatePicker",
20 "desc" : "The config object",
30 "desc" : "Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)",
31 "memberOf" : "Roo.DatePicker",
36 "name" : "monthYearText",
38 "desc" : "The header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)')",
39 "memberOf" : "Roo.DatePicker",
44 "name" : "monthNames",
46 "desc" : "An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)",
47 "memberOf" : "Roo.DatePicker",
54 "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>",
55 "memberOf" : "Roo.util.Observable",
62 "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').",
63 "memberOf" : "Roo.DatePicker",
70 "desc" : "The next month navigation button tooltip (defaults to 'Next Month (Control+Right)')",
71 "memberOf" : "Roo.DatePicker",
78 "desc" : "The error text to display if the maxDate validation fails (defaults to \"This date is after the maximum date\")",
79 "memberOf" : "Roo.DatePicker",
84 "name" : "constrainToViewport",
86 "desc" : "True to constrain the date picker to the viewport (defaults to true)",
87 "memberOf" : "Roo.DatePicker",
94 "desc" : "The error text to display if the minDate validation fails (defaults to \"This date is before the minimum date\")",
95 "memberOf" : "Roo.DatePicker",
100 "name" : "disabledDatesText",
102 "desc" : "The tooltip text to display when the date falls on a disabled date (defaults to \"\")",
103 "memberOf" : "Roo.DatePicker",
110 "desc" : "The tooltip to display for the button that selects the current date (defaults to \"{current date} (Spacebar)\")",
111 "memberOf" : "Roo.DatePicker",
118 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
119 "memberOf" : "Roo.Component",
126 "name" : "todayText",
128 "desc" : "The text to display on the button that selects the current date (defaults to \"Today\")",
129 "memberOf" : "Roo.DatePicker",
134 "name" : "cancelText",
136 "desc" : "The text to display on the cancel button",
137 "memberOf" : "Roo.DatePicker",
142 "name" : "allowDomMove",
144 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
145 "memberOf" : "Roo.Component",
150 "name" : "showClear",
152 "desc" : "Show a clear button (usefull for date form elements that can be blank.)",
153 "memberOf" : "Roo.DatePicker",
160 "desc" : "The previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)')",
161 "memberOf" : "Roo.DatePicker",
168 "desc" : "An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)",
169 "memberOf" : "Roo.DatePicker",
174 "name" : "actionMode",
176 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
177 "memberOf" : "Roo.Component",
182 "name" : "disabledDaysText",
184 "desc" : "The tooltip to display when the date falls on a disabled day (defaults to \"\")",
185 "memberOf" : "Roo.DatePicker",
190 "name" : "disabledDatesRE",
192 "desc" : "JavaScript regular expression used to disable a pattern of dates (defaults to null)",
193 "memberOf" : "Roo.DatePicker",
200 "desc" : "Minimum allowable date (JavaScript date object, defaults to null)",
201 "memberOf" : "Roo.DatePicker",
206 "name" : "disabledDays",
208 "desc" : "An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).",
209 "memberOf" : "Roo.DatePicker",
216 "desc" : "The text to display on the ok button",
217 "memberOf" : "Roo.DatePicker",
224 "desc" : "Maximum allowable date (JavaScript date object, defaults to null)",
225 "memberOf" : "Roo.DatePicker",
230 "name" : "disableClass",
232 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
233 "memberOf" : "Roo.Component",
241 "desc" : "Gets the current selected value of the date field",
243 "isConstructor" : false,
245 "memberOf" : "Roo.DatePicker",
256 "desc" : "The selected date"
262 "desc" : "Sets the value of the date field",
264 "isConstructor" : false,
266 "memberOf" : "Roo.DatePicker",
275 "desc" : "The date to set",
284 "desc" : "Returns the id of this component.",
286 "isConstructor" : false,
288 "memberOf" : "Roo.Component",
305 "desc" : "If this is a lazy rendering component, render it to its container element.",
307 "isConstructor" : false,
309 "memberOf" : "Roo.Component",
316 "name" : "container",
317 "type" : "String/HTMLElement/Element",
318 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
327 "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}.",
329 "isConstructor" : false,
331 "memberOf" : "Roo.Component",
342 "name" : "isVisible",
343 "desc" : "Returns true if this component is visible.",
345 "isConstructor" : false,
347 "memberOf" : "Roo.Component",
358 "name" : "setDisabled",
359 "desc" : "Convenience function for setting disabled/enabled by boolean.",
361 "isConstructor" : false,
363 "memberOf" : "Roo.Component",
381 "desc" : "Hide this component.",
383 "isConstructor" : false,
385 "memberOf" : "Roo.Component",
395 "type" : "Roo.Component",
402 "desc" : "Try to focus this component.",
404 "isConstructor" : false,
406 "memberOf" : "Roo.Component",
413 "name" : "selectText",
415 "desc" : "True to also select the text in this component (if applicable)",
422 "type" : "Roo.Component",
429 "desc" : "Show this component.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
443 "type" : "Roo.Component",
450 "desc" : "Enable this component.",
452 "isConstructor" : false,
454 "memberOf" : "Roo.Component",
464 "type" : "Roo.Component",
470 "name" : "setVisible",
471 "desc" : "Convenience function to hide or show this component by boolean.",
473 "isConstructor" : false,
475 "memberOf" : "Roo.Component",
484 "desc" : "True to show, false to hide",
491 "type" : "Roo.Component",
498 "desc" : "Disable this component.",
500 "isConstructor" : false,
502 "memberOf" : "Roo.Component",
512 "type" : "Roo.Component",
519 "desc" : "Returns the underlying {@link Roo.Element}.",
521 "isConstructor" : false,
523 "memberOf" : "Roo.Component",
533 "type" : "Roo.Element",
534 "desc" : "The element"
539 "name" : "purgeListeners",
540 "desc" : "Removes all listeners for this object",
542 "isConstructor" : false,
544 "memberOf" : "Roo.util.Observable",
556 "desc" : "Appends an event handler to this element (shorthand for addListener)",
558 "isConstructor" : false,
560 "memberOf" : "Roo.util.Observable",
567 "name" : "eventName",
569 "desc" : "The type of event to listen for",
575 "desc" : "The method the event invokes",
581 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
587 "desc" : "(optional)",
596 "desc" : "Removes a listener (shorthand for removeListener)",
598 "isConstructor" : false,
600 "memberOf" : "Roo.util.Observable",
607 "name" : "eventName",
609 "desc" : "The type of event to listen for",
615 "desc" : "The handler to remove",
621 "desc" : "(optional) The scope (this object) for the handler",
629 "name" : "addEvents",
630 "desc" : "Used to define events on this Observable",
632 "isConstructor" : false,
634 "memberOf" : "Roo.util.Observable",
643 "desc" : "The object with the events defined",
651 "name" : "releaseCapture",
652 "desc" : "Removes <b>all</b> added captures from the Observable.",
654 "isConstructor" : false,
656 "memberOf" : "Roo.util.Observable",
664 "type" : "Observable",
665 "desc" : "The Observable to release",
673 "name" : "removeListener",
674 "desc" : "Removes a listener",
676 "isConstructor" : false,
678 "memberOf" : "Roo.util.Observable",
685 "name" : "eventName",
687 "desc" : "The type of event to listen for",
693 "desc" : "The handler to remove",
699 "desc" : "(optional) The scope (this object) for the handler",
707 "name" : "fireEvent",
708 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
710 "isConstructor" : false,
712 "memberOf" : "Roo.util.Observable",
719 "name" : "eventName",
726 "type" : "Object...",
727 "desc" : "Variable number of parameters are passed to handlers",
735 "desc" : "returns false if any of the handlers return false otherwise it returns true"
740 "name" : "hasListener",
741 "desc" : "Checks to see if this object has any listeners for a specified event",
743 "isConstructor" : false,
745 "memberOf" : "Roo.util.Observable",
752 "name" : "eventName",
754 "desc" : "The name of the event to check for",
762 "desc" : "True if the event is being listened for, else false"
768 "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.",
770 "isConstructor" : false,
772 "memberOf" : "Roo.util.Observable",
780 "type" : "Observable",
781 "desc" : "The Observable to capture",
787 "desc" : "The function to call",
793 "desc" : "(optional) The scope (this object) for the fn",
801 "name" : "addListener",
802 "desc" : "Appends an event handler to this component",
804 "isConstructor" : false,
806 "memberOf" : "Roo.util.Observable",
813 "name" : "eventName",
815 "desc" : "The type of event to listen for",
821 "desc" : "The method the event invokes",
827 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
833 "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>",
844 "desc" : "Fires when a date is selected",
845 "memberOf" : "Roo.DatePicker",
853 "type" : "DatePicker",
860 "desc" : "The selected date",
868 "name" : "monthchange",
869 "desc" : "Fires when the displayed month changes",
870 "memberOf" : "Roo.DatePicker",
878 "type" : "DatePicker",
885 "desc" : "The selected month",
893 "name" : "beforerender",
894 "desc" : "Fires before the component is rendered. Return false to stop the render.",
895 "memberOf" : "Roo.Component",
903 "type" : "Roo.Component",
913 "desc" : "Fires after the component is disabled.",
914 "memberOf" : "Roo.Component",
922 "type" : "Roo.Component",
932 "desc" : "Fires after the component is rendered.",
933 "memberOf" : "Roo.Component",
941 "type" : "Roo.Component",
951 "desc" : "Fires after the component is destroyed.",
952 "memberOf" : "Roo.Component",
960 "type" : "Roo.Component",
970 "desc" : "Fires after the component is hidden.",
971 "memberOf" : "Roo.Component",
979 "type" : "Roo.Component",
988 "name" : "beforehide",
989 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
990 "memberOf" : "Roo.Component",
998 "type" : "Roo.Component",
1000 "isOptional" : false
1008 "desc" : "Fires after the component is shown.",
1009 "memberOf" : "Roo.Component",
1017 "type" : "Roo.Component",
1019 "isOptional" : false
1026 "name" : "beforeshow",
1027 "desc" : "Fires before the component is shown. Return false to stop the show.",
1028 "memberOf" : "Roo.Component",
1036 "type" : "Roo.Component",
1038 "isOptional" : false
1046 "desc" : "Fires after the component is enabled.",
1047 "memberOf" : "Roo.Component",
1055 "type" : "Roo.Component",
1057 "isOptional" : false
1064 "name" : "beforedestroy",
1065 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1066 "memberOf" : "Roo.Component",
1074 "type" : "Roo.Component",
1076 "isOptional" : false