2 "name" : "Roo.menu.Adapter",
8 "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.",
12 "memberOf" : "Adapter",
21 "desc" : "Configuration options",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
38 "desc" : "True to prevent creation of this menu item (defaults to false)",
39 "memberOf" : "Roo.menu.BaseItem"
42 "name" : "activeClass",
44 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
45 "memberOf" : "Roo.menu.BaseItem"
50 "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\".",
51 "memberOf" : "Roo.Component"
56 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
57 "memberOf" : "Roo.menu.BaseItem"
62 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
63 "memberOf" : "Roo.menu.BaseItem"
66 "name" : "hideOnClick",
68 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
69 "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"
78 "name" : "actionMode",
80 "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",
81 "memberOf" : "Roo.Component"
84 "name" : "canActivate",
86 "desc" : "True if this item can be visually activated (defaults to false)",
87 "memberOf" : "Roo.menu.BaseItem"
90 "name" : "disableClass",
92 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
93 "memberOf" : "Roo.Component"
100 "desc" : "Returns the id of this component.",
101 "sig" : "()\n{\n\n}",
103 "memberOf" : "Roo.Component",
105 "isConstructor" : false,
125 "desc" : "If this is a lazy rendering component, render it to its container element.",
126 "sig" : "(container)",
128 "memberOf" : "Roo.Component",
130 "isConstructor" : false,
140 "name" : "container",
141 "type" : "String/HTMLElement/Element",
142 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
151 "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}.",
152 "sig" : "()\n{\n\n}",
154 "memberOf" : "Roo.Component",
156 "isConstructor" : false,
168 "name" : "isVisible",
170 "desc" : "Returns true if this component is visible.",
171 "sig" : "()\n{\n\n}",
173 "memberOf" : "Roo.Component",
175 "isConstructor" : false,
187 "name" : "setDisabled",
189 "desc" : "Convenience function for setting disabled/enabled by boolean.",
190 "sig" : "(disabled)",
192 "memberOf" : "Roo.Component",
194 "isConstructor" : false,
215 "desc" : "Hide this component.",
216 "sig" : "()\n{\n\n}",
218 "memberOf" : "Roo.Component",
220 "isConstructor" : false,
232 "type" : "Roo.Component",
240 "desc" : "Try to focus this component.",
241 "sig" : "(selectText)",
243 "memberOf" : "Roo.Component",
245 "isConstructor" : false,
255 "name" : "selectText",
257 "desc" : "True to also select the text in this component (if applicable)",
264 "type" : "Roo.Component",
272 "desc" : "Show this component.",
273 "sig" : "()\n{\n\n}",
275 "memberOf" : "Roo.Component",
277 "isConstructor" : false,
289 "type" : "Roo.Component",
297 "desc" : "Enable this component.",
298 "sig" : "()\n{\n\n}",
300 "memberOf" : "Roo.Component",
302 "isConstructor" : false,
314 "type" : "Roo.Component",
320 "name" : "setVisible",
322 "desc" : "Convenience function to hide or show this component by boolean.",
325 "memberOf" : "Roo.Component",
327 "isConstructor" : false,
339 "desc" : "True to show, false to hide",
346 "type" : "Roo.Component",
354 "desc" : "Disable this component.",
355 "sig" : "()\n{\n\n}",
357 "memberOf" : "Roo.Component",
359 "isConstructor" : false,
371 "type" : "Roo.Component",
379 "desc" : "Returns the underlying {@link Roo.Element}.",
380 "sig" : "()\n{\n\n}",
382 "memberOf" : "Roo.Component",
384 "isConstructor" : false,
396 "type" : "Roo.Element",
397 "desc" : "The element"
402 "name" : "purgeListeners",
404 "desc" : "Removes all listeners for this object",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.util.Observable",
409 "isConstructor" : false,
423 "desc" : "Appends an event handler to this element (shorthand for addListener)",
424 "sig" : "(eventName, handler, scope, options)",
426 "memberOf" : "Roo.util.Observable",
428 "isConstructor" : false,
438 "name" : "eventName",
440 "desc" : "The type of event to listen for",
446 "desc" : "The method the event invokes",
452 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
458 "desc" : "(optional)",
467 "desc" : "Removes a listener (shorthand for removeListener)",
468 "sig" : "(eventName, handler, scope)",
470 "memberOf" : "Roo.util.Observable",
472 "isConstructor" : false,
482 "name" : "eventName",
484 "desc" : "The type of event to listen for",
490 "desc" : "The handler to remove",
496 "desc" : "(optional) The scope (this object) for the handler",
503 "name" : "addEvents",
505 "desc" : "Used to define events on this Observable",
508 "memberOf" : "Roo.util.Observable",
510 "isConstructor" : false,
522 "desc" : "The object with the events defined",
529 "name" : "releaseCapture",
531 "desc" : "Removes <b>all</b> added captures from the Observable.",
534 "memberOf" : "Roo.util.Observable",
536 "isConstructor" : false,
547 "type" : "Observable",
548 "desc" : "The Observable to release",
555 "name" : "removeListener",
557 "desc" : "Removes a listener",
558 "sig" : "(eventName, handler, scope)",
560 "memberOf" : "Roo.util.Observable",
562 "isConstructor" : false,
572 "name" : "eventName",
574 "desc" : "The type of event to listen for",
580 "desc" : "The handler to remove",
586 "desc" : "(optional) The scope (this object) for the handler",
593 "name" : "fireEvent",
595 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
596 "sig" : "(eventName, args)",
598 "memberOf" : "Roo.util.Observable",
600 "isConstructor" : false,
610 "name" : "eventName",
617 "type" : "Object...",
618 "desc" : "Variable number of parameters are passed to handlers",
626 "desc" : "returns false if any of the handlers return false otherwise it returns true"
631 "name" : "hasListener",
633 "desc" : "Checks to see if this object has any listeners for a specified event",
634 "sig" : "(eventName)",
636 "memberOf" : "Roo.util.Observable",
638 "isConstructor" : false,
648 "name" : "eventName",
650 "desc" : "The name of the event to check for",
658 "desc" : "True if the event is being listened for, else false"
665 "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.",
666 "sig" : "(o, fn, scope)",
668 "memberOf" : "Roo.util.Observable",
670 "isConstructor" : false,
681 "type" : "Observable",
682 "desc" : "The Observable to capture",
688 "desc" : "The function to call",
694 "desc" : "(optional) The scope (this object) for the fn",
701 "name" : "addListener",
703 "desc" : "Appends an event handler to this component",
704 "sig" : "(eventName, handler, scope, options)",
706 "memberOf" : "Roo.util.Observable",
708 "isConstructor" : false,
718 "name" : "eventName",
720 "desc" : "The type of event to listen for",
726 "desc" : "The method the event invokes",
732 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
738 "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>",
749 "desc" : "Fires when this item is clicked",
750 "sig" : "function (_self, e)\n{\n\n}",
751 "memberOf" : "Roo.menu.BaseItem",
759 "type" : "Roo.menu.BaseItem",
765 "type" : "Roo.EventObject",
775 "desc" : "Fires when this item is activated",
776 "sig" : "function (_self)\n{\n\n}",
777 "memberOf" : "Roo.menu.BaseItem",
785 "type" : "Roo.menu.BaseItem",
793 "name" : "deactivate",
795 "desc" : "Fires when this item is deactivated",
796 "sig" : "function (_self)\n{\n\n}",
797 "memberOf" : "Roo.menu.BaseItem",
805 "type" : "Roo.menu.BaseItem",
813 "name" : "beforerender",
815 "desc" : "Fires before the component is rendered. Return false to stop the render.",
816 "sig" : "function (_self)\n{\n\n}",
817 "memberOf" : "Roo.Component",
825 "type" : "Roo.Component",
835 "desc" : "Fires after the component is disabled.",
836 "sig" : "function (_self)\n{\n\n}",
837 "memberOf" : "Roo.Component",
845 "type" : "Roo.Component",
855 "desc" : "Fires after the component is rendered.",
856 "sig" : "function (_self)\n{\n\n}",
857 "memberOf" : "Roo.Component",
865 "type" : "Roo.Component",
875 "desc" : "Fires after the component is destroyed.",
876 "sig" : "function (_self)\n{\n\n}",
877 "memberOf" : "Roo.Component",
885 "type" : "Roo.Component",
895 "desc" : "Fires after the component is hidden.",
896 "sig" : "function (_self)\n{\n\n}",
897 "memberOf" : "Roo.Component",
905 "type" : "Roo.Component",
913 "name" : "beforehide",
915 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
916 "sig" : "function (_self)\n{\n\n}",
917 "memberOf" : "Roo.Component",
925 "type" : "Roo.Component",
935 "desc" : "Fires after the component is shown.",
936 "sig" : "function (_self)\n{\n\n}",
937 "memberOf" : "Roo.Component",
945 "type" : "Roo.Component",
953 "name" : "beforeshow",
955 "desc" : "Fires before the component is shown. Return false to stop the show.",
956 "sig" : "function (_self)\n{\n\n}",
957 "memberOf" : "Roo.Component",
965 "type" : "Roo.Component",
975 "desc" : "Fires after the component is enabled.",
976 "sig" : "function (_self)\n{\n\n}",
977 "memberOf" : "Roo.Component",
985 "type" : "Roo.Component",
993 "name" : "beforedestroy",
995 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
996 "sig" : "function (_self)\n{\n\n}",
997 "memberOf" : "Roo.Component",
1005 "type" : "Roo.Component",
1007 "isOptional" : false