2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for MenuItems",
21 "desc" : "The config objectQ",
32 "desc" : "e) the menu has link disable auto expand and collaspe (default false)",
38 "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>",
39 "memberOf" : "Roo.util.Observable"
44 "desc" : "Text for the tooltip",
45 "memberOf" : "Roo.bootstrap.Component"
48 "name" : "container_method",
50 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
51 "memberOf" : "Roo.bootstrap.Component"
54 "name" : "visibilityEl",
55 "type" : "string|object",
56 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
57 "memberOf" : "Roo.bootstrap.Component"
62 "desc" : "default tl-bl? == below - how the menu should be aligned.",
68 "desc" : "if the menu should be hidden when rendered.",
72 "name" : "can_build_overlaid",
74 "desc" : "True if element can be rebuild from a HTML page",
75 "memberOf" : "Roo.bootstrap.Component"
80 "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\".",
81 "memberOf" : "Roo.Component"
86 "desc" : "e) Stop event after trigger press (default true)",
92 "desc" : "any extra css",
93 "memberOf" : "Roo.bootstrap.Component"
96 "name" : "allowDomMove",
98 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
99 "memberOf" : "Roo.Component"
104 "desc" : "css class",
105 "memberOf" : "Roo.bootstrap.Component"
110 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
111 "memberOf" : "Roo.bootstrap.Component"
114 "name" : "actionMode",
116 "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",
117 "memberOf" : "Roo.Component"
120 "name" : "hideTrigger",
122 "desc" : "e) default false - hide the carret for trigger.",
126 "name" : "registerMenu",
128 "desc" : "True (default) - means that clicking on screen etc. hides it.",
134 "desc" : "cutomer id",
135 "memberOf" : "Roo.bootstrap.Component"
140 "desc" : "u) type of menu",
146 "desc" : "Specifies name attribute",
147 "memberOf" : "Roo.bootstrap.Component"
150 "name" : "disableClass",
152 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
153 "memberOf" : "Roo.Component"
160 "desc" : "Hides this menu and optionally all parent menus",
165 "isConstructor" : false,
177 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
186 "desc" : "Displays this menu relative to another element",
187 "sig" : "(element, position, parentMenu)",
191 "isConstructor" : false,
202 "type" : "String/HTMLElement/Roo.Element",
203 "desc" : "The element to align to",
209 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
213 "name" : "parentMenu",
214 "type" : "Roo.menu.Menu",
215 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
224 "desc" : "Displays this menu at a specific xy position",
225 "sig" : "(xyPosition, parentMenu)",
229 "isConstructor" : false,
239 "name" : "xyPosition",
241 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
245 "name" : "parentMenu",
246 "type" : "Roo.menu.Menu",
247 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
254 "name" : "tooltipEl",
256 "desc" : "Fetch the element to display the tooltip on.",
257 "sig" : "()\n{\n\n}",
259 "memberOf" : "Roo.bootstrap.Component",
261 "isConstructor" : false,
273 "type" : "Roo.Element",
274 "desc" : "defaults to this.el"
279 "name" : "setVisibilityEl",
281 "desc" : "Set the element that will be used to show or hide",
282 "sig" : "()\n{\n\n}",
284 "memberOf" : "Roo.bootstrap.Component",
286 "isConstructor" : false,
298 "name" : "getVisibilityEl",
300 "desc" : "Get the element that will be used to show or hide",
301 "sig" : "()\n{\n\n}",
303 "memberOf" : "Roo.bootstrap.Component",
305 "isConstructor" : false,
317 "name" : "initEvents",
319 "desc" : "Initialize Events for the element",
320 "sig" : "()\n{\n\n}",
322 "memberOf" : "Roo.bootstrap.Component",
324 "isConstructor" : false,
336 "name" : "getChildContainer",
338 "desc" : "Fetch the element to add children to",
339 "sig" : "()\n{\n\n}",
341 "memberOf" : "Roo.bootstrap.Component",
343 "isConstructor" : false,
355 "type" : "Roo.Element",
356 "desc" : "defaults to this.el"
363 "desc" : "Returns the id of this component.",
364 "sig" : "()\n{\n\n}",
366 "memberOf" : "Roo.Component",
368 "isConstructor" : false,
388 "desc" : "If this is a lazy rendering component, render it to its container element.",
389 "sig" : "(container)",
391 "memberOf" : "Roo.Component",
393 "isConstructor" : false,
403 "name" : "container",
404 "type" : "String/HTMLElement/Element",
405 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
414 "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}.",
415 "sig" : "()\n{\n\n}",
417 "memberOf" : "Roo.Component",
419 "isConstructor" : false,
431 "name" : "isVisible",
433 "desc" : "Returns true if this component is visible.",
434 "sig" : "()\n{\n\n}",
436 "memberOf" : "Roo.Component",
438 "isConstructor" : false,
450 "name" : "setDisabled",
452 "desc" : "Convenience function for setting disabled/enabled by boolean.",
453 "sig" : "(disabled)",
455 "memberOf" : "Roo.Component",
457 "isConstructor" : false,
478 "desc" : "Try to focus this component.",
479 "sig" : "(selectText)",
481 "memberOf" : "Roo.Component",
483 "isConstructor" : false,
493 "name" : "selectText",
495 "desc" : "True to also select the text in this component (if applicable)",
502 "type" : "Roo.Component",
510 "desc" : "Enable this component.",
511 "sig" : "()\n{\n\n}",
513 "memberOf" : "Roo.Component",
515 "isConstructor" : false,
527 "type" : "Roo.Component",
533 "name" : "setVisible",
535 "desc" : "Convenience function to hide or show this component by boolean.",
538 "memberOf" : "Roo.Component",
540 "isConstructor" : false,
552 "desc" : "True to show, false to hide",
559 "type" : "Roo.Component",
567 "desc" : "Disable this component.",
568 "sig" : "()\n{\n\n}",
570 "memberOf" : "Roo.Component",
572 "isConstructor" : false,
584 "type" : "Roo.Component",
592 "desc" : "Returns the underlying {@link Roo.Element}.",
593 "sig" : "()\n{\n\n}",
595 "memberOf" : "Roo.Component",
597 "isConstructor" : false,
609 "type" : "Roo.Element",
610 "desc" : "The element"
615 "name" : "purgeListeners",
617 "desc" : "Removes all listeners for this object",
618 "sig" : "()\n{\n\n}",
620 "memberOf" : "Roo.util.Observable",
622 "isConstructor" : false,
636 "desc" : "Appends an event handler to this element (shorthand for addListener)",
637 "sig" : "(eventName, handler, scope, options)",
639 "memberOf" : "Roo.util.Observable",
641 "isConstructor" : false,
651 "name" : "eventName",
653 "desc" : "The type of event to listen for",
659 "desc" : "The method the event invokes",
665 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
671 "desc" : "(optional)",
680 "desc" : "Removes a listener (shorthand for removeListener)",
681 "sig" : "(eventName, handler, scope)",
683 "memberOf" : "Roo.util.Observable",
685 "isConstructor" : false,
695 "name" : "eventName",
697 "desc" : "The type of event to listen for",
703 "desc" : "The handler to remove",
709 "desc" : "(optional) The scope (this object) for the handler",
716 "name" : "addEvents",
718 "desc" : "Used to define events on this Observable",
721 "memberOf" : "Roo.util.Observable",
723 "isConstructor" : false,
735 "desc" : "The object with the events defined",
742 "name" : "releaseCapture",
744 "desc" : "Removes <b>all</b> added captures from the Observable.",
747 "memberOf" : "Roo.util.Observable",
749 "isConstructor" : false,
760 "type" : "Observable",
761 "desc" : "The Observable to release",
768 "name" : "removeListener",
770 "desc" : "Removes a listener",
771 "sig" : "(eventName, handler, scope)",
773 "memberOf" : "Roo.util.Observable",
775 "isConstructor" : false,
785 "name" : "eventName",
787 "desc" : "The type of event to listen for",
793 "desc" : "The handler to remove",
799 "desc" : "(optional) The scope (this object) for the handler",
806 "name" : "fireEvent",
808 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
809 "sig" : "(eventName, args)",
811 "memberOf" : "Roo.util.Observable",
813 "isConstructor" : false,
823 "name" : "eventName",
830 "type" : "Object...",
831 "desc" : "Variable number of parameters are passed to handlers",
839 "desc" : "returns false if any of the handlers return false otherwise it returns true"
844 "name" : "hasListener",
846 "desc" : "Checks to see if this object has any listeners for a specified event",
847 "sig" : "(eventName)",
849 "memberOf" : "Roo.util.Observable",
851 "isConstructor" : false,
861 "name" : "eventName",
863 "desc" : "The name of the event to check for",
871 "desc" : "True if the event is being listened for, else false"
878 "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.",
879 "sig" : "(o, fn, scope)",
881 "memberOf" : "Roo.util.Observable",
883 "isConstructor" : false,
894 "type" : "Observable",
895 "desc" : "The Observable to capture",
901 "desc" : "The function to call",
907 "desc" : "(optional) The scope (this object) for the fn",
914 "name" : "addListener",
916 "desc" : "Appends an event handler to this component",
917 "sig" : "(eventName, handler, scope, options)",
919 "memberOf" : "Roo.util.Observable",
921 "isConstructor" : false,
931 "name" : "eventName",
933 "desc" : "The type of event to listen for",
939 "desc" : "The method the event invokes",
945 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
951 "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>",
962 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
963 "sig" : "function (_self, menuItem, e)\n{\n\n}",
972 "type" : "Roo.menu.Menu",
978 "type" : "Roo.menu.Item",
979 "desc" : "The menu item that was clicked",
984 "type" : "Roo.EventObject",
992 "name" : "itemclick",
994 "desc" : "Fires when a menu item contained in this menu is clicked",
995 "sig" : "function (baseItem, e)\n{\n\n}",
1003 "name" : "baseItem",
1004 "type" : "Roo.menu.BaseItem",
1005 "desc" : "The BaseItem that was clicked",
1006 "isOptional" : false
1010 "type" : "Roo.EventObject",
1012 "isOptional" : false
1018 "name" : "mouseout",
1019 "type" : "function",
1020 "desc" : "Fires when the mouse exits this menu",
1021 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1030 "type" : "Roo.menu.Menu",
1032 "isOptional" : false
1036 "type" : "Roo.EventObject",
1038 "isOptional" : false
1041 "name" : "menuItem",
1042 "type" : "Roo.menu.Item",
1043 "desc" : "The menu item that was clicked",
1044 "isOptional" : false
1050 "name" : "beforehide",
1051 "type" : "function",
1052 "desc" : "Fires before this menu is hidden (return false to block)",
1053 "sig" : "function (_self)\n{\n\n}",
1062 "type" : "Roo.menu.Menu",
1064 "isOptional" : false
1070 "name" : "beforeshow",
1071 "type" : "function",
1072 "desc" : "Fires before this menu is displayed (return false to block)",
1073 "sig" : "function (_self)\n{\n\n}",
1082 "type" : "Roo.menu.Menu",
1084 "isOptional" : false
1091 "type" : "function",
1092 "desc" : "Fires after this menu is hidden",
1093 "sig" : "function (_self)\n{\n\n}",
1102 "type" : "Roo.menu.Menu",
1104 "isOptional" : false
1111 "type" : "function",
1112 "desc" : "Fires after this menu is displayed",
1113 "sig" : "function (_self)\n{\n\n}",
1122 "type" : "Roo.menu.Menu",
1124 "isOptional" : false
1130 "name" : "mouseover",
1131 "type" : "function",
1132 "desc" : "Fires when the mouse is hovering over this menu",
1133 "sig" : "function (_self, e, menuItem)\n{\n\n}",
1142 "type" : "Roo.menu.Menu",
1144 "isOptional" : false
1148 "type" : "Roo.EventObject",
1150 "isOptional" : false
1153 "name" : "menuItem",
1154 "type" : "Roo.menu.Item",
1155 "desc" : "The menu item that was clicked",
1156 "isOptional" : false
1162 "name" : "childrenrendered",
1163 "type" : "function",
1164 "desc" : "Fires when the children have been rendered..",
1165 "sig" : "function (_self)\n{\n\n}",
1166 "memberOf" : "Roo.bootstrap.Component",
1174 "type" : "Roo.bootstrap.Component",
1176 "isOptional" : false
1182 "name" : "beforerender",
1183 "type" : "function",
1184 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1185 "sig" : "function (_self)\n{\n\n}",
1186 "memberOf" : "Roo.Component",
1194 "type" : "Roo.Component",
1196 "isOptional" : false
1203 "type" : "function",
1204 "desc" : "Fires after the component is disabled.",
1205 "sig" : "function (_self)\n{\n\n}",
1206 "memberOf" : "Roo.Component",
1214 "type" : "Roo.Component",
1216 "isOptional" : false
1223 "type" : "function",
1224 "desc" : "Fires after the component is rendered.",
1225 "sig" : "function (_self)\n{\n\n}",
1226 "memberOf" : "Roo.Component",
1234 "type" : "Roo.Component",
1236 "isOptional" : false
1243 "type" : "function",
1244 "desc" : "Fires after the component is destroyed.",
1245 "sig" : "function (_self)\n{\n\n}",
1246 "memberOf" : "Roo.Component",
1254 "type" : "Roo.Component",
1256 "isOptional" : false
1263 "type" : "function",
1264 "desc" : "Fires after the component is enabled.",
1265 "sig" : "function (_self)\n{\n\n}",
1266 "memberOf" : "Roo.Component",
1274 "type" : "Roo.Component",
1276 "isOptional" : false
1282 "name" : "beforedestroy",
1283 "type" : "function",
1284 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1285 "sig" : "function (_self)\n{\n\n}",
1286 "memberOf" : "Roo.Component",
1294 "type" : "Roo.Component",
1296 "isOptional" : false