2 "name" : "Roo.DatePicker",
7 "desc" : "Simple date picker class.",
15 "desc" : "Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)",
16 "memberOf" : "Roo.DatePicker",
21 "name" : "monthYearText",
23 "desc" : "The header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)')",
24 "memberOf" : "Roo.DatePicker",
29 "name" : "monthNames",
31 "desc" : "An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)",
32 "memberOf" : "Roo.DatePicker",
39 "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>",
40 "memberOf" : "Roo.util.Observable",
47 "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').",
48 "memberOf" : "Roo.DatePicker",
55 "desc" : "The next month navigation button tooltip (defaults to 'Next Month (Control+Right)')",
56 "memberOf" : "Roo.DatePicker",
63 "desc" : "The error text to display if the maxDate validation fails (defaults to \"This date is after the maximum date\")",
64 "memberOf" : "Roo.DatePicker",
69 "name" : "constrainToViewport",
71 "desc" : "True to constrain the date picker to the viewport (defaults to true)",
72 "memberOf" : "Roo.DatePicker",
79 "desc" : "The error text to display if the minDate validation fails (defaults to \"This date is before the minimum date\")",
80 "memberOf" : "Roo.DatePicker",
85 "name" : "disabledDatesText",
87 "desc" : "The tooltip text to display when the date falls on a disabled date (defaults to \"\")",
88 "memberOf" : "Roo.DatePicker",
95 "desc" : "The tooltip to display for the button that selects the current date (defaults to \"{current date} (Spacebar)\")",
96 "memberOf" : "Roo.DatePicker",
103 "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\".",
104 "memberOf" : "Roo.Component",
111 "name" : "todayText",
113 "desc" : "The text to display on the button that selects the current date (defaults to \"Today\")",
114 "memberOf" : "Roo.DatePicker",
119 "name" : "cancelText",
121 "desc" : "The text to display on the cancel button",
122 "memberOf" : "Roo.DatePicker",
127 "name" : "allowDomMove",
129 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
130 "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",
145 "desc" : "The previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)')",
146 "memberOf" : "Roo.DatePicker",
153 "desc" : "An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)",
154 "memberOf" : "Roo.DatePicker",
159 "name" : "actionMode",
161 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
162 "memberOf" : "Roo.Component",
167 "name" : "disabledDaysText",
169 "desc" : "The tooltip to display when the date falls on a disabled day (defaults to \"\")",
170 "memberOf" : "Roo.DatePicker",
175 "name" : "disabledDatesRE",
177 "desc" : "JavaScript regular expression used to disable a pattern of dates (defaults to null)",
178 "memberOf" : "Roo.DatePicker",
185 "desc" : "Minimum allowable date (JavaScript date object, defaults to null)",
186 "memberOf" : "Roo.DatePicker",
191 "name" : "disabledDays",
193 "desc" : "An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).",
194 "memberOf" : "Roo.DatePicker",
201 "desc" : "The text to display on the ok button",
202 "memberOf" : "Roo.DatePicker",
209 "desc" : "Maximum allowable date (JavaScript date object, defaults to null)",
210 "memberOf" : "Roo.DatePicker",
215 "name" : "disableClass",
217 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
218 "memberOf" : "Roo.Component",
226 "desc" : "Gets the current selected value of the date field",
228 "isConstructor" : false,
230 "memberOf" : "Roo.DatePicker",
241 "desc" : "The selected date"
247 "desc" : "Sets the value of the date field",
249 "isConstructor" : false,
251 "memberOf" : "Roo.DatePicker",
260 "desc" : "The date to set",
269 "desc" : "Returns the id of this component.",
271 "isConstructor" : false,
273 "memberOf" : "Roo.Component",
290 "desc" : "If this is a lazy rendering component, render it to its container element.",
292 "isConstructor" : false,
294 "memberOf" : "Roo.Component",
301 "name" : "container",
302 "type" : "String/HTMLElement/Element",
303 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
312 "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}.",
314 "isConstructor" : false,
316 "memberOf" : "Roo.Component",
327 "name" : "isVisible",
328 "desc" : "Returns true if this component is visible.",
330 "isConstructor" : false,
332 "memberOf" : "Roo.Component",
343 "name" : "setDisabled",
344 "desc" : "Convenience function for setting disabled/enabled by boolean.",
346 "isConstructor" : false,
348 "memberOf" : "Roo.Component",
366 "desc" : "Hide this component.",
368 "isConstructor" : false,
370 "memberOf" : "Roo.Component",
380 "type" : "Roo.Component",
387 "desc" : "Try to focus this component.",
389 "isConstructor" : false,
391 "memberOf" : "Roo.Component",
398 "name" : "selectText",
400 "desc" : "True to also select the text in this component (if applicable)",
407 "type" : "Roo.Component",
414 "desc" : "Show this component.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
428 "type" : "Roo.Component",
435 "desc" : "Enable this component.",
437 "isConstructor" : false,
439 "memberOf" : "Roo.Component",
449 "type" : "Roo.Component",
455 "name" : "setVisible",
456 "desc" : "Convenience function to hide or show this component by boolean.",
458 "isConstructor" : false,
460 "memberOf" : "Roo.Component",
469 "desc" : "True to show, false to hide",
476 "type" : "Roo.Component",
483 "desc" : "Disable this component.",
485 "isConstructor" : false,
487 "memberOf" : "Roo.Component",
497 "type" : "Roo.Component",
504 "desc" : "Returns the underlying {@link Roo.Element}.",
506 "isConstructor" : false,
508 "memberOf" : "Roo.Component",
518 "type" : "Roo.Element",
519 "desc" : "The element"
524 "name" : "purgeListeners",
525 "desc" : "Removes all listeners for this object",
527 "isConstructor" : false,
529 "memberOf" : "Roo.util.Observable",
541 "desc" : "Appends an event handler to this element (shorthand for addListener)",
543 "isConstructor" : false,
545 "memberOf" : "Roo.util.Observable",
552 "name" : "eventName",
554 "desc" : "The type of event to listen for",
560 "desc" : "The method the event invokes",
566 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
572 "desc" : "(optional)",
581 "desc" : "Removes a listener (shorthand for removeListener)",
583 "isConstructor" : false,
585 "memberOf" : "Roo.util.Observable",
592 "name" : "eventName",
594 "desc" : "The type of event to listen for",
600 "desc" : "The handler to remove",
606 "desc" : "(optional) The scope (this object) for the handler",
614 "name" : "addEvents",
615 "desc" : "Used to define events on this Observable",
617 "isConstructor" : false,
619 "memberOf" : "Roo.util.Observable",
628 "desc" : "The object with the events defined",
636 "name" : "releaseCapture",
637 "desc" : "Removes <b>all</b> added captures from the Observable.",
639 "isConstructor" : false,
641 "memberOf" : "Roo.util.Observable",
649 "type" : "Observable",
650 "desc" : "The Observable to release",
658 "name" : "removeListener",
659 "desc" : "Removes a listener",
661 "isConstructor" : false,
663 "memberOf" : "Roo.util.Observable",
670 "name" : "eventName",
672 "desc" : "The type of event to listen for",
678 "desc" : "The handler to remove",
684 "desc" : "(optional) The scope (this object) for the handler",
692 "name" : "fireEvent",
693 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
695 "isConstructor" : false,
697 "memberOf" : "Roo.util.Observable",
704 "name" : "eventName",
711 "type" : "Object...",
712 "desc" : "Variable number of parameters are passed to handlers",
720 "desc" : "returns false if any of the handlers return false otherwise it returns true"
725 "name" : "hasListener",
726 "desc" : "Checks to see if this object has any listeners for a specified event",
728 "isConstructor" : false,
730 "memberOf" : "Roo.util.Observable",
737 "name" : "eventName",
739 "desc" : "The name of the event to check for",
747 "desc" : "True if the event is being listened for, else false"
753 "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.",
755 "isConstructor" : false,
757 "memberOf" : "Roo.util.Observable",
765 "type" : "Observable",
766 "desc" : "The Observable to capture",
772 "desc" : "The function to call",
778 "desc" : "(optional) The scope (this object) for the fn",
786 "name" : "addListener",
787 "desc" : "Appends an event handler to this component",
789 "isConstructor" : false,
791 "memberOf" : "Roo.util.Observable",
798 "name" : "eventName",
800 "desc" : "The type of event to listen for",
806 "desc" : "The method the event invokes",
812 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
818 "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>",
829 "desc" : "Fires when a date is selected",
838 "type" : "DatePicker",
845 "desc" : "The selected date",
853 "name" : "monthchange",
854 "desc" : "Fires when the displayed month changes",
863 "type" : "DatePicker",
870 "desc" : "The selected month",
878 "name" : "beforerender",
879 "desc" : "Fires before the component is rendered. Return false to stop the render.",
880 "memberOf" : "Roo.Component",
888 "type" : "Roo.Component",
898 "desc" : "Fires after the component is disabled.",
899 "memberOf" : "Roo.Component",
907 "type" : "Roo.Component",
917 "desc" : "Fires after the component is rendered.",
918 "memberOf" : "Roo.Component",
926 "type" : "Roo.Component",
936 "desc" : "Fires after the component is destroyed.",
937 "memberOf" : "Roo.Component",
945 "type" : "Roo.Component",
955 "desc" : "Fires after the component is hidden.",
956 "memberOf" : "Roo.Component",
964 "type" : "Roo.Component",
973 "name" : "beforehide",
974 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
975 "memberOf" : "Roo.Component",
983 "type" : "Roo.Component",
993 "desc" : "Fires after the component is shown.",
994 "memberOf" : "Roo.Component",
1002 "type" : "Roo.Component",
1004 "isOptional" : false
1011 "name" : "beforeshow",
1012 "desc" : "Fires before the component is shown. Return false to stop the show.",
1013 "memberOf" : "Roo.Component",
1021 "type" : "Roo.Component",
1023 "isOptional" : false
1031 "desc" : "Fires after the component is enabled.",
1032 "memberOf" : "Roo.Component",
1040 "type" : "Roo.Component",
1042 "isOptional" : false
1049 "name" : "beforedestroy",
1050 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1051 "memberOf" : "Roo.Component",
1059 "type" : "Roo.Component",
1061 "isOptional" : false