2 "name" : "Roo.menu.Separator",
11 "desc" : "Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will\nadd one of these by using \"-\" in you call to add() or in your items config rather than creating one directly.",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "Separator",
26 "desc" : "Configuration options",
37 "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>",
38 "memberOf" : "Roo.util.Observable",
43 "name" : "activeClass",
45 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
46 "memberOf" : "Roo.menu.BaseItem",
53 "desc" : "True to prevent creation of this menu item (defaults to false)",
54 "memberOf" : "Roo.menu.BaseItem",
61 "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",
62 "memberOf" : "Roo.Component",
70 "name" : "hideOnClick",
72 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
80 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
81 "memberOf" : "Roo.menu.BaseItem",
88 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
89 "memberOf" : "Roo.menu.BaseItem",
94 "name" : "allowDomMove",
96 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
97 "memberOf" : "Roo.Component",
104 "desc" : "The default CSS class to use for separators (defaults to \"x-menu-sep\")",
106 "isOptional" : false,
110 "name" : "actionMode",
112 "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",
113 "memberOf" : "Roo.Component",
114 "isOptional" : false,
118 "name" : "canActivate",
120 "desc" : "True if this item can be visually activated (defaults to false)",
121 "memberOf" : "Roo.menu.BaseItem",
122 "isOptional" : false,
126 "name" : "disableClass",
128 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
129 "memberOf" : "Roo.Component",
130 "isOptional" : false,
138 "desc" : "Returns the id of this component.",
139 "sig" : "()\n{\n\n}",
141 "memberOf" : "Roo.Component",
143 "isConstructor" : false,
163 "desc" : "If this is a lazy rendering component, render it to its container element.",
164 "sig" : "(container)",
166 "memberOf" : "Roo.Component",
168 "isConstructor" : false,
178 "name" : "container",
179 "type" : "String/HTMLElement/Element",
180 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
189 "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}.",
190 "sig" : "()\n{\n\n}",
192 "memberOf" : "Roo.Component",
194 "isConstructor" : false,
206 "name" : "isVisible",
208 "desc" : "Returns true if this component is visible.",
209 "sig" : "()\n{\n\n}",
211 "memberOf" : "Roo.Component",
213 "isConstructor" : false,
225 "name" : "setDisabled",
227 "desc" : "Convenience function for setting disabled/enabled by boolean.",
228 "sig" : "(disabled)",
230 "memberOf" : "Roo.Component",
232 "isConstructor" : false,
253 "desc" : "Hide this component.",
254 "sig" : "()\n{\n\n}",
256 "memberOf" : "Roo.Component",
258 "isConstructor" : false,
270 "type" : "Roo.Component",
278 "desc" : "Try to focus this component.",
279 "sig" : "(selectText)",
281 "memberOf" : "Roo.Component",
283 "isConstructor" : false,
293 "name" : "selectText",
295 "desc" : "True to also select the text in this component (if applicable)",
302 "type" : "Roo.Component",
310 "desc" : "Show this component.",
311 "sig" : "()\n{\n\n}",
313 "memberOf" : "Roo.Component",
315 "isConstructor" : false,
327 "type" : "Roo.Component",
335 "desc" : "Enable this component.",
336 "sig" : "()\n{\n\n}",
338 "memberOf" : "Roo.Component",
340 "isConstructor" : false,
352 "type" : "Roo.Component",
358 "name" : "setVisible",
360 "desc" : "Convenience function to hide or show this component by boolean.",
363 "memberOf" : "Roo.Component",
365 "isConstructor" : false,
377 "desc" : "True to show, false to hide",
384 "type" : "Roo.Component",
392 "desc" : "Disable this component.",
393 "sig" : "()\n{\n\n}",
395 "memberOf" : "Roo.Component",
397 "isConstructor" : false,
409 "type" : "Roo.Component",
417 "desc" : "Returns the underlying {@link Roo.Element}.",
418 "sig" : "()\n{\n\n}",
420 "memberOf" : "Roo.Component",
422 "isConstructor" : false,
434 "type" : "Roo.Element",
435 "desc" : "The element"
440 "name" : "purgeListeners",
442 "desc" : "Removes all listeners for this object",
443 "sig" : "()\n{\n\n}",
445 "memberOf" : "Roo.util.Observable",
447 "isConstructor" : false,
461 "desc" : "Appends an event handler to this element (shorthand for addListener)",
462 "sig" : "(eventName, handler, scope, options)",
464 "memberOf" : "Roo.util.Observable",
466 "isConstructor" : false,
476 "name" : "eventName",
478 "desc" : "The type of event to listen for",
484 "desc" : "The method the event invokes",
490 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
496 "desc" : "(optional)",
505 "desc" : "Removes a listener (shorthand for removeListener)",
506 "sig" : "(eventName, handler, scope)",
508 "memberOf" : "Roo.util.Observable",
510 "isConstructor" : false,
520 "name" : "eventName",
522 "desc" : "The type of event to listen for",
528 "desc" : "The handler to remove",
534 "desc" : "(optional) The scope (this object) for the handler",
541 "name" : "addEvents",
543 "desc" : "Used to define events on this Observable",
546 "memberOf" : "Roo.util.Observable",
548 "isConstructor" : false,
560 "desc" : "The object with the events defined",
567 "name" : "releaseCapture",
569 "desc" : "Removes <b>all</b> added captures from the Observable.",
572 "memberOf" : "Roo.util.Observable",
574 "isConstructor" : false,
585 "type" : "Observable",
586 "desc" : "The Observable to release",
593 "name" : "removeListener",
595 "desc" : "Removes a listener",
596 "sig" : "(eventName, handler, scope)",
598 "memberOf" : "Roo.util.Observable",
600 "isConstructor" : false,
610 "name" : "eventName",
612 "desc" : "The type of event to listen for",
618 "desc" : "The handler to remove",
624 "desc" : "(optional) The scope (this object) for the handler",
631 "name" : "fireEvent",
633 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
634 "sig" : "(eventName, args)",
636 "memberOf" : "Roo.util.Observable",
638 "isConstructor" : false,
648 "name" : "eventName",
655 "type" : "Object...",
656 "desc" : "Variable number of parameters are passed to handlers",
664 "desc" : "returns false if any of the handlers return false otherwise it returns true"
669 "name" : "hasListener",
671 "desc" : "Checks to see if this object has any listeners for a specified event",
672 "sig" : "(eventName)",
674 "memberOf" : "Roo.util.Observable",
676 "isConstructor" : false,
686 "name" : "eventName",
688 "desc" : "The name of the event to check for",
696 "desc" : "True if the event is being listened for, else false"
703 "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.",
704 "sig" : "(o, fn, scope)",
706 "memberOf" : "Roo.util.Observable",
708 "isConstructor" : false,
719 "type" : "Observable",
720 "desc" : "The Observable to capture",
726 "desc" : "The function to call",
732 "desc" : "(optional) The scope (this object) for the fn",
739 "name" : "addListener",
741 "desc" : "Appends an event handler to this component",
742 "sig" : "(eventName, handler, scope, options)",
744 "memberOf" : "Roo.util.Observable",
746 "isConstructor" : false,
756 "name" : "eventName",
758 "desc" : "The type of event to listen for",
764 "desc" : "The method the event invokes",
770 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
776 "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>",
787 "desc" : "Fires when this item is clicked",
788 "sig" : "function (_self, e)\n{\n\n}",
789 "memberOf" : "Roo.menu.BaseItem",
797 "type" : "Roo.menu.BaseItem",
803 "type" : "Roo.EventObject",
813 "desc" : "Fires when this item is activated",
814 "sig" : "function (_self)\n{\n\n}",
815 "memberOf" : "Roo.menu.BaseItem",
823 "type" : "Roo.menu.BaseItem",
831 "name" : "deactivate",
833 "desc" : "Fires when this item is deactivated",
834 "sig" : "function (_self)\n{\n\n}",
835 "memberOf" : "Roo.menu.BaseItem",
843 "type" : "Roo.menu.BaseItem",
851 "name" : "beforerender",
853 "desc" : "Fires before the component is rendered. Return false to stop the render.",
854 "sig" : "function (_self)\n{\n\n}",
855 "memberOf" : "Roo.Component",
863 "type" : "Roo.Component",
873 "desc" : "Fires after the component is disabled.",
874 "sig" : "function (_self)\n{\n\n}",
875 "memberOf" : "Roo.Component",
883 "type" : "Roo.Component",
893 "desc" : "Fires after the component is rendered.",
894 "sig" : "function (_self)\n{\n\n}",
895 "memberOf" : "Roo.Component",
903 "type" : "Roo.Component",
913 "desc" : "Fires after the component is destroyed.",
914 "sig" : "function (_self)\n{\n\n}",
915 "memberOf" : "Roo.Component",
923 "type" : "Roo.Component",
933 "desc" : "Fires after the component is hidden.",
934 "sig" : "function (_self)\n{\n\n}",
935 "memberOf" : "Roo.Component",
943 "type" : "Roo.Component",
951 "name" : "beforehide",
953 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
954 "sig" : "function (_self)\n{\n\n}",
955 "memberOf" : "Roo.Component",
963 "type" : "Roo.Component",
973 "desc" : "Fires after the component is shown.",
974 "sig" : "function (_self)\n{\n\n}",
975 "memberOf" : "Roo.Component",
983 "type" : "Roo.Component",
991 "name" : "beforeshow",
993 "desc" : "Fires before the component is shown. Return false to stop the show.",
994 "sig" : "function (_self)\n{\n\n}",
995 "memberOf" : "Roo.Component",
1003 "type" : "Roo.Component",
1005 "isOptional" : false
1012 "type" : "function",
1013 "desc" : "Fires after the component is enabled.",
1014 "sig" : "function (_self)\n{\n\n}",
1015 "memberOf" : "Roo.Component",
1023 "type" : "Roo.Component",
1025 "isOptional" : false
1031 "name" : "beforedestroy",
1032 "type" : "function",
1033 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1034 "sig" : "function (_self)\n{\n\n}",
1035 "memberOf" : "Roo.Component",
1043 "type" : "Roo.Component",
1045 "isOptional" : false