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",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "True to prevent creation of this menu item (defaults to false)",
38 "memberOf" : "Roo.menu.BaseItem",
42 "name" : "activeClass",
44 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
45 "memberOf" : "Roo.menu.BaseItem",
51 "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\".",
52 "memberOf" : "Roo.Component",
61 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
62 "memberOf" : "Roo.menu.BaseItem",
68 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
69 "memberOf" : "Roo.menu.BaseItem",
73 "name" : "hideOnClick",
75 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
76 "memberOf" : "Roo.menu.BaseItem",
80 "name" : "allowDomMove",
82 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
83 "memberOf" : "Roo.Component",
87 "name" : "actionMode",
89 "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",
90 "memberOf" : "Roo.Component",
94 "name" : "canActivate",
96 "desc" : "True if this item can be visually activated (defaults to false)",
97 "memberOf" : "Roo.menu.BaseItem",
101 "name" : "disableClass",
103 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
104 "memberOf" : "Roo.Component",
111 "desc" : "Returns the id of this component.",
113 "isConstructor" : false,
115 "memberOf" : "Roo.Component",
131 "desc" : "If this is a lazy rendering component, render it to its container element.",
133 "isConstructor" : false,
135 "memberOf" : "Roo.Component",
142 "name" : "container",
143 "type" : "String/HTMLElement/Element",
144 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
152 "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}.",
154 "isConstructor" : false,
156 "memberOf" : "Roo.Component",
165 "name" : "isVisible",
166 "desc" : "Returns true if this component is visible.",
168 "isConstructor" : false,
170 "memberOf" : "Roo.Component",
179 "name" : "setDisabled",
180 "desc" : "Convenience function for setting disabled/enabled by boolean.",
182 "isConstructor" : false,
184 "memberOf" : "Roo.Component",
201 "desc" : "Hide this component.",
203 "isConstructor" : false,
205 "memberOf" : "Roo.Component",
214 "type" : "Roo.Component",
221 "desc" : "Try to focus this component.",
223 "isConstructor" : false,
225 "memberOf" : "Roo.Component",
232 "name" : "selectText",
234 "desc" : "True to also select the text in this component (if applicable)",
241 "type" : "Roo.Component",
248 "desc" : "Show this component.",
250 "isConstructor" : false,
252 "memberOf" : "Roo.Component",
261 "type" : "Roo.Component",
268 "desc" : "Enable this component.",
270 "isConstructor" : false,
272 "memberOf" : "Roo.Component",
281 "type" : "Roo.Component",
287 "name" : "setVisible",
288 "desc" : "Convenience function to hide or show this component by boolean.",
290 "isConstructor" : false,
292 "memberOf" : "Roo.Component",
301 "desc" : "True to show, false to hide",
308 "type" : "Roo.Component",
315 "desc" : "Disable this component.",
317 "isConstructor" : false,
319 "memberOf" : "Roo.Component",
328 "type" : "Roo.Component",
335 "desc" : "Returns the underlying {@link Roo.Element}.",
337 "isConstructor" : false,
339 "memberOf" : "Roo.Component",
348 "type" : "Roo.Element",
349 "desc" : "The element"
354 "name" : "purgeListeners",
355 "desc" : "Removes all listeners for this object",
357 "isConstructor" : false,
359 "memberOf" : "Roo.util.Observable",
369 "desc" : "Appends an event handler to this element (shorthand for addListener)",
371 "isConstructor" : false,
373 "memberOf" : "Roo.util.Observable",
380 "name" : "eventName",
382 "desc" : "The type of event to listen for",
388 "desc" : "The method the event invokes",
394 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
400 "desc" : "(optional)",
408 "desc" : "Removes a listener (shorthand for removeListener)",
410 "isConstructor" : false,
412 "memberOf" : "Roo.util.Observable",
419 "name" : "eventName",
421 "desc" : "The type of event to listen for",
427 "desc" : "The handler to remove",
433 "desc" : "(optional) The scope (this object) for the handler",
440 "name" : "addEvents",
441 "desc" : "Used to define events on this Observable",
443 "isConstructor" : false,
445 "memberOf" : "Roo.util.Observable",
454 "desc" : "The object with the events defined",
461 "name" : "releaseCapture",
462 "desc" : "Removes <b>all</b> added captures from the Observable.",
464 "isConstructor" : false,
466 "memberOf" : "Roo.util.Observable",
474 "type" : "Observable",
475 "desc" : "The Observable to release",
482 "name" : "removeListener",
483 "desc" : "Removes a listener",
485 "isConstructor" : false,
487 "memberOf" : "Roo.util.Observable",
494 "name" : "eventName",
496 "desc" : "The type of event to listen for",
502 "desc" : "The handler to remove",
508 "desc" : "(optional) The scope (this object) for the handler",
515 "name" : "fireEvent",
516 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
518 "isConstructor" : false,
520 "memberOf" : "Roo.util.Observable",
527 "name" : "eventName",
534 "type" : "Object...",
535 "desc" : "Variable number of parameters are passed to handlers",
543 "desc" : "returns false if any of the handlers return false otherwise it returns true"
548 "name" : "hasListener",
549 "desc" : "Checks to see if this object has any listeners for a specified event",
551 "isConstructor" : false,
553 "memberOf" : "Roo.util.Observable",
560 "name" : "eventName",
562 "desc" : "The name of the event to check for",
570 "desc" : "True if the event is being listened for, else false"
576 "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.",
578 "isConstructor" : false,
580 "memberOf" : "Roo.util.Observable",
588 "type" : "Observable",
589 "desc" : "The Observable to capture",
595 "desc" : "The function to call",
601 "desc" : "(optional) The scope (this object) for the fn",
608 "name" : "addListener",
609 "desc" : "Appends an event handler to this component",
611 "isConstructor" : false,
613 "memberOf" : "Roo.util.Observable",
620 "name" : "eventName",
622 "desc" : "The type of event to listen for",
628 "desc" : "The method the event invokes",
634 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
640 "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>",
650 "desc" : "Fires when this item is clicked",
651 "memberOf" : "Roo.menu.BaseItem",
659 "type" : "Roo.menu.BaseItem",
665 "type" : "Roo.EventObject",
674 "desc" : "Fires when this item is activated",
675 "memberOf" : "Roo.menu.BaseItem",
683 "type" : "Roo.menu.BaseItem",
691 "name" : "deactivate",
692 "desc" : "Fires when this item is deactivated",
693 "memberOf" : "Roo.menu.BaseItem",
701 "type" : "Roo.menu.BaseItem",
709 "name" : "beforerender",
710 "desc" : "Fires before the component is rendered. Return false to stop the render.",
711 "memberOf" : "Roo.Component",
719 "type" : "Roo.Component",
728 "desc" : "Fires after the component is disabled.",
729 "memberOf" : "Roo.Component",
737 "type" : "Roo.Component",
746 "desc" : "Fires after the component is rendered.",
747 "memberOf" : "Roo.Component",
755 "type" : "Roo.Component",
764 "desc" : "Fires after the component is destroyed.",
765 "memberOf" : "Roo.Component",
773 "type" : "Roo.Component",
782 "desc" : "Fires after the component is hidden.",
783 "memberOf" : "Roo.Component",
791 "type" : "Roo.Component",
799 "name" : "beforehide",
800 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
801 "memberOf" : "Roo.Component",
809 "type" : "Roo.Component",
818 "desc" : "Fires after the component is shown.",
819 "memberOf" : "Roo.Component",
827 "type" : "Roo.Component",
835 "name" : "beforeshow",
836 "desc" : "Fires before the component is shown. Return false to stop the show.",
837 "memberOf" : "Roo.Component",
845 "type" : "Roo.Component",
854 "desc" : "Fires after the component is enabled.",
855 "memberOf" : "Roo.Component",
863 "type" : "Roo.Component",
871 "name" : "beforedestroy",
872 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
873 "memberOf" : "Roo.Component",
881 "type" : "Roo.Component",