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"
41 "name" : "activeClass",
43 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
44 "memberOf" : "Roo.menu.BaseItem"
49 "desc" : "True to prevent creation of this menu item (defaults to false)",
50 "memberOf" : "Roo.menu.BaseItem"
55 "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\".",
56 "memberOf" : "Roo.Component"
59 "name" : "hideOnClick",
61 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
67 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
68 "memberOf" : "Roo.menu.BaseItem"
73 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
74 "memberOf" : "Roo.menu.BaseItem"
77 "name" : "allowDomMove",
79 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
80 "memberOf" : "Roo.Component"
85 "desc" : "The default CSS class to use for separators (defaults to \"x-menu-sep\")",
89 "name" : "actionMode",
91 "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",
92 "memberOf" : "Roo.Component"
95 "name" : "canActivate",
97 "desc" : "True if this item can be visually activated (defaults to false)",
98 "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.",
112 "sig" : "()\n{\n\n}",
114 "memberOf" : "Roo.Component",
116 "isConstructor" : false,
136 "desc" : "If this is a lazy rendering component, render it to its container element.",
137 "sig" : "(container)",
139 "memberOf" : "Roo.Component",
141 "isConstructor" : false,
151 "name" : "container",
152 "type" : "String/HTMLElement/Element",
153 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
162 "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}.",
163 "sig" : "()\n{\n\n}",
165 "memberOf" : "Roo.Component",
167 "isConstructor" : false,
179 "name" : "isVisible",
181 "desc" : "Returns true if this component is visible.",
182 "sig" : "()\n{\n\n}",
184 "memberOf" : "Roo.Component",
186 "isConstructor" : false,
198 "name" : "setDisabled",
200 "desc" : "Convenience function for setting disabled/enabled by boolean.",
201 "sig" : "(disabled)",
203 "memberOf" : "Roo.Component",
205 "isConstructor" : false,
226 "desc" : "Hide this component.",
227 "sig" : "()\n{\n\n}",
229 "memberOf" : "Roo.Component",
231 "isConstructor" : false,
243 "type" : "Roo.Component",
251 "desc" : "Try to focus this component.",
252 "sig" : "(selectText)",
254 "memberOf" : "Roo.Component",
256 "isConstructor" : false,
266 "name" : "selectText",
268 "desc" : "True to also select the text in this component (if applicable)",
275 "type" : "Roo.Component",
283 "desc" : "Show this component.",
284 "sig" : "()\n{\n\n}",
286 "memberOf" : "Roo.Component",
288 "isConstructor" : false,
300 "type" : "Roo.Component",
308 "desc" : "Enable this component.",
309 "sig" : "()\n{\n\n}",
311 "memberOf" : "Roo.Component",
313 "isConstructor" : false,
325 "type" : "Roo.Component",
331 "name" : "setVisible",
333 "desc" : "Convenience function to hide or show this component by boolean.",
336 "memberOf" : "Roo.Component",
338 "isConstructor" : false,
350 "desc" : "True to show, false to hide",
357 "type" : "Roo.Component",
365 "desc" : "Disable this component.",
366 "sig" : "()\n{\n\n}",
368 "memberOf" : "Roo.Component",
370 "isConstructor" : false,
382 "type" : "Roo.Component",
390 "desc" : "Returns the underlying {@link Roo.Element}.",
391 "sig" : "()\n{\n\n}",
393 "memberOf" : "Roo.Component",
395 "isConstructor" : false,
407 "type" : "Roo.Element",
408 "desc" : "The element"
413 "name" : "purgeListeners",
415 "desc" : "Removes all listeners for this object",
416 "sig" : "()\n{\n\n}",
418 "memberOf" : "Roo.util.Observable",
420 "isConstructor" : false,
434 "desc" : "Appends an event handler to this element (shorthand for addListener)",
435 "sig" : "(eventName, handler, scope, options)",
437 "memberOf" : "Roo.util.Observable",
439 "isConstructor" : false,
449 "name" : "eventName",
451 "desc" : "The type of event to listen for",
457 "desc" : "The method the event invokes",
463 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
469 "desc" : "(optional)",
478 "desc" : "Removes a listener (shorthand for removeListener)",
479 "sig" : "(eventName, handler, scope)",
481 "memberOf" : "Roo.util.Observable",
483 "isConstructor" : false,
493 "name" : "eventName",
495 "desc" : "The type of event to listen for",
501 "desc" : "The handler to remove",
507 "desc" : "(optional) The scope (this object) for the handler",
514 "name" : "addEvents",
516 "desc" : "Used to define events on this Observable",
519 "memberOf" : "Roo.util.Observable",
521 "isConstructor" : false,
533 "desc" : "The object with the events defined",
540 "name" : "releaseCapture",
542 "desc" : "Removes <b>all</b> added captures from the Observable.",
545 "memberOf" : "Roo.util.Observable",
547 "isConstructor" : false,
558 "type" : "Observable",
559 "desc" : "The Observable to release",
566 "name" : "removeListener",
568 "desc" : "Removes a listener",
569 "sig" : "(eventName, handler, scope)",
571 "memberOf" : "Roo.util.Observable",
573 "isConstructor" : false,
583 "name" : "eventName",
585 "desc" : "The type of event to listen for",
591 "desc" : "The handler to remove",
597 "desc" : "(optional) The scope (this object) for the handler",
604 "name" : "fireEvent",
606 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
607 "sig" : "(eventName, args)",
609 "memberOf" : "Roo.util.Observable",
611 "isConstructor" : false,
621 "name" : "eventName",
628 "type" : "Object...",
629 "desc" : "Variable number of parameters are passed to handlers",
637 "desc" : "returns false if any of the handlers return false otherwise it returns true"
642 "name" : "hasListener",
644 "desc" : "Checks to see if this object has any listeners for a specified event",
645 "sig" : "(eventName)",
647 "memberOf" : "Roo.util.Observable",
649 "isConstructor" : false,
659 "name" : "eventName",
661 "desc" : "The name of the event to check for",
669 "desc" : "True if the event is being listened for, else false"
676 "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.",
677 "sig" : "(o, fn, scope)",
679 "memberOf" : "Roo.util.Observable",
681 "isConstructor" : false,
692 "type" : "Observable",
693 "desc" : "The Observable to capture",
699 "desc" : "The function to call",
705 "desc" : "(optional) The scope (this object) for the fn",
712 "name" : "addListener",
714 "desc" : "Appends an event handler to this component",
715 "sig" : "(eventName, handler, scope, options)",
717 "memberOf" : "Roo.util.Observable",
719 "isConstructor" : false,
729 "name" : "eventName",
731 "desc" : "The type of event to listen for",
737 "desc" : "The method the event invokes",
743 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
749 "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>",
760 "desc" : "Fires when this item is clicked",
761 "sig" : "function (_self, e)\n{\n\n}",
762 "memberOf" : "Roo.menu.BaseItem",
770 "type" : "Roo.menu.BaseItem",
776 "type" : "Roo.EventObject",
786 "desc" : "Fires when this item is activated",
787 "sig" : "function (_self)\n{\n\n}",
788 "memberOf" : "Roo.menu.BaseItem",
796 "type" : "Roo.menu.BaseItem",
804 "name" : "deactivate",
806 "desc" : "Fires when this item is deactivated",
807 "sig" : "function (_self)\n{\n\n}",
808 "memberOf" : "Roo.menu.BaseItem",
816 "type" : "Roo.menu.BaseItem",
824 "name" : "beforerender",
826 "desc" : "Fires before the component is rendered. Return false to stop the render.",
827 "sig" : "function (_self)\n{\n\n}",
828 "memberOf" : "Roo.Component",
836 "type" : "Roo.Component",
846 "desc" : "Fires after the component is disabled.",
847 "sig" : "function (_self)\n{\n\n}",
848 "memberOf" : "Roo.Component",
856 "type" : "Roo.Component",
866 "desc" : "Fires after the component is rendered.",
867 "sig" : "function (_self)\n{\n\n}",
868 "memberOf" : "Roo.Component",
876 "type" : "Roo.Component",
886 "desc" : "Fires after the component is destroyed.",
887 "sig" : "function (_self)\n{\n\n}",
888 "memberOf" : "Roo.Component",
896 "type" : "Roo.Component",
906 "desc" : "Fires after the component is hidden.",
907 "sig" : "function (_self)\n{\n\n}",
908 "memberOf" : "Roo.Component",
916 "type" : "Roo.Component",
924 "name" : "beforehide",
926 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
927 "sig" : "function (_self)\n{\n\n}",
928 "memberOf" : "Roo.Component",
936 "type" : "Roo.Component",
946 "desc" : "Fires after the component is shown.",
947 "sig" : "function (_self)\n{\n\n}",
948 "memberOf" : "Roo.Component",
956 "type" : "Roo.Component",
964 "name" : "beforeshow",
966 "desc" : "Fires before the component is shown. Return false to stop the show.",
967 "sig" : "function (_self)\n{\n\n}",
968 "memberOf" : "Roo.Component",
976 "type" : "Roo.Component",
986 "desc" : "Fires after the component is enabled.",
987 "sig" : "function (_self)\n{\n\n}",
988 "memberOf" : "Roo.Component",
996 "type" : "Roo.Component",
1004 "name" : "beforedestroy",
1005 "type" : "function",
1006 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1007 "sig" : "function (_self)\n{\n\n}",
1008 "memberOf" : "Roo.Component",
1016 "type" : "Roo.Component",
1018 "isOptional" : false