2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
10 "Roo.bootstrap.menu.Item"
15 "desc" : "Bootstrap Menu class - container for MenuItems - normally has to be added to a object that supports the menu property",
16 "isSingleton" : false,
20 "isBuilderTop" : false,
30 "desc" : "The config objectQ",
41 "desc" : "e) the menu has link disable auto expand and collaspe (default false)",
42 "memberOf" : "Roo.bootstrap.menu.Menu"
47 "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>",
48 "memberOf" : "Roo.util.Observable"
53 "desc" : "Text for the tooltip",
54 "memberOf" : "Roo.bootstrap.Component"
57 "name" : "container_method",
59 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
60 "memberOf" : "Roo.bootstrap.Component"
63 "name" : "visibilityEl",
64 "type" : "string|object",
65 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
66 "memberOf" : "Roo.bootstrap.Component"
71 "desc" : "default tl-bl? == below - how the menu should be aligned.",
72 "memberOf" : "Roo.bootstrap.menu.Menu"
77 "desc" : "if the menu should be hidden when rendered.",
78 "memberOf" : "Roo.bootstrap.menu.Menu"
81 "name" : "can_build_overlaid",
83 "desc" : "True if element can be rebuild from a HTML page",
84 "memberOf" : "Roo.bootstrap.Component"
89 "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\".",
90 "memberOf" : "Roo.Component"
95 "desc" : "e) Stop event after trigger press (default true)",
96 "memberOf" : "Roo.bootstrap.menu.Menu"
101 "desc" : "any extra css",
102 "memberOf" : "Roo.bootstrap.Component"
105 "name" : "allowDomMove",
107 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
108 "memberOf" : "Roo.Component"
113 "desc" : "css class",
114 "memberOf" : "Roo.bootstrap.Component"
119 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
120 "memberOf" : "Roo.bootstrap.Component"
123 "name" : "actionMode",
125 "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",
126 "memberOf" : "Roo.Component"
129 "name" : "hideTrigger",
131 "desc" : "e) default false - hide the carret for trigger.",
132 "memberOf" : "Roo.bootstrap.menu.Menu"
135 "name" : "registerMenu",
137 "desc" : "True (default) - means that clicking on screen etc. hides it.",
138 "memberOf" : "Roo.bootstrap.menu.Menu"
143 "desc" : "cutomer id",
144 "memberOf" : "Roo.bootstrap.Component"
149 "desc" : "u) type of menu",
150 "memberOf" : "Roo.bootstrap.menu.Menu"
155 "desc" : "Specifies name attribute",
156 "memberOf" : "Roo.bootstrap.Component"
159 "name" : "disableClass",
161 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
162 "memberOf" : "Roo.Component"
169 "desc" : "Hides this menu and optionally all parent menus",
174 "isConstructor" : false,
186 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
195 "desc" : "Displays this menu relative to another element",
196 "sig" : "(element, position, parentMenu)",
200 "isConstructor" : false,
211 "type" : "String/HTMLElement/Roo.Element",
212 "desc" : "The element to align to",
218 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
222 "name" : "parentMenu",
223 "type" : "Roo.menu.Menu",
224 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
233 "desc" : "Displays this menu at a specific xy position",
234 "sig" : "(xyPosition, parentMenu)",
238 "isConstructor" : false,
248 "name" : "xyPosition",
250 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
254 "name" : "parentMenu",
255 "type" : "Roo.menu.Menu",
256 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
263 "name" : "tooltipEl",
265 "desc" : "Fetch the element to display the tooltip on.",
266 "sig" : "()\n{\n\n}",
268 "memberOf" : "Roo.bootstrap.Component",
270 "isConstructor" : false,
282 "type" : "Roo.Element",
283 "desc" : "defaults to this.el"
288 "name" : "setVisibilityEl",
290 "desc" : "Set the element that will be used to show or hide",
291 "sig" : "()\n{\n\n}",
293 "memberOf" : "Roo.bootstrap.Component",
295 "isConstructor" : false,
307 "name" : "getVisibilityEl",
309 "desc" : "Get the element that will be used to show or hide",
310 "sig" : "()\n{\n\n}",
312 "memberOf" : "Roo.bootstrap.Component",
314 "isConstructor" : false,
326 "name" : "initEvents",
328 "desc" : "Initialize Events for the element",
329 "sig" : "()\n{\n\n}",
331 "memberOf" : "Roo.bootstrap.Component",
333 "isConstructor" : false,
345 "name" : "getChildContainer",
347 "desc" : "Fetch the element to add children to",
348 "sig" : "()\n{\n\n}",
350 "memberOf" : "Roo.bootstrap.Component",
352 "isConstructor" : false,
364 "type" : "Roo.Element",
365 "desc" : "defaults to this.el"
372 "desc" : "Returns the id of this component.",
373 "sig" : "()\n{\n\n}",
375 "memberOf" : "Roo.Component",
377 "isConstructor" : false,
397 "desc" : "If this is a lazy rendering component, render it to its container element.",
398 "sig" : "(container)",
400 "memberOf" : "Roo.Component",
402 "isConstructor" : false,
412 "name" : "container",
413 "type" : "String/HTMLElement/Element",
414 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
423 "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}.",
424 "sig" : "()\n{\n\n}",
426 "memberOf" : "Roo.Component",
428 "isConstructor" : false,
440 "name" : "isVisible",
442 "desc" : "Returns true if this component is visible.",
443 "sig" : "()\n{\n\n}",
445 "memberOf" : "Roo.Component",
447 "isConstructor" : false,
459 "name" : "setDisabled",
461 "desc" : "Convenience function for setting disabled/enabled by boolean.",
462 "sig" : "(disabled)",
464 "memberOf" : "Roo.Component",
466 "isConstructor" : false,
487 "desc" : "Try to focus this component.",
488 "sig" : "(selectText)",
490 "memberOf" : "Roo.Component",
492 "isConstructor" : false,
502 "name" : "selectText",
504 "desc" : "True to also select the text in this component (if applicable)",
511 "type" : "Roo.Component",
519 "desc" : "Enable this component.",
520 "sig" : "()\n{\n\n}",
522 "memberOf" : "Roo.Component",
524 "isConstructor" : false,
536 "type" : "Roo.Component",
542 "name" : "setVisible",
544 "desc" : "Convenience function to hide or show this component by boolean.",
547 "memberOf" : "Roo.Component",
549 "isConstructor" : false,
561 "desc" : "True to show, false to hide",
568 "type" : "Roo.Component",
576 "desc" : "Disable this component.",
577 "sig" : "()\n{\n\n}",
579 "memberOf" : "Roo.Component",
581 "isConstructor" : false,
593 "type" : "Roo.Component",
601 "desc" : "Returns the underlying {@link Roo.Element}.",
602 "sig" : "()\n{\n\n}",
604 "memberOf" : "Roo.Component",
606 "isConstructor" : false,
618 "type" : "Roo.Element",
619 "desc" : "The element"
624 "name" : "purgeListeners",
626 "desc" : "Removes all listeners for this object",
627 "sig" : "()\n{\n\n}",
629 "memberOf" : "Roo.util.Observable",
631 "isConstructor" : false,
645 "desc" : "Appends an event handler to this element (shorthand for addListener)",
646 "sig" : "(eventName, handler, scope, options)",
648 "memberOf" : "Roo.util.Observable",
650 "isConstructor" : false,
660 "name" : "eventName",
662 "desc" : "The type of event to listen for",
668 "desc" : "The method the event invokes",
674 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
680 "desc" : "(optional)",
689 "desc" : "Removes a listener (shorthand for removeListener)",
690 "sig" : "(eventName, handler, scope)",
692 "memberOf" : "Roo.util.Observable",
694 "isConstructor" : false,
704 "name" : "eventName",
706 "desc" : "The type of event to listen for",
712 "desc" : "The handler to remove",
718 "desc" : "(optional) The scope (this object) for the handler",
725 "name" : "addEvents",
727 "desc" : "Used to define events on this Observable",
730 "memberOf" : "Roo.util.Observable",
732 "isConstructor" : false,
744 "desc" : "The object with the events defined",
751 "name" : "releaseCapture",
753 "desc" : "Removes <b>all</b> added captures from the Observable.",
756 "memberOf" : "Roo.util.Observable",
758 "isConstructor" : false,
769 "type" : "Observable",
770 "desc" : "The Observable to release",
777 "name" : "removeListener",
779 "desc" : "Removes a listener",
780 "sig" : "(eventName, handler, scope)",
782 "memberOf" : "Roo.util.Observable",
784 "isConstructor" : false,
794 "name" : "eventName",
796 "desc" : "The type of event to listen for",
802 "desc" : "The handler to remove",
808 "desc" : "(optional) The scope (this object) for the handler",
815 "name" : "fireEvent",
817 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
818 "sig" : "(eventName, args)",
820 "memberOf" : "Roo.util.Observable",
822 "isConstructor" : false,
832 "name" : "eventName",
839 "type" : "Object...",
840 "desc" : "Variable number of parameters are passed to handlers",
848 "desc" : "returns false if any of the handlers return false otherwise it returns true"
853 "name" : "hasListener",
855 "desc" : "Checks to see if this object has any listeners for a specified event",
856 "sig" : "(eventName)",
858 "memberOf" : "Roo.util.Observable",
860 "isConstructor" : false,
870 "name" : "eventName",
872 "desc" : "The name of the event to check for",
880 "desc" : "True if the event is being listened for, else false"
887 "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.",
888 "sig" : "(o, fn, scope)",
890 "memberOf" : "Roo.util.Observable",
892 "isConstructor" : false,
903 "type" : "Observable",
904 "desc" : "The Observable to capture",
910 "desc" : "The function to call",
916 "desc" : "(optional) The scope (this object) for the fn",
923 "name" : "addListener",
925 "desc" : "Appends an event handler to this component",
926 "sig" : "(eventName, handler, scope, options)",
928 "memberOf" : "Roo.util.Observable",
930 "isConstructor" : false,
940 "name" : "eventName",
942 "desc" : "The type of event to listen for",
948 "desc" : "The method the event invokes",
954 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
960 "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>",
971 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
972 "sig" : "function (_self, menuItem, e)\n{\n\n}",
981 "type" : "Roo.menu.Menu",
987 "type" : "Roo.menu.Item",
988 "desc" : "The menu item that was clicked",
993 "type" : "Roo.EventObject",
1001 "name" : "itemclick",
1002 "type" : "function",
1003 "desc" : "Fires when a menu item contained in this menu is clicked",
1004 "sig" : "function (baseItem, e)\n{\n\n}",
1012 "name" : "baseItem",
1013 "type" : "Roo.menu.BaseItem",
1014 "desc" : "The BaseItem that was clicked",
1015 "isOptional" : false
1019 "type" : "Roo.EventObject",
1021 "isOptional" : false
1027 "name" : "mouseout",
1028 "type" : "function",
1029 "desc" : "Fires when the mouse exits this menu",
1030 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1039 "type" : "Roo.menu.Menu",
1041 "isOptional" : false
1045 "type" : "Roo.EventObject",
1047 "isOptional" : false
1050 "name" : "menuItem",
1051 "type" : "Roo.menu.Item",
1052 "desc" : "The menu item that was clicked",
1053 "isOptional" : false
1059 "name" : "beforehide",
1060 "type" : "function",
1061 "desc" : "Fires before this menu is hidden (return false to block)",
1062 "sig" : "function (_self)\n{\n\n}",
1071 "type" : "Roo.menu.Menu",
1073 "isOptional" : false
1079 "name" : "beforeshow",
1080 "type" : "function",
1081 "desc" : "Fires before this menu is displayed (return false to block)",
1082 "sig" : "function (_self)\n{\n\n}",
1091 "type" : "Roo.menu.Menu",
1093 "isOptional" : false
1100 "type" : "function",
1101 "desc" : "Fires after this menu is hidden",
1102 "sig" : "function (_self)\n{\n\n}",
1111 "type" : "Roo.menu.Menu",
1113 "isOptional" : false
1120 "type" : "function",
1121 "desc" : "Fires after this menu is displayed",
1122 "sig" : "function (_self)\n{\n\n}",
1131 "type" : "Roo.menu.Menu",
1133 "isOptional" : false
1139 "name" : "mouseover",
1140 "type" : "function",
1141 "desc" : "Fires when the mouse is hovering over this menu",
1142 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1151 "type" : "Roo.menu.Menu",
1153 "isOptional" : false
1157 "type" : "Roo.EventObject",
1159 "isOptional" : false
1162 "name" : "menuItem",
1163 "type" : "Roo.menu.Item",
1164 "desc" : "The menu item that was clicked",
1165 "isOptional" : false
1171 "name" : "childrenrendered",
1172 "type" : "function",
1173 "desc" : "Fires when the children have been rendered..",
1174 "sig" : "function (_self)\n{\n\n}",
1175 "memberOf" : "Roo.bootstrap.Component",
1183 "type" : "Roo.bootstrap.Component",
1185 "isOptional" : false
1191 "name" : "beforerender",
1192 "type" : "function",
1193 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1194 "sig" : "function (_self)\n{\n\n}",
1195 "memberOf" : "Roo.Component",
1203 "type" : "Roo.Component",
1205 "isOptional" : false
1212 "type" : "function",
1213 "desc" : "Fires after the component is disabled.",
1214 "sig" : "function (_self)\n{\n\n}",
1215 "memberOf" : "Roo.Component",
1223 "type" : "Roo.Component",
1225 "isOptional" : false
1232 "type" : "function",
1233 "desc" : "Fires after the component is rendered.",
1234 "sig" : "function (_self)\n{\n\n}",
1235 "memberOf" : "Roo.Component",
1243 "type" : "Roo.Component",
1245 "isOptional" : false
1252 "type" : "function",
1253 "desc" : "Fires after the component is destroyed.",
1254 "sig" : "function (_self)\n{\n\n}",
1255 "memberOf" : "Roo.Component",
1263 "type" : "Roo.Component",
1265 "isOptional" : false
1272 "type" : "function",
1273 "desc" : "Fires after the component is enabled.",
1274 "sig" : "function (_self)\n{\n\n}",
1275 "memberOf" : "Roo.Component",
1283 "type" : "Roo.Component",
1285 "isOptional" : false
1291 "name" : "beforedestroy",
1292 "type" : "function",
1293 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1294 "sig" : "function (_self)\n{\n\n}",
1295 "memberOf" : "Roo.Component",
1303 "type" : "Roo.Component",
1305 "isOptional" : false