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.",
12 "memberOf" : "TextItem",
21 "desc" : "Configuration",
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" : "Text to show on item.",
38 "memberOf" : "Roo.menu.TextItem",
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" : "True to prevent creation of this menu item (defaults to false)",
52 "memberOf" : "Roo.menu.BaseItem",
58 "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\".",
59 "memberOf" : "Roo.Component",
66 "name" : "hideOnClick",
68 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
69 "memberOf" : "Roo.menu.TextItem",
75 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
76 "memberOf" : "Roo.menu.BaseItem",
82 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
83 "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",
96 "desc" : "The default CSS class to use for text items (defaults to \"x-menu-text\")",
97 "memberOf" : "Roo.menu.TextItem",
101 "name" : "actionMode",
103 "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",
104 "memberOf" : "Roo.Component",
108 "name" : "canActivate",
110 "desc" : "True if this item can be visually activated (defaults to false)",
111 "memberOf" : "Roo.menu.BaseItem",
115 "name" : "disableClass",
117 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
118 "memberOf" : "Roo.Component",
125 "desc" : "Returns the id of this component.",
127 "isConstructor" : false,
129 "memberOf" : "Roo.Component",
145 "desc" : "If this is a lazy rendering component, render it to its container element.",
147 "isConstructor" : false,
149 "memberOf" : "Roo.Component",
156 "name" : "container",
157 "type" : "String/HTMLElement/Element",
158 "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",
179 "name" : "isVisible",
180 "desc" : "Returns true if this component is visible.",
182 "isConstructor" : false,
184 "memberOf" : "Roo.Component",
193 "name" : "setDisabled",
194 "desc" : "Convenience function for setting disabled/enabled by boolean.",
196 "isConstructor" : false,
198 "memberOf" : "Roo.Component",
215 "desc" : "Hide this component.",
217 "isConstructor" : false,
219 "memberOf" : "Roo.Component",
228 "type" : "Roo.Component",
235 "desc" : "Try to focus this component.",
237 "isConstructor" : false,
239 "memberOf" : "Roo.Component",
246 "name" : "selectText",
248 "desc" : "True to also select the text in this component (if applicable)",
255 "type" : "Roo.Component",
262 "desc" : "Show this component.",
264 "isConstructor" : false,
266 "memberOf" : "Roo.Component",
275 "type" : "Roo.Component",
282 "desc" : "Enable this component.",
284 "isConstructor" : false,
286 "memberOf" : "Roo.Component",
295 "type" : "Roo.Component",
301 "name" : "setVisible",
302 "desc" : "Convenience function to hide or show this component by boolean.",
304 "isConstructor" : false,
306 "memberOf" : "Roo.Component",
315 "desc" : "True to show, false to hide",
322 "type" : "Roo.Component",
329 "desc" : "Disable this component.",
331 "isConstructor" : false,
333 "memberOf" : "Roo.Component",
342 "type" : "Roo.Component",
349 "desc" : "Returns the underlying {@link Roo.Element}.",
351 "isConstructor" : false,
353 "memberOf" : "Roo.Component",
362 "type" : "Roo.Element",
363 "desc" : "The element"
368 "name" : "purgeListeners",
369 "desc" : "Removes all listeners for this object",
371 "isConstructor" : false,
373 "memberOf" : "Roo.util.Observable",
383 "desc" : "Appends an event handler to this element (shorthand for addListener)",
385 "isConstructor" : false,
387 "memberOf" : "Roo.util.Observable",
394 "name" : "eventName",
396 "desc" : "The type of event to listen for",
402 "desc" : "The method the event invokes",
408 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
414 "desc" : "(optional)",
422 "desc" : "Removes a listener (shorthand for removeListener)",
424 "isConstructor" : false,
426 "memberOf" : "Roo.util.Observable",
433 "name" : "eventName",
435 "desc" : "The type of event to listen for",
441 "desc" : "The handler to remove",
447 "desc" : "(optional) The scope (this object) for the handler",
454 "name" : "addEvents",
455 "desc" : "Used to define events on this Observable",
457 "isConstructor" : false,
459 "memberOf" : "Roo.util.Observable",
468 "desc" : "The object with the events defined",
475 "name" : "releaseCapture",
476 "desc" : "Removes <b>all</b> added captures from the Observable.",
478 "isConstructor" : false,
480 "memberOf" : "Roo.util.Observable",
488 "type" : "Observable",
489 "desc" : "The Observable to release",
496 "name" : "removeListener",
497 "desc" : "Removes a listener",
499 "isConstructor" : false,
501 "memberOf" : "Roo.util.Observable",
508 "name" : "eventName",
510 "desc" : "The type of event to listen for",
516 "desc" : "The handler to remove",
522 "desc" : "(optional) The scope (this object) for the handler",
529 "name" : "fireEvent",
530 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
532 "isConstructor" : false,
534 "memberOf" : "Roo.util.Observable",
541 "name" : "eventName",
548 "type" : "Object...",
549 "desc" : "Variable number of parameters are passed to handlers",
557 "desc" : "returns false if any of the handlers return false otherwise it returns true"
562 "name" : "hasListener",
563 "desc" : "Checks to see if this object has any listeners for a specified event",
565 "isConstructor" : false,
567 "memberOf" : "Roo.util.Observable",
574 "name" : "eventName",
576 "desc" : "The name of the event to check for",
584 "desc" : "True if the event is being listened for, else false"
590 "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.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.util.Observable",
602 "type" : "Observable",
603 "desc" : "The Observable to capture",
609 "desc" : "The function to call",
615 "desc" : "(optional) The scope (this object) for the fn",
622 "name" : "addListener",
623 "desc" : "Appends an event handler to this component",
625 "isConstructor" : false,
627 "memberOf" : "Roo.util.Observable",
634 "name" : "eventName",
636 "desc" : "The type of event to listen for",
642 "desc" : "The method the event invokes",
648 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
654 "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>",
664 "desc" : "Fires when this item is clicked",
665 "memberOf" : "Roo.menu.BaseItem",
673 "type" : "Roo.menu.BaseItem",
679 "type" : "Roo.EventObject",
688 "desc" : "Fires when this item is activated",
689 "memberOf" : "Roo.menu.BaseItem",
697 "type" : "Roo.menu.BaseItem",
705 "name" : "deactivate",
706 "desc" : "Fires when this item is deactivated",
707 "memberOf" : "Roo.menu.BaseItem",
715 "type" : "Roo.menu.BaseItem",
723 "name" : "beforerender",
724 "desc" : "Fires before the component is rendered. Return false to stop the render.",
725 "memberOf" : "Roo.Component",
733 "type" : "Roo.Component",
742 "desc" : "Fires after the component is disabled.",
743 "memberOf" : "Roo.Component",
751 "type" : "Roo.Component",
760 "desc" : "Fires after the component is rendered.",
761 "memberOf" : "Roo.Component",
769 "type" : "Roo.Component",
778 "desc" : "Fires after the component is destroyed.",
779 "memberOf" : "Roo.Component",
787 "type" : "Roo.Component",
796 "desc" : "Fires after the component is hidden.",
797 "memberOf" : "Roo.Component",
805 "type" : "Roo.Component",
813 "name" : "beforehide",
814 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
815 "memberOf" : "Roo.Component",
823 "type" : "Roo.Component",
832 "desc" : "Fires after the component is shown.",
833 "memberOf" : "Roo.Component",
841 "type" : "Roo.Component",
849 "name" : "beforeshow",
850 "desc" : "Fires before the component is shown. Return false to stop the show.",
851 "memberOf" : "Roo.Component",
859 "type" : "Roo.Component",
868 "desc" : "Fires after the component is enabled.",
869 "memberOf" : "Roo.Component",
877 "type" : "Roo.Component",
885 "name" : "beforedestroy",
886 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
887 "memberOf" : "Roo.Component",
895 "type" : "Roo.Component",