2 "name" : "Roo.bootstrap.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for MenuItems",
21 "desc" : "The config object",
30 "desc" : "e) the menu has link disable auto expand and collaspe (default false)",
31 "memberOf" : "Roo.bootstrap.Menu",
40 "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>",
41 "memberOf" : "Roo.util.Observable",
47 "desc" : "Text for the tooltip",
48 "memberOf" : "Roo.bootstrap.Component",
52 "name" : "container_method",
54 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
55 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "visibilityEl",
60 "type" : "string|object",
61 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
62 "memberOf" : "Roo.bootstrap.Component",
71 "desc" : "if the menu should be hidden when rendered.",
72 "memberOf" : "Roo.bootstrap.Menu",
76 "name" : "can_build_overlaid",
78 "desc" : "True if element can be rebuild from a HTML page",
79 "memberOf" : "Roo.bootstrap.Component",
85 "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\".",
86 "memberOf" : "Roo.Component",
95 "desc" : "e) Stop event after trigger press (default true)",
96 "memberOf" : "Roo.bootstrap.Menu",
105 "desc" : "any extra css",
106 "memberOf" : "Roo.bootstrap.Component",
110 "name" : "allowDomMove",
112 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
113 "memberOf" : "Roo.Component",
119 "desc" : "css class",
120 "memberOf" : "Roo.bootstrap.Component",
126 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
127 "memberOf" : "Roo.bootstrap.Component",
131 "name" : "actionMode",
133 "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",
134 "memberOf" : "Roo.Component",
138 "name" : "registerMenu",
140 "desc" : "True (default) - means that clicking on screen etc. hides it.",
141 "memberOf" : "Roo.bootstrap.Menu",
147 "desc" : "cutomer id",
148 "memberOf" : "Roo.bootstrap.Component",
154 "desc" : "u) type of menu",
155 "memberOf" : "Roo.bootstrap.Menu",
165 "desc" : "Specifies name attribute",
166 "memberOf" : "Roo.bootstrap.Component",
170 "name" : "disableClass",
172 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
173 "memberOf" : "Roo.Component",
180 "desc" : "Hides this menu and optionally all parent menus",
182 "isConstructor" : false,
184 "memberOf" : "Roo.bootstrap.Menu",
193 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
201 "desc" : "Displays this menu at a specific xy position",
203 "isConstructor" : false,
205 "memberOf" : "Roo.bootstrap.Menu",
212 "name" : "xyPosition",
214 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
218 "name" : "parentMenu",
219 "type" : "Roo.menu.Menu",
220 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
228 "desc" : "Displays this menu relative to another element",
230 "isConstructor" : false,
232 "memberOf" : "Roo.bootstrap.Menu",
240 "type" : "String/HTMLElement/Roo.Element",
241 "desc" : "The element to align to",
247 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
251 "name" : "parentMenu",
252 "type" : "Roo.menu.Menu",
253 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
260 "name" : "tooltipEl",
261 "desc" : "Fetch the element to display the tooltip on.",
263 "isConstructor" : false,
265 "memberOf" : "Roo.bootstrap.Component",
274 "type" : "Roo.Element",
275 "desc" : "defaults to this.el"
280 "name" : "setVisibilityEl",
281 "desc" : "Set the element that will be used to show or hide",
283 "isConstructor" : false,
285 "memberOf" : "Roo.bootstrap.Component",
294 "name" : "getVisibilityEl",
295 "desc" : "Get the element that will be used to show or hide",
297 "isConstructor" : false,
299 "memberOf" : "Roo.bootstrap.Component",
308 "name" : "initEvents",
309 "desc" : "Initialize Events for the element",
311 "isConstructor" : false,
313 "memberOf" : "Roo.bootstrap.Component",
322 "name" : "getChildContainer",
323 "desc" : "Fetch the element to add children to",
325 "isConstructor" : false,
327 "memberOf" : "Roo.bootstrap.Component",
336 "type" : "Roo.Element",
337 "desc" : "defaults to this.el"
343 "desc" : "Returns the id of this component.",
345 "isConstructor" : false,
347 "memberOf" : "Roo.Component",
363 "desc" : "If this is a lazy rendering component, render it to its container element.",
365 "isConstructor" : false,
367 "memberOf" : "Roo.Component",
374 "name" : "container",
375 "type" : "String/HTMLElement/Element",
376 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
384 "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}.",
386 "isConstructor" : false,
388 "memberOf" : "Roo.Component",
397 "name" : "isVisible",
398 "desc" : "Returns true if this component is visible.",
400 "isConstructor" : false,
402 "memberOf" : "Roo.Component",
411 "name" : "setDisabled",
412 "desc" : "Convenience function for setting disabled/enabled by boolean.",
414 "isConstructor" : false,
416 "memberOf" : "Roo.Component",
433 "desc" : "Try to focus this component.",
435 "isConstructor" : false,
437 "memberOf" : "Roo.Component",
444 "name" : "selectText",
446 "desc" : "True to also select the text in this component (if applicable)",
453 "type" : "Roo.Component",
460 "desc" : "Enable this component.",
462 "isConstructor" : false,
464 "memberOf" : "Roo.Component",
473 "type" : "Roo.Component",
479 "name" : "setVisible",
480 "desc" : "Convenience function to hide or show this component by boolean.",
482 "isConstructor" : false,
484 "memberOf" : "Roo.Component",
493 "desc" : "True to show, false to hide",
500 "type" : "Roo.Component",
507 "desc" : "Disable this component.",
509 "isConstructor" : false,
511 "memberOf" : "Roo.Component",
520 "type" : "Roo.Component",
527 "desc" : "Returns the underlying {@link Roo.Element}.",
529 "isConstructor" : false,
531 "memberOf" : "Roo.Component",
540 "type" : "Roo.Element",
541 "desc" : "The element"
546 "name" : "purgeListeners",
547 "desc" : "Removes all listeners for this object",
549 "isConstructor" : false,
551 "memberOf" : "Roo.util.Observable",
561 "desc" : "Appends an event handler to this element (shorthand for addListener)",
563 "isConstructor" : false,
565 "memberOf" : "Roo.util.Observable",
572 "name" : "eventName",
574 "desc" : "The type of event to listen for",
580 "desc" : "The method the event invokes",
586 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
592 "desc" : "(optional)",
600 "desc" : "Removes a listener (shorthand for removeListener)",
602 "isConstructor" : false,
604 "memberOf" : "Roo.util.Observable",
611 "name" : "eventName",
613 "desc" : "The type of event to listen for",
619 "desc" : "The handler to remove",
625 "desc" : "(optional) The scope (this object) for the handler",
632 "name" : "addEvents",
633 "desc" : "Used to define events on this Observable",
635 "isConstructor" : false,
637 "memberOf" : "Roo.util.Observable",
646 "desc" : "The object with the events defined",
653 "name" : "releaseCapture",
654 "desc" : "Removes <b>all</b> added captures from the Observable.",
656 "isConstructor" : false,
658 "memberOf" : "Roo.util.Observable",
666 "type" : "Observable",
667 "desc" : "The Observable to release",
674 "name" : "removeListener",
675 "desc" : "Removes a listener",
677 "isConstructor" : false,
679 "memberOf" : "Roo.util.Observable",
686 "name" : "eventName",
688 "desc" : "The type of event to listen for",
694 "desc" : "The handler to remove",
700 "desc" : "(optional) The scope (this object) for the handler",
707 "name" : "fireEvent",
708 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
710 "isConstructor" : false,
712 "memberOf" : "Roo.util.Observable",
719 "name" : "eventName",
726 "type" : "Object...",
727 "desc" : "Variable number of parameters are passed to handlers",
735 "desc" : "returns false if any of the handlers return false otherwise it returns true"
740 "name" : "hasListener",
741 "desc" : "Checks to see if this object has any listeners for a specified event",
743 "isConstructor" : false,
745 "memberOf" : "Roo.util.Observable",
752 "name" : "eventName",
754 "desc" : "The name of the event to check for",
762 "desc" : "True if the event is being listened for, else false"
768 "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.",
770 "isConstructor" : false,
772 "memberOf" : "Roo.util.Observable",
780 "type" : "Observable",
781 "desc" : "The Observable to capture",
787 "desc" : "The function to call",
793 "desc" : "(optional) The scope (this object) for the fn",
800 "name" : "addListener",
801 "desc" : "Appends an event handler to this component",
803 "isConstructor" : false,
805 "memberOf" : "Roo.util.Observable",
812 "name" : "eventName",
814 "desc" : "The type of event to listen for",
820 "desc" : "The method the event invokes",
826 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
832 "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>",
842 "desc" : "Fires when the mouse exits this menu",
843 "memberOf" : "Roo.bootstrap.Menu",
851 "type" : "Roo.menu.Menu",
857 "type" : "Roo.EventObject",
863 "type" : "Roo.menu.Item",
864 "desc" : "The menu item that was clicked",
872 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
873 "memberOf" : "Roo.bootstrap.Menu",
881 "type" : "Roo.menu.Menu",
887 "type" : "Roo.menu.Item",
888 "desc" : "The menu item that was clicked",
893 "type" : "Roo.EventObject",
901 "name" : "mouseover",
902 "desc" : "Fires when the mouse is hovering over this menu",
903 "memberOf" : "Roo.bootstrap.Menu",
911 "type" : "Roo.menu.Menu",
917 "type" : "Roo.EventObject",
923 "type" : "Roo.menu.Item",
924 "desc" : "The menu item that was clicked",
932 "desc" : "Fires after this menu is hidden",
933 "memberOf" : "Roo.bootstrap.Menu",
941 "type" : "Roo.menu.Menu",
950 "desc" : "Fires after this menu is displayed",
951 "memberOf" : "Roo.bootstrap.Menu",
959 "type" : "Roo.menu.Menu",
967 "name" : "beforehide",
968 "desc" : "Fires before this menu is hidden (return false to block)",
969 "memberOf" : "Roo.bootstrap.Menu",
977 "type" : "Roo.menu.Menu",
985 "name" : "itemclick",
986 "desc" : "Fires when a menu item contained in this menu is clicked",
987 "memberOf" : "Roo.bootstrap.Menu",
995 "type" : "Roo.menu.BaseItem",
996 "desc" : "The BaseItem that was clicked",
1001 "type" : "Roo.EventObject",
1003 "isOptional" : false
1009 "name" : "beforeshow",
1010 "desc" : "Fires before this menu is displayed (return false to block)",
1011 "memberOf" : "Roo.bootstrap.Menu",
1019 "type" : "Roo.menu.Menu",
1021 "isOptional" : false
1027 "name" : "childrenrendered",
1028 "desc" : "Fires when the children have been rendered..",
1029 "memberOf" : "Roo.bootstrap.Component",
1037 "type" : "Roo.bootstrap.Component",
1039 "isOptional" : false
1045 "name" : "beforerender",
1046 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1047 "memberOf" : "Roo.Component",
1055 "type" : "Roo.Component",
1057 "isOptional" : false
1064 "desc" : "Fires after the component is disabled.",
1065 "memberOf" : "Roo.Component",
1073 "type" : "Roo.Component",
1075 "isOptional" : false
1082 "desc" : "Fires after the component is rendered.",
1083 "memberOf" : "Roo.Component",
1091 "type" : "Roo.Component",
1093 "isOptional" : false
1100 "desc" : "Fires after the component is destroyed.",
1101 "memberOf" : "Roo.Component",
1109 "type" : "Roo.Component",
1111 "isOptional" : false
1118 "desc" : "Fires after the component is enabled.",
1119 "memberOf" : "Roo.Component",
1127 "type" : "Roo.Component",
1129 "isOptional" : false
1135 "name" : "beforedestroy",
1136 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1137 "memberOf" : "Roo.Component",
1145 "type" : "Roo.Component",
1147 "isOptional" : false