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",
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" : "Text to show on item.",
40 "memberOf" : "Roo.menu.TextItem",
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" : "True to prevent creation of this menu item (defaults to false)",
56 "memberOf" : "Roo.menu.BaseItem",
63 "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\".",
64 "memberOf" : "Roo.Component",
71 "name" : "hideOnClick",
73 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
74 "memberOf" : "Roo.menu.TextItem",
81 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
82 "memberOf" : "Roo.menu.BaseItem",
89 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
90 "memberOf" : "Roo.menu.BaseItem",
95 "name" : "allowDomMove",
97 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
98 "memberOf" : "Roo.Component",
105 "desc" : "The default CSS class to use for text items (defaults to \"x-menu-text\")",
106 "memberOf" : "Roo.menu.TextItem",
111 "name" : "actionMode",
113 "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",
114 "memberOf" : "Roo.Component",
119 "name" : "canActivate",
121 "desc" : "True if this item can be visually activated (defaults to false)",
122 "memberOf" : "Roo.menu.BaseItem",
127 "name" : "disableClass",
129 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
130 "memberOf" : "Roo.Component",
138 "desc" : "Returns the id of this component.",
140 "isConstructor" : false,
142 "memberOf" : "Roo.Component",
159 "desc" : "If this is a lazy rendering component, render it to its container element.",
161 "isConstructor" : false,
163 "memberOf" : "Roo.Component",
170 "name" : "container",
171 "type" : "String/HTMLElement/Element",
172 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
181 "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}.",
183 "isConstructor" : false,
185 "memberOf" : "Roo.Component",
196 "name" : "isVisible",
197 "desc" : "Returns true if this component is visible.",
199 "isConstructor" : false,
201 "memberOf" : "Roo.Component",
212 "name" : "setDisabled",
213 "desc" : "Convenience function for setting disabled/enabled by boolean.",
215 "isConstructor" : false,
217 "memberOf" : "Roo.Component",
235 "desc" : "Hide this component.",
237 "isConstructor" : false,
239 "memberOf" : "Roo.Component",
249 "type" : "Roo.Component",
256 "desc" : "Try to focus this component.",
258 "isConstructor" : false,
260 "memberOf" : "Roo.Component",
267 "name" : "selectText",
269 "desc" : "True to also select the text in this component (if applicable)",
276 "type" : "Roo.Component",
283 "desc" : "Show this component.",
285 "isConstructor" : false,
287 "memberOf" : "Roo.Component",
297 "type" : "Roo.Component",
304 "desc" : "Enable this component.",
306 "isConstructor" : false,
308 "memberOf" : "Roo.Component",
318 "type" : "Roo.Component",
324 "name" : "setVisible",
325 "desc" : "Convenience function to hide or show this component by boolean.",
327 "isConstructor" : false,
329 "memberOf" : "Roo.Component",
338 "desc" : "True to show, false to hide",
345 "type" : "Roo.Component",
352 "desc" : "Disable this component.",
354 "isConstructor" : false,
356 "memberOf" : "Roo.Component",
366 "type" : "Roo.Component",
373 "desc" : "Returns the underlying {@link Roo.Element}.",
375 "isConstructor" : false,
377 "memberOf" : "Roo.Component",
387 "type" : "Roo.Element",
388 "desc" : "The element"
393 "name" : "purgeListeners",
394 "desc" : "Removes all listeners for this object",
396 "isConstructor" : false,
398 "memberOf" : "Roo.util.Observable",
410 "desc" : "Appends an event handler to this element (shorthand for addListener)",
412 "isConstructor" : false,
414 "memberOf" : "Roo.util.Observable",
421 "name" : "eventName",
423 "desc" : "The type of event to listen for",
429 "desc" : "The method the event invokes",
435 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
441 "desc" : "(optional)",
450 "desc" : "Removes a listener (shorthand for removeListener)",
452 "isConstructor" : false,
454 "memberOf" : "Roo.util.Observable",
461 "name" : "eventName",
463 "desc" : "The type of event to listen for",
469 "desc" : "The handler to remove",
475 "desc" : "(optional) The scope (this object) for the handler",
483 "name" : "addEvents",
484 "desc" : "Used to define events on this Observable",
486 "isConstructor" : false,
488 "memberOf" : "Roo.util.Observable",
497 "desc" : "The object with the events defined",
505 "name" : "releaseCapture",
506 "desc" : "Removes <b>all</b> added captures from the Observable.",
508 "isConstructor" : false,
510 "memberOf" : "Roo.util.Observable",
518 "type" : "Observable",
519 "desc" : "The Observable to release",
527 "name" : "removeListener",
528 "desc" : "Removes a listener",
530 "isConstructor" : false,
532 "memberOf" : "Roo.util.Observable",
539 "name" : "eventName",
541 "desc" : "The type of event to listen for",
547 "desc" : "The handler to remove",
553 "desc" : "(optional) The scope (this object) for the handler",
561 "name" : "fireEvent",
562 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
564 "isConstructor" : false,
566 "memberOf" : "Roo.util.Observable",
573 "name" : "eventName",
580 "type" : "Object...",
581 "desc" : "Variable number of parameters are passed to handlers",
589 "desc" : "returns false if any of the handlers return false otherwise it returns true"
594 "name" : "hasListener",
595 "desc" : "Checks to see if this object has any listeners for a specified event",
597 "isConstructor" : false,
599 "memberOf" : "Roo.util.Observable",
606 "name" : "eventName",
608 "desc" : "The name of the event to check for",
616 "desc" : "True if the event is being listened for, else false"
622 "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.",
624 "isConstructor" : false,
626 "memberOf" : "Roo.util.Observable",
634 "type" : "Observable",
635 "desc" : "The Observable to capture",
641 "desc" : "The function to call",
647 "desc" : "(optional) The scope (this object) for the fn",
655 "name" : "addListener",
656 "desc" : "Appends an event handler to this component",
658 "isConstructor" : false,
660 "memberOf" : "Roo.util.Observable",
667 "name" : "eventName",
669 "desc" : "The type of event to listen for",
675 "desc" : "The method the event invokes",
681 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
687 "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>",
698 "desc" : "Fires when this item is clicked",
699 "memberOf" : "Roo.menu.BaseItem",
707 "type" : "Roo.menu.BaseItem",
713 "type" : "Roo.EventObject",
723 "desc" : "Fires when this item is activated",
724 "memberOf" : "Roo.menu.BaseItem",
732 "type" : "Roo.menu.BaseItem",
741 "name" : "deactivate",
742 "desc" : "Fires when this item is deactivated",
743 "memberOf" : "Roo.menu.BaseItem",
751 "type" : "Roo.menu.BaseItem",
760 "name" : "beforerender",
761 "desc" : "Fires before the component is rendered. Return false to stop the render.",
762 "memberOf" : "Roo.Component",
770 "type" : "Roo.Component",
780 "desc" : "Fires after the component is disabled.",
781 "memberOf" : "Roo.Component",
789 "type" : "Roo.Component",
799 "desc" : "Fires after the component is rendered.",
800 "memberOf" : "Roo.Component",
808 "type" : "Roo.Component",
818 "desc" : "Fires after the component is destroyed.",
819 "memberOf" : "Roo.Component",
827 "type" : "Roo.Component",
837 "desc" : "Fires after the component is hidden.",
838 "memberOf" : "Roo.Component",
846 "type" : "Roo.Component",
855 "name" : "beforehide",
856 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
857 "memberOf" : "Roo.Component",
865 "type" : "Roo.Component",
875 "desc" : "Fires after the component is shown.",
876 "memberOf" : "Roo.Component",
884 "type" : "Roo.Component",
893 "name" : "beforeshow",
894 "desc" : "Fires before the component is shown. Return false to stop the show.",
895 "memberOf" : "Roo.Component",
903 "type" : "Roo.Component",
913 "desc" : "Fires after the component is enabled.",
914 "memberOf" : "Roo.Component",
922 "type" : "Roo.Component",
931 "name" : "beforedestroy",
932 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
933 "memberOf" : "Roo.Component",
941 "type" : "Roo.Component",