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 false)",
48 "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>",
49 "memberOf" : "Roo.util.Observable"
54 "desc" : "Text for the tooltip",
55 "memberOf" : "Roo.bootstrap.Component"
58 "name" : "container_method",
60 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
61 "memberOf" : "Roo.bootstrap.Component"
64 "name" : "visibilityEl",
65 "type" : "string|object",
66 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
67 "memberOf" : "Roo.bootstrap.Component"
72 "desc" : "default tl-bl? == below - how the menu should be aligned.",
78 "desc" : "if the menu should be hidden when rendered.",
82 "name" : "can_build_overlaid",
84 "desc" : "True if element can be rebuild from a HTML page",
85 "memberOf" : "Roo.bootstrap.Component"
90 "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\".",
91 "memberOf" : "Roo.Component"
96 "desc" : "e) Stop event after trigger press (default true)",
102 "desc" : "any extra css",
103 "memberOf" : "Roo.bootstrap.Component"
106 "name" : "allowDomMove",
108 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
109 "memberOf" : "Roo.Component"
114 "desc" : "css class",
115 "memberOf" : "Roo.bootstrap.Component"
120 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
121 "memberOf" : "Roo.bootstrap.Component"
124 "name" : "actionMode",
126 "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",
127 "memberOf" : "Roo.Component"
130 "name" : "hideTrigger",
132 "desc" : "e) default false - hide the carret for trigger.",
136 "name" : "registerMenu",
138 "desc" : "True (default) - means that clicking on screen etc. hides it.",
144 "desc" : "cutomer id",
145 "memberOf" : "Roo.bootstrap.Component"
150 "desc" : "u) type of menu",
156 "desc" : "Specifies name attribute",
157 "memberOf" : "Roo.bootstrap.Component"
160 "name" : "disableClass",
162 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
163 "memberOf" : "Roo.Component"
170 "desc" : "Hides this menu and optionally all parent menus",
175 "isConstructor" : false,
187 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
196 "desc" : "Displays this menu relative to another element",
197 "sig" : "(element, position, parentMenu)",
201 "isConstructor" : false,
212 "type" : "String/HTMLElement/Roo.Element",
213 "desc" : "The element to align to",
219 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
223 "name" : "parentMenu",
224 "type" : "Roo.menu.Menu",
225 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
234 "desc" : "Displays this menu at a specific xy position",
235 "sig" : "(xyPosition, parentMenu)",
239 "isConstructor" : false,
249 "name" : "xyPosition",
251 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
255 "name" : "parentMenu",
256 "type" : "Roo.menu.Menu",
257 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
264 "name" : "tooltipEl",
266 "desc" : "Fetch the element to display the tooltip on.",
267 "sig" : "()\n{\n\n}",
269 "memberOf" : "Roo.bootstrap.Component",
271 "isConstructor" : false,
283 "type" : "Roo.Element",
284 "desc" : "defaults to this.el"
289 "name" : "setVisibilityEl",
291 "desc" : "Set the element that will be used to show or hide",
292 "sig" : "()\n{\n\n}",
294 "memberOf" : "Roo.bootstrap.Component",
296 "isConstructor" : false,
308 "name" : "getVisibilityEl",
310 "desc" : "Get the element that will be used to show or hide",
311 "sig" : "()\n{\n\n}",
313 "memberOf" : "Roo.bootstrap.Component",
315 "isConstructor" : false,
327 "name" : "initEvents",
329 "desc" : "Initialize Events for the element",
330 "sig" : "()\n{\n\n}",
332 "memberOf" : "Roo.bootstrap.Component",
334 "isConstructor" : false,
346 "name" : "getChildContainer",
348 "desc" : "Fetch the element to add children to",
349 "sig" : "()\n{\n\n}",
351 "memberOf" : "Roo.bootstrap.Component",
353 "isConstructor" : false,
365 "type" : "Roo.Element",
366 "desc" : "defaults to this.el"
373 "desc" : "Returns the id of this component.",
374 "sig" : "()\n{\n\n}",
376 "memberOf" : "Roo.Component",
378 "isConstructor" : false,
398 "desc" : "If this is a lazy rendering component, render it to its container element.",
399 "sig" : "(container)",
401 "memberOf" : "Roo.Component",
403 "isConstructor" : false,
413 "name" : "container",
414 "type" : "String/HTMLElement/Element",
415 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
424 "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}.",
425 "sig" : "()\n{\n\n}",
427 "memberOf" : "Roo.Component",
429 "isConstructor" : false,
441 "name" : "isVisible",
443 "desc" : "Returns true if this component is visible.",
444 "sig" : "()\n{\n\n}",
446 "memberOf" : "Roo.Component",
448 "isConstructor" : false,
460 "name" : "setDisabled",
462 "desc" : "Convenience function for setting disabled/enabled by boolean.",
463 "sig" : "(disabled)",
465 "memberOf" : "Roo.Component",
467 "isConstructor" : false,
488 "desc" : "Try to focus this component.",
489 "sig" : "(selectText)",
491 "memberOf" : "Roo.Component",
493 "isConstructor" : false,
503 "name" : "selectText",
505 "desc" : "True to also select the text in this component (if applicable)",
512 "type" : "Roo.Component",
520 "desc" : "Enable this component.",
521 "sig" : "()\n{\n\n}",
523 "memberOf" : "Roo.Component",
525 "isConstructor" : false,
537 "type" : "Roo.Component",
543 "name" : "setVisible",
545 "desc" : "Convenience function to hide or show this component by boolean.",
548 "memberOf" : "Roo.Component",
550 "isConstructor" : false,
562 "desc" : "True to show, false to hide",
569 "type" : "Roo.Component",
577 "desc" : "Disable this component.",
578 "sig" : "()\n{\n\n}",
580 "memberOf" : "Roo.Component",
582 "isConstructor" : false,
594 "type" : "Roo.Component",
602 "desc" : "Returns the underlying {@link Roo.Element}.",
603 "sig" : "()\n{\n\n}",
605 "memberOf" : "Roo.Component",
607 "isConstructor" : false,
619 "type" : "Roo.Element",
620 "desc" : "The element"
625 "name" : "purgeListeners",
627 "desc" : "Removes all listeners for this object",
628 "sig" : "()\n{\n\n}",
630 "memberOf" : "Roo.util.Observable",
632 "isConstructor" : false,
646 "desc" : "Appends an event handler to this element (shorthand for addListener)",
647 "sig" : "(eventName, handler, scope, options)",
649 "memberOf" : "Roo.util.Observable",
651 "isConstructor" : false,
661 "name" : "eventName",
663 "desc" : "The type of event to listen for",
669 "desc" : "The method the event invokes",
675 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
681 "desc" : "(optional)",
690 "desc" : "Removes a listener (shorthand for removeListener)",
691 "sig" : "(eventName, handler, scope)",
693 "memberOf" : "Roo.util.Observable",
695 "isConstructor" : false,
705 "name" : "eventName",
707 "desc" : "The type of event to listen for",
713 "desc" : "The handler to remove",
719 "desc" : "(optional) The scope (this object) for the handler",
726 "name" : "addEvents",
728 "desc" : "Used to define events on this Observable",
731 "memberOf" : "Roo.util.Observable",
733 "isConstructor" : false,
745 "desc" : "The object with the events defined",
752 "name" : "releaseCapture",
754 "desc" : "Removes <b>all</b> added captures from the Observable.",
757 "memberOf" : "Roo.util.Observable",
759 "isConstructor" : false,
770 "type" : "Observable",
771 "desc" : "The Observable to release",
778 "name" : "removeListener",
780 "desc" : "Removes a listener",
781 "sig" : "(eventName, handler, scope)",
783 "memberOf" : "Roo.util.Observable",
785 "isConstructor" : false,
795 "name" : "eventName",
797 "desc" : "The type of event to listen for",
803 "desc" : "The handler to remove",
809 "desc" : "(optional) The scope (this object) for the handler",
816 "name" : "fireEvent",
818 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
819 "sig" : "(eventName, args)",
821 "memberOf" : "Roo.util.Observable",
823 "isConstructor" : false,
833 "name" : "eventName",
840 "type" : "Object...",
841 "desc" : "Variable number of parameters are passed to handlers",
849 "desc" : "returns false if any of the handlers return false otherwise it returns true"
854 "name" : "hasListener",
856 "desc" : "Checks to see if this object has any listeners for a specified event",
857 "sig" : "(eventName)",
859 "memberOf" : "Roo.util.Observable",
861 "isConstructor" : false,
871 "name" : "eventName",
873 "desc" : "The name of the event to check for",
881 "desc" : "True if the event is being listened for, else false"
888 "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.",
889 "sig" : "(o, fn, scope)",
891 "memberOf" : "Roo.util.Observable",
893 "isConstructor" : false,
904 "type" : "Observable",
905 "desc" : "The Observable to capture",
911 "desc" : "The function to call",
917 "desc" : "(optional) The scope (this object) for the fn",
924 "name" : "addListener",
926 "desc" : "Appends an event handler to this component",
927 "sig" : "(eventName, handler, scope, options)",
929 "memberOf" : "Roo.util.Observable",
931 "isConstructor" : false,
941 "name" : "eventName",
943 "desc" : "The type of event to listen for",
949 "desc" : "The method the event invokes",
955 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
961 "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>",
972 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
973 "sig" : "function (_self, menuItem, e)\n{\n\n}",
982 "type" : "Roo.menu.Menu",
988 "type" : "Roo.menu.Item",
989 "desc" : "The menu item that was clicked",
994 "type" : "Roo.EventObject",
1002 "name" : "itemclick",
1003 "type" : "function",
1004 "desc" : "Fires when a menu item contained in this menu is clicked",
1005 "sig" : "function (baseItem, e)\n{\n\n}",
1013 "name" : "baseItem",
1014 "type" : "Roo.menu.BaseItem",
1015 "desc" : "The BaseItem that was clicked",
1016 "isOptional" : false
1020 "type" : "Roo.EventObject",
1022 "isOptional" : false
1028 "name" : "mouseout",
1029 "type" : "function",
1030 "desc" : "Fires when the mouse exits this menu",
1031 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1040 "type" : "Roo.menu.Menu",
1042 "isOptional" : false
1046 "type" : "Roo.EventObject",
1048 "isOptional" : false
1051 "name" : "menuItem",
1052 "type" : "Roo.menu.Item",
1053 "desc" : "The menu item that was clicked",
1054 "isOptional" : false
1060 "name" : "beforehide",
1061 "type" : "function",
1062 "desc" : "Fires before this menu is hidden (return false to block)",
1063 "sig" : "function (_self)\n{\n\n}",
1072 "type" : "Roo.menu.Menu",
1074 "isOptional" : false
1080 "name" : "beforeshow",
1081 "type" : "function",
1082 "desc" : "Fires before this menu is displayed (return false to block)",
1083 "sig" : "function (_self)\n{\n\n}",
1092 "type" : "Roo.menu.Menu",
1094 "isOptional" : false
1101 "type" : "function",
1102 "desc" : "Fires after this menu is hidden",
1103 "sig" : "function (_self)\n{\n\n}",
1112 "type" : "Roo.menu.Menu",
1114 "isOptional" : false
1121 "type" : "function",
1122 "desc" : "Fires after this menu is displayed",
1123 "sig" : "function (_self)\n{\n\n}",
1132 "type" : "Roo.menu.Menu",
1134 "isOptional" : false
1140 "name" : "mouseover",
1141 "type" : "function",
1142 "desc" : "Fires when the mouse is hovering over this menu",
1143 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1152 "type" : "Roo.menu.Menu",
1154 "isOptional" : false
1158 "type" : "Roo.EventObject",
1160 "isOptional" : false
1163 "name" : "menuItem",
1164 "type" : "Roo.menu.Item",
1165 "desc" : "The menu item that was clicked",
1166 "isOptional" : false
1172 "name" : "childrenrendered",
1173 "type" : "function",
1174 "desc" : "Fires when the children have been rendered..",
1175 "sig" : "function (_self)\n{\n\n}",
1176 "memberOf" : "Roo.bootstrap.Component",
1184 "type" : "Roo.bootstrap.Component",
1186 "isOptional" : false
1192 "name" : "beforerender",
1193 "type" : "function",
1194 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1195 "sig" : "function (_self)\n{\n\n}",
1196 "memberOf" : "Roo.Component",
1204 "type" : "Roo.Component",
1206 "isOptional" : false
1213 "type" : "function",
1214 "desc" : "Fires after the component is disabled.",
1215 "sig" : "function (_self)\n{\n\n}",
1216 "memberOf" : "Roo.Component",
1224 "type" : "Roo.Component",
1226 "isOptional" : false
1233 "type" : "function",
1234 "desc" : "Fires after the component is rendered.",
1235 "sig" : "function (_self)\n{\n\n}",
1236 "memberOf" : "Roo.Component",
1244 "type" : "Roo.Component",
1246 "isOptional" : false
1253 "type" : "function",
1254 "desc" : "Fires after the component is destroyed.",
1255 "sig" : "function (_self)\n{\n\n}",
1256 "memberOf" : "Roo.Component",
1264 "type" : "Roo.Component",
1266 "isOptional" : false
1273 "type" : "function",
1274 "desc" : "Fires after the component is enabled.",
1275 "sig" : "function (_self)\n{\n\n}",
1276 "memberOf" : "Roo.Component",
1284 "type" : "Roo.Component",
1286 "isOptional" : false
1292 "name" : "beforedestroy",
1293 "type" : "function",
1294 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1295 "sig" : "function (_self)\n{\n\n}",
1296 "memberOf" : "Roo.Component",
1304 "type" : "Roo.Component",
1306 "isOptional" : false