2 "name" : "Roo.bootstrap.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for MenuItems",
21 "desc" : "The config object",
30 "desc" : "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" : "What element to use for visibility (@see getVisibilityEl())",
62 "memberOf" : "Roo.bootstrap.Component",
71 "desc" : "default tl-bl? == below - how the menu should be aligned.",
72 "memberOf" : "Roo.bootstrap.Menu",
78 "desc" : "if the menu should be hidden when rendered.",
79 "memberOf" : "Roo.bootstrap.Menu",
83 "name" : "can_build_overlaid",
85 "desc" : "True if element can be rebuild from a HTML page",
86 "memberOf" : "Roo.bootstrap.Component",
92 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
93 "memberOf" : "Roo.Component",
100 "name" : "stopEvent",
102 "desc" : "Stop event after trigger press (default true)",
103 "memberOf" : "Roo.bootstrap.Menu",
112 "desc" : "any extra css",
113 "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",
126 "desc" : "css class",
127 "memberOf" : "Roo.bootstrap.Component",
133 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
134 "memberOf" : "Roo.bootstrap.Component",
138 "name" : "actionMode",
140 "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",
141 "memberOf" : "Roo.Component",
145 "name" : "hideTrigger",
147 "desc" : "default false - hide the carret for trigger.",
148 "memberOf" : "Roo.bootstrap.Menu",
155 "name" : "registerMenu",
157 "desc" : "True (default) - means that clicking on screen etc. hides it.",
158 "memberOf" : "Roo.bootstrap.Menu",
164 "desc" : "cutomer id",
165 "memberOf" : "Roo.bootstrap.Component",
171 "desc" : "type of menu",
172 "memberOf" : "Roo.bootstrap.Menu",
182 "desc" : "Specifies name attribute",
183 "memberOf" : "Roo.bootstrap.Component",
187 "name" : "disableClass",
189 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
190 "memberOf" : "Roo.Component",
197 "desc" : "Hides this menu and optionally all parent menus",
199 "isConstructor" : false,
201 "memberOf" : "Roo.bootstrap.Menu",
210 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
218 "desc" : "Displays this menu at a specific xy position",
220 "isConstructor" : false,
222 "memberOf" : "Roo.bootstrap.Menu",
229 "name" : "xyPosition",
231 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
235 "name" : "parentMenu",
236 "type" : "Roo.menu.Menu",
237 "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)",
277 "name" : "tooltipEl",
278 "desc" : "Fetch the element to display the tooltip on.",
280 "isConstructor" : false,
282 "memberOf" : "Roo.bootstrap.Component",
291 "type" : "Roo.Element",
292 "desc" : "defaults to this.el"
297 "name" : "setVisibilityEl",
298 "desc" : "Set the element that will be used to show or hide",
300 "isConstructor" : false,
302 "memberOf" : "Roo.bootstrap.Component",
311 "name" : "getVisibilityEl",
312 "desc" : "Get the element that will be used to show or hide",
314 "isConstructor" : false,
316 "memberOf" : "Roo.bootstrap.Component",
325 "name" : "initEvents",
326 "desc" : "Initialize Events for the element",
328 "isConstructor" : false,
330 "memberOf" : "Roo.bootstrap.Component",
339 "name" : "getChildContainer",
340 "desc" : "Fetch the element to add children to",
342 "isConstructor" : false,
344 "memberOf" : "Roo.bootstrap.Component",
353 "type" : "Roo.Element",
354 "desc" : "defaults to this.el"
360 "desc" : "Returns the id of this component.",
362 "isConstructor" : false,
364 "memberOf" : "Roo.Component",
380 "desc" : "If this is a lazy rendering component, render it to its container element.",
382 "isConstructor" : false,
384 "memberOf" : "Roo.Component",
391 "name" : "container",
392 "type" : "String/HTMLElement/Element",
393 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
401 "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}.",
403 "isConstructor" : false,
405 "memberOf" : "Roo.Component",
414 "name" : "isVisible",
415 "desc" : "Returns true if this component is visible.",
417 "isConstructor" : false,
419 "memberOf" : "Roo.Component",
428 "name" : "setDisabled",
429 "desc" : "Convenience function for setting disabled/enabled by boolean.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
450 "desc" : "Try to focus this component.",
452 "isConstructor" : false,
454 "memberOf" : "Roo.Component",
461 "name" : "selectText",
463 "desc" : "True to also select the text in this component (if applicable)",
470 "type" : "Roo.Component",
477 "desc" : "Enable this component.",
479 "isConstructor" : false,
481 "memberOf" : "Roo.Component",
490 "type" : "Roo.Component",
496 "name" : "setVisible",
497 "desc" : "Convenience function to hide or show this component by boolean.",
499 "isConstructor" : false,
501 "memberOf" : "Roo.Component",
510 "desc" : "True to show, false to hide",
517 "type" : "Roo.Component",
524 "desc" : "Disable this component.",
526 "isConstructor" : false,
528 "memberOf" : "Roo.Component",
537 "type" : "Roo.Component",
544 "desc" : "Returns the underlying {@link Roo.Element}.",
546 "isConstructor" : false,
548 "memberOf" : "Roo.Component",
557 "type" : "Roo.Element",
558 "desc" : "The element"
563 "name" : "purgeListeners",
564 "desc" : "Removes all listeners for this object",
566 "isConstructor" : false,
568 "memberOf" : "Roo.util.Observable",
578 "desc" : "Appends an event handler to this element (shorthand for addListener)",
580 "isConstructor" : false,
582 "memberOf" : "Roo.util.Observable",
589 "name" : "eventName",
591 "desc" : "The type of event to listen for",
597 "desc" : "The method the event invokes",
603 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
609 "desc" : "(optional)",
617 "desc" : "Removes a listener (shorthand for removeListener)",
619 "isConstructor" : false,
621 "memberOf" : "Roo.util.Observable",
628 "name" : "eventName",
630 "desc" : "The type of event to listen for",
636 "desc" : "The handler to remove",
642 "desc" : "(optional) The scope (this object) for the handler",
649 "name" : "addEvents",
650 "desc" : "Used to define events on this Observable",
652 "isConstructor" : false,
654 "memberOf" : "Roo.util.Observable",
663 "desc" : "The object with the events defined",
670 "name" : "releaseCapture",
671 "desc" : "Removes <b>all</b> added captures from the Observable.",
673 "isConstructor" : false,
675 "memberOf" : "Roo.util.Observable",
683 "type" : "Observable",
684 "desc" : "The Observable to release",
691 "name" : "removeListener",
692 "desc" : "Removes a listener",
694 "isConstructor" : false,
696 "memberOf" : "Roo.util.Observable",
703 "name" : "eventName",
705 "desc" : "The type of event to listen for",
711 "desc" : "The handler to remove",
717 "desc" : "(optional) The scope (this object) for the handler",
724 "name" : "fireEvent",
725 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
727 "isConstructor" : false,
729 "memberOf" : "Roo.util.Observable",
736 "name" : "eventName",
743 "type" : "Object...",
744 "desc" : "Variable number of parameters are passed to handlers",
752 "desc" : "returns false if any of the handlers return false otherwise it returns true"
757 "name" : "hasListener",
758 "desc" : "Checks to see if this object has any listeners for a specified event",
760 "isConstructor" : false,
762 "memberOf" : "Roo.util.Observable",
769 "name" : "eventName",
771 "desc" : "The name of the event to check for",
779 "desc" : "True if the event is being listened for, else false"
785 "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.",
787 "isConstructor" : false,
789 "memberOf" : "Roo.util.Observable",
797 "type" : "Observable",
798 "desc" : "The Observable to capture",
804 "desc" : "The function to call",
810 "desc" : "(optional) The scope (this object) for the fn",
817 "name" : "addListener",
818 "desc" : "Appends an event handler to this component",
820 "isConstructor" : false,
822 "memberOf" : "Roo.util.Observable",
829 "name" : "eventName",
831 "desc" : "The type of event to listen for",
837 "desc" : "The method the event invokes",
843 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
849 "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>",
859 "desc" : "Fires when the mouse exits this menu",
860 "memberOf" : "Roo.bootstrap.Menu",
868 "type" : "Roo.menu.Menu",
874 "type" : "Roo.EventObject",
880 "type" : "Roo.menu.Item",
881 "desc" : "The menu item that was clicked",
889 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
890 "memberOf" : "Roo.bootstrap.Menu",
898 "type" : "Roo.menu.Menu",
904 "type" : "Roo.menu.Item",
905 "desc" : "The menu item that was clicked",
910 "type" : "Roo.EventObject",
918 "name" : "mouseover",
919 "desc" : "Fires when the mouse is hovering over this menu",
920 "memberOf" : "Roo.bootstrap.Menu",
928 "type" : "Roo.menu.Menu",
934 "type" : "Roo.EventObject",
940 "type" : "Roo.menu.Item",
941 "desc" : "The menu item that was clicked",
949 "desc" : "Fires after this menu is hidden",
950 "memberOf" : "Roo.bootstrap.Menu",
958 "type" : "Roo.menu.Menu",
967 "desc" : "Fires after this menu is displayed",
968 "memberOf" : "Roo.bootstrap.Menu",
976 "type" : "Roo.menu.Menu",
984 "name" : "beforehide",
985 "desc" : "Fires before this menu is hidden (return false to block)",
986 "memberOf" : "Roo.bootstrap.Menu",
994 "type" : "Roo.menu.Menu",
1002 "name" : "itemclick",
1003 "desc" : "Fires when a menu item contained in this menu is clicked",
1004 "memberOf" : "Roo.bootstrap.Menu",
1011 "name" : "baseItem",
1012 "type" : "Roo.menu.BaseItem",
1013 "desc" : "The BaseItem that was clicked",
1014 "isOptional" : false
1018 "type" : "Roo.EventObject",
1020 "isOptional" : false
1026 "name" : "beforeshow",
1027 "desc" : "Fires before this menu is displayed (return false to block)",
1028 "memberOf" : "Roo.bootstrap.Menu",
1036 "type" : "Roo.menu.Menu",
1038 "isOptional" : false
1044 "name" : "childrenrendered",
1045 "desc" : "Fires when the children have been rendered..",
1046 "memberOf" : "Roo.bootstrap.Component",
1054 "type" : "Roo.bootstrap.Component",
1056 "isOptional" : false
1062 "name" : "beforerender",
1063 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1064 "memberOf" : "Roo.Component",
1072 "type" : "Roo.Component",
1074 "isOptional" : false
1081 "desc" : "Fires after the component is disabled.",
1082 "memberOf" : "Roo.Component",
1090 "type" : "Roo.Component",
1092 "isOptional" : false
1099 "desc" : "Fires after the component is rendered.",
1100 "memberOf" : "Roo.Component",
1108 "type" : "Roo.Component",
1110 "isOptional" : false
1117 "desc" : "Fires after the component is destroyed.",
1118 "memberOf" : "Roo.Component",
1126 "type" : "Roo.Component",
1128 "isOptional" : false
1135 "desc" : "Fires after the component is enabled.",
1136 "memberOf" : "Roo.Component",
1144 "type" : "Roo.Component",
1146 "isOptional" : false
1152 "name" : "beforedestroy",
1153 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1154 "memberOf" : "Roo.Component",
1162 "type" : "Roo.Component",
1164 "isOptional" : false