2 "name" : "Roo.menu.Separator",
9 "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.",
10 "isSingleton" : false,
13 "memberOf" : "Separator",
22 "desc" : "Configuration options",
33 "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>",
34 "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"
45 "desc" : "True to prevent creation of this menu item (defaults to false)",
46 "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"
55 "name" : "hideOnClick",
57 "desc" : "True to hide the containing menu after this item is clicked (defaults to false)",
63 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
64 "memberOf" : "Roo.menu.BaseItem"
69 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
70 "memberOf" : "Roo.menu.BaseItem"
73 "name" : "allowDomMove",
75 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
76 "memberOf" : "Roo.Component"
81 "desc" : "The default CSS class to use for separators (defaults to \"x-menu-sep\")",
85 "name" : "actionMode",
87 "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",
88 "memberOf" : "Roo.Component"
91 "name" : "canActivate",
93 "desc" : "True if this item can be visually activated (defaults to false)",
94 "memberOf" : "Roo.menu.BaseItem"
97 "name" : "disableClass",
99 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
100 "memberOf" : "Roo.Component"
107 "desc" : "Returns the id of this component.",
108 "sig" : "()\n{\n\n}",
110 "memberOf" : "Roo.Component",
112 "isConstructor" : false,
132 "desc" : "If this is a lazy rendering component, render it to its container element.",
133 "sig" : "(container)",
135 "memberOf" : "Roo.Component",
137 "isConstructor" : false,
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}.",
159 "sig" : "()\n{\n\n}",
161 "memberOf" : "Roo.Component",
163 "isConstructor" : false,
175 "name" : "isVisible",
177 "desc" : "Returns true if this component is visible.",
178 "sig" : "()\n{\n\n}",
180 "memberOf" : "Roo.Component",
182 "isConstructor" : false,
194 "name" : "setDisabled",
196 "desc" : "Convenience function for setting disabled/enabled by boolean.",
197 "sig" : "(disabled)",
199 "memberOf" : "Roo.Component",
201 "isConstructor" : false,
222 "desc" : "Hide this component.",
223 "sig" : "()\n{\n\n}",
225 "memberOf" : "Roo.Component",
227 "isConstructor" : false,
239 "type" : "Roo.Component",
247 "desc" : "Try to focus this component.",
248 "sig" : "(selectText)",
250 "memberOf" : "Roo.Component",
252 "isConstructor" : false,
262 "name" : "selectText",
264 "desc" : "True to also select the text in this component (if applicable)",
271 "type" : "Roo.Component",
279 "desc" : "Show this component.",
280 "sig" : "()\n{\n\n}",
282 "memberOf" : "Roo.Component",
284 "isConstructor" : false,
296 "type" : "Roo.Component",
304 "desc" : "Enable this component.",
305 "sig" : "()\n{\n\n}",
307 "memberOf" : "Roo.Component",
309 "isConstructor" : false,
321 "type" : "Roo.Component",
327 "name" : "setVisible",
329 "desc" : "Convenience function to hide or show this component by boolean.",
332 "memberOf" : "Roo.Component",
334 "isConstructor" : false,
346 "desc" : "True to show, false to hide",
353 "type" : "Roo.Component",
361 "desc" : "Disable this component.",
362 "sig" : "()\n{\n\n}",
364 "memberOf" : "Roo.Component",
366 "isConstructor" : false,
378 "type" : "Roo.Component",
386 "desc" : "Returns the underlying {@link Roo.Element}.",
387 "sig" : "()\n{\n\n}",
389 "memberOf" : "Roo.Component",
391 "isConstructor" : false,
403 "type" : "Roo.Element",
404 "desc" : "The element"
409 "name" : "purgeListeners",
411 "desc" : "Removes all listeners for this object",
412 "sig" : "()\n{\n\n}",
414 "memberOf" : "Roo.util.Observable",
416 "isConstructor" : false,
430 "desc" : "Appends an event handler to this element (shorthand for addListener)",
431 "sig" : "(eventName, handler, scope, options)",
433 "memberOf" : "Roo.util.Observable",
435 "isConstructor" : false,
445 "name" : "eventName",
447 "desc" : "The type of event to listen for",
453 "desc" : "The method the event invokes",
459 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
465 "desc" : "(optional)",
474 "desc" : "Removes a listener (shorthand for removeListener)",
475 "sig" : "(eventName, handler, scope)",
477 "memberOf" : "Roo.util.Observable",
479 "isConstructor" : false,
489 "name" : "eventName",
491 "desc" : "The type of event to listen for",
497 "desc" : "The handler to remove",
503 "desc" : "(optional) The scope (this object) for the handler",
510 "name" : "addEvents",
512 "desc" : "Used to define events on this Observable",
515 "memberOf" : "Roo.util.Observable",
517 "isConstructor" : false,
529 "desc" : "The object with the events defined",
536 "name" : "releaseCapture",
538 "desc" : "Removes <b>all</b> added captures from the Observable.",
541 "memberOf" : "Roo.util.Observable",
543 "isConstructor" : false,
554 "type" : "Observable",
555 "desc" : "The Observable to release",
562 "name" : "removeListener",
564 "desc" : "Removes a listener",
565 "sig" : "(eventName, handler, scope)",
567 "memberOf" : "Roo.util.Observable",
569 "isConstructor" : false,
579 "name" : "eventName",
581 "desc" : "The type of event to listen for",
587 "desc" : "The handler to remove",
593 "desc" : "(optional) The scope (this object) for the handler",
600 "name" : "fireEvent",
602 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
603 "sig" : "(eventName, args)",
605 "memberOf" : "Roo.util.Observable",
607 "isConstructor" : false,
617 "name" : "eventName",
624 "type" : "Object...",
625 "desc" : "Variable number of parameters are passed to handlers",
633 "desc" : "returns false if any of the handlers return false otherwise it returns true"
638 "name" : "hasListener",
640 "desc" : "Checks to see if this object has any listeners for a specified event",
641 "sig" : "(eventName)",
643 "memberOf" : "Roo.util.Observable",
645 "isConstructor" : false,
655 "name" : "eventName",
657 "desc" : "The name of the event to check for",
665 "desc" : "True if the event is being listened for, else false"
672 "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.",
673 "sig" : "(o, fn, scope)",
675 "memberOf" : "Roo.util.Observable",
677 "isConstructor" : false,
688 "type" : "Observable",
689 "desc" : "The Observable to capture",
695 "desc" : "The function to call",
701 "desc" : "(optional) The scope (this object) for the fn",
708 "name" : "addListener",
710 "desc" : "Appends an event handler to this component",
711 "sig" : "(eventName, handler, scope, options)",
713 "memberOf" : "Roo.util.Observable",
715 "isConstructor" : false,
725 "name" : "eventName",
727 "desc" : "The type of event to listen for",
733 "desc" : "The method the event invokes",
739 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
745 "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>",
756 "desc" : "Fires when this item is clicked",
757 "sig" : "function (_self, e)\n{\n\n}",
758 "memberOf" : "Roo.menu.BaseItem",
766 "type" : "Roo.menu.BaseItem",
772 "type" : "Roo.EventObject",
782 "desc" : "Fires when this item is activated",
783 "sig" : "function (_self)\n{\n\n}",
784 "memberOf" : "Roo.menu.BaseItem",
792 "type" : "Roo.menu.BaseItem",
800 "name" : "deactivate",
802 "desc" : "Fires when this item is deactivated",
803 "sig" : "function (_self)\n{\n\n}",
804 "memberOf" : "Roo.menu.BaseItem",
812 "type" : "Roo.menu.BaseItem",
820 "name" : "beforerender",
822 "desc" : "Fires before the component is rendered. Return false to stop the render.",
823 "sig" : "function (_self)\n{\n\n}",
824 "memberOf" : "Roo.Component",
832 "type" : "Roo.Component",
842 "desc" : "Fires after the component is disabled.",
843 "sig" : "function (_self)\n{\n\n}",
844 "memberOf" : "Roo.Component",
852 "type" : "Roo.Component",
862 "desc" : "Fires after the component is rendered.",
863 "sig" : "function (_self)\n{\n\n}",
864 "memberOf" : "Roo.Component",
872 "type" : "Roo.Component",
882 "desc" : "Fires after the component is destroyed.",
883 "sig" : "function (_self)\n{\n\n}",
884 "memberOf" : "Roo.Component",
892 "type" : "Roo.Component",
902 "desc" : "Fires after the component is hidden.",
903 "sig" : "function (_self)\n{\n\n}",
904 "memberOf" : "Roo.Component",
912 "type" : "Roo.Component",
920 "name" : "beforehide",
922 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
923 "sig" : "function (_self)\n{\n\n}",
924 "memberOf" : "Roo.Component",
932 "type" : "Roo.Component",
942 "desc" : "Fires after the component is shown.",
943 "sig" : "function (_self)\n{\n\n}",
944 "memberOf" : "Roo.Component",
952 "type" : "Roo.Component",
960 "name" : "beforeshow",
962 "desc" : "Fires before the component is shown. Return false to stop the show.",
963 "sig" : "function (_self)\n{\n\n}",
964 "memberOf" : "Roo.Component",
972 "type" : "Roo.Component",
982 "desc" : "Fires after the component is enabled.",
983 "sig" : "function (_self)\n{\n\n}",
984 "memberOf" : "Roo.Component",
992 "type" : "Roo.Component",
1000 "name" : "beforedestroy",
1001 "type" : "function",
1002 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1003 "sig" : "function (_self)\n{\n\n}",
1004 "memberOf" : "Roo.Component",
1012 "type" : "Roo.Component",
1014 "isOptional" : false