2 "name" : "Roo.menu.Adapter",
8 "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.",
12 "memberOf" : "Adapter",
21 "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",
39 "desc" : "True to prevent creation of this menu item (defaults to false)",
40 "memberOf" : "Roo.menu.BaseItem",
45 "name" : "activeClass",
47 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
48 "memberOf" : "Roo.menu.BaseItem",
55 "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\".",
56 "memberOf" : "Roo.Component",
65 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
66 "memberOf" : "Roo.menu.BaseItem",
73 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
74 "memberOf" : "Roo.menu.BaseItem",
79 "name" : "hideOnClick",
81 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
82 "memberOf" : "Roo.menu.BaseItem",
87 "name" : "allowDomMove",
89 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
90 "memberOf" : "Roo.Component",
95 "name" : "actionMode",
97 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
98 "memberOf" : "Roo.Component",
103 "name" : "canActivate",
105 "desc" : "True if this item can be visually activated (defaults to false)",
106 "memberOf" : "Roo.menu.BaseItem",
111 "name" : "disableClass",
113 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
114 "memberOf" : "Roo.Component",
122 "desc" : "Returns the id of this component.",
124 "isConstructor" : false,
126 "memberOf" : "Roo.Component",
143 "desc" : "If this is a lazy rendering component, render it to its container element.",
145 "isConstructor" : false,
147 "memberOf" : "Roo.Component",
154 "name" : "container",
155 "type" : "String/HTMLElement/Element",
156 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
165 "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}.",
167 "isConstructor" : false,
169 "memberOf" : "Roo.Component",
180 "name" : "isVisible",
181 "desc" : "Returns true if this component is visible.",
183 "isConstructor" : false,
185 "memberOf" : "Roo.Component",
196 "name" : "setDisabled",
197 "desc" : "Convenience function for setting disabled/enabled by boolean.",
199 "isConstructor" : false,
201 "memberOf" : "Roo.Component",
219 "desc" : "Hide this component.",
221 "isConstructor" : false,
223 "memberOf" : "Roo.Component",
233 "type" : "Roo.Component",
240 "desc" : "Try to focus this component.",
242 "isConstructor" : false,
244 "memberOf" : "Roo.Component",
251 "name" : "selectText",
253 "desc" : "True to also select the text in this component (if applicable)",
260 "type" : "Roo.Component",
267 "desc" : "Show this component.",
269 "isConstructor" : false,
271 "memberOf" : "Roo.Component",
281 "type" : "Roo.Component",
288 "desc" : "Enable this component.",
290 "isConstructor" : false,
292 "memberOf" : "Roo.Component",
302 "type" : "Roo.Component",
308 "name" : "setVisible",
309 "desc" : "Convenience function to hide or show this component by boolean.",
311 "isConstructor" : false,
313 "memberOf" : "Roo.Component",
322 "desc" : "True to show, false to hide",
329 "type" : "Roo.Component",
336 "desc" : "Disable this component.",
338 "isConstructor" : false,
340 "memberOf" : "Roo.Component",
350 "type" : "Roo.Component",
357 "desc" : "Returns the underlying {@link Roo.Element}.",
359 "isConstructor" : false,
361 "memberOf" : "Roo.Component",
371 "type" : "Roo.Element",
372 "desc" : "The element"
377 "name" : "purgeListeners",
378 "desc" : "Removes all listeners for this object",
380 "isConstructor" : false,
382 "memberOf" : "Roo.util.Observable",
394 "desc" : "Appends an event handler to this element (shorthand for addListener)",
396 "isConstructor" : false,
398 "memberOf" : "Roo.util.Observable",
405 "name" : "eventName",
407 "desc" : "The type of event to listen for",
413 "desc" : "The method the event invokes",
419 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
425 "desc" : "(optional)",
434 "desc" : "Removes a listener (shorthand for removeListener)",
436 "isConstructor" : false,
438 "memberOf" : "Roo.util.Observable",
445 "name" : "eventName",
447 "desc" : "The type of event to listen for",
453 "desc" : "The handler to remove",
459 "desc" : "(optional) The scope (this object) for the handler",
467 "name" : "addEvents",
468 "desc" : "Used to define events on this Observable",
470 "isConstructor" : false,
472 "memberOf" : "Roo.util.Observable",
481 "desc" : "The object with the events defined",
489 "name" : "releaseCapture",
490 "desc" : "Removes <b>all</b> added captures from the Observable.",
492 "isConstructor" : false,
494 "memberOf" : "Roo.util.Observable",
502 "type" : "Observable",
503 "desc" : "The Observable to release",
511 "name" : "removeListener",
512 "desc" : "Removes a listener",
514 "isConstructor" : false,
516 "memberOf" : "Roo.util.Observable",
523 "name" : "eventName",
525 "desc" : "The type of event to listen for",
531 "desc" : "The handler to remove",
537 "desc" : "(optional) The scope (this object) for the handler",
545 "name" : "fireEvent",
546 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
548 "isConstructor" : false,
550 "memberOf" : "Roo.util.Observable",
557 "name" : "eventName",
564 "type" : "Object...",
565 "desc" : "Variable number of parameters are passed to handlers",
573 "desc" : "returns false if any of the handlers return false otherwise it returns true"
578 "name" : "hasListener",
579 "desc" : "Checks to see if this object has any listeners for a specified event",
581 "isConstructor" : false,
583 "memberOf" : "Roo.util.Observable",
590 "name" : "eventName",
592 "desc" : "The name of the event to check for",
600 "desc" : "True if the event is being listened for, else false"
606 "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.",
608 "isConstructor" : false,
610 "memberOf" : "Roo.util.Observable",
618 "type" : "Observable",
619 "desc" : "The Observable to capture",
625 "desc" : "The function to call",
631 "desc" : "(optional) The scope (this object) for the fn",
639 "name" : "addListener",
640 "desc" : "Appends an event handler to this component",
642 "isConstructor" : false,
644 "memberOf" : "Roo.util.Observable",
651 "name" : "eventName",
653 "desc" : "The type of event to listen for",
659 "desc" : "The method the event invokes",
665 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
671 "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>",
682 "desc" : "Fires when this item is clicked",
683 "memberOf" : "Roo.menu.BaseItem",
691 "type" : "Roo.menu.BaseItem",
697 "type" : "Roo.EventObject",
707 "desc" : "Fires when this item is activated",
708 "memberOf" : "Roo.menu.BaseItem",
716 "type" : "Roo.menu.BaseItem",
725 "name" : "deactivate",
726 "desc" : "Fires when this item is deactivated",
727 "memberOf" : "Roo.menu.BaseItem",
735 "type" : "Roo.menu.BaseItem",
744 "name" : "beforerender",
745 "desc" : "Fires before the component is rendered. Return false to stop the render.",
746 "memberOf" : "Roo.Component",
754 "type" : "Roo.Component",
764 "desc" : "Fires after the component is disabled.",
765 "memberOf" : "Roo.Component",
773 "type" : "Roo.Component",
783 "desc" : "Fires after the component is rendered.",
784 "memberOf" : "Roo.Component",
792 "type" : "Roo.Component",
802 "desc" : "Fires after the component is destroyed.",
803 "memberOf" : "Roo.Component",
811 "type" : "Roo.Component",
821 "desc" : "Fires after the component is hidden.",
822 "memberOf" : "Roo.Component",
830 "type" : "Roo.Component",
839 "name" : "beforehide",
840 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
841 "memberOf" : "Roo.Component",
849 "type" : "Roo.Component",
859 "desc" : "Fires after the component is shown.",
860 "memberOf" : "Roo.Component",
868 "type" : "Roo.Component",
877 "name" : "beforeshow",
878 "desc" : "Fires before the component is shown. Return false to stop the show.",
879 "memberOf" : "Roo.Component",
887 "type" : "Roo.Component",
897 "desc" : "Fires after the component is enabled.",
898 "memberOf" : "Roo.Component",
906 "type" : "Roo.Component",
915 "name" : "beforedestroy",
916 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
917 "memberOf" : "Roo.Component",
925 "type" : "Roo.Component",