2 "name" : "Roo.bootstrap.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for MenuItems",
21 "desc" : "The config object",
31 "desc" : "e) the menu has link disable auto expand and collaspe (default false)",
32 "memberOf" : "Roo.bootstrap.Menu",
41 "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>",
42 "memberOf" : "Roo.util.Observable",
49 "desc" : "Text for the tooltip",
50 "memberOf" : "Roo.bootstrap.Component",
55 "name" : "container_method",
57 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
58 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "visibilityEl",
64 "type" : "string|object",
65 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
66 "memberOf" : "Roo.bootstrap.Component",
75 "desc" : "if the menu should be hidden when rendered.",
76 "memberOf" : "Roo.bootstrap.Menu",
81 "name" : "can_build_overlaid",
83 "desc" : "True if element can be rebuild from a HTML page",
84 "memberOf" : "Roo.bootstrap.Component",
91 "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\".",
92 "memberOf" : "Roo.Component",
101 "desc" : "e) Stop event after trigger press (default true)",
102 "memberOf" : "Roo.bootstrap.Menu",
111 "desc" : "any extra css",
112 "memberOf" : "Roo.bootstrap.Component",
117 "name" : "allowDomMove",
119 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
120 "memberOf" : "Roo.Component",
127 "desc" : "css class",
128 "memberOf" : "Roo.bootstrap.Component",
135 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
136 "memberOf" : "Roo.bootstrap.Component",
141 "name" : "actionMode",
143 "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",
144 "memberOf" : "Roo.Component",
149 "name" : "registerMenu",
151 "desc" : "True (default) - means that clicking on screen etc. hides it.",
152 "memberOf" : "Roo.bootstrap.Menu",
159 "desc" : "cutomer id",
160 "memberOf" : "Roo.bootstrap.Component",
167 "desc" : "u) type of menu",
168 "memberOf" : "Roo.bootstrap.Menu",
178 "desc" : "Specifies name attribute",
179 "memberOf" : "Roo.bootstrap.Component",
184 "name" : "disableClass",
186 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
187 "memberOf" : "Roo.Component",
195 "desc" : "Hides this menu and optionally all parent menus",
197 "isConstructor" : false,
199 "memberOf" : "Roo.bootstrap.Menu",
208 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
217 "desc" : "Displays this menu at a specific xy position",
219 "isConstructor" : false,
221 "memberOf" : "Roo.bootstrap.Menu",
228 "name" : "xyPosition",
230 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
234 "name" : "parentMenu",
235 "type" : "Roo.menu.Menu",
236 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
245 "desc" : "Displays this menu relative to another element",
247 "isConstructor" : false,
249 "memberOf" : "Roo.bootstrap.Menu",
257 "type" : "String/HTMLElement/Roo.Element",
258 "desc" : "The element to align to",
264 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
268 "name" : "parentMenu",
269 "type" : "Roo.menu.Menu",
270 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
278 "name" : "tooltipEl",
279 "desc" : "Fetch the element to display the tooltip on.",
281 "isConstructor" : false,
283 "memberOf" : "Roo.bootstrap.Component",
293 "type" : "Roo.Element",
294 "desc" : "defaults to this.el"
299 "name" : "setVisibilityEl",
300 "desc" : "Set the element that will be used to show or hide",
302 "isConstructor" : false,
304 "memberOf" : "Roo.bootstrap.Component",
315 "name" : "getVisibilityEl",
316 "desc" : "Get the element that will be used to show or hide",
318 "isConstructor" : false,
320 "memberOf" : "Roo.bootstrap.Component",
331 "name" : "initEvents",
332 "desc" : "Initialize Events for the element",
334 "isConstructor" : false,
336 "memberOf" : "Roo.bootstrap.Component",
347 "name" : "getChildContainer",
348 "desc" : "Fetch the element to add children to",
350 "isConstructor" : false,
352 "memberOf" : "Roo.bootstrap.Component",
362 "type" : "Roo.Element",
363 "desc" : "defaults to this.el"
369 "desc" : "Returns the id of this component.",
371 "isConstructor" : false,
373 "memberOf" : "Roo.Component",
390 "desc" : "If this is a lazy rendering component, render it to its container element.",
392 "isConstructor" : false,
394 "memberOf" : "Roo.Component",
401 "name" : "container",
402 "type" : "String/HTMLElement/Element",
403 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
412 "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}.",
414 "isConstructor" : false,
416 "memberOf" : "Roo.Component",
427 "name" : "isVisible",
428 "desc" : "Returns true if this component is visible.",
430 "isConstructor" : false,
432 "memberOf" : "Roo.Component",
443 "name" : "setDisabled",
444 "desc" : "Convenience function for setting disabled/enabled by boolean.",
446 "isConstructor" : false,
448 "memberOf" : "Roo.Component",
466 "desc" : "Try to focus this component.",
468 "isConstructor" : false,
470 "memberOf" : "Roo.Component",
477 "name" : "selectText",
479 "desc" : "True to also select the text in this component (if applicable)",
486 "type" : "Roo.Component",
493 "desc" : "Enable this component.",
495 "isConstructor" : false,
497 "memberOf" : "Roo.Component",
507 "type" : "Roo.Component",
513 "name" : "setVisible",
514 "desc" : "Convenience function to hide or show this component by boolean.",
516 "isConstructor" : false,
518 "memberOf" : "Roo.Component",
527 "desc" : "True to show, false to hide",
534 "type" : "Roo.Component",
541 "desc" : "Disable this component.",
543 "isConstructor" : false,
545 "memberOf" : "Roo.Component",
555 "type" : "Roo.Component",
562 "desc" : "Returns the underlying {@link Roo.Element}.",
564 "isConstructor" : false,
566 "memberOf" : "Roo.Component",
576 "type" : "Roo.Element",
577 "desc" : "The element"
582 "name" : "purgeListeners",
583 "desc" : "Removes all listeners for this object",
585 "isConstructor" : false,
587 "memberOf" : "Roo.util.Observable",
599 "desc" : "Appends an event handler to this element (shorthand for addListener)",
601 "isConstructor" : false,
603 "memberOf" : "Roo.util.Observable",
610 "name" : "eventName",
612 "desc" : "The type of event to listen for",
618 "desc" : "The method the event invokes",
624 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
630 "desc" : "(optional)",
639 "desc" : "Removes a listener (shorthand for removeListener)",
641 "isConstructor" : false,
643 "memberOf" : "Roo.util.Observable",
650 "name" : "eventName",
652 "desc" : "The type of event to listen for",
658 "desc" : "The handler to remove",
664 "desc" : "(optional) The scope (this object) for the handler",
672 "name" : "addEvents",
673 "desc" : "Used to define events on this Observable",
675 "isConstructor" : false,
677 "memberOf" : "Roo.util.Observable",
686 "desc" : "The object with the events defined",
694 "name" : "releaseCapture",
695 "desc" : "Removes <b>all</b> added captures from the Observable.",
697 "isConstructor" : false,
699 "memberOf" : "Roo.util.Observable",
707 "type" : "Observable",
708 "desc" : "The Observable to release",
716 "name" : "removeListener",
717 "desc" : "Removes a listener",
719 "isConstructor" : false,
721 "memberOf" : "Roo.util.Observable",
728 "name" : "eventName",
730 "desc" : "The type of event to listen for",
736 "desc" : "The handler to remove",
742 "desc" : "(optional) The scope (this object) for the handler",
750 "name" : "fireEvent",
751 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
753 "isConstructor" : false,
755 "memberOf" : "Roo.util.Observable",
762 "name" : "eventName",
769 "type" : "Object...",
770 "desc" : "Variable number of parameters are passed to handlers",
778 "desc" : "returns false if any of the handlers return false otherwise it returns true"
783 "name" : "hasListener",
784 "desc" : "Checks to see if this object has any listeners for a specified event",
786 "isConstructor" : false,
788 "memberOf" : "Roo.util.Observable",
795 "name" : "eventName",
797 "desc" : "The name of the event to check for",
805 "desc" : "True if the event is being listened for, else false"
811 "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.",
813 "isConstructor" : false,
815 "memberOf" : "Roo.util.Observable",
823 "type" : "Observable",
824 "desc" : "The Observable to capture",
830 "desc" : "The function to call",
836 "desc" : "(optional) The scope (this object) for the fn",
844 "name" : "addListener",
845 "desc" : "Appends an event handler to this component",
847 "isConstructor" : false,
849 "memberOf" : "Roo.util.Observable",
856 "name" : "eventName",
858 "desc" : "The type of event to listen for",
864 "desc" : "The method the event invokes",
870 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
876 "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>",
887 "desc" : "Fires when the mouse exits this menu",
888 "memberOf" : "Roo.bootstrap.Menu",
896 "type" : "Roo.menu.Menu",
902 "type" : "Roo.EventObject",
908 "type" : "Roo.menu.Item",
909 "desc" : "The menu item that was clicked",
918 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
919 "memberOf" : "Roo.bootstrap.Menu",
927 "type" : "Roo.menu.Menu",
933 "type" : "Roo.menu.Item",
934 "desc" : "The menu item that was clicked",
939 "type" : "Roo.EventObject",
948 "name" : "mouseover",
949 "desc" : "Fires when the mouse is hovering over this menu",
950 "memberOf" : "Roo.bootstrap.Menu",
958 "type" : "Roo.menu.Menu",
964 "type" : "Roo.EventObject",
970 "type" : "Roo.menu.Item",
971 "desc" : "The menu item that was clicked",
980 "desc" : "Fires after this menu is hidden",
981 "memberOf" : "Roo.bootstrap.Menu",
989 "type" : "Roo.menu.Menu",
999 "desc" : "Fires after this menu is displayed",
1000 "memberOf" : "Roo.bootstrap.Menu",
1008 "type" : "Roo.menu.Menu",
1010 "isOptional" : false
1017 "name" : "beforehide",
1018 "desc" : "Fires before this menu is hidden (return false to block)",
1019 "memberOf" : "Roo.bootstrap.Menu",
1027 "type" : "Roo.menu.Menu",
1029 "isOptional" : false
1036 "name" : "itemclick",
1037 "desc" : "Fires when a menu item contained in this menu is clicked",
1038 "memberOf" : "Roo.bootstrap.Menu",
1045 "name" : "baseItem",
1046 "type" : "Roo.menu.BaseItem",
1047 "desc" : "The BaseItem that was clicked",
1048 "isOptional" : false
1052 "type" : "Roo.EventObject",
1054 "isOptional" : false
1061 "name" : "beforeshow",
1062 "desc" : "Fires before this menu is displayed (return false to block)",
1063 "memberOf" : "Roo.bootstrap.Menu",
1071 "type" : "Roo.menu.Menu",
1073 "isOptional" : false
1080 "name" : "childrenrendered",
1081 "desc" : "Fires when the children have been rendered..",
1082 "memberOf" : "Roo.bootstrap.Component",
1090 "type" : "Roo.bootstrap.Component",
1092 "isOptional" : false
1099 "name" : "beforerender",
1100 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1101 "memberOf" : "Roo.Component",
1109 "type" : "Roo.Component",
1111 "isOptional" : false
1119 "desc" : "Fires after the component is disabled.",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false
1138 "desc" : "Fires after the component is rendered.",
1139 "memberOf" : "Roo.Component",
1147 "type" : "Roo.Component",
1149 "isOptional" : false
1157 "desc" : "Fires after the component is destroyed.",
1158 "memberOf" : "Roo.Component",
1166 "type" : "Roo.Component",
1168 "isOptional" : false
1176 "desc" : "Fires after the component is enabled.",
1177 "memberOf" : "Roo.Component",
1185 "type" : "Roo.Component",
1187 "isOptional" : false
1194 "name" : "beforedestroy",
1195 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1196 "memberOf" : "Roo.Component",
1204 "type" : "Roo.Component",
1206 "isOptional" : false