2 "name" : "Roo.menu.TextItem",
8 "desc" : "Adds a static text string to a menu, usually used as either a heading or group separator.\nNote: old style constructor with text is still supported.",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "Text to show on item.",
25 "memberOf" : "Roo.menu.TextItem",
30 "name" : "activeClass",
32 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
33 "memberOf" : "Roo.menu.BaseItem",
40 "desc" : "True to prevent creation of this menu item (defaults to false)",
41 "memberOf" : "Roo.menu.BaseItem",
48 "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\".",
49 "memberOf" : "Roo.Component",
56 "name" : "hideOnClick",
58 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
59 "memberOf" : "Roo.menu.TextItem",
66 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
67 "memberOf" : "Roo.menu.BaseItem",
74 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
75 "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",
90 "desc" : "The default CSS class to use for text items (defaults to \"x-menu-text\")",
91 "memberOf" : "Roo.menu.TextItem",
96 "name" : "actionMode",
98 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
99 "memberOf" : "Roo.Component",
104 "name" : "canActivate",
106 "desc" : "True if this item can be visually activated (defaults to false)",
107 "memberOf" : "Roo.menu.BaseItem",
112 "name" : "disableClass",
114 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
115 "memberOf" : "Roo.Component",
123 "desc" : "Returns the id of this component.",
125 "isConstructor" : false,
127 "memberOf" : "Roo.Component",
144 "desc" : "If this is a lazy rendering component, render it to its container element.",
146 "isConstructor" : false,
148 "memberOf" : "Roo.Component",
155 "name" : "container",
156 "type" : "String/HTMLElement/Element",
157 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
166 "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}.",
168 "isConstructor" : false,
170 "memberOf" : "Roo.Component",
181 "name" : "isVisible",
182 "desc" : "Returns true if this component is visible.",
184 "isConstructor" : false,
186 "memberOf" : "Roo.Component",
197 "name" : "setDisabled",
198 "desc" : "Convenience function for setting disabled/enabled by boolean.",
200 "isConstructor" : false,
202 "memberOf" : "Roo.Component",
220 "desc" : "Hide this component.",
222 "isConstructor" : false,
224 "memberOf" : "Roo.Component",
234 "type" : "Roo.Component",
241 "desc" : "Try to focus this component.",
243 "isConstructor" : false,
245 "memberOf" : "Roo.Component",
252 "name" : "selectText",
254 "desc" : "True to also select the text in this component (if applicable)",
261 "type" : "Roo.Component",
268 "desc" : "Show this component.",
270 "isConstructor" : false,
272 "memberOf" : "Roo.Component",
282 "type" : "Roo.Component",
289 "desc" : "Enable this component.",
291 "isConstructor" : false,
293 "memberOf" : "Roo.Component",
303 "type" : "Roo.Component",
309 "name" : "setVisible",
310 "desc" : "Convenience function to hide or show this component by boolean.",
312 "isConstructor" : false,
314 "memberOf" : "Roo.Component",
323 "desc" : "True to show, false to hide",
330 "type" : "Roo.Component",
337 "desc" : "Disable this component.",
339 "isConstructor" : false,
341 "memberOf" : "Roo.Component",
351 "type" : "Roo.Component",
358 "desc" : "Returns the underlying {@link Roo.Element}.",
360 "isConstructor" : false,
362 "memberOf" : "Roo.Component",
372 "type" : "Roo.Element",
373 "desc" : "The element"
378 "name" : "purgeListeners",
379 "desc" : "Removes all listeners for this object",
381 "isConstructor" : false,
383 "memberOf" : "Roo.util.Observable",
395 "desc" : "Appends an event handler to this element (shorthand for addListener)",
397 "isConstructor" : false,
399 "memberOf" : "Roo.util.Observable",
406 "name" : "eventName",
408 "desc" : "The type of event to listen for",
414 "desc" : "The method the event invokes",
420 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
426 "desc" : "(optional)",
435 "desc" : "Removes a listener (shorthand for removeListener)",
437 "isConstructor" : false,
439 "memberOf" : "Roo.util.Observable",
446 "name" : "eventName",
448 "desc" : "The type of event to listen for",
454 "desc" : "The handler to remove",
460 "desc" : "(optional) The scope (this object) for the handler",
468 "name" : "addEvents",
469 "desc" : "Used to define events on this Observable",
471 "isConstructor" : false,
473 "memberOf" : "Roo.util.Observable",
482 "desc" : "The object with the events defined",
490 "name" : "releaseCapture",
491 "desc" : "Removes <b>all</b> added captures from the Observable.",
493 "isConstructor" : false,
495 "memberOf" : "Roo.util.Observable",
503 "type" : "Observable",
504 "desc" : "The Observable to release",
512 "name" : "removeListener",
513 "desc" : "Removes a listener",
515 "isConstructor" : false,
517 "memberOf" : "Roo.util.Observable",
524 "name" : "eventName",
526 "desc" : "The type of event to listen for",
532 "desc" : "The handler to remove",
538 "desc" : "(optional) The scope (this object) for the handler",
546 "name" : "fireEvent",
547 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
549 "isConstructor" : false,
551 "memberOf" : "Roo.util.Observable",
558 "name" : "eventName",
565 "type" : "Object...",
566 "desc" : "Variable number of parameters are passed to handlers",
574 "desc" : "returns false if any of the handlers return false otherwise it returns true"
579 "name" : "hasListener",
580 "desc" : "Checks to see if this object has any listeners for a specified event",
582 "isConstructor" : false,
584 "memberOf" : "Roo.util.Observable",
591 "name" : "eventName",
593 "desc" : "The name of the event to check for",
601 "desc" : "True if the event is being listened for, else false"
607 "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.",
609 "isConstructor" : false,
611 "memberOf" : "Roo.util.Observable",
619 "type" : "Observable",
620 "desc" : "The Observable to capture",
626 "desc" : "The function to call",
632 "desc" : "(optional) The scope (this object) for the fn",
640 "name" : "addListener",
641 "desc" : "Appends an event handler to this component",
643 "isConstructor" : false,
645 "memberOf" : "Roo.util.Observable",
652 "name" : "eventName",
654 "desc" : "The type of event to listen for",
660 "desc" : "The method the event invokes",
666 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
672 "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>",
683 "desc" : "Fires when this item is clicked",
684 "memberOf" : "Roo.menu.BaseItem",
692 "type" : "Roo.menu.BaseItem",
698 "type" : "Roo.EventObject",
708 "desc" : "Fires when this item is activated",
709 "memberOf" : "Roo.menu.BaseItem",
717 "type" : "Roo.menu.BaseItem",
726 "name" : "deactivate",
727 "desc" : "Fires when this item is deactivated",
728 "memberOf" : "Roo.menu.BaseItem",
736 "type" : "Roo.menu.BaseItem",
745 "name" : "beforerender",
746 "desc" : "Fires before the component is rendered. Return false to stop the render.",
747 "memberOf" : "Roo.Component",
755 "type" : "Roo.Component",
765 "desc" : "Fires after the component is disabled.",
766 "memberOf" : "Roo.Component",
774 "type" : "Roo.Component",
784 "desc" : "Fires after the component is rendered.",
785 "memberOf" : "Roo.Component",
793 "type" : "Roo.Component",
803 "desc" : "Fires after the component is destroyed.",
804 "memberOf" : "Roo.Component",
812 "type" : "Roo.Component",
822 "desc" : "Fires after the component is hidden.",
823 "memberOf" : "Roo.Component",
831 "type" : "Roo.Component",
840 "name" : "beforehide",
841 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
842 "memberOf" : "Roo.Component",
850 "type" : "Roo.Component",
860 "desc" : "Fires after the component is shown.",
861 "memberOf" : "Roo.Component",
869 "type" : "Roo.Component",
878 "name" : "beforeshow",
879 "desc" : "Fires before the component is shown. Return false to stop the show.",
880 "memberOf" : "Roo.Component",
888 "type" : "Roo.Component",
898 "desc" : "Fires after the component is enabled.",
899 "memberOf" : "Roo.Component",
907 "type" : "Roo.Component",
916 "name" : "beforedestroy",
917 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
918 "memberOf" : "Roo.Component",
926 "type" : "Roo.Component",