2 "name" : "Roo.bootstrap.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for MenuItems",
16 "desc" : "the menu has link disable auto expand and collaspe (default false)",
17 "memberOf" : "Roo.bootstrap.Menu",
26 "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>",
27 "memberOf" : "Roo.util.Observable",
34 "desc" : "Text for the tooltip",
35 "memberOf" : "Roo.bootstrap.Component",
40 "name" : "container_method",
42 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
43 "memberOf" : "Roo.bootstrap.Component",
48 "name" : "visibilityEl",
49 "type" : "string|object",
50 "desc" : "What element to use for visibility (@see getVisibilityEl())",
51 "memberOf" : "Roo.bootstrap.Component",
60 "desc" : "if the menu should be hidden when rendered.",
61 "memberOf" : "Roo.bootstrap.Menu",
66 "name" : "can_build_overlaid",
68 "desc" : "True if element can be rebuild from a HTML page",
69 "memberOf" : "Roo.bootstrap.Component",
76 "desc" : "How this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
77 "memberOf" : "Roo.Component",
86 "desc" : "Stop event after trigger press (default true)",
87 "memberOf" : "Roo.bootstrap.Menu",
96 "desc" : "any extra css",
97 "memberOf" : "Roo.bootstrap.Component",
102 "name" : "allowDomMove",
104 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
105 "memberOf" : "Roo.Component",
112 "desc" : "css class",
113 "memberOf" : "Roo.bootstrap.Component",
120 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
121 "memberOf" : "Roo.bootstrap.Component",
126 "name" : "actionMode",
128 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
129 "memberOf" : "Roo.Component",
134 "name" : "registerMenu",
136 "desc" : "True (default) - means that clicking on screen etc. hides it.",
137 "memberOf" : "Roo.bootstrap.Menu",
144 "desc" : "cutomer id",
145 "memberOf" : "Roo.bootstrap.Component",
152 "desc" : "type of menu",
153 "memberOf" : "Roo.bootstrap.Menu",
163 "desc" : "Specifies name attribute",
164 "memberOf" : "Roo.bootstrap.Component",
169 "name" : "disableClass",
171 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
172 "memberOf" : "Roo.Component",
180 "desc" : "Hides this menu and optionally all parent menus",
182 "isConstructor" : false,
184 "memberOf" : "Roo.bootstrap.Menu",
193 "desc" : "(optional) True to hide all parent menus recursively, if any (defaults to false)",
202 "desc" : "Displays this menu at a specific xy position",
204 "isConstructor" : false,
206 "memberOf" : "Roo.bootstrap.Menu",
213 "name" : "xyPosition",
215 "desc" : "Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)",
219 "name" : "parentMenu",
220 "type" : "Roo.menu.Menu",
221 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
230 "desc" : "Displays this menu relative to another element",
232 "isConstructor" : false,
234 "memberOf" : "Roo.bootstrap.Menu",
242 "type" : "String/HTMLElement/Roo.Element",
243 "desc" : "The element to align to",
249 "desc" : "(optional) The {@link Roo.Element#alignTo} anchor position to use in aligning to\nthe element (defaults to this.defaultAlign)",
253 "name" : "parentMenu",
254 "type" : "Roo.menu.Menu",
255 "desc" : "(optional) This menu's parent menu, if applicable (defaults to undefined)",
263 "name" : "tooltipEl",
264 "desc" : "Fetch the element to display the tooltip on.",
266 "isConstructor" : false,
268 "memberOf" : "Roo.bootstrap.Component",
278 "type" : "Roo.Element",
279 "desc" : "defaults to this.el"
284 "name" : "setVisibilityEl",
285 "desc" : "Set the element that will be used to show or hide",
287 "isConstructor" : false,
289 "memberOf" : "Roo.bootstrap.Component",
300 "name" : "getVisibilityEl",
301 "desc" : "Get the element that will be used to show or hide",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
316 "name" : "initEvents",
317 "desc" : "Initialize Events for the element",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Component",
332 "name" : "getChildContainer",
333 "desc" : "Fetch the element to add children to",
335 "isConstructor" : false,
337 "memberOf" : "Roo.bootstrap.Component",
347 "type" : "Roo.Element",
348 "desc" : "defaults to this.el"
354 "desc" : "Returns the id of this component.",
356 "isConstructor" : false,
358 "memberOf" : "Roo.Component",
375 "desc" : "If this is a lazy rendering component, render it to its container element.",
377 "isConstructor" : false,
379 "memberOf" : "Roo.Component",
386 "name" : "container",
387 "type" : "String/HTMLElement/Element",
388 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
397 "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}.",
399 "isConstructor" : false,
401 "memberOf" : "Roo.Component",
412 "name" : "isVisible",
413 "desc" : "Returns true if this component is visible.",
415 "isConstructor" : false,
417 "memberOf" : "Roo.Component",
428 "name" : "setDisabled",
429 "desc" : "Convenience function for setting disabled/enabled by boolean.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
451 "desc" : "Try to focus this component.",
453 "isConstructor" : false,
455 "memberOf" : "Roo.Component",
462 "name" : "selectText",
464 "desc" : "True to also select the text in this component (if applicable)",
471 "type" : "Roo.Component",
478 "desc" : "Enable this component.",
480 "isConstructor" : false,
482 "memberOf" : "Roo.Component",
492 "type" : "Roo.Component",
498 "name" : "setVisible",
499 "desc" : "Convenience function to hide or show this component by boolean.",
501 "isConstructor" : false,
503 "memberOf" : "Roo.Component",
512 "desc" : "True to show, false to hide",
519 "type" : "Roo.Component",
526 "desc" : "Disable this component.",
528 "isConstructor" : false,
530 "memberOf" : "Roo.Component",
540 "type" : "Roo.Component",
547 "desc" : "Returns the underlying {@link Roo.Element}.",
549 "isConstructor" : false,
551 "memberOf" : "Roo.Component",
561 "type" : "Roo.Element",
562 "desc" : "The element"
567 "name" : "purgeListeners",
568 "desc" : "Removes all listeners for this object",
570 "isConstructor" : false,
572 "memberOf" : "Roo.util.Observable",
584 "desc" : "Appends an event handler to this element (shorthand for addListener)",
586 "isConstructor" : false,
588 "memberOf" : "Roo.util.Observable",
595 "name" : "eventName",
597 "desc" : "The type of event to listen for",
603 "desc" : "The method the event invokes",
609 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
615 "desc" : "(optional)",
624 "desc" : "Removes a listener (shorthand for removeListener)",
626 "isConstructor" : false,
628 "memberOf" : "Roo.util.Observable",
635 "name" : "eventName",
637 "desc" : "The type of event to listen for",
643 "desc" : "The handler to remove",
649 "desc" : "(optional) The scope (this object) for the handler",
657 "name" : "addEvents",
658 "desc" : "Used to define events on this Observable",
660 "isConstructor" : false,
662 "memberOf" : "Roo.util.Observable",
671 "desc" : "The object with the events defined",
679 "name" : "releaseCapture",
680 "desc" : "Removes <b>all</b> added captures from the Observable.",
682 "isConstructor" : false,
684 "memberOf" : "Roo.util.Observable",
692 "type" : "Observable",
693 "desc" : "The Observable to release",
701 "name" : "removeListener",
702 "desc" : "Removes a listener",
704 "isConstructor" : false,
706 "memberOf" : "Roo.util.Observable",
713 "name" : "eventName",
715 "desc" : "The type of event to listen for",
721 "desc" : "The handler to remove",
727 "desc" : "(optional) The scope (this object) for the handler",
735 "name" : "fireEvent",
736 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
738 "isConstructor" : false,
740 "memberOf" : "Roo.util.Observable",
747 "name" : "eventName",
754 "type" : "Object...",
755 "desc" : "Variable number of parameters are passed to handlers",
763 "desc" : "returns false if any of the handlers return false otherwise it returns true"
768 "name" : "hasListener",
769 "desc" : "Checks to see if this object has any listeners for a specified event",
771 "isConstructor" : false,
773 "memberOf" : "Roo.util.Observable",
780 "name" : "eventName",
782 "desc" : "The name of the event to check for",
790 "desc" : "True if the event is being listened for, else false"
796 "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.",
798 "isConstructor" : false,
800 "memberOf" : "Roo.util.Observable",
808 "type" : "Observable",
809 "desc" : "The Observable to capture",
815 "desc" : "The function to call",
821 "desc" : "(optional) The scope (this object) for the fn",
829 "name" : "addListener",
830 "desc" : "Appends an event handler to this component",
832 "isConstructor" : false,
834 "memberOf" : "Roo.util.Observable",
841 "name" : "eventName",
843 "desc" : "The type of event to listen for",
849 "desc" : "The method the event invokes",
855 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
861 "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>",
872 "desc" : "Fires when the mouse exits this menu",
881 "type" : "Roo.menu.Menu",
887 "type" : "Roo.EventObject",
893 "type" : "Roo.menu.Item",
894 "desc" : "The menu item that was clicked",
903 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
912 "type" : "Roo.menu.Menu",
918 "type" : "Roo.menu.Item",
919 "desc" : "The menu item that was clicked",
924 "type" : "Roo.EventObject",
933 "name" : "mouseover",
934 "desc" : "Fires when the mouse is hovering over this menu",
943 "type" : "Roo.menu.Menu",
949 "type" : "Roo.EventObject",
955 "type" : "Roo.menu.Item",
956 "desc" : "The menu item that was clicked",
965 "desc" : "Fires after this menu is hidden",
974 "type" : "Roo.menu.Menu",
984 "desc" : "Fires after this menu is displayed",
993 "type" : "Roo.menu.Menu",
1002 "name" : "beforehide",
1003 "desc" : "Fires before this menu is hidden",
1012 "type" : "Roo.menu.Menu",
1014 "isOptional" : false
1021 "name" : "itemclick",
1022 "desc" : "Fires when a menu item contained in this menu is clicked",
1030 "name" : "baseItem",
1031 "type" : "Roo.menu.BaseItem",
1032 "desc" : "The BaseItem that was clicked",
1033 "isOptional" : false
1037 "type" : "Roo.EventObject",
1039 "isOptional" : false
1046 "name" : "beforeshow",
1047 "desc" : "Fires before this menu is displayed",
1056 "type" : "Roo.menu.Menu",
1058 "isOptional" : false
1065 "name" : "childrenrendered",
1066 "desc" : "Fires when the children have been rendered..",
1067 "memberOf" : "Roo.bootstrap.Component",
1075 "type" : "Roo.bootstrap.Component",
1077 "isOptional" : false
1084 "name" : "beforerender",
1085 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1086 "memberOf" : "Roo.Component",
1094 "type" : "Roo.Component",
1096 "isOptional" : false
1104 "desc" : "Fires after the component is disabled.",
1105 "memberOf" : "Roo.Component",
1113 "type" : "Roo.Component",
1115 "isOptional" : false
1123 "desc" : "Fires after the component is rendered.",
1124 "memberOf" : "Roo.Component",
1132 "type" : "Roo.Component",
1134 "isOptional" : false
1142 "desc" : "Fires after the component is destroyed.",
1143 "memberOf" : "Roo.Component",
1151 "type" : "Roo.Component",
1153 "isOptional" : false
1161 "desc" : "Fires after the component is enabled.",
1162 "memberOf" : "Roo.Component",
1170 "type" : "Roo.Component",
1172 "isOptional" : false
1179 "name" : "beforedestroy",
1180 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1181 "memberOf" : "Roo.Component",
1189 "type" : "Roo.Component",
1191 "isOptional" : false