2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
10 "Roo.bootstrap.menu.Item",
11 "Roo.bootstrap.menu.Separator"
16 "desc" : "Bootstrap Menu class - container for MenuItems - normally has to be added to a object that supports the menu property",
17 "isSingleton" : false,
21 "isBuilderTop" : false,
31 "desc" : "The config objectQ",
42 "desc" : "e) the menu has link disable auto expand and collaspe (default fals",
53 "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>",
54 "memberOf" : "Roo.util.Observable",
61 "desc" : "Text for the tooltip",
62 "memberOf" : "Roo.bootstrap.Component",
67 "name" : "container_method",
69 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
70 "memberOf" : "Roo.bootstrap.Component",
75 "name" : "visibilityEl",
76 "type" : "string|object",
77 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
78 "memberOf" : "Roo.bootstrap.Component",
88 "desc" : "default tl-bl? == below - how the menu should be aligned.",
96 "desc" : "if the menu should be hidden when rendered.",
102 "name" : "can_build_overlaid",
104 "desc" : "True if element can be rebuild from a HTML page",
105 "memberOf" : "Roo.bootstrap.Component",
106 "isOptional" : false,
112 "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",
113 "memberOf" : "Roo.Component",
114 "isOptional" : false,
121 "name" : "stopEvent",
123 "desc" : "e) Stop event after trigger press (default tru",
125 "isOptional" : false,
134 "desc" : "any extra css",
135 "memberOf" : "Roo.bootstrap.Component",
136 "isOptional" : false,
140 "name" : "allowDomMove",
142 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
143 "memberOf" : "Roo.Component",
144 "isOptional" : false,
150 "desc" : "css class",
151 "memberOf" : "Roo.bootstrap.Component",
152 "isOptional" : false,
158 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
159 "memberOf" : "Roo.bootstrap.Component",
160 "isOptional" : false,
164 "name" : "actionMode",
166 "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",
167 "memberOf" : "Roo.Component",
168 "isOptional" : false,
172 "name" : "hideTrigger",
174 "desc" : "e) default false - hide the carret for trigge",
176 "isOptional" : false,
183 "name" : "registerMenu",
185 "desc" : "True (default) - means that clicking on screen etc. hides it.",
187 "isOptional" : false,
193 "desc" : "cutomer id",
194 "memberOf" : "Roo.bootstrap.Component",
195 "isOptional" : false,
201 "desc" : "u) type of me",
203 "isOptional" : false,
213 "desc" : "Specifies name attribute",
214 "memberOf" : "Roo.bootstrap.Component",
215 "isOptional" : false,
219 "name" : "disableClass",
221 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
222 "memberOf" : "Roo.Component",
223 "isOptional" : false,
231 "desc" : "Hides this menu and optionally all parent menus",
236 "isConstructor" : false,
248 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
257 "desc" : "Displays this menu relative to another element",
258 "sig" : "(element, position, parentMenu)",
262 "isConstructor" : false,
273 "type" : "String/HTMLElement/Roo.Element",
274 "desc" : "The element to align to",
280 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
284 "name" : "parentMenu",
285 "type" : "Roo.menu.Menu",
286 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
295 "desc" : "Displays this menu at a specific xy position",
296 "sig" : "(xyPosition, parentMenu)",
300 "isConstructor" : false,
310 "name" : "xyPosition",
312 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
316 "name" : "parentMenu",
317 "type" : "Roo.menu.Menu",
318 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
325 "name" : "tooltipEl",
327 "desc" : "Fetch the element to display the tooltip on.",
328 "sig" : "()\n{\n\n}",
330 "memberOf" : "Roo.bootstrap.Component",
332 "isConstructor" : false,
344 "type" : "Roo.Element",
345 "desc" : "defaults to this.el"
350 "name" : "setVisibilityEl",
352 "desc" : "Set the element that will be used to show or hide",
353 "sig" : "()\n{\n\n}",
355 "memberOf" : "Roo.bootstrap.Component",
357 "isConstructor" : false,
369 "name" : "getVisibilityEl",
371 "desc" : "Get the element that will be used to show or hide",
372 "sig" : "()\n{\n\n}",
374 "memberOf" : "Roo.bootstrap.Component",
376 "isConstructor" : false,
388 "name" : "initEvents",
390 "desc" : "Initialize Events for the element",
391 "sig" : "()\n{\n\n}",
393 "memberOf" : "Roo.bootstrap.Component",
395 "isConstructor" : false,
407 "name" : "getChildContainer",
409 "desc" : "Fetch the element to add children to",
410 "sig" : "()\n{\n\n}",
412 "memberOf" : "Roo.bootstrap.Component",
414 "isConstructor" : false,
426 "type" : "Roo.Element",
427 "desc" : "defaults to this.el"
434 "desc" : "Returns the id of this component.",
435 "sig" : "()\n{\n\n}",
437 "memberOf" : "Roo.Component",
439 "isConstructor" : false,
459 "desc" : "If this is a lazy rendering component, render it to its container element.",
460 "sig" : "(container)",
462 "memberOf" : "Roo.Component",
464 "isConstructor" : false,
474 "name" : "container",
475 "type" : "String/HTMLElement/Element",
476 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
485 "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}.",
486 "sig" : "()\n{\n\n}",
488 "memberOf" : "Roo.Component",
490 "isConstructor" : false,
502 "name" : "isVisible",
504 "desc" : "Returns true if this component is visible.",
505 "sig" : "()\n{\n\n}",
507 "memberOf" : "Roo.Component",
509 "isConstructor" : false,
521 "name" : "setDisabled",
523 "desc" : "Convenience function for setting disabled/enabled by boolean.",
524 "sig" : "(disabled)",
526 "memberOf" : "Roo.Component",
528 "isConstructor" : false,
549 "desc" : "Try to focus this component.",
550 "sig" : "(selectText)",
552 "memberOf" : "Roo.Component",
554 "isConstructor" : false,
564 "name" : "selectText",
566 "desc" : "True to also select the text in this component (if applicable)",
573 "type" : "Roo.Component",
581 "desc" : "Enable this component.",
582 "sig" : "()\n{\n\n}",
584 "memberOf" : "Roo.Component",
586 "isConstructor" : false,
598 "type" : "Roo.Component",
604 "name" : "setVisible",
606 "desc" : "Convenience function to hide or show this component by boolean.",
609 "memberOf" : "Roo.Component",
611 "isConstructor" : false,
623 "desc" : "True to show, false to hide",
630 "type" : "Roo.Component",
638 "desc" : "Disable this component.",
639 "sig" : "()\n{\n\n}",
641 "memberOf" : "Roo.Component",
643 "isConstructor" : false,
655 "type" : "Roo.Component",
663 "desc" : "Returns the underlying {@link Roo.Element}.",
664 "sig" : "()\n{\n\n}",
666 "memberOf" : "Roo.Component",
668 "isConstructor" : false,
680 "type" : "Roo.Element",
681 "desc" : "The element"
686 "name" : "purgeListeners",
688 "desc" : "Removes all listeners for this object",
689 "sig" : "()\n{\n\n}",
691 "memberOf" : "Roo.util.Observable",
693 "isConstructor" : false,
707 "desc" : "Appends an event handler to this element (shorthand for addListener)",
708 "sig" : "(eventName, handler, scope, options)",
710 "memberOf" : "Roo.util.Observable",
712 "isConstructor" : false,
722 "name" : "eventName",
724 "desc" : "The type of event to listen for",
730 "desc" : "The method the event invokes",
736 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
742 "desc" : "(optional)",
751 "desc" : "Removes a listener (shorthand for removeListener)",
752 "sig" : "(eventName, handler, scope)",
754 "memberOf" : "Roo.util.Observable",
756 "isConstructor" : false,
766 "name" : "eventName",
768 "desc" : "The type of event to listen for",
774 "desc" : "The handler to remove",
780 "desc" : "(optional) The scope (this object) for the handler",
787 "name" : "addEvents",
789 "desc" : "Used to define events on this Observable",
792 "memberOf" : "Roo.util.Observable",
794 "isConstructor" : false,
806 "desc" : "The object with the events defined",
813 "name" : "releaseCapture",
815 "desc" : "Removes <b>all</b> added captures from the Observable.",
818 "memberOf" : "Roo.util.Observable",
820 "isConstructor" : false,
831 "type" : "Observable",
832 "desc" : "The Observable to release",
839 "name" : "removeListener",
841 "desc" : "Removes a listener",
842 "sig" : "(eventName, handler, scope)",
844 "memberOf" : "Roo.util.Observable",
846 "isConstructor" : false,
856 "name" : "eventName",
858 "desc" : "The type of event to listen for",
864 "desc" : "The handler to remove",
870 "desc" : "(optional) The scope (this object) for the handler",
877 "name" : "fireEvent",
879 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
880 "sig" : "(eventName, args)",
882 "memberOf" : "Roo.util.Observable",
884 "isConstructor" : false,
894 "name" : "eventName",
901 "type" : "Object...",
902 "desc" : "Variable number of parameters are passed to handlers",
910 "desc" : "returns false if any of the handlers return false otherwise it returns true"
915 "name" : "hasListener",
917 "desc" : "Checks to see if this object has any listeners for a specified event",
918 "sig" : "(eventName)",
920 "memberOf" : "Roo.util.Observable",
922 "isConstructor" : false,
932 "name" : "eventName",
934 "desc" : "The name of the event to check for",
942 "desc" : "True if the event is being listened for, else false"
949 "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.",
950 "sig" : "(o, fn, scope)",
952 "memberOf" : "Roo.util.Observable",
954 "isConstructor" : false,
965 "type" : "Observable",
966 "desc" : "The Observable to capture",
972 "desc" : "The function to call",
978 "desc" : "(optional) The scope (this object) for the fn",
985 "name" : "addListener",
987 "desc" : "Appends an event handler to this component",
988 "sig" : "(eventName, handler, scope, options)",
990 "memberOf" : "Roo.util.Observable",
992 "isConstructor" : false,
1002 "name" : "eventName",
1004 "desc" : "The type of event to listen for",
1005 "isOptional" : false
1009 "type" : "Function",
1010 "desc" : "The method the event invokes",
1011 "isOptional" : false
1016 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1017 "isOptional" : false
1022 "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>",
1023 "isOptional" : false
1032 "type" : "function",
1033 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
1034 "sig" : "function (_self, menuItem, e)\n{\n\n}",
1043 "type" : "Roo.menu.Menu",
1045 "isOptional" : false
1048 "name" : "menuItem",
1049 "type" : "Roo.menu.Item",
1050 "desc" : "The menu item that was clicked",
1051 "isOptional" : false
1055 "type" : "Roo.EventObject",
1057 "isOptional" : false
1063 "name" : "itemclick",
1064 "type" : "function",
1065 "desc" : "Fires when a menu item contained in this menu is clicked",
1066 "sig" : "function (baseItem, e)\n{\n\n}",
1074 "name" : "baseItem",
1075 "type" : "Roo.menu.BaseItem",
1076 "desc" : "The BaseItem that was clicked",
1077 "isOptional" : false
1081 "type" : "Roo.EventObject",
1083 "isOptional" : false
1089 "name" : "mouseout",
1090 "type" : "function",
1091 "desc" : "Fires when the mouse exits this menu",
1092 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1101 "type" : "Roo.menu.Menu",
1103 "isOptional" : false
1107 "type" : "Roo.EventObject",
1109 "isOptional" : false
1112 "name" : "menuItem",
1113 "type" : "Roo.menu.Item",
1114 "desc" : "The menu item that was clicked",
1115 "isOptional" : false
1121 "name" : "beforehide",
1122 "type" : "function",
1123 "desc" : "Fires before this menu is hidden (return false to block)",
1124 "sig" : "function (_self)\n{\n\n}",
1133 "type" : "Roo.menu.Menu",
1135 "isOptional" : false
1141 "name" : "beforeshow",
1142 "type" : "function",
1143 "desc" : "Fires before this menu is displayed (return false to block)",
1144 "sig" : "function (_self)\n{\n\n}",
1153 "type" : "Roo.menu.Menu",
1155 "isOptional" : false
1162 "type" : "function",
1163 "desc" : "Fires after this menu is hidden",
1164 "sig" : "function (_self)\n{\n\n}",
1173 "type" : "Roo.menu.Menu",
1175 "isOptional" : false
1182 "type" : "function",
1183 "desc" : "Fires after this menu is displayed",
1184 "sig" : "function (_self)\n{\n\n}",
1193 "type" : "Roo.menu.Menu",
1195 "isOptional" : false
1201 "name" : "mouseover",
1202 "type" : "function",
1203 "desc" : "Fires when the mouse is hovering over this menu",
1204 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1213 "type" : "Roo.menu.Menu",
1215 "isOptional" : false
1219 "type" : "Roo.EventObject",
1221 "isOptional" : false
1224 "name" : "menuItem",
1225 "type" : "Roo.menu.Item",
1226 "desc" : "The menu item that was clicked",
1227 "isOptional" : false
1233 "name" : "childrenrendered",
1234 "type" : "function",
1235 "desc" : "Fires when the children have been rendered..",
1236 "sig" : "function (_self)\n{\n\n}",
1237 "memberOf" : "Roo.bootstrap.Component",
1245 "type" : "Roo.bootstrap.Component",
1247 "isOptional" : false
1253 "name" : "beforerender",
1254 "type" : "function",
1255 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1256 "sig" : "function (_self)\n{\n\n}",
1257 "memberOf" : "Roo.Component",
1265 "type" : "Roo.Component",
1267 "isOptional" : false
1274 "type" : "function",
1275 "desc" : "Fires after the component is disabled.",
1276 "sig" : "function (_self)\n{\n\n}",
1277 "memberOf" : "Roo.Component",
1285 "type" : "Roo.Component",
1287 "isOptional" : false
1294 "type" : "function",
1295 "desc" : "Fires after the component is rendered.",
1296 "sig" : "function (_self)\n{\n\n}",
1297 "memberOf" : "Roo.Component",
1305 "type" : "Roo.Component",
1307 "isOptional" : false
1314 "type" : "function",
1315 "desc" : "Fires after the component is destroyed.",
1316 "sig" : "function (_self)\n{\n\n}",
1317 "memberOf" : "Roo.Component",
1325 "type" : "Roo.Component",
1327 "isOptional" : false
1334 "type" : "function",
1335 "desc" : "Fires after the component is enabled.",
1336 "sig" : "function (_self)\n{\n\n}",
1337 "memberOf" : "Roo.Component",
1345 "type" : "Roo.Component",
1347 "isOptional" : false
1353 "name" : "beforedestroy",
1354 "type" : "function",
1355 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1356 "sig" : "function (_self)\n{\n\n}",
1357 "memberOf" : "Roo.Component",
1365 "type" : "Roo.Component",
1367 "isOptional" : false