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.",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
22 "name" : "activeClass",
24 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
25 "memberOf" : "Roo.menu.BaseItem",
32 "desc" : "True to prevent creation of this menu item (defaults to false)",
33 "memberOf" : "Roo.menu.BaseItem",
40 "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\".",
41 "memberOf" : "Roo.Component",
48 "name" : "hideOnClick",
50 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
51 "memberOf" : "Roo.menu.Separator",
58 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
59 "memberOf" : "Roo.menu.BaseItem",
66 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
67 "memberOf" : "Roo.menu.BaseItem",
72 "name" : "allowDomMove",
74 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
75 "memberOf" : "Roo.Component",
82 "desc" : "The default CSS class to use for separators (defaults to \"x-menu-sep\")",
83 "memberOf" : "Roo.menu.Separator",
88 "name" : "actionMode",
90 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
91 "memberOf" : "Roo.Component",
96 "name" : "canActivate",
98 "desc" : "True if this item can be visually activated (defaults to false)",
99 "memberOf" : "Roo.menu.BaseItem",
104 "name" : "disableClass",
106 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
107 "memberOf" : "Roo.Component",
115 "desc" : "Returns the id of this component.",
117 "isConstructor" : false,
119 "memberOf" : "Roo.Component",
136 "desc" : "If this is a lazy rendering component, render it to its container element.",
138 "isConstructor" : false,
140 "memberOf" : "Roo.Component",
147 "name" : "container",
148 "type" : "String/HTMLElement/Element",
149 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
158 "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}.",
160 "isConstructor" : false,
162 "memberOf" : "Roo.Component",
173 "name" : "isVisible",
174 "desc" : "Returns true if this component is visible.",
176 "isConstructor" : false,
178 "memberOf" : "Roo.Component",
189 "name" : "setDisabled",
190 "desc" : "Convenience function for setting disabled/enabled by boolean.",
192 "isConstructor" : false,
194 "memberOf" : "Roo.Component",
212 "desc" : "Hide this component.",
214 "isConstructor" : false,
216 "memberOf" : "Roo.Component",
226 "type" : "Roo.Component",
233 "desc" : "Try to focus this component.",
235 "isConstructor" : false,
237 "memberOf" : "Roo.Component",
244 "name" : "selectText",
246 "desc" : "True to also select the text in this component (if applicable)",
253 "type" : "Roo.Component",
260 "desc" : "Show this component.",
262 "isConstructor" : false,
264 "memberOf" : "Roo.Component",
274 "type" : "Roo.Component",
281 "desc" : "Enable this component.",
283 "isConstructor" : false,
285 "memberOf" : "Roo.Component",
295 "type" : "Roo.Component",
301 "name" : "setVisible",
302 "desc" : "Convenience function to hide or show this component by boolean.",
304 "isConstructor" : false,
306 "memberOf" : "Roo.Component",
315 "desc" : "True to show, false to hide",
322 "type" : "Roo.Component",
329 "desc" : "Disable this component.",
331 "isConstructor" : false,
333 "memberOf" : "Roo.Component",
343 "type" : "Roo.Component",
350 "desc" : "Returns the underlying {@link Roo.Element}.",
352 "isConstructor" : false,
354 "memberOf" : "Roo.Component",
364 "type" : "Roo.Element",
365 "desc" : "The element"
370 "name" : "purgeListeners",
371 "desc" : "Removes all listeners for this object",
373 "isConstructor" : false,
375 "memberOf" : "Roo.util.Observable",
387 "desc" : "Appends an event handler to this element (shorthand for addListener)",
389 "isConstructor" : false,
391 "memberOf" : "Roo.util.Observable",
398 "name" : "eventName",
400 "desc" : "The type of event to listen for",
406 "desc" : "The method the event invokes",
412 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
418 "desc" : "(optional)",
427 "desc" : "Removes a listener (shorthand for removeListener)",
429 "isConstructor" : false,
431 "memberOf" : "Roo.util.Observable",
438 "name" : "eventName",
440 "desc" : "The type of event to listen for",
446 "desc" : "The handler to remove",
452 "desc" : "(optional) The scope (this object) for the handler",
460 "name" : "addEvents",
461 "desc" : "Used to define events on this Observable",
463 "isConstructor" : false,
465 "memberOf" : "Roo.util.Observable",
474 "desc" : "The object with the events defined",
482 "name" : "releaseCapture",
483 "desc" : "Removes <b>all</b> added captures from the Observable.",
485 "isConstructor" : false,
487 "memberOf" : "Roo.util.Observable",
495 "type" : "Observable",
496 "desc" : "The Observable to release",
504 "name" : "removeListener",
505 "desc" : "Removes a listener",
507 "isConstructor" : false,
509 "memberOf" : "Roo.util.Observable",
516 "name" : "eventName",
518 "desc" : "The type of event to listen for",
524 "desc" : "The handler to remove",
530 "desc" : "(optional) The scope (this object) for the handler",
538 "name" : "fireEvent",
539 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
541 "isConstructor" : false,
543 "memberOf" : "Roo.util.Observable",
550 "name" : "eventName",
557 "type" : "Object...",
558 "desc" : "Variable number of parameters are passed to handlers",
566 "desc" : "returns false if any of the handlers return false otherwise it returns true"
571 "name" : "hasListener",
572 "desc" : "Checks to see if this object has any listeners for a specified event",
574 "isConstructor" : false,
576 "memberOf" : "Roo.util.Observable",
583 "name" : "eventName",
585 "desc" : "The name of the event to check for",
593 "desc" : "True if the event is being listened for, else false"
599 "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.",
601 "isConstructor" : false,
603 "memberOf" : "Roo.util.Observable",
611 "type" : "Observable",
612 "desc" : "The Observable to capture",
618 "desc" : "The function to call",
624 "desc" : "(optional) The scope (this object) for the fn",
632 "name" : "addListener",
633 "desc" : "Appends an event handler to this component",
635 "isConstructor" : false,
637 "memberOf" : "Roo.util.Observable",
644 "name" : "eventName",
646 "desc" : "The type of event to listen for",
652 "desc" : "The method the event invokes",
658 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
664 "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>",
675 "desc" : "Fires when this item is clicked",
676 "memberOf" : "Roo.menu.BaseItem",
684 "type" : "Roo.menu.BaseItem",
690 "type" : "Roo.EventObject",
700 "desc" : "Fires when this item is activated",
701 "memberOf" : "Roo.menu.BaseItem",
709 "type" : "Roo.menu.BaseItem",
718 "name" : "deactivate",
719 "desc" : "Fires when this item is deactivated",
720 "memberOf" : "Roo.menu.BaseItem",
728 "type" : "Roo.menu.BaseItem",
737 "name" : "beforerender",
738 "desc" : "Fires before the component is rendered. Return false to stop the render.",
739 "memberOf" : "Roo.Component",
747 "type" : "Roo.Component",
757 "desc" : "Fires after the component is disabled.",
758 "memberOf" : "Roo.Component",
766 "type" : "Roo.Component",
776 "desc" : "Fires after the component is rendered.",
777 "memberOf" : "Roo.Component",
785 "type" : "Roo.Component",
795 "desc" : "Fires after the component is destroyed.",
796 "memberOf" : "Roo.Component",
804 "type" : "Roo.Component",
814 "desc" : "Fires after the component is hidden.",
815 "memberOf" : "Roo.Component",
823 "type" : "Roo.Component",
832 "name" : "beforehide",
833 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
834 "memberOf" : "Roo.Component",
842 "type" : "Roo.Component",
852 "desc" : "Fires after the component is shown.",
853 "memberOf" : "Roo.Component",
861 "type" : "Roo.Component",
870 "name" : "beforeshow",
871 "desc" : "Fires before the component is shown. Return false to stop the show.",
872 "memberOf" : "Roo.Component",
880 "type" : "Roo.Component",
890 "desc" : "Fires after the component is enabled.",
891 "memberOf" : "Roo.Component",
899 "type" : "Roo.Component",
908 "name" : "beforedestroy",
909 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
910 "memberOf" : "Roo.Component",
918 "type" : "Roo.Component",