2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Menu class - container for MenuItems",
10 "isSingleton" : false,
22 "desc" : "The config objectQ",
33 "desc" : "e) the menu has link disable auto expand and collaspe (default false)",
39 "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>",
40 "memberOf" : "Roo.util.Observable"
45 "desc" : "Text for the tooltip",
46 "memberOf" : "Roo.bootstrap.Component"
49 "name" : "container_method",
51 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
52 "memberOf" : "Roo.bootstrap.Component"
55 "name" : "visibilityEl",
56 "type" : "string|object",
57 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
58 "memberOf" : "Roo.bootstrap.Component"
63 "desc" : "default tl-bl? == below - how the menu should be aligned.",
69 "desc" : "if the menu should be hidden when rendered.",
73 "name" : "can_build_overlaid",
75 "desc" : "True if element can be rebuild from a HTML page",
76 "memberOf" : "Roo.bootstrap.Component"
81 "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\".",
82 "memberOf" : "Roo.Component"
87 "desc" : "e) Stop event after trigger press (default true)",
93 "desc" : "any extra css",
94 "memberOf" : "Roo.bootstrap.Component"
97 "name" : "allowDomMove",
99 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
100 "memberOf" : "Roo.Component"
105 "desc" : "css class",
106 "memberOf" : "Roo.bootstrap.Component"
111 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
112 "memberOf" : "Roo.bootstrap.Component"
115 "name" : "actionMode",
117 "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",
118 "memberOf" : "Roo.Component"
121 "name" : "hideTrigger",
123 "desc" : "e) default false - hide the carret for trigger.",
127 "name" : "registerMenu",
129 "desc" : "True (default) - means that clicking on screen etc. hides it.",
135 "desc" : "cutomer id",
136 "memberOf" : "Roo.bootstrap.Component"
141 "desc" : "u) type of menu",
147 "desc" : "Specifies name attribute",
148 "memberOf" : "Roo.bootstrap.Component"
151 "name" : "disableClass",
153 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
154 "memberOf" : "Roo.Component"
161 "desc" : "Hides this menu and optionally all parent menus",
166 "isConstructor" : false,
178 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
187 "desc" : "Displays this menu relative to another element",
188 "sig" : "(element, position, parentMenu)",
192 "isConstructor" : false,
203 "type" : "String/HTMLElement/Roo.Element",
204 "desc" : "The element to align to",
210 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
214 "name" : "parentMenu",
215 "type" : "Roo.menu.Menu",
216 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
225 "desc" : "Displays this menu at a specific xy position",
226 "sig" : "(xyPosition, parentMenu)",
230 "isConstructor" : false,
240 "name" : "xyPosition",
242 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
246 "name" : "parentMenu",
247 "type" : "Roo.menu.Menu",
248 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
255 "name" : "tooltipEl",
257 "desc" : "Fetch the element to display the tooltip on.",
258 "sig" : "()\n{\n\n}",
260 "memberOf" : "Roo.bootstrap.Component",
262 "isConstructor" : false,
274 "type" : "Roo.Element",
275 "desc" : "defaults to this.el"
280 "name" : "setVisibilityEl",
282 "desc" : "Set the element that will be used to show or hide",
283 "sig" : "()\n{\n\n}",
285 "memberOf" : "Roo.bootstrap.Component",
287 "isConstructor" : false,
299 "name" : "getVisibilityEl",
301 "desc" : "Get the element that will be used to show or hide",
302 "sig" : "()\n{\n\n}",
304 "memberOf" : "Roo.bootstrap.Component",
306 "isConstructor" : false,
318 "name" : "initEvents",
320 "desc" : "Initialize Events for the element",
321 "sig" : "()\n{\n\n}",
323 "memberOf" : "Roo.bootstrap.Component",
325 "isConstructor" : false,
337 "name" : "getChildContainer",
339 "desc" : "Fetch the element to add children to",
340 "sig" : "()\n{\n\n}",
342 "memberOf" : "Roo.bootstrap.Component",
344 "isConstructor" : false,
356 "type" : "Roo.Element",
357 "desc" : "defaults to this.el"
364 "desc" : "Returns the id of this component.",
365 "sig" : "()\n{\n\n}",
367 "memberOf" : "Roo.Component",
369 "isConstructor" : false,
389 "desc" : "If this is a lazy rendering component, render it to its container element.",
390 "sig" : "(container)",
392 "memberOf" : "Roo.Component",
394 "isConstructor" : false,
404 "name" : "container",
405 "type" : "String/HTMLElement/Element",
406 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
415 "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}.",
416 "sig" : "()\n{\n\n}",
418 "memberOf" : "Roo.Component",
420 "isConstructor" : false,
432 "name" : "isVisible",
434 "desc" : "Returns true if this component is visible.",
435 "sig" : "()\n{\n\n}",
437 "memberOf" : "Roo.Component",
439 "isConstructor" : false,
451 "name" : "setDisabled",
453 "desc" : "Convenience function for setting disabled/enabled by boolean.",
454 "sig" : "(disabled)",
456 "memberOf" : "Roo.Component",
458 "isConstructor" : false,
479 "desc" : "Try to focus this component.",
480 "sig" : "(selectText)",
482 "memberOf" : "Roo.Component",
484 "isConstructor" : false,
494 "name" : "selectText",
496 "desc" : "True to also select the text in this component (if applicable)",
503 "type" : "Roo.Component",
511 "desc" : "Enable this component.",
512 "sig" : "()\n{\n\n}",
514 "memberOf" : "Roo.Component",
516 "isConstructor" : false,
528 "type" : "Roo.Component",
534 "name" : "setVisible",
536 "desc" : "Convenience function to hide or show this component by boolean.",
539 "memberOf" : "Roo.Component",
541 "isConstructor" : false,
553 "desc" : "True to show, false to hide",
560 "type" : "Roo.Component",
568 "desc" : "Disable this component.",
569 "sig" : "()\n{\n\n}",
571 "memberOf" : "Roo.Component",
573 "isConstructor" : false,
585 "type" : "Roo.Component",
593 "desc" : "Returns the underlying {@link Roo.Element}.",
594 "sig" : "()\n{\n\n}",
596 "memberOf" : "Roo.Component",
598 "isConstructor" : false,
610 "type" : "Roo.Element",
611 "desc" : "The element"
616 "name" : "purgeListeners",
618 "desc" : "Removes all listeners for this object",
619 "sig" : "()\n{\n\n}",
621 "memberOf" : "Roo.util.Observable",
623 "isConstructor" : false,
637 "desc" : "Appends an event handler to this element (shorthand for addListener)",
638 "sig" : "(eventName, handler, scope, options)",
640 "memberOf" : "Roo.util.Observable",
642 "isConstructor" : false,
652 "name" : "eventName",
654 "desc" : "The type of event to listen for",
660 "desc" : "The method the event invokes",
666 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
672 "desc" : "(optional)",
681 "desc" : "Removes a listener (shorthand for removeListener)",
682 "sig" : "(eventName, handler, scope)",
684 "memberOf" : "Roo.util.Observable",
686 "isConstructor" : false,
696 "name" : "eventName",
698 "desc" : "The type of event to listen for",
704 "desc" : "The handler to remove",
710 "desc" : "(optional) The scope (this object) for the handler",
717 "name" : "addEvents",
719 "desc" : "Used to define events on this Observable",
722 "memberOf" : "Roo.util.Observable",
724 "isConstructor" : false,
736 "desc" : "The object with the events defined",
743 "name" : "releaseCapture",
745 "desc" : "Removes <b>all</b> added captures from the Observable.",
748 "memberOf" : "Roo.util.Observable",
750 "isConstructor" : false,
761 "type" : "Observable",
762 "desc" : "The Observable to release",
769 "name" : "removeListener",
771 "desc" : "Removes a listener",
772 "sig" : "(eventName, handler, scope)",
774 "memberOf" : "Roo.util.Observable",
776 "isConstructor" : false,
786 "name" : "eventName",
788 "desc" : "The type of event to listen for",
794 "desc" : "The handler to remove",
800 "desc" : "(optional) The scope (this object) for the handler",
807 "name" : "fireEvent",
809 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
810 "sig" : "(eventName, args)",
812 "memberOf" : "Roo.util.Observable",
814 "isConstructor" : false,
824 "name" : "eventName",
831 "type" : "Object...",
832 "desc" : "Variable number of parameters are passed to handlers",
840 "desc" : "returns false if any of the handlers return false otherwise it returns true"
845 "name" : "hasListener",
847 "desc" : "Checks to see if this object has any listeners for a specified event",
848 "sig" : "(eventName)",
850 "memberOf" : "Roo.util.Observable",
852 "isConstructor" : false,
862 "name" : "eventName",
864 "desc" : "The name of the event to check for",
872 "desc" : "True if the event is being listened for, else false"
879 "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.",
880 "sig" : "(o, fn, scope)",
882 "memberOf" : "Roo.util.Observable",
884 "isConstructor" : false,
895 "type" : "Observable",
896 "desc" : "The Observable to capture",
902 "desc" : "The function to call",
908 "desc" : "(optional) The scope (this object) for the fn",
915 "name" : "addListener",
917 "desc" : "Appends an event handler to this component",
918 "sig" : "(eventName, handler, scope, options)",
920 "memberOf" : "Roo.util.Observable",
922 "isConstructor" : false,
932 "name" : "eventName",
934 "desc" : "The type of event to listen for",
940 "desc" : "The method the event invokes",
946 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
952 "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>",
963 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
964 "sig" : "function (_self, menuItem, e)\n{\n\n}",
973 "type" : "Roo.menu.Menu",
979 "type" : "Roo.menu.Item",
980 "desc" : "The menu item that was clicked",
985 "type" : "Roo.EventObject",
993 "name" : "itemclick",
995 "desc" : "Fires when a menu item contained in this menu is clicked",
996 "sig" : "function (baseItem, e)\n{\n\n}",
1004 "name" : "baseItem",
1005 "type" : "Roo.menu.BaseItem",
1006 "desc" : "The BaseItem that was clicked",
1007 "isOptional" : false
1011 "type" : "Roo.EventObject",
1013 "isOptional" : false
1019 "name" : "mouseout",
1020 "type" : "function",
1021 "desc" : "Fires when the mouse exits this menu",
1022 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1031 "type" : "Roo.menu.Menu",
1033 "isOptional" : false
1037 "type" : "Roo.EventObject",
1039 "isOptional" : false
1042 "name" : "menuItem",
1043 "type" : "Roo.menu.Item",
1044 "desc" : "The menu item that was clicked",
1045 "isOptional" : false
1051 "name" : "beforehide",
1052 "type" : "function",
1053 "desc" : "Fires before this menu is hidden (return false to block)",
1054 "sig" : "function (_self)\n{\n\n}",
1063 "type" : "Roo.menu.Menu",
1065 "isOptional" : false
1071 "name" : "beforeshow",
1072 "type" : "function",
1073 "desc" : "Fires before this menu is displayed (return false to block)",
1074 "sig" : "function (_self)\n{\n\n}",
1083 "type" : "Roo.menu.Menu",
1085 "isOptional" : false
1092 "type" : "function",
1093 "desc" : "Fires after this menu is hidden",
1094 "sig" : "function (_self)\n{\n\n}",
1103 "type" : "Roo.menu.Menu",
1105 "isOptional" : false
1112 "type" : "function",
1113 "desc" : "Fires after this menu is displayed",
1114 "sig" : "function (_self)\n{\n\n}",
1123 "type" : "Roo.menu.Menu",
1125 "isOptional" : false
1131 "name" : "mouseover",
1132 "type" : "function",
1133 "desc" : "Fires when the mouse is hovering over this menu",
1134 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1143 "type" : "Roo.menu.Menu",
1145 "isOptional" : false
1149 "type" : "Roo.EventObject",
1151 "isOptional" : false
1154 "name" : "menuItem",
1155 "type" : "Roo.menu.Item",
1156 "desc" : "The menu item that was clicked",
1157 "isOptional" : false
1163 "name" : "childrenrendered",
1164 "type" : "function",
1165 "desc" : "Fires when the children have been rendered..",
1166 "sig" : "function (_self)\n{\n\n}",
1167 "memberOf" : "Roo.bootstrap.Component",
1175 "type" : "Roo.bootstrap.Component",
1177 "isOptional" : false
1183 "name" : "beforerender",
1184 "type" : "function",
1185 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1186 "sig" : "function (_self)\n{\n\n}",
1187 "memberOf" : "Roo.Component",
1195 "type" : "Roo.Component",
1197 "isOptional" : false
1204 "type" : "function",
1205 "desc" : "Fires after the component is disabled.",
1206 "sig" : "function (_self)\n{\n\n}",
1207 "memberOf" : "Roo.Component",
1215 "type" : "Roo.Component",
1217 "isOptional" : false
1224 "type" : "function",
1225 "desc" : "Fires after the component is rendered.",
1226 "sig" : "function (_self)\n{\n\n}",
1227 "memberOf" : "Roo.Component",
1235 "type" : "Roo.Component",
1237 "isOptional" : false
1244 "type" : "function",
1245 "desc" : "Fires after the component is destroyed.",
1246 "sig" : "function (_self)\n{\n\n}",
1247 "memberOf" : "Roo.Component",
1255 "type" : "Roo.Component",
1257 "isOptional" : false
1264 "type" : "function",
1265 "desc" : "Fires after the component is enabled.",
1266 "sig" : "function (_self)\n{\n\n}",
1267 "memberOf" : "Roo.Component",
1275 "type" : "Roo.Component",
1277 "isOptional" : false
1283 "name" : "beforedestroy",
1284 "type" : "function",
1285 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1286 "sig" : "function (_self)\n{\n\n}",
1287 "memberOf" : "Roo.Component",
1295 "type" : "Roo.Component",
1297 "isOptional" : false