2 "name" : "Roo.menu.DateItem",
9 "desc" : "A menu item that wraps the {@link Roo.DatPicker} component.",
10 "isSingleton" : false,
13 "memberOf" : "DateItem",
22 "desc" : "Configuration options",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
36 "name" : "activeClass",
38 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
39 "memberOf" : "Roo.menu.BaseItem",
45 "desc" : "True to prevent creation of this menu item (defaults to false)",
46 "memberOf" : "Roo.menu.BaseItem",
52 "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\".",
53 "memberOf" : "Roo.Component",
62 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
63 "memberOf" : "Roo.menu.BaseItem",
69 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
70 "memberOf" : "Roo.menu.BaseItem",
74 "name" : "hideOnClick",
76 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
77 "memberOf" : "Roo.menu.BaseItem",
81 "name" : "allowDomMove",
83 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
84 "memberOf" : "Roo.Component",
88 "name" : "actionMode",
90 "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",
91 "memberOf" : "Roo.Component",
95 "name" : "canActivate",
97 "desc" : "True if this item can be visually activated (defaults to false)",
98 "memberOf" : "Roo.menu.BaseItem",
102 "name" : "disableClass",
104 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
105 "memberOf" : "Roo.Component",
112 "desc" : "Returns the id of this component.",
114 "isConstructor" : false,
116 "memberOf" : "Roo.Component",
132 "desc" : "If this is a lazy rendering component, render it to its container element.",
134 "isConstructor" : false,
136 "memberOf" : "Roo.Component",
143 "name" : "container",
144 "type" : "String/HTMLElement/Element",
145 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
153 "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}.",
155 "isConstructor" : false,
157 "memberOf" : "Roo.Component",
166 "name" : "isVisible",
167 "desc" : "Returns true if this component is visible.",
169 "isConstructor" : false,
171 "memberOf" : "Roo.Component",
180 "name" : "setDisabled",
181 "desc" : "Convenience function for setting disabled/enabled by boolean.",
183 "isConstructor" : false,
185 "memberOf" : "Roo.Component",
202 "desc" : "Hide this component.",
204 "isConstructor" : false,
206 "memberOf" : "Roo.Component",
215 "type" : "Roo.Component",
222 "desc" : "Try to focus this component.",
224 "isConstructor" : false,
226 "memberOf" : "Roo.Component",
233 "name" : "selectText",
235 "desc" : "True to also select the text in this component (if applicable)",
242 "type" : "Roo.Component",
249 "desc" : "Show this component.",
251 "isConstructor" : false,
253 "memberOf" : "Roo.Component",
262 "type" : "Roo.Component",
269 "desc" : "Enable this component.",
271 "isConstructor" : false,
273 "memberOf" : "Roo.Component",
282 "type" : "Roo.Component",
288 "name" : "setVisible",
289 "desc" : "Convenience function to hide or show this component by boolean.",
291 "isConstructor" : false,
293 "memberOf" : "Roo.Component",
302 "desc" : "True to show, false to hide",
309 "type" : "Roo.Component",
316 "desc" : "Disable this component.",
318 "isConstructor" : false,
320 "memberOf" : "Roo.Component",
329 "type" : "Roo.Component",
336 "desc" : "Returns the underlying {@link Roo.Element}.",
338 "isConstructor" : false,
340 "memberOf" : "Roo.Component",
349 "type" : "Roo.Element",
350 "desc" : "The element"
355 "name" : "purgeListeners",
356 "desc" : "Removes all listeners for this object",
358 "isConstructor" : false,
360 "memberOf" : "Roo.util.Observable",
370 "desc" : "Appends an event handler to this element (shorthand for addListener)",
372 "isConstructor" : false,
374 "memberOf" : "Roo.util.Observable",
381 "name" : "eventName",
383 "desc" : "The type of event to listen for",
389 "desc" : "The method the event invokes",
395 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
401 "desc" : "(optional)",
409 "desc" : "Removes a listener (shorthand for removeListener)",
411 "isConstructor" : false,
413 "memberOf" : "Roo.util.Observable",
420 "name" : "eventName",
422 "desc" : "The type of event to listen for",
428 "desc" : "The handler to remove",
434 "desc" : "(optional) The scope (this object) for the handler",
441 "name" : "addEvents",
442 "desc" : "Used to define events on this Observable",
444 "isConstructor" : false,
446 "memberOf" : "Roo.util.Observable",
455 "desc" : "The object with the events defined",
462 "name" : "releaseCapture",
463 "desc" : "Removes <b>all</b> added captures from the Observable.",
465 "isConstructor" : false,
467 "memberOf" : "Roo.util.Observable",
475 "type" : "Observable",
476 "desc" : "The Observable to release",
483 "name" : "removeListener",
484 "desc" : "Removes a listener",
486 "isConstructor" : false,
488 "memberOf" : "Roo.util.Observable",
495 "name" : "eventName",
497 "desc" : "The type of event to listen for",
503 "desc" : "The handler to remove",
509 "desc" : "(optional) The scope (this object) for the handler",
516 "name" : "fireEvent",
517 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
519 "isConstructor" : false,
521 "memberOf" : "Roo.util.Observable",
528 "name" : "eventName",
535 "type" : "Object...",
536 "desc" : "Variable number of parameters are passed to handlers",
544 "desc" : "returns false if any of the handlers return false otherwise it returns true"
549 "name" : "hasListener",
550 "desc" : "Checks to see if this object has any listeners for a specified event",
552 "isConstructor" : false,
554 "memberOf" : "Roo.util.Observable",
561 "name" : "eventName",
563 "desc" : "The name of the event to check for",
571 "desc" : "True if the event is being listened for, else false"
577 "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.",
579 "isConstructor" : false,
581 "memberOf" : "Roo.util.Observable",
589 "type" : "Observable",
590 "desc" : "The Observable to capture",
596 "desc" : "The function to call",
602 "desc" : "(optional) The scope (this object) for the fn",
609 "name" : "addListener",
610 "desc" : "Appends an event handler to this component",
612 "isConstructor" : false,
614 "memberOf" : "Roo.util.Observable",
621 "name" : "eventName",
623 "desc" : "The type of event to listen for",
629 "desc" : "The method the event invokes",
635 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
641 "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>",
651 "desc" : "Fires when this item is clicked",
652 "memberOf" : "Roo.menu.BaseItem",
660 "type" : "Roo.menu.BaseItem",
666 "type" : "Roo.EventObject",
675 "desc" : "Fires when this item is activated",
676 "memberOf" : "Roo.menu.BaseItem",
684 "type" : "Roo.menu.BaseItem",
692 "name" : "deactivate",
693 "desc" : "Fires when this item is deactivated",
694 "memberOf" : "Roo.menu.BaseItem",
702 "type" : "Roo.menu.BaseItem",
710 "name" : "beforerender",
711 "desc" : "Fires before the component is rendered. Return false to stop the render.",
712 "memberOf" : "Roo.Component",
720 "type" : "Roo.Component",
729 "desc" : "Fires after the component is disabled.",
730 "memberOf" : "Roo.Component",
738 "type" : "Roo.Component",
747 "desc" : "Fires after the component is rendered.",
748 "memberOf" : "Roo.Component",
756 "type" : "Roo.Component",
765 "desc" : "Fires after the component is destroyed.",
766 "memberOf" : "Roo.Component",
774 "type" : "Roo.Component",
783 "desc" : "Fires after the component is hidden.",
784 "memberOf" : "Roo.Component",
792 "type" : "Roo.Component",
800 "name" : "beforehide",
801 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
802 "memberOf" : "Roo.Component",
810 "type" : "Roo.Component",
819 "desc" : "Fires after the component is shown.",
820 "memberOf" : "Roo.Component",
828 "type" : "Roo.Component",
836 "name" : "beforeshow",
837 "desc" : "Fires before the component is shown. Return false to stop the show.",
838 "memberOf" : "Roo.Component",
846 "type" : "Roo.Component",
855 "desc" : "Fires after the component is enabled.",
856 "memberOf" : "Roo.Component",
864 "type" : "Roo.Component",
872 "name" : "beforedestroy",
873 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
874 "memberOf" : "Roo.Component",
882 "type" : "Roo.Component",