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",
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",
37 "name" : "activeClass",
39 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
40 "memberOf" : "Roo.menu.BaseItem",
47 "desc" : "True to prevent creation of this menu item (defaults to false)",
48 "memberOf" : "Roo.menu.BaseItem",
55 "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\".",
56 "memberOf" : "Roo.Component",
63 "name" : "hideOnClick",
65 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
66 "memberOf" : "Roo.menu.Separator",
73 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
74 "memberOf" : "Roo.menu.BaseItem",
81 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
82 "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",
97 "desc" : "The default CSS class to use for separators (defaults to \"x-menu-sep\")",
98 "memberOf" : "Roo.menu.Separator",
103 "name" : "actionMode",
105 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
106 "memberOf" : "Roo.Component",
111 "name" : "canActivate",
113 "desc" : "True if this item can be visually activated (defaults to false)",
114 "memberOf" : "Roo.menu.BaseItem",
119 "name" : "disableClass",
121 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
122 "memberOf" : "Roo.Component",
130 "desc" : "Returns the id of this component.",
132 "isConstructor" : false,
134 "memberOf" : "Roo.Component",
151 "desc" : "If this is a lazy rendering component, render it to its container element.",
153 "isConstructor" : false,
155 "memberOf" : "Roo.Component",
162 "name" : "container",
163 "type" : "String/HTMLElement/Element",
164 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
173 "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}.",
175 "isConstructor" : false,
177 "memberOf" : "Roo.Component",
188 "name" : "isVisible",
189 "desc" : "Returns true if this component is visible.",
191 "isConstructor" : false,
193 "memberOf" : "Roo.Component",
204 "name" : "setDisabled",
205 "desc" : "Convenience function for setting disabled/enabled by boolean.",
207 "isConstructor" : false,
209 "memberOf" : "Roo.Component",
227 "desc" : "Hide this component.",
229 "isConstructor" : false,
231 "memberOf" : "Roo.Component",
241 "type" : "Roo.Component",
248 "desc" : "Try to focus this component.",
250 "isConstructor" : false,
252 "memberOf" : "Roo.Component",
259 "name" : "selectText",
261 "desc" : "True to also select the text in this component (if applicable)",
268 "type" : "Roo.Component",
275 "desc" : "Show this component.",
277 "isConstructor" : false,
279 "memberOf" : "Roo.Component",
289 "type" : "Roo.Component",
296 "desc" : "Enable this component.",
298 "isConstructor" : false,
300 "memberOf" : "Roo.Component",
310 "type" : "Roo.Component",
316 "name" : "setVisible",
317 "desc" : "Convenience function to hide or show this component by boolean.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.Component",
330 "desc" : "True to show, false to hide",
337 "type" : "Roo.Component",
344 "desc" : "Disable this component.",
346 "isConstructor" : false,
348 "memberOf" : "Roo.Component",
358 "type" : "Roo.Component",
365 "desc" : "Returns the underlying {@link Roo.Element}.",
367 "isConstructor" : false,
369 "memberOf" : "Roo.Component",
379 "type" : "Roo.Element",
380 "desc" : "The element"
385 "name" : "purgeListeners",
386 "desc" : "Removes all listeners for this object",
388 "isConstructor" : false,
390 "memberOf" : "Roo.util.Observable",
402 "desc" : "Appends an event handler to this element (shorthand for addListener)",
404 "isConstructor" : false,
406 "memberOf" : "Roo.util.Observable",
413 "name" : "eventName",
415 "desc" : "The type of event to listen for",
421 "desc" : "The method the event invokes",
427 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
433 "desc" : "(optional)",
442 "desc" : "Removes a listener (shorthand for removeListener)",
444 "isConstructor" : false,
446 "memberOf" : "Roo.util.Observable",
453 "name" : "eventName",
455 "desc" : "The type of event to listen for",
461 "desc" : "The handler to remove",
467 "desc" : "(optional) The scope (this object) for the handler",
475 "name" : "addEvents",
476 "desc" : "Used to define events on this Observable",
478 "isConstructor" : false,
480 "memberOf" : "Roo.util.Observable",
489 "desc" : "The object with the events defined",
497 "name" : "releaseCapture",
498 "desc" : "Removes <b>all</b> added captures from the Observable.",
500 "isConstructor" : false,
502 "memberOf" : "Roo.util.Observable",
510 "type" : "Observable",
511 "desc" : "The Observable to release",
519 "name" : "removeListener",
520 "desc" : "Removes a listener",
522 "isConstructor" : false,
524 "memberOf" : "Roo.util.Observable",
531 "name" : "eventName",
533 "desc" : "The type of event to listen for",
539 "desc" : "The handler to remove",
545 "desc" : "(optional) The scope (this object) for the handler",
553 "name" : "fireEvent",
554 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
556 "isConstructor" : false,
558 "memberOf" : "Roo.util.Observable",
565 "name" : "eventName",
572 "type" : "Object...",
573 "desc" : "Variable number of parameters are passed to handlers",
581 "desc" : "returns false if any of the handlers return false otherwise it returns true"
586 "name" : "hasListener",
587 "desc" : "Checks to see if this object has any listeners for a specified event",
589 "isConstructor" : false,
591 "memberOf" : "Roo.util.Observable",
598 "name" : "eventName",
600 "desc" : "The name of the event to check for",
608 "desc" : "True if the event is being listened for, else false"
614 "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.",
616 "isConstructor" : false,
618 "memberOf" : "Roo.util.Observable",
626 "type" : "Observable",
627 "desc" : "The Observable to capture",
633 "desc" : "The function to call",
639 "desc" : "(optional) The scope (this object) for the fn",
647 "name" : "addListener",
648 "desc" : "Appends an event handler to this component",
650 "isConstructor" : false,
652 "memberOf" : "Roo.util.Observable",
659 "name" : "eventName",
661 "desc" : "The type of event to listen for",
667 "desc" : "The method the event invokes",
673 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
679 "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>",
690 "desc" : "Fires when this item is clicked",
691 "memberOf" : "Roo.menu.BaseItem",
699 "type" : "Roo.menu.BaseItem",
705 "type" : "Roo.EventObject",
715 "desc" : "Fires when this item is activated",
716 "memberOf" : "Roo.menu.BaseItem",
724 "type" : "Roo.menu.BaseItem",
733 "name" : "deactivate",
734 "desc" : "Fires when this item is deactivated",
735 "memberOf" : "Roo.menu.BaseItem",
743 "type" : "Roo.menu.BaseItem",
752 "name" : "beforerender",
753 "desc" : "Fires before the component is rendered. Return false to stop the render.",
754 "memberOf" : "Roo.Component",
762 "type" : "Roo.Component",
772 "desc" : "Fires after the component is disabled.",
773 "memberOf" : "Roo.Component",
781 "type" : "Roo.Component",
791 "desc" : "Fires after the component is rendered.",
792 "memberOf" : "Roo.Component",
800 "type" : "Roo.Component",
810 "desc" : "Fires after the component is destroyed.",
811 "memberOf" : "Roo.Component",
819 "type" : "Roo.Component",
829 "desc" : "Fires after the component is hidden.",
830 "memberOf" : "Roo.Component",
838 "type" : "Roo.Component",
847 "name" : "beforehide",
848 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
849 "memberOf" : "Roo.Component",
857 "type" : "Roo.Component",
867 "desc" : "Fires after the component is shown.",
868 "memberOf" : "Roo.Component",
876 "type" : "Roo.Component",
885 "name" : "beforeshow",
886 "desc" : "Fires before the component is shown. Return false to stop the show.",
887 "memberOf" : "Roo.Component",
895 "type" : "Roo.Component",
905 "desc" : "Fires after the component is enabled.",
906 "memberOf" : "Roo.Component",
914 "type" : "Roo.Component",
923 "name" : "beforedestroy",
924 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
925 "memberOf" : "Roo.Component",
933 "type" : "Roo.Component",