2 "name" : "Roo.menu.Separator",
8 "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 "memberOf" : "Separator",
21 "desc" : "Configuration options",
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",
35 "name" : "activeClass",
37 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
38 "memberOf" : "Roo.menu.BaseItem",
44 "desc" : "True to prevent creation of this menu item (defaults to false)",
45 "memberOf" : "Roo.menu.BaseItem",
51 "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\".",
52 "memberOf" : "Roo.Component",
59 "name" : "hideOnClick",
61 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
62 "memberOf" : "Roo.menu.Separator",
68 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
69 "memberOf" : "Roo.menu.BaseItem",
75 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
76 "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",
89 "desc" : "The default CSS class to use for separators (defaults to \"x-menu-sep\")",
90 "memberOf" : "Roo.menu.Separator",
94 "name" : "actionMode",
96 "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",
97 "memberOf" : "Roo.Component",
101 "name" : "canActivate",
103 "desc" : "True if this item can be visually activated (defaults to false)",
104 "memberOf" : "Roo.menu.BaseItem",
108 "name" : "disableClass",
110 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
111 "memberOf" : "Roo.Component",
118 "desc" : "Returns the id of this component.",
120 "isConstructor" : false,
122 "memberOf" : "Roo.Component",
138 "desc" : "If this is a lazy rendering component, render it to its container element.",
140 "isConstructor" : false,
142 "memberOf" : "Roo.Component",
149 "name" : "container",
150 "type" : "String/HTMLElement/Element",
151 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
159 "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}.",
161 "isConstructor" : false,
163 "memberOf" : "Roo.Component",
172 "name" : "isVisible",
173 "desc" : "Returns true if this component is visible.",
175 "isConstructor" : false,
177 "memberOf" : "Roo.Component",
186 "name" : "setDisabled",
187 "desc" : "Convenience function for setting disabled/enabled by boolean.",
189 "isConstructor" : false,
191 "memberOf" : "Roo.Component",
208 "desc" : "Hide this component.",
210 "isConstructor" : false,
212 "memberOf" : "Roo.Component",
221 "type" : "Roo.Component",
228 "desc" : "Try to focus this component.",
230 "isConstructor" : false,
232 "memberOf" : "Roo.Component",
239 "name" : "selectText",
241 "desc" : "True to also select the text in this component (if applicable)",
248 "type" : "Roo.Component",
255 "desc" : "Show this component.",
257 "isConstructor" : false,
259 "memberOf" : "Roo.Component",
268 "type" : "Roo.Component",
275 "desc" : "Enable this component.",
277 "isConstructor" : false,
279 "memberOf" : "Roo.Component",
288 "type" : "Roo.Component",
294 "name" : "setVisible",
295 "desc" : "Convenience function to hide or show this component by boolean.",
297 "isConstructor" : false,
299 "memberOf" : "Roo.Component",
308 "desc" : "True to show, false to hide",
315 "type" : "Roo.Component",
322 "desc" : "Disable this component.",
324 "isConstructor" : false,
326 "memberOf" : "Roo.Component",
335 "type" : "Roo.Component",
342 "desc" : "Returns the underlying {@link Roo.Element}.",
344 "isConstructor" : false,
346 "memberOf" : "Roo.Component",
355 "type" : "Roo.Element",
356 "desc" : "The element"
361 "name" : "purgeListeners",
362 "desc" : "Removes all listeners for this object",
364 "isConstructor" : false,
366 "memberOf" : "Roo.util.Observable",
376 "desc" : "Appends an event handler to this element (shorthand for addListener)",
378 "isConstructor" : false,
380 "memberOf" : "Roo.util.Observable",
387 "name" : "eventName",
389 "desc" : "The type of event to listen for",
395 "desc" : "The method the event invokes",
401 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
407 "desc" : "(optional)",
415 "desc" : "Removes a listener (shorthand for removeListener)",
417 "isConstructor" : false,
419 "memberOf" : "Roo.util.Observable",
426 "name" : "eventName",
428 "desc" : "The type of event to listen for",
434 "desc" : "The handler to remove",
440 "desc" : "(optional) The scope (this object) for the handler",
447 "name" : "addEvents",
448 "desc" : "Used to define events on this Observable",
450 "isConstructor" : false,
452 "memberOf" : "Roo.util.Observable",
461 "desc" : "The object with the events defined",
468 "name" : "releaseCapture",
469 "desc" : "Removes <b>all</b> added captures from the Observable.",
471 "isConstructor" : false,
473 "memberOf" : "Roo.util.Observable",
481 "type" : "Observable",
482 "desc" : "The Observable to release",
489 "name" : "removeListener",
490 "desc" : "Removes a listener",
492 "isConstructor" : false,
494 "memberOf" : "Roo.util.Observable",
501 "name" : "eventName",
503 "desc" : "The type of event to listen for",
509 "desc" : "The handler to remove",
515 "desc" : "(optional) The scope (this object) for the handler",
522 "name" : "fireEvent",
523 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
525 "isConstructor" : false,
527 "memberOf" : "Roo.util.Observable",
534 "name" : "eventName",
541 "type" : "Object...",
542 "desc" : "Variable number of parameters are passed to handlers",
550 "desc" : "returns false if any of the handlers return false otherwise it returns true"
555 "name" : "hasListener",
556 "desc" : "Checks to see if this object has any listeners for a specified event",
558 "isConstructor" : false,
560 "memberOf" : "Roo.util.Observable",
567 "name" : "eventName",
569 "desc" : "The name of the event to check for",
577 "desc" : "True if the event is being listened for, else false"
583 "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.",
585 "isConstructor" : false,
587 "memberOf" : "Roo.util.Observable",
595 "type" : "Observable",
596 "desc" : "The Observable to capture",
602 "desc" : "The function to call",
608 "desc" : "(optional) The scope (this object) for the fn",
615 "name" : "addListener",
616 "desc" : "Appends an event handler to this component",
618 "isConstructor" : false,
620 "memberOf" : "Roo.util.Observable",
627 "name" : "eventName",
629 "desc" : "The type of event to listen for",
635 "desc" : "The method the event invokes",
641 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
647 "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>",
657 "desc" : "Fires when this item is clicked",
658 "memberOf" : "Roo.menu.BaseItem",
666 "type" : "Roo.menu.BaseItem",
672 "type" : "Roo.EventObject",
681 "desc" : "Fires when this item is activated",
682 "memberOf" : "Roo.menu.BaseItem",
690 "type" : "Roo.menu.BaseItem",
698 "name" : "deactivate",
699 "desc" : "Fires when this item is deactivated",
700 "memberOf" : "Roo.menu.BaseItem",
708 "type" : "Roo.menu.BaseItem",
716 "name" : "beforerender",
717 "desc" : "Fires before the component is rendered. Return false to stop the render.",
718 "memberOf" : "Roo.Component",
726 "type" : "Roo.Component",
735 "desc" : "Fires after the component is disabled.",
736 "memberOf" : "Roo.Component",
744 "type" : "Roo.Component",
753 "desc" : "Fires after the component is rendered.",
754 "memberOf" : "Roo.Component",
762 "type" : "Roo.Component",
771 "desc" : "Fires after the component is destroyed.",
772 "memberOf" : "Roo.Component",
780 "type" : "Roo.Component",
789 "desc" : "Fires after the component is hidden.",
790 "memberOf" : "Roo.Component",
798 "type" : "Roo.Component",
806 "name" : "beforehide",
807 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
808 "memberOf" : "Roo.Component",
816 "type" : "Roo.Component",
825 "desc" : "Fires after the component is shown.",
826 "memberOf" : "Roo.Component",
834 "type" : "Roo.Component",
842 "name" : "beforeshow",
843 "desc" : "Fires before the component is shown. Return false to stop the show.",
844 "memberOf" : "Roo.Component",
852 "type" : "Roo.Component",
861 "desc" : "Fires after the component is enabled.",
862 "memberOf" : "Roo.Component",
870 "type" : "Roo.Component",
878 "name" : "beforedestroy",
879 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
880 "memberOf" : "Roo.Component",
888 "type" : "Roo.Component",