2 "name" : "Roo.menu.Adapter",
16 "desc" : "A base utility class that adapts a non-menu component so that it can be wrapped by a menu item and added to a menu.\nIt provides basic rendering, activation management and enable/disable logic required to work in menus.",
17 "isSingleton" : false,
21 "isBuilderTop" : false,
22 "memberOf" : "Adapter",
31 "desc" : "Configuration options",
42 "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>",
43 "memberOf" : "Roo.util.Observable",
50 "desc" : "True to prevent creation of this menu item (defaults to false)",
51 "memberOf" : "Roo.menu.BaseItem",
56 "name" : "activeClass",
58 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
59 "memberOf" : "Roo.menu.BaseItem",
66 "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",
67 "memberOf" : "Roo.Component",
77 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
78 "memberOf" : "Roo.menu.BaseItem",
85 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
86 "memberOf" : "Roo.menu.BaseItem",
91 "name" : "hideOnClick",
93 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
94 "memberOf" : "Roo.menu.BaseItem",
101 "desc" : "css styles to add to component\neg. text-align:right;",
102 "memberOf" : "Roo.Component",
103 "isOptional" : false,
107 "name" : "allowDomMove",
109 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
110 "memberOf" : "Roo.Component",
111 "isOptional" : false,
115 "name" : "actionMode",
117 "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",
118 "memberOf" : "Roo.Component",
119 "isOptional" : false,
123 "name" : "canActivate",
125 "desc" : "True if this item can be visually activated (defaults to false)",
126 "memberOf" : "Roo.menu.BaseItem",
127 "isOptional" : false,
131 "name" : "disableClass",
133 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
134 "memberOf" : "Roo.Component",
135 "isOptional" : false,
143 "desc" : "Returns the id of this component.",
144 "sig" : "()\n{\n\n}",
146 "memberOf" : "Roo.Component",
148 "isConstructor" : false,
168 "desc" : "If this is a lazy rendering component, render it to its container element.",
169 "sig" : "(container)",
171 "memberOf" : "Roo.Component",
173 "isConstructor" : false,
183 "name" : "container",
184 "type" : "String/HTMLElement/Element",
185 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
194 "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}.",
195 "sig" : "()\n{\n\n}",
197 "memberOf" : "Roo.Component",
199 "isConstructor" : false,
211 "name" : "isVisible",
213 "desc" : "Returns true if this component is visible.",
214 "sig" : "()\n{\n\n}",
216 "memberOf" : "Roo.Component",
218 "isConstructor" : false,
230 "name" : "setDisabled",
232 "desc" : "Convenience function for setting disabled/enabled by boolean.",
233 "sig" : "(disabled)",
235 "memberOf" : "Roo.Component",
237 "isConstructor" : false,
258 "desc" : "Hide this component.",
259 "sig" : "()\n{\n\n}",
261 "memberOf" : "Roo.Component",
263 "isConstructor" : false,
275 "type" : "Roo.Component",
283 "desc" : "Try to focus this component.",
284 "sig" : "(selectText)",
286 "memberOf" : "Roo.Component",
288 "isConstructor" : false,
298 "name" : "selectText",
300 "desc" : "True to also select the text in this component (if applicable)",
307 "type" : "Roo.Component",
315 "desc" : "Show this component.",
316 "sig" : "()\n{\n\n}",
318 "memberOf" : "Roo.Component",
320 "isConstructor" : false,
332 "type" : "Roo.Component",
340 "desc" : "Enable this component.",
341 "sig" : "()\n{\n\n}",
343 "memberOf" : "Roo.Component",
345 "isConstructor" : false,
357 "type" : "Roo.Component",
363 "name" : "setVisible",
365 "desc" : "Convenience function to hide or show this component by boolean.",
368 "memberOf" : "Roo.Component",
370 "isConstructor" : false,
382 "desc" : "True to show, false to hide",
389 "type" : "Roo.Component",
397 "desc" : "Disable this component.",
398 "sig" : "()\n{\n\n}",
400 "memberOf" : "Roo.Component",
402 "isConstructor" : false,
414 "type" : "Roo.Component",
422 "desc" : "Returns the underlying {@link Roo.Element}.",
423 "sig" : "()\n{\n\n}",
425 "memberOf" : "Roo.Component",
427 "isConstructor" : false,
439 "type" : "Roo.Element",
440 "desc" : "The element"
445 "name" : "purgeListeners",
447 "desc" : "Removes all listeners for this object",
448 "sig" : "()\n{\n\n}",
450 "memberOf" : "Roo.util.Observable",
452 "isConstructor" : false,
466 "desc" : "Appends an event handler to this element (shorthand for addListener)",
467 "sig" : "(eventName, handler, scope, options)",
469 "memberOf" : "Roo.util.Observable",
471 "isConstructor" : false,
481 "name" : "eventName",
483 "desc" : "The type of event to listen for",
489 "desc" : "The method the event invokes",
495 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
501 "desc" : "(optional)",
510 "desc" : "Removes a listener (shorthand for removeListener)",
511 "sig" : "(eventName, handler, scope)",
513 "memberOf" : "Roo.util.Observable",
515 "isConstructor" : false,
525 "name" : "eventName",
527 "desc" : "The type of event to listen for",
533 "desc" : "The handler to remove",
539 "desc" : "(optional) The scope (this object) for the handler",
546 "name" : "addEvents",
548 "desc" : "Used to define events on this Observable",
551 "memberOf" : "Roo.util.Observable",
553 "isConstructor" : false,
565 "desc" : "The object with the events defined",
572 "name" : "releaseCapture",
574 "desc" : "Removes <b>all</b> added captures from the Observable.",
577 "memberOf" : "Roo.util.Observable",
579 "isConstructor" : false,
590 "type" : "Observable",
591 "desc" : "The Observable to release",
598 "name" : "removeListener",
600 "desc" : "Removes a listener",
601 "sig" : "(eventName, handler, scope)",
603 "memberOf" : "Roo.util.Observable",
605 "isConstructor" : false,
615 "name" : "eventName",
617 "desc" : "The type of event to listen for",
623 "desc" : "The handler to remove",
629 "desc" : "(optional) The scope (this object) for the handler",
636 "name" : "fireEvent",
638 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
639 "sig" : "(eventName, args)",
641 "memberOf" : "Roo.util.Observable",
643 "isConstructor" : false,
653 "name" : "eventName",
660 "type" : "Object...",
661 "desc" : "Variable number of parameters are passed to handlers",
669 "desc" : "returns false if any of the handlers return false otherwise it returns true"
674 "name" : "hasListener",
676 "desc" : "Checks to see if this object has any listeners for a specified event",
677 "sig" : "(eventName)",
679 "memberOf" : "Roo.util.Observable",
681 "isConstructor" : false,
691 "name" : "eventName",
693 "desc" : "The name of the event to check for",
701 "desc" : "True if the event is being listened for, else false"
708 "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.",
709 "sig" : "(o, fn, scope)",
711 "memberOf" : "Roo.util.Observable",
713 "isConstructor" : false,
724 "type" : "Observable",
725 "desc" : "The Observable to capture",
731 "desc" : "The function to call",
737 "desc" : "(optional) The scope (this object) for the fn",
744 "name" : "addListener",
746 "desc" : "Appends an event handler to this component",
747 "sig" : "(eventName, handler, scope, options)",
749 "memberOf" : "Roo.util.Observable",
751 "isConstructor" : false,
761 "name" : "eventName",
763 "desc" : "The type of event to listen for",
769 "desc" : "The method the event invokes",
775 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
781 "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>",
792 "desc" : "Fires when this item is clicked",
793 "sig" : "function (_self, e)\n{\n\n}",
794 "memberOf" : "Roo.menu.BaseItem",
802 "type" : "Roo.menu.BaseItem",
808 "type" : "Roo.EventObject",
818 "desc" : "Fires when this item is activated",
819 "sig" : "function (_self)\n{\n\n}",
820 "memberOf" : "Roo.menu.BaseItem",
828 "type" : "Roo.menu.BaseItem",
836 "name" : "deactivate",
838 "desc" : "Fires when this item is deactivated",
839 "sig" : "function (_self)\n{\n\n}",
840 "memberOf" : "Roo.menu.BaseItem",
848 "type" : "Roo.menu.BaseItem",
856 "name" : "beforerender",
858 "desc" : "Fires before the component is rendered. Return false to stop the render.",
859 "sig" : "function (_self)\n{\n\n}",
860 "memberOf" : "Roo.Component",
868 "type" : "Roo.Component",
878 "desc" : "Fires after the component is disabled.",
879 "sig" : "function (_self)\n{\n\n}",
880 "memberOf" : "Roo.Component",
888 "type" : "Roo.Component",
898 "desc" : "Fires after the component is rendered.",
899 "sig" : "function (_self)\n{\n\n}",
900 "memberOf" : "Roo.Component",
908 "type" : "Roo.Component",
918 "desc" : "Fires after the component is destroyed.",
919 "sig" : "function (_self)\n{\n\n}",
920 "memberOf" : "Roo.Component",
928 "type" : "Roo.Component",
938 "desc" : "Fires after the component is hidden.",
939 "sig" : "function (_self)\n{\n\n}",
940 "memberOf" : "Roo.Component",
948 "type" : "Roo.Component",
956 "name" : "beforehide",
958 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
959 "sig" : "function (_self)\n{\n\n}",
960 "memberOf" : "Roo.Component",
968 "type" : "Roo.Component",
978 "desc" : "Fires after the component is shown.",
979 "sig" : "function (_self)\n{\n\n}",
980 "memberOf" : "Roo.Component",
988 "type" : "Roo.Component",
996 "name" : "beforeshow",
998 "desc" : "Fires before the component is shown. Return false to stop the show.",
999 "sig" : "function (_self)\n{\n\n}",
1000 "memberOf" : "Roo.Component",
1008 "type" : "Roo.Component",
1010 "isOptional" : false
1017 "type" : "function",
1018 "desc" : "Fires after the component is enabled.",
1019 "sig" : "function (_self)\n{\n\n}",
1020 "memberOf" : "Roo.Component",
1028 "type" : "Roo.Component",
1030 "isOptional" : false
1036 "name" : "beforedestroy",
1037 "type" : "function",
1038 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1039 "sig" : "function (_self)\n{\n\n}",
1040 "memberOf" : "Roo.Component",
1048 "type" : "Roo.Component",
1050 "isOptional" : false