2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for Menu",
21 "desc" : "The config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "can_build_overlaid",
65 "desc" : "True if element can be rebuild from a HTML page",
66 "memberOf" : "Roo.bootstrap.Component",
73 "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\".",
74 "memberOf" : "Roo.Component",
83 "desc" : "any extra css",
84 "memberOf" : "Roo.bootstrap.Component",
89 "name" : "allowDomMove",
91 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
92 "memberOf" : "Roo.Component",
99 "desc" : "Text of the menu",
100 "memberOf" : "Roo.bootstrap.menu.Menu",
107 "desc" : "Menu align to (top | bottom) default bottom",
108 "memberOf" : "Roo.bootstrap.menu.Menu",
115 "desc" : "css class",
116 "memberOf" : "Roo.bootstrap.Component",
123 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
124 "memberOf" : "Roo.bootstrap.Component",
129 "name" : "actionMode",
131 "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",
132 "memberOf" : "Roo.Component",
139 "desc" : "Font awesome icon",
140 "memberOf" : "Roo.bootstrap.menu.Menu",
147 "desc" : "cutomer id",
148 "memberOf" : "Roo.bootstrap.Component",
156 "memberOf" : "Roo.bootstrap.menu.Menu",
170 "desc" : "Specifies name attribute",
171 "memberOf" : "Roo.bootstrap.Component",
176 "name" : "disableClass",
178 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
179 "memberOf" : "Roo.Component",
186 "name" : "tooltipEl",
187 "desc" : "Fetch the element to display the tooltip on.",
189 "isConstructor" : false,
191 "memberOf" : "Roo.bootstrap.Component",
201 "type" : "Roo.Element",
202 "desc" : "defaults to this.el"
208 "desc" : "Hide a component - adds 'hidden' class",
210 "isConstructor" : false,
212 "memberOf" : "Roo.bootstrap.Component",
224 "desc" : "Show a component - removes 'hidden' class",
226 "isConstructor" : false,
228 "memberOf" : "Roo.bootstrap.Component",
239 "name" : "setVisibilityEl",
240 "desc" : "Set the element that will be used to show or hide",
242 "isConstructor" : false,
244 "memberOf" : "Roo.bootstrap.Component",
255 "name" : "getVisibilityEl",
256 "desc" : "Get the element that will be used to show or hide",
258 "isConstructor" : false,
260 "memberOf" : "Roo.bootstrap.Component",
271 "name" : "initEvents",
272 "desc" : "Initialize Events for the element",
274 "isConstructor" : false,
276 "memberOf" : "Roo.bootstrap.Component",
287 "name" : "getChildContainer",
288 "desc" : "Fetch the element to add children to",
290 "isConstructor" : false,
292 "memberOf" : "Roo.bootstrap.Component",
302 "type" : "Roo.Element",
303 "desc" : "defaults to this.el"
309 "desc" : "Returns the id of this component.",
311 "isConstructor" : false,
313 "memberOf" : "Roo.Component",
330 "desc" : "If this is a lazy rendering component, render it to its container element.",
332 "isConstructor" : false,
334 "memberOf" : "Roo.Component",
341 "name" : "container",
342 "type" : "String/HTMLElement/Element",
343 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
352 "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}.",
354 "isConstructor" : false,
356 "memberOf" : "Roo.Component",
367 "name" : "isVisible",
368 "desc" : "Returns true if this component is visible.",
370 "isConstructor" : false,
372 "memberOf" : "Roo.Component",
383 "name" : "setDisabled",
384 "desc" : "Convenience function for setting disabled/enabled by boolean.",
386 "isConstructor" : false,
388 "memberOf" : "Roo.Component",
406 "desc" : "Try to focus this component.",
408 "isConstructor" : false,
410 "memberOf" : "Roo.Component",
417 "name" : "selectText",
419 "desc" : "True to also select the text in this component (if applicable)",
426 "type" : "Roo.Component",
433 "desc" : "Enable this component.",
435 "isConstructor" : false,
437 "memberOf" : "Roo.Component",
447 "type" : "Roo.Component",
453 "name" : "setVisible",
454 "desc" : "Convenience function to hide or show this component by boolean.",
456 "isConstructor" : false,
458 "memberOf" : "Roo.Component",
467 "desc" : "True to show, false to hide",
474 "type" : "Roo.Component",
481 "desc" : "Disable this component.",
483 "isConstructor" : false,
485 "memberOf" : "Roo.Component",
495 "type" : "Roo.Component",
502 "desc" : "Returns the underlying {@link Roo.Element}.",
504 "isConstructor" : false,
506 "memberOf" : "Roo.Component",
516 "type" : "Roo.Element",
517 "desc" : "The element"
522 "name" : "purgeListeners",
523 "desc" : "Removes all listeners for this object",
525 "isConstructor" : false,
527 "memberOf" : "Roo.util.Observable",
539 "desc" : "Appends an event handler to this element (shorthand for addListener)",
541 "isConstructor" : false,
543 "memberOf" : "Roo.util.Observable",
550 "name" : "eventName",
552 "desc" : "The type of event to listen for",
558 "desc" : "The method the event invokes",
564 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
570 "desc" : "(optional)",
579 "desc" : "Removes a listener (shorthand for removeListener)",
581 "isConstructor" : false,
583 "memberOf" : "Roo.util.Observable",
590 "name" : "eventName",
592 "desc" : "The type of event to listen for",
598 "desc" : "The handler to remove",
604 "desc" : "(optional) The scope (this object) for the handler",
612 "name" : "addEvents",
613 "desc" : "Used to define events on this Observable",
615 "isConstructor" : false,
617 "memberOf" : "Roo.util.Observable",
626 "desc" : "The object with the events defined",
634 "name" : "releaseCapture",
635 "desc" : "Removes <b>all</b> added captures from the Observable.",
637 "isConstructor" : false,
639 "memberOf" : "Roo.util.Observable",
647 "type" : "Observable",
648 "desc" : "The Observable to release",
656 "name" : "removeListener",
657 "desc" : "Removes a listener",
659 "isConstructor" : false,
661 "memberOf" : "Roo.util.Observable",
668 "name" : "eventName",
670 "desc" : "The type of event to listen for",
676 "desc" : "The handler to remove",
682 "desc" : "(optional) The scope (this object) for the handler",
690 "name" : "fireEvent",
691 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
693 "isConstructor" : false,
695 "memberOf" : "Roo.util.Observable",
702 "name" : "eventName",
709 "type" : "Object...",
710 "desc" : "Variable number of parameters are passed to handlers",
718 "desc" : "returns false if any of the handlers return false otherwise it returns true"
723 "name" : "hasListener",
724 "desc" : "Checks to see if this object has any listeners for a specified event",
726 "isConstructor" : false,
728 "memberOf" : "Roo.util.Observable",
735 "name" : "eventName",
737 "desc" : "The name of the event to check for",
745 "desc" : "True if the event is being listened for, else false"
751 "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.",
753 "isConstructor" : false,
755 "memberOf" : "Roo.util.Observable",
763 "type" : "Observable",
764 "desc" : "The Observable to capture",
770 "desc" : "The function to call",
776 "desc" : "(optional) The scope (this object) for the fn",
784 "name" : "addListener",
785 "desc" : "Appends an event handler to this component",
787 "isConstructor" : false,
789 "memberOf" : "Roo.util.Observable",
796 "name" : "eventName",
798 "desc" : "The type of event to listen for",
804 "desc" : "The method the event invokes",
810 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
816 "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>",
827 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
828 "memberOf" : "Roo.bootstrap.menu.Menu",
836 "type" : "Roo.bootstrap.menu.Menu",
842 "type" : "Roo.EventObject",
851 "name" : "beforehide",
852 "desc" : "Fires before this menu is hidden",
853 "memberOf" : "Roo.bootstrap.menu.Menu",
861 "type" : "Roo.bootstrap.menu.Menu",
870 "name" : "beforeshow",
871 "desc" : "Fires before this menu is displayed",
872 "memberOf" : "Roo.bootstrap.menu.Menu",
880 "type" : "Roo.bootstrap.menu.Menu",
890 "desc" : "Fires after this menu is hidden",
891 "memberOf" : "Roo.bootstrap.menu.Menu",
899 "type" : "Roo.bootstrap.menu.Menu",
909 "desc" : "Fires after this menu is displayed",
910 "memberOf" : "Roo.bootstrap.menu.Menu",
918 "type" : "Roo.bootstrap.menu.Menu",
927 "name" : "childrenrendered",
928 "desc" : "Fires when the children have been rendered..",
929 "memberOf" : "Roo.bootstrap.Component",
937 "type" : "Roo.bootstrap.Component",
946 "name" : "beforerender",
947 "desc" : "Fires before the component is rendered. Return false to stop the render.",
948 "memberOf" : "Roo.Component",
956 "type" : "Roo.Component",
966 "desc" : "Fires after the component is disabled.",
967 "memberOf" : "Roo.Component",
975 "type" : "Roo.Component",
985 "desc" : "Fires after the component is rendered.",
986 "memberOf" : "Roo.Component",
994 "type" : "Roo.Component",
1004 "desc" : "Fires after the component is destroyed.",
1005 "memberOf" : "Roo.Component",
1013 "type" : "Roo.Component",
1015 "isOptional" : false
1023 "desc" : "Fires after the component is enabled.",
1024 "memberOf" : "Roo.Component",
1032 "type" : "Roo.Component",
1034 "isOptional" : false
1041 "name" : "beforedestroy",
1042 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1043 "memberOf" : "Roo.Component",
1051 "type" : "Roo.Component",
1053 "isOptional" : false