2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
10 "Roo.bootstrap.menu.Item"
13 "desc" : "Bootstrap Menu class - container for MenuItems",
14 "isSingleton" : false,
18 "isBuilderTop" : false,
28 "desc" : "The config objectQ",
39 "desc" : "e) the menu has link disable auto expand and collaspe (default false)",
40 "memberOf" : "Roo.bootstrap.menu.Menu"
45 "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>",
46 "memberOf" : "Roo.util.Observable"
51 "desc" : "Text for the tooltip",
52 "memberOf" : "Roo.bootstrap.Component"
55 "name" : "container_method",
57 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
58 "memberOf" : "Roo.bootstrap.Component"
61 "name" : "visibilityEl",
62 "type" : "string|object",
63 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
64 "memberOf" : "Roo.bootstrap.Component"
69 "desc" : "default tl-bl? == below - how the menu should be aligned.",
70 "memberOf" : "Roo.bootstrap.menu.Menu"
75 "desc" : "if the menu should be hidden when rendered.",
76 "memberOf" : "Roo.bootstrap.menu.Menu"
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component"
87 "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\".",
88 "memberOf" : "Roo.Component"
93 "desc" : "e) Stop event after trigger press (default true)",
94 "memberOf" : "Roo.bootstrap.menu.Menu"
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component"
103 "name" : "allowDomMove",
105 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106 "memberOf" : "Roo.Component"
111 "desc" : "css class",
112 "memberOf" : "Roo.bootstrap.Component"
117 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
118 "memberOf" : "Roo.bootstrap.Component"
121 "name" : "actionMode",
123 "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",
124 "memberOf" : "Roo.Component"
127 "name" : "hideTrigger",
129 "desc" : "e) default false - hide the carret for trigger.",
130 "memberOf" : "Roo.bootstrap.menu.Menu"
133 "name" : "registerMenu",
135 "desc" : "True (default) - means that clicking on screen etc. hides it.",
136 "memberOf" : "Roo.bootstrap.menu.Menu"
141 "desc" : "cutomer id",
142 "memberOf" : "Roo.bootstrap.Component"
147 "desc" : "u) type of menu",
148 "memberOf" : "Roo.bootstrap.menu.Menu"
153 "desc" : "Specifies name attribute",
154 "memberOf" : "Roo.bootstrap.Component"
157 "name" : "disableClass",
159 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
160 "memberOf" : "Roo.Component"
167 "desc" : "Hides this menu and optionally all parent menus",
172 "isConstructor" : false,
184 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
193 "desc" : "Displays this menu relative to another element",
194 "sig" : "(element, position, parentMenu)",
198 "isConstructor" : false,
209 "type" : "String/HTMLElement/Roo.Element",
210 "desc" : "The element to align to",
216 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
220 "name" : "parentMenu",
221 "type" : "Roo.menu.Menu",
222 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
231 "desc" : "Displays this menu at a specific xy position",
232 "sig" : "(xyPosition, parentMenu)",
236 "isConstructor" : false,
246 "name" : "xyPosition",
248 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
252 "name" : "parentMenu",
253 "type" : "Roo.menu.Menu",
254 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
261 "name" : "tooltipEl",
263 "desc" : "Fetch the element to display the tooltip on.",
264 "sig" : "()\n{\n\n}",
266 "memberOf" : "Roo.bootstrap.Component",
268 "isConstructor" : false,
280 "type" : "Roo.Element",
281 "desc" : "defaults to this.el"
286 "name" : "setVisibilityEl",
288 "desc" : "Set the element that will be used to show or hide",
289 "sig" : "()\n{\n\n}",
291 "memberOf" : "Roo.bootstrap.Component",
293 "isConstructor" : false,
305 "name" : "getVisibilityEl",
307 "desc" : "Get the element that will be used to show or hide",
308 "sig" : "()\n{\n\n}",
310 "memberOf" : "Roo.bootstrap.Component",
312 "isConstructor" : false,
324 "name" : "initEvents",
326 "desc" : "Initialize Events for the element",
327 "sig" : "()\n{\n\n}",
329 "memberOf" : "Roo.bootstrap.Component",
331 "isConstructor" : false,
343 "name" : "getChildContainer",
345 "desc" : "Fetch the element to add children to",
346 "sig" : "()\n{\n\n}",
348 "memberOf" : "Roo.bootstrap.Component",
350 "isConstructor" : false,
362 "type" : "Roo.Element",
363 "desc" : "defaults to this.el"
370 "desc" : "Returns the id of this component.",
371 "sig" : "()\n{\n\n}",
373 "memberOf" : "Roo.Component",
375 "isConstructor" : false,
395 "desc" : "If this is a lazy rendering component, render it to its container element.",
396 "sig" : "(container)",
398 "memberOf" : "Roo.Component",
400 "isConstructor" : false,
410 "name" : "container",
411 "type" : "String/HTMLElement/Element",
412 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
421 "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}.",
422 "sig" : "()\n{\n\n}",
424 "memberOf" : "Roo.Component",
426 "isConstructor" : false,
438 "name" : "isVisible",
440 "desc" : "Returns true if this component is visible.",
441 "sig" : "()\n{\n\n}",
443 "memberOf" : "Roo.Component",
445 "isConstructor" : false,
457 "name" : "setDisabled",
459 "desc" : "Convenience function for setting disabled/enabled by boolean.",
460 "sig" : "(disabled)",
462 "memberOf" : "Roo.Component",
464 "isConstructor" : false,
485 "desc" : "Try to focus this component.",
486 "sig" : "(selectText)",
488 "memberOf" : "Roo.Component",
490 "isConstructor" : false,
500 "name" : "selectText",
502 "desc" : "True to also select the text in this component (if applicable)",
509 "type" : "Roo.Component",
517 "desc" : "Enable this component.",
518 "sig" : "()\n{\n\n}",
520 "memberOf" : "Roo.Component",
522 "isConstructor" : false,
534 "type" : "Roo.Component",
540 "name" : "setVisible",
542 "desc" : "Convenience function to hide or show this component by boolean.",
545 "memberOf" : "Roo.Component",
547 "isConstructor" : false,
559 "desc" : "True to show, false to hide",
566 "type" : "Roo.Component",
574 "desc" : "Disable this component.",
575 "sig" : "()\n{\n\n}",
577 "memberOf" : "Roo.Component",
579 "isConstructor" : false,
591 "type" : "Roo.Component",
599 "desc" : "Returns the underlying {@link Roo.Element}.",
600 "sig" : "()\n{\n\n}",
602 "memberOf" : "Roo.Component",
604 "isConstructor" : false,
616 "type" : "Roo.Element",
617 "desc" : "The element"
622 "name" : "purgeListeners",
624 "desc" : "Removes all listeners for this object",
625 "sig" : "()\n{\n\n}",
627 "memberOf" : "Roo.util.Observable",
629 "isConstructor" : false,
643 "desc" : "Appends an event handler to this element (shorthand for addListener)",
644 "sig" : "(eventName, handler, scope, options)",
646 "memberOf" : "Roo.util.Observable",
648 "isConstructor" : false,
658 "name" : "eventName",
660 "desc" : "The type of event to listen for",
666 "desc" : "The method the event invokes",
672 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
678 "desc" : "(optional)",
687 "desc" : "Removes a listener (shorthand for removeListener)",
688 "sig" : "(eventName, handler, scope)",
690 "memberOf" : "Roo.util.Observable",
692 "isConstructor" : false,
702 "name" : "eventName",
704 "desc" : "The type of event to listen for",
710 "desc" : "The handler to remove",
716 "desc" : "(optional) The scope (this object) for the handler",
723 "name" : "addEvents",
725 "desc" : "Used to define events on this Observable",
728 "memberOf" : "Roo.util.Observable",
730 "isConstructor" : false,
742 "desc" : "The object with the events defined",
749 "name" : "releaseCapture",
751 "desc" : "Removes <b>all</b> added captures from the Observable.",
754 "memberOf" : "Roo.util.Observable",
756 "isConstructor" : false,
767 "type" : "Observable",
768 "desc" : "The Observable to release",
775 "name" : "removeListener",
777 "desc" : "Removes a listener",
778 "sig" : "(eventName, handler, scope)",
780 "memberOf" : "Roo.util.Observable",
782 "isConstructor" : false,
792 "name" : "eventName",
794 "desc" : "The type of event to listen for",
800 "desc" : "The handler to remove",
806 "desc" : "(optional) The scope (this object) for the handler",
813 "name" : "fireEvent",
815 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
816 "sig" : "(eventName, args)",
818 "memberOf" : "Roo.util.Observable",
820 "isConstructor" : false,
830 "name" : "eventName",
837 "type" : "Object...",
838 "desc" : "Variable number of parameters are passed to handlers",
846 "desc" : "returns false if any of the handlers return false otherwise it returns true"
851 "name" : "hasListener",
853 "desc" : "Checks to see if this object has any listeners for a specified event",
854 "sig" : "(eventName)",
856 "memberOf" : "Roo.util.Observable",
858 "isConstructor" : false,
868 "name" : "eventName",
870 "desc" : "The name of the event to check for",
878 "desc" : "True if the event is being listened for, else false"
885 "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.",
886 "sig" : "(o, fn, scope)",
888 "memberOf" : "Roo.util.Observable",
890 "isConstructor" : false,
901 "type" : "Observable",
902 "desc" : "The Observable to capture",
908 "desc" : "The function to call",
914 "desc" : "(optional) The scope (this object) for the fn",
921 "name" : "addListener",
923 "desc" : "Appends an event handler to this component",
924 "sig" : "(eventName, handler, scope, options)",
926 "memberOf" : "Roo.util.Observable",
928 "isConstructor" : false,
938 "name" : "eventName",
940 "desc" : "The type of event to listen for",
946 "desc" : "The method the event invokes",
952 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
958 "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>",
969 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
970 "sig" : "function (_self, menuItem, e)\n{\n\n}",
979 "type" : "Roo.menu.Menu",
985 "type" : "Roo.menu.Item",
986 "desc" : "The menu item that was clicked",
991 "type" : "Roo.EventObject",
999 "name" : "itemclick",
1000 "type" : "function",
1001 "desc" : "Fires when a menu item contained in this menu is clicked",
1002 "sig" : "function (baseItem, e)\n{\n\n}",
1010 "name" : "baseItem",
1011 "type" : "Roo.menu.BaseItem",
1012 "desc" : "The BaseItem that was clicked",
1013 "isOptional" : false
1017 "type" : "Roo.EventObject",
1019 "isOptional" : false
1025 "name" : "mouseout",
1026 "type" : "function",
1027 "desc" : "Fires when the mouse exits this menu",
1028 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1037 "type" : "Roo.menu.Menu",
1039 "isOptional" : false
1043 "type" : "Roo.EventObject",
1045 "isOptional" : false
1048 "name" : "menuItem",
1049 "type" : "Roo.menu.Item",
1050 "desc" : "The menu item that was clicked",
1051 "isOptional" : false
1057 "name" : "beforehide",
1058 "type" : "function",
1059 "desc" : "Fires before this menu is hidden (return false to block)",
1060 "sig" : "function (_self)\n{\n\n}",
1069 "type" : "Roo.menu.Menu",
1071 "isOptional" : false
1077 "name" : "beforeshow",
1078 "type" : "function",
1079 "desc" : "Fires before this menu is displayed (return false to block)",
1080 "sig" : "function (_self)\n{\n\n}",
1089 "type" : "Roo.menu.Menu",
1091 "isOptional" : false
1098 "type" : "function",
1099 "desc" : "Fires after this menu is hidden",
1100 "sig" : "function (_self)\n{\n\n}",
1109 "type" : "Roo.menu.Menu",
1111 "isOptional" : false
1118 "type" : "function",
1119 "desc" : "Fires after this menu is displayed",
1120 "sig" : "function (_self)\n{\n\n}",
1129 "type" : "Roo.menu.Menu",
1131 "isOptional" : false
1137 "name" : "mouseover",
1138 "type" : "function",
1139 "desc" : "Fires when the mouse is hovering over this menu",
1140 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1149 "type" : "Roo.menu.Menu",
1151 "isOptional" : false
1155 "type" : "Roo.EventObject",
1157 "isOptional" : false
1160 "name" : "menuItem",
1161 "type" : "Roo.menu.Item",
1162 "desc" : "The menu item that was clicked",
1163 "isOptional" : false
1169 "name" : "childrenrendered",
1170 "type" : "function",
1171 "desc" : "Fires when the children have been rendered..",
1172 "sig" : "function (_self)\n{\n\n}",
1173 "memberOf" : "Roo.bootstrap.Component",
1181 "type" : "Roo.bootstrap.Component",
1183 "isOptional" : false
1189 "name" : "beforerender",
1190 "type" : "function",
1191 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1192 "sig" : "function (_self)\n{\n\n}",
1193 "memberOf" : "Roo.Component",
1201 "type" : "Roo.Component",
1203 "isOptional" : false
1210 "type" : "function",
1211 "desc" : "Fires after the component is disabled.",
1212 "sig" : "function (_self)\n{\n\n}",
1213 "memberOf" : "Roo.Component",
1221 "type" : "Roo.Component",
1223 "isOptional" : false
1230 "type" : "function",
1231 "desc" : "Fires after the component is rendered.",
1232 "sig" : "function (_self)\n{\n\n}",
1233 "memberOf" : "Roo.Component",
1241 "type" : "Roo.Component",
1243 "isOptional" : false
1250 "type" : "function",
1251 "desc" : "Fires after the component is destroyed.",
1252 "sig" : "function (_self)\n{\n\n}",
1253 "memberOf" : "Roo.Component",
1261 "type" : "Roo.Component",
1263 "isOptional" : false
1270 "type" : "function",
1271 "desc" : "Fires after the component is enabled.",
1272 "sig" : "function (_self)\n{\n\n}",
1273 "memberOf" : "Roo.Component",
1281 "type" : "Roo.Component",
1283 "isOptional" : false
1289 "name" : "beforedestroy",
1290 "type" : "function",
1291 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1292 "sig" : "function (_self)\n{\n\n}",
1293 "memberOf" : "Roo.Component",
1301 "type" : "Roo.Component",
1303 "isOptional" : false