2 "name" : "Roo.DatePicker",
8 "desc" : "Simple date picker class.",
12 "memberOf" : "DatePicker",
21 "desc" : "The config object",
32 "desc" : "Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)",
36 "name" : "monthYearText",
38 "desc" : "The header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)')",
42 "name" : "monthNames",
44 "desc" : "An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)",
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"
56 "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').",
62 "desc" : "The next month navigation button tooltip (defaults to 'Next Month (Control+Right)')",
68 "desc" : "The error text to display if the maxDate validation fails (defaults to \"This date is after the maximum date\")",
72 "name" : "constrainToViewport",
74 "desc" : "True to constrain the date picker to the viewport (defaults to true)",
80 "desc" : "The error text to display if the minDate validation fails (defaults to \"This date is before the minimum date\")",
84 "name" : "disabledDatesText",
86 "desc" : "The tooltip text to display when the date falls on a disabled date (defaults to \"\")",
92 "desc" : "The tooltip to display for the button that selects the current date (defaults to \"{current date} (Spacebar)\")",
98 "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\".",
99 "memberOf" : "Roo.Component"
102 "name" : "todayText",
104 "desc" : "The text to display on the button that selects the current date (defaults to \"Today\")",
108 "name" : "cancelText",
110 "desc" : "The text to display on the cancel button",
114 "name" : "allowDomMove",
116 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
117 "memberOf" : "Roo.Component"
120 "name" : "showClear",
122 "desc" : "Show a clear button (usefull for date form elements that can be blank.)",
128 "desc" : "The previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)')",
134 "desc" : "An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)",
138 "name" : "actionMode",
140 "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",
141 "memberOf" : "Roo.Component"
144 "name" : "disabledDaysText",
146 "desc" : "The tooltip to display when the date falls on a disabled day (defaults to \"\")",
150 "name" : "disabledDatesRE",
152 "desc" : "JavaScript regular expression used to disable a pattern of dates (defaults to null)",
158 "desc" : "Minimum allowable date (JavaScript date object, defaults to null)",
162 "name" : "disabledDays",
164 "desc" : "An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).",
170 "desc" : "The text to display on the ok button",
176 "desc" : "Maximum allowable date (JavaScript date object, defaults to null)",
180 "name" : "disableClass",
182 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
183 "memberOf" : "Roo.Component"
190 "desc" : "Gets the current selected value of the date field",
191 "sig" : "()\n{\n\n}",
195 "isConstructor" : false,
208 "desc" : "The selected date"
215 "desc" : "Sets the value of the date field",
220 "isConstructor" : false,
232 "desc" : "The date to set",
241 "desc" : "Returns the id of this component.",
242 "sig" : "()\n{\n\n}",
244 "memberOf" : "Roo.Component",
246 "isConstructor" : false,
266 "desc" : "If this is a lazy rendering component, render it to its container element.",
267 "sig" : "(container)",
269 "memberOf" : "Roo.Component",
271 "isConstructor" : false,
281 "name" : "container",
282 "type" : "String/HTMLElement/Element",
283 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
292 "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}.",
293 "sig" : "()\n{\n\n}",
295 "memberOf" : "Roo.Component",
297 "isConstructor" : false,
309 "name" : "isVisible",
311 "desc" : "Returns true if this component is visible.",
312 "sig" : "()\n{\n\n}",
314 "memberOf" : "Roo.Component",
316 "isConstructor" : false,
328 "name" : "setDisabled",
330 "desc" : "Convenience function for setting disabled/enabled by boolean.",
331 "sig" : "(disabled)",
333 "memberOf" : "Roo.Component",
335 "isConstructor" : false,
356 "desc" : "Hide this component.",
357 "sig" : "()\n{\n\n}",
359 "memberOf" : "Roo.Component",
361 "isConstructor" : false,
373 "type" : "Roo.Component",
381 "desc" : "Try to focus this component.",
382 "sig" : "(selectText)",
384 "memberOf" : "Roo.Component",
386 "isConstructor" : false,
396 "name" : "selectText",
398 "desc" : "True to also select the text in this component (if applicable)",
405 "type" : "Roo.Component",
413 "desc" : "Show this component.",
414 "sig" : "()\n{\n\n}",
416 "memberOf" : "Roo.Component",
418 "isConstructor" : false,
430 "type" : "Roo.Component",
438 "desc" : "Enable this component.",
439 "sig" : "()\n{\n\n}",
441 "memberOf" : "Roo.Component",
443 "isConstructor" : false,
455 "type" : "Roo.Component",
461 "name" : "setVisible",
463 "desc" : "Convenience function to hide or show this component by boolean.",
466 "memberOf" : "Roo.Component",
468 "isConstructor" : false,
480 "desc" : "True to show, false to hide",
487 "type" : "Roo.Component",
495 "desc" : "Disable this component.",
496 "sig" : "()\n{\n\n}",
498 "memberOf" : "Roo.Component",
500 "isConstructor" : false,
512 "type" : "Roo.Component",
520 "desc" : "Returns the underlying {@link Roo.Element}.",
521 "sig" : "()\n{\n\n}",
523 "memberOf" : "Roo.Component",
525 "isConstructor" : false,
537 "type" : "Roo.Element",
538 "desc" : "The element"
543 "name" : "purgeListeners",
545 "desc" : "Removes all listeners for this object",
546 "sig" : "()\n{\n\n}",
548 "memberOf" : "Roo.util.Observable",
550 "isConstructor" : false,
564 "desc" : "Appends an event handler to this element (shorthand for addListener)",
565 "sig" : "(eventName, handler, scope, options)",
567 "memberOf" : "Roo.util.Observable",
569 "isConstructor" : false,
579 "name" : "eventName",
581 "desc" : "The type of event to listen for",
587 "desc" : "The method the event invokes",
593 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
599 "desc" : "(optional)",
608 "desc" : "Removes a listener (shorthand for removeListener)",
609 "sig" : "(eventName, handler, scope)",
611 "memberOf" : "Roo.util.Observable",
613 "isConstructor" : false,
623 "name" : "eventName",
625 "desc" : "The type of event to listen for",
631 "desc" : "The handler to remove",
637 "desc" : "(optional) The scope (this object) for the handler",
644 "name" : "addEvents",
646 "desc" : "Used to define events on this Observable",
649 "memberOf" : "Roo.util.Observable",
651 "isConstructor" : false,
663 "desc" : "The object with the events defined",
670 "name" : "releaseCapture",
672 "desc" : "Removes <b>all</b> added captures from the Observable.",
675 "memberOf" : "Roo.util.Observable",
677 "isConstructor" : false,
688 "type" : "Observable",
689 "desc" : "The Observable to release",
696 "name" : "removeListener",
698 "desc" : "Removes a listener",
699 "sig" : "(eventName, handler, scope)",
701 "memberOf" : "Roo.util.Observable",
703 "isConstructor" : false,
713 "name" : "eventName",
715 "desc" : "The type of event to listen for",
721 "desc" : "The handler to remove",
727 "desc" : "(optional) The scope (this object) for the handler",
734 "name" : "fireEvent",
736 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
737 "sig" : "(eventName, args)",
739 "memberOf" : "Roo.util.Observable",
741 "isConstructor" : false,
751 "name" : "eventName",
758 "type" : "Object...",
759 "desc" : "Variable number of parameters are passed to handlers",
767 "desc" : "returns false if any of the handlers return false otherwise it returns true"
772 "name" : "hasListener",
774 "desc" : "Checks to see if this object has any listeners for a specified event",
775 "sig" : "(eventName)",
777 "memberOf" : "Roo.util.Observable",
779 "isConstructor" : false,
789 "name" : "eventName",
791 "desc" : "The name of the event to check for",
799 "desc" : "True if the event is being listened for, else false"
806 "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.",
807 "sig" : "(o, fn, scope)",
809 "memberOf" : "Roo.util.Observable",
811 "isConstructor" : false,
822 "type" : "Observable",
823 "desc" : "The Observable to capture",
829 "desc" : "The function to call",
835 "desc" : "(optional) The scope (this object) for the fn",
842 "name" : "addListener",
844 "desc" : "Appends an event handler to this component",
845 "sig" : "(eventName, handler, scope, options)",
847 "memberOf" : "Roo.util.Observable",
849 "isConstructor" : false,
859 "name" : "eventName",
861 "desc" : "The type of event to listen for",
867 "desc" : "The method the event invokes",
873 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
879 "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>",
890 "desc" : "Fires when a date is selected",
891 "sig" : "function (_self, date)\n{\n\n}",
900 "type" : "DatePicker",
907 "desc" : "The selected date",
914 "name" : "monthchange",
916 "desc" : "Fires when the displayed month changes",
917 "sig" : "function (_self, date)\n{\n\n}",
926 "type" : "DatePicker",
933 "desc" : "The selected month",
940 "name" : "beforerender",
942 "desc" : "Fires before the component is rendered. Return false to stop the render.",
943 "sig" : "function (_self)\n{\n\n}",
944 "memberOf" : "Roo.Component",
952 "type" : "Roo.Component",
962 "desc" : "Fires after the component is disabled.",
963 "sig" : "function (_self)\n{\n\n}",
964 "memberOf" : "Roo.Component",
972 "type" : "Roo.Component",
982 "desc" : "Fires after the component is rendered.",
983 "sig" : "function (_self)\n{\n\n}",
984 "memberOf" : "Roo.Component",
992 "type" : "Roo.Component",
1001 "type" : "function",
1002 "desc" : "Fires after the component is destroyed.",
1003 "sig" : "function (_self)\n{\n\n}",
1004 "memberOf" : "Roo.Component",
1012 "type" : "Roo.Component",
1014 "isOptional" : false
1021 "type" : "function",
1022 "desc" : "Fires after the component is hidden.",
1023 "sig" : "function (_self)\n{\n\n}",
1024 "memberOf" : "Roo.Component",
1032 "type" : "Roo.Component",
1034 "isOptional" : false
1040 "name" : "beforehide",
1041 "type" : "function",
1042 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1043 "sig" : "function (_self)\n{\n\n}",
1044 "memberOf" : "Roo.Component",
1052 "type" : "Roo.Component",
1054 "isOptional" : false
1061 "type" : "function",
1062 "desc" : "Fires after the component is shown.",
1063 "sig" : "function (_self)\n{\n\n}",
1064 "memberOf" : "Roo.Component",
1072 "type" : "Roo.Component",
1074 "isOptional" : false
1080 "name" : "beforeshow",
1081 "type" : "function",
1082 "desc" : "Fires before the component is shown. Return false to stop the show.",
1083 "sig" : "function (_self)\n{\n\n}",
1084 "memberOf" : "Roo.Component",
1092 "type" : "Roo.Component",
1094 "isOptional" : false
1101 "type" : "function",
1102 "desc" : "Fires after the component is enabled.",
1103 "sig" : "function (_self)\n{\n\n}",
1104 "memberOf" : "Roo.Component",
1112 "type" : "Roo.Component",
1114 "isOptional" : false
1120 "name" : "beforedestroy",
1121 "type" : "function",
1122 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1123 "sig" : "function (_self)\n{\n\n}",
1124 "memberOf" : "Roo.Component",
1132 "type" : "Roo.Component",
1134 "isOptional" : false