2 "name" : "Roo.menu.DateItem",
12 "desc" : "A menu item that wraps the {@link Roo.DatPicker} component.",
13 "isSingleton" : false,
17 "isBuilderTop" : false,
18 "memberOf" : "DateItem",
27 "desc" : "Configuration options",
38 "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>",
39 "memberOf" : "Roo.util.Observable",
44 "name" : "activeClass",
46 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
47 "memberOf" : "Roo.menu.BaseItem",
54 "desc" : "True to prevent creation of this menu item (defaults to false)",
55 "memberOf" : "Roo.menu.BaseItem",
62 "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",
63 "memberOf" : "Roo.Component",
73 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
74 "memberOf" : "Roo.menu.BaseItem",
81 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
82 "memberOf" : "Roo.menu.BaseItem",
87 "name" : "hideOnClick",
89 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
90 "memberOf" : "Roo.menu.BaseItem",
97 "desc" : "css styles to add to component\neg. text-align:right;",
98 "memberOf" : "Roo.Component",
103 "name" : "allowDomMove",
105 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106 "memberOf" : "Roo.Component",
107 "isOptional" : false,
111 "name" : "actionMode",
113 "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",
114 "memberOf" : "Roo.Component",
115 "isOptional" : false,
119 "name" : "canActivate",
121 "desc" : "True if this item can be visually activated (defaults to false)",
122 "memberOf" : "Roo.menu.BaseItem",
123 "isOptional" : false,
127 "name" : "disableClass",
129 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
130 "memberOf" : "Roo.Component",
131 "isOptional" : false,
139 "desc" : "Returns the id of this component.",
140 "sig" : "()\n{\n\n}",
142 "memberOf" : "Roo.Component",
144 "isConstructor" : false,
164 "desc" : "If this is a lazy rendering component, render it to its container element.",
165 "sig" : "(container)",
167 "memberOf" : "Roo.Component",
169 "isConstructor" : false,
179 "name" : "container",
180 "type" : "String/HTMLElement/Element",
181 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
190 "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}.",
191 "sig" : "()\n{\n\n}",
193 "memberOf" : "Roo.Component",
195 "isConstructor" : false,
207 "name" : "isVisible",
209 "desc" : "Returns true if this component is visible.",
210 "sig" : "()\n{\n\n}",
212 "memberOf" : "Roo.Component",
214 "isConstructor" : false,
226 "name" : "setDisabled",
228 "desc" : "Convenience function for setting disabled/enabled by boolean.",
229 "sig" : "(disabled)",
231 "memberOf" : "Roo.Component",
233 "isConstructor" : false,
254 "desc" : "Hide this component.",
255 "sig" : "()\n{\n\n}",
257 "memberOf" : "Roo.Component",
259 "isConstructor" : false,
271 "type" : "Roo.Component",
279 "desc" : "Try to focus this component.",
280 "sig" : "(selectText)",
282 "memberOf" : "Roo.Component",
284 "isConstructor" : false,
294 "name" : "selectText",
296 "desc" : "True to also select the text in this component (if applicable)",
303 "type" : "Roo.Component",
311 "desc" : "Show this component.",
312 "sig" : "()\n{\n\n}",
314 "memberOf" : "Roo.Component",
316 "isConstructor" : false,
328 "type" : "Roo.Component",
336 "desc" : "Enable this component.",
337 "sig" : "()\n{\n\n}",
339 "memberOf" : "Roo.Component",
341 "isConstructor" : false,
353 "type" : "Roo.Component",
359 "name" : "setVisible",
361 "desc" : "Convenience function to hide or show this component by boolean.",
364 "memberOf" : "Roo.Component",
366 "isConstructor" : false,
378 "desc" : "True to show, false to hide",
385 "type" : "Roo.Component",
393 "desc" : "Disable this component.",
394 "sig" : "()\n{\n\n}",
396 "memberOf" : "Roo.Component",
398 "isConstructor" : false,
410 "type" : "Roo.Component",
418 "desc" : "Returns the underlying {@link Roo.Element}.",
419 "sig" : "()\n{\n\n}",
421 "memberOf" : "Roo.Component",
423 "isConstructor" : false,
435 "type" : "Roo.Element",
436 "desc" : "The element"
441 "name" : "purgeListeners",
443 "desc" : "Removes all listeners for this object",
444 "sig" : "()\n{\n\n}",
446 "memberOf" : "Roo.util.Observable",
448 "isConstructor" : false,
462 "desc" : "Appends an event handler to this element (shorthand for addListener)",
463 "sig" : "(eventName, handler, scope, options)",
465 "memberOf" : "Roo.util.Observable",
467 "isConstructor" : false,
477 "name" : "eventName",
479 "desc" : "The type of event to listen for",
485 "desc" : "The method the event invokes",
491 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
497 "desc" : "(optional)",
506 "desc" : "Removes a listener (shorthand for removeListener)",
507 "sig" : "(eventName, handler, scope)",
509 "memberOf" : "Roo.util.Observable",
511 "isConstructor" : false,
521 "name" : "eventName",
523 "desc" : "The type of event to listen for",
529 "desc" : "The handler to remove",
535 "desc" : "(optional) The scope (this object) for the handler",
542 "name" : "addEvents",
544 "desc" : "Used to define events on this Observable",
547 "memberOf" : "Roo.util.Observable",
549 "isConstructor" : false,
561 "desc" : "The object with the events defined",
568 "name" : "releaseCapture",
570 "desc" : "Removes <b>all</b> added captures from the Observable.",
573 "memberOf" : "Roo.util.Observable",
575 "isConstructor" : false,
586 "type" : "Observable",
587 "desc" : "The Observable to release",
594 "name" : "removeListener",
596 "desc" : "Removes a listener",
597 "sig" : "(eventName, handler, scope)",
599 "memberOf" : "Roo.util.Observable",
601 "isConstructor" : false,
611 "name" : "eventName",
613 "desc" : "The type of event to listen for",
619 "desc" : "The handler to remove",
625 "desc" : "(optional) The scope (this object) for the handler",
632 "name" : "fireEvent",
634 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
635 "sig" : "(eventName, args)",
637 "memberOf" : "Roo.util.Observable",
639 "isConstructor" : false,
649 "name" : "eventName",
656 "type" : "Object...",
657 "desc" : "Variable number of parameters are passed to handlers",
665 "desc" : "returns false if any of the handlers return false otherwise it returns true"
670 "name" : "hasListener",
672 "desc" : "Checks to see if this object has any listeners for a specified event",
673 "sig" : "(eventName)",
675 "memberOf" : "Roo.util.Observable",
677 "isConstructor" : false,
687 "name" : "eventName",
689 "desc" : "The name of the event to check for",
697 "desc" : "True if the event is being listened for, else false"
704 "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.",
705 "sig" : "(o, fn, scope)",
707 "memberOf" : "Roo.util.Observable",
709 "isConstructor" : false,
720 "type" : "Observable",
721 "desc" : "The Observable to capture",
727 "desc" : "The function to call",
733 "desc" : "(optional) The scope (this object) for the fn",
740 "name" : "addListener",
742 "desc" : "Appends an event handler to this component",
743 "sig" : "(eventName, handler, scope, options)",
745 "memberOf" : "Roo.util.Observable",
747 "isConstructor" : false,
757 "name" : "eventName",
759 "desc" : "The type of event to listen for",
765 "desc" : "The method the event invokes",
771 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
777 "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>",
788 "desc" : "Fires when this item is clicked",
789 "sig" : "function (_self, e)\n{\n\n}",
790 "memberOf" : "Roo.menu.BaseItem",
798 "type" : "Roo.menu.BaseItem",
804 "type" : "Roo.EventObject",
814 "desc" : "Fires when this item is activated",
815 "sig" : "function (_self)\n{\n\n}",
816 "memberOf" : "Roo.menu.BaseItem",
824 "type" : "Roo.menu.BaseItem",
832 "name" : "deactivate",
834 "desc" : "Fires when this item is deactivated",
835 "sig" : "function (_self)\n{\n\n}",
836 "memberOf" : "Roo.menu.BaseItem",
844 "type" : "Roo.menu.BaseItem",
852 "name" : "beforerender",
854 "desc" : "Fires before the component is rendered. Return false to stop the render.",
855 "sig" : "function (_self)\n{\n\n}",
856 "memberOf" : "Roo.Component",
864 "type" : "Roo.Component",
874 "desc" : "Fires after the component is disabled.",
875 "sig" : "function (_self)\n{\n\n}",
876 "memberOf" : "Roo.Component",
884 "type" : "Roo.Component",
894 "desc" : "Fires after the component is rendered.",
895 "sig" : "function (_self)\n{\n\n}",
896 "memberOf" : "Roo.Component",
904 "type" : "Roo.Component",
914 "desc" : "Fires after the component is destroyed.",
915 "sig" : "function (_self)\n{\n\n}",
916 "memberOf" : "Roo.Component",
924 "type" : "Roo.Component",
934 "desc" : "Fires after the component is hidden.",
935 "sig" : "function (_self)\n{\n\n}",
936 "memberOf" : "Roo.Component",
944 "type" : "Roo.Component",
952 "name" : "beforehide",
954 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
955 "sig" : "function (_self)\n{\n\n}",
956 "memberOf" : "Roo.Component",
964 "type" : "Roo.Component",
974 "desc" : "Fires after the component is shown.",
975 "sig" : "function (_self)\n{\n\n}",
976 "memberOf" : "Roo.Component",
984 "type" : "Roo.Component",
992 "name" : "beforeshow",
994 "desc" : "Fires before the component is shown. Return false to stop the show.",
995 "sig" : "function (_self)\n{\n\n}",
996 "memberOf" : "Roo.Component",
1004 "type" : "Roo.Component",
1006 "isOptional" : false
1013 "type" : "function",
1014 "desc" : "Fires after the component is enabled.",
1015 "sig" : "function (_self)\n{\n\n}",
1016 "memberOf" : "Roo.Component",
1024 "type" : "Roo.Component",
1026 "isOptional" : false
1032 "name" : "beforedestroy",
1033 "type" : "function",
1034 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1035 "sig" : "function (_self)\n{\n\n}",
1036 "memberOf" : "Roo.Component",
1044 "type" : "Roo.Component",
1046 "isOptional" : false