2 "name" : "Roo.menu.Adapter",
12 "desc" : "A base utility class that adapts a non-menu component so that it can be wrapped by a menu item and added to a menu.\nIt provides basic rendering, activation management and enable/disable logic required to work in menus.",
13 "isSingleton" : false,
16 "memberOf" : "Adapter",
25 "desc" : "Configuration options",
36 "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>",
37 "memberOf" : "Roo.util.Observable"
42 "desc" : "True to prevent creation of this menu item (defaults to false)",
43 "memberOf" : "Roo.menu.BaseItem"
46 "name" : "activeClass",
48 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
49 "memberOf" : "Roo.menu.BaseItem"
54 "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\".",
55 "memberOf" : "Roo.Component"
60 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
61 "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"
70 "name" : "hideOnClick",
72 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
73 "memberOf" : "Roo.menu.BaseItem"
76 "name" : "allowDomMove",
78 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
79 "memberOf" : "Roo.Component"
82 "name" : "actionMode",
84 "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",
85 "memberOf" : "Roo.Component"
88 "name" : "canActivate",
90 "desc" : "True if this item can be visually activated (defaults to false)",
91 "memberOf" : "Roo.menu.BaseItem"
94 "name" : "disableClass",
96 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
97 "memberOf" : "Roo.Component"
104 "desc" : "Returns the id of this component.",
105 "sig" : "()\n{\n\n}",
107 "memberOf" : "Roo.Component",
109 "isConstructor" : false,
129 "desc" : "If this is a lazy rendering component, render it to its container element.",
130 "sig" : "(container)",
132 "memberOf" : "Roo.Component",
134 "isConstructor" : false,
144 "name" : "container",
145 "type" : "String/HTMLElement/Element",
146 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
155 "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}.",
156 "sig" : "()\n{\n\n}",
158 "memberOf" : "Roo.Component",
160 "isConstructor" : false,
172 "name" : "isVisible",
174 "desc" : "Returns true if this component is visible.",
175 "sig" : "()\n{\n\n}",
177 "memberOf" : "Roo.Component",
179 "isConstructor" : false,
191 "name" : "setDisabled",
193 "desc" : "Convenience function for setting disabled/enabled by boolean.",
194 "sig" : "(disabled)",
196 "memberOf" : "Roo.Component",
198 "isConstructor" : false,
219 "desc" : "Hide this component.",
220 "sig" : "()\n{\n\n}",
222 "memberOf" : "Roo.Component",
224 "isConstructor" : false,
236 "type" : "Roo.Component",
244 "desc" : "Try to focus this component.",
245 "sig" : "(selectText)",
247 "memberOf" : "Roo.Component",
249 "isConstructor" : false,
259 "name" : "selectText",
261 "desc" : "True to also select the text in this component (if applicable)",
268 "type" : "Roo.Component",
276 "desc" : "Show this component.",
277 "sig" : "()\n{\n\n}",
279 "memberOf" : "Roo.Component",
281 "isConstructor" : false,
293 "type" : "Roo.Component",
301 "desc" : "Enable this component.",
302 "sig" : "()\n{\n\n}",
304 "memberOf" : "Roo.Component",
306 "isConstructor" : false,
318 "type" : "Roo.Component",
324 "name" : "setVisible",
326 "desc" : "Convenience function to hide or show this component by boolean.",
329 "memberOf" : "Roo.Component",
331 "isConstructor" : false,
343 "desc" : "True to show, false to hide",
350 "type" : "Roo.Component",
358 "desc" : "Disable this component.",
359 "sig" : "()\n{\n\n}",
361 "memberOf" : "Roo.Component",
363 "isConstructor" : false,
375 "type" : "Roo.Component",
383 "desc" : "Returns the underlying {@link Roo.Element}.",
384 "sig" : "()\n{\n\n}",
386 "memberOf" : "Roo.Component",
388 "isConstructor" : false,
400 "type" : "Roo.Element",
401 "desc" : "The element"
406 "name" : "purgeListeners",
408 "desc" : "Removes all listeners for this object",
409 "sig" : "()\n{\n\n}",
411 "memberOf" : "Roo.util.Observable",
413 "isConstructor" : false,
427 "desc" : "Appends an event handler to this element (shorthand for addListener)",
428 "sig" : "(eventName, handler, scope, options)",
430 "memberOf" : "Roo.util.Observable",
432 "isConstructor" : false,
442 "name" : "eventName",
444 "desc" : "The type of event to listen for",
450 "desc" : "The method the event invokes",
456 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
462 "desc" : "(optional)",
471 "desc" : "Removes a listener (shorthand for removeListener)",
472 "sig" : "(eventName, handler, scope)",
474 "memberOf" : "Roo.util.Observable",
476 "isConstructor" : false,
486 "name" : "eventName",
488 "desc" : "The type of event to listen for",
494 "desc" : "The handler to remove",
500 "desc" : "(optional) The scope (this object) for the handler",
507 "name" : "addEvents",
509 "desc" : "Used to define events on this Observable",
512 "memberOf" : "Roo.util.Observable",
514 "isConstructor" : false,
526 "desc" : "The object with the events defined",
533 "name" : "releaseCapture",
535 "desc" : "Removes <b>all</b> added captures from the Observable.",
538 "memberOf" : "Roo.util.Observable",
540 "isConstructor" : false,
551 "type" : "Observable",
552 "desc" : "The Observable to release",
559 "name" : "removeListener",
561 "desc" : "Removes a listener",
562 "sig" : "(eventName, handler, scope)",
564 "memberOf" : "Roo.util.Observable",
566 "isConstructor" : false,
576 "name" : "eventName",
578 "desc" : "The type of event to listen for",
584 "desc" : "The handler to remove",
590 "desc" : "(optional) The scope (this object) for the handler",
597 "name" : "fireEvent",
599 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
600 "sig" : "(eventName, args)",
602 "memberOf" : "Roo.util.Observable",
604 "isConstructor" : false,
614 "name" : "eventName",
621 "type" : "Object...",
622 "desc" : "Variable number of parameters are passed to handlers",
630 "desc" : "returns false if any of the handlers return false otherwise it returns true"
635 "name" : "hasListener",
637 "desc" : "Checks to see if this object has any listeners for a specified event",
638 "sig" : "(eventName)",
640 "memberOf" : "Roo.util.Observable",
642 "isConstructor" : false,
652 "name" : "eventName",
654 "desc" : "The name of the event to check for",
662 "desc" : "True if the event is being listened for, else false"
669 "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.",
670 "sig" : "(o, fn, scope)",
672 "memberOf" : "Roo.util.Observable",
674 "isConstructor" : false,
685 "type" : "Observable",
686 "desc" : "The Observable to capture",
692 "desc" : "The function to call",
698 "desc" : "(optional) The scope (this object) for the fn",
705 "name" : "addListener",
707 "desc" : "Appends an event handler to this component",
708 "sig" : "(eventName, handler, scope, options)",
710 "memberOf" : "Roo.util.Observable",
712 "isConstructor" : false,
722 "name" : "eventName",
724 "desc" : "The type of event to listen for",
730 "desc" : "The method the event invokes",
736 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
742 "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>",
753 "desc" : "Fires when this item is clicked",
754 "sig" : "function (_self, e)\n{\n\n}",
755 "memberOf" : "Roo.menu.BaseItem",
763 "type" : "Roo.menu.BaseItem",
769 "type" : "Roo.EventObject",
779 "desc" : "Fires when this item is activated",
780 "sig" : "function (_self)\n{\n\n}",
781 "memberOf" : "Roo.menu.BaseItem",
789 "type" : "Roo.menu.BaseItem",
797 "name" : "deactivate",
799 "desc" : "Fires when this item is deactivated",
800 "sig" : "function (_self)\n{\n\n}",
801 "memberOf" : "Roo.menu.BaseItem",
809 "type" : "Roo.menu.BaseItem",
817 "name" : "beforerender",
819 "desc" : "Fires before the component is rendered. Return false to stop the render.",
820 "sig" : "function (_self)\n{\n\n}",
821 "memberOf" : "Roo.Component",
829 "type" : "Roo.Component",
839 "desc" : "Fires after the component is disabled.",
840 "sig" : "function (_self)\n{\n\n}",
841 "memberOf" : "Roo.Component",
849 "type" : "Roo.Component",
859 "desc" : "Fires after the component is rendered.",
860 "sig" : "function (_self)\n{\n\n}",
861 "memberOf" : "Roo.Component",
869 "type" : "Roo.Component",
879 "desc" : "Fires after the component is destroyed.",
880 "sig" : "function (_self)\n{\n\n}",
881 "memberOf" : "Roo.Component",
889 "type" : "Roo.Component",
899 "desc" : "Fires after the component is hidden.",
900 "sig" : "function (_self)\n{\n\n}",
901 "memberOf" : "Roo.Component",
909 "type" : "Roo.Component",
917 "name" : "beforehide",
919 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
920 "sig" : "function (_self)\n{\n\n}",
921 "memberOf" : "Roo.Component",
929 "type" : "Roo.Component",
939 "desc" : "Fires after the component is shown.",
940 "sig" : "function (_self)\n{\n\n}",
941 "memberOf" : "Roo.Component",
949 "type" : "Roo.Component",
957 "name" : "beforeshow",
959 "desc" : "Fires before the component is shown. Return false to stop the show.",
960 "sig" : "function (_self)\n{\n\n}",
961 "memberOf" : "Roo.Component",
969 "type" : "Roo.Component",
979 "desc" : "Fires after the component is enabled.",
980 "sig" : "function (_self)\n{\n\n}",
981 "memberOf" : "Roo.Component",
989 "type" : "Roo.Component",
997 "name" : "beforedestroy",
999 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1000 "sig" : "function (_self)\n{\n\n}",
1001 "memberOf" : "Roo.Component",
1009 "type" : "Roo.Component",
1011 "isOptional" : false