2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for Menu",
21 "desc" : "The config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "Text for the tooltip",
38 "memberOf" : "Roo.bootstrap.Component",
42 "name" : "container_method",
44 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
45 "memberOf" : "Roo.bootstrap.Component",
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "can_build_overlaid",
61 "desc" : "True if element can be rebuild from a HTML page",
62 "memberOf" : "Roo.bootstrap.Component",
68 "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\".",
69 "memberOf" : "Roo.Component",
78 "desc" : "any extra css",
79 "memberOf" : "Roo.bootstrap.Component",
83 "name" : "allowDomMove",
85 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
86 "memberOf" : "Roo.Component",
92 "desc" : "Text of the menu",
93 "memberOf" : "Roo.bootstrap.menu.Menu",
99 "desc" : "Menu align to (top | bottom) default bottom",
100 "memberOf" : "Roo.bootstrap.menu.Menu",
106 "desc" : "css class",
107 "memberOf" : "Roo.bootstrap.Component",
113 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
114 "memberOf" : "Roo.bootstrap.Component",
118 "name" : "actionMode",
120 "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",
121 "memberOf" : "Roo.Component",
127 "desc" : "Font awesome icon",
128 "memberOf" : "Roo.bootstrap.menu.Menu",
134 "desc" : "cutomer id",
135 "memberOf" : "Roo.bootstrap.Component",
142 "memberOf" : "Roo.bootstrap.menu.Menu",
156 "desc" : "Specifies name attribute",
157 "memberOf" : "Roo.bootstrap.Component",
161 "name" : "disableClass",
163 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
164 "memberOf" : "Roo.Component",
170 "name" : "tooltipEl",
171 "desc" : "Fetch the element to display the tooltip on.",
173 "isConstructor" : false,
175 "memberOf" : "Roo.bootstrap.Component",
184 "type" : "Roo.Element",
185 "desc" : "defaults to this.el"
191 "desc" : "Hide a component - adds 'hidden' class",
193 "isConstructor" : false,
195 "memberOf" : "Roo.bootstrap.Component",
205 "desc" : "Show a component - removes 'hidden' class",
207 "isConstructor" : false,
209 "memberOf" : "Roo.bootstrap.Component",
218 "name" : "setVisibilityEl",
219 "desc" : "Set the element that will be used to show or hide",
221 "isConstructor" : false,
223 "memberOf" : "Roo.bootstrap.Component",
232 "name" : "getVisibilityEl",
233 "desc" : "Get the element that will be used to show or hide",
235 "isConstructor" : false,
237 "memberOf" : "Roo.bootstrap.Component",
246 "name" : "initEvents",
247 "desc" : "Initialize Events for the element",
249 "isConstructor" : false,
251 "memberOf" : "Roo.bootstrap.Component",
260 "name" : "getChildContainer",
261 "desc" : "Fetch the element to add children to",
263 "isConstructor" : false,
265 "memberOf" : "Roo.bootstrap.Component",
274 "type" : "Roo.Element",
275 "desc" : "defaults to this.el"
281 "desc" : "Returns the id of this component.",
283 "isConstructor" : false,
285 "memberOf" : "Roo.Component",
301 "desc" : "If this is a lazy rendering component, render it to its container element.",
303 "isConstructor" : false,
305 "memberOf" : "Roo.Component",
312 "name" : "container",
313 "type" : "String/HTMLElement/Element",
314 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
322 "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}.",
324 "isConstructor" : false,
326 "memberOf" : "Roo.Component",
335 "name" : "isVisible",
336 "desc" : "Returns true if this component is visible.",
338 "isConstructor" : false,
340 "memberOf" : "Roo.Component",
349 "name" : "setDisabled",
350 "desc" : "Convenience function for setting disabled/enabled by boolean.",
352 "isConstructor" : false,
354 "memberOf" : "Roo.Component",
371 "desc" : "Try to focus this component.",
373 "isConstructor" : false,
375 "memberOf" : "Roo.Component",
382 "name" : "selectText",
384 "desc" : "True to also select the text in this component (if applicable)",
391 "type" : "Roo.Component",
398 "desc" : "Enable this component.",
400 "isConstructor" : false,
402 "memberOf" : "Roo.Component",
411 "type" : "Roo.Component",
417 "name" : "setVisible",
418 "desc" : "Convenience function to hide or show this component by boolean.",
420 "isConstructor" : false,
422 "memberOf" : "Roo.Component",
431 "desc" : "True to show, false to hide",
438 "type" : "Roo.Component",
445 "desc" : "Disable this component.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.Component",
458 "type" : "Roo.Component",
465 "desc" : "Returns the underlying {@link Roo.Element}.",
467 "isConstructor" : false,
469 "memberOf" : "Roo.Component",
478 "type" : "Roo.Element",
479 "desc" : "The element"
484 "name" : "purgeListeners",
485 "desc" : "Removes all listeners for this object",
487 "isConstructor" : false,
489 "memberOf" : "Roo.util.Observable",
499 "desc" : "Appends an event handler to this element (shorthand for addListener)",
501 "isConstructor" : false,
503 "memberOf" : "Roo.util.Observable",
510 "name" : "eventName",
512 "desc" : "The type of event to listen for",
518 "desc" : "The method the event invokes",
524 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
530 "desc" : "(optional)",
538 "desc" : "Removes a listener (shorthand for removeListener)",
540 "isConstructor" : false,
542 "memberOf" : "Roo.util.Observable",
549 "name" : "eventName",
551 "desc" : "The type of event to listen for",
557 "desc" : "The handler to remove",
563 "desc" : "(optional) The scope (this object) for the handler",
570 "name" : "addEvents",
571 "desc" : "Used to define events on this Observable",
573 "isConstructor" : false,
575 "memberOf" : "Roo.util.Observable",
584 "desc" : "The object with the events defined",
591 "name" : "releaseCapture",
592 "desc" : "Removes <b>all</b> added captures from the Observable.",
594 "isConstructor" : false,
596 "memberOf" : "Roo.util.Observable",
604 "type" : "Observable",
605 "desc" : "The Observable to release",
612 "name" : "removeListener",
613 "desc" : "Removes a listener",
615 "isConstructor" : false,
617 "memberOf" : "Roo.util.Observable",
624 "name" : "eventName",
626 "desc" : "The type of event to listen for",
632 "desc" : "The handler to remove",
638 "desc" : "(optional) The scope (this object) for the handler",
645 "name" : "fireEvent",
646 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
648 "isConstructor" : false,
650 "memberOf" : "Roo.util.Observable",
657 "name" : "eventName",
664 "type" : "Object...",
665 "desc" : "Variable number of parameters are passed to handlers",
673 "desc" : "returns false if any of the handlers return false otherwise it returns true"
678 "name" : "hasListener",
679 "desc" : "Checks to see if this object has any listeners for a specified event",
681 "isConstructor" : false,
683 "memberOf" : "Roo.util.Observable",
690 "name" : "eventName",
692 "desc" : "The name of the event to check for",
700 "desc" : "True if the event is being listened for, else false"
706 "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.",
708 "isConstructor" : false,
710 "memberOf" : "Roo.util.Observable",
718 "type" : "Observable",
719 "desc" : "The Observable to capture",
725 "desc" : "The function to call",
731 "desc" : "(optional) The scope (this object) for the fn",
738 "name" : "addListener",
739 "desc" : "Appends an event handler to this component",
741 "isConstructor" : false,
743 "memberOf" : "Roo.util.Observable",
750 "name" : "eventName",
752 "desc" : "The type of event to listen for",
758 "desc" : "The method the event invokes",
764 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
770 "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>",
780 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
781 "memberOf" : "Roo.bootstrap.menu.Menu",
789 "type" : "Roo.bootstrap.menu.Menu",
795 "type" : "Roo.EventObject",
803 "name" : "beforehide",
804 "desc" : "Fires before this menu is hidden",
805 "memberOf" : "Roo.bootstrap.menu.Menu",
813 "type" : "Roo.bootstrap.menu.Menu",
821 "name" : "beforeshow",
822 "desc" : "Fires before this menu is displayed",
823 "memberOf" : "Roo.bootstrap.menu.Menu",
831 "type" : "Roo.bootstrap.menu.Menu",
840 "desc" : "Fires after this menu is hidden",
841 "memberOf" : "Roo.bootstrap.menu.Menu",
849 "type" : "Roo.bootstrap.menu.Menu",
858 "desc" : "Fires after this menu is displayed",
859 "memberOf" : "Roo.bootstrap.menu.Menu",
867 "type" : "Roo.bootstrap.menu.Menu",
875 "name" : "childrenrendered",
876 "desc" : "Fires when the children have been rendered..",
877 "memberOf" : "Roo.bootstrap.Component",
885 "type" : "Roo.bootstrap.Component",
893 "name" : "beforerender",
894 "desc" : "Fires before the component is rendered. Return false to stop the render.",
895 "memberOf" : "Roo.Component",
903 "type" : "Roo.Component",
912 "desc" : "Fires after the component is disabled.",
913 "memberOf" : "Roo.Component",
921 "type" : "Roo.Component",
930 "desc" : "Fires after the component is rendered.",
931 "memberOf" : "Roo.Component",
939 "type" : "Roo.Component",
948 "desc" : "Fires after the component is destroyed.",
949 "memberOf" : "Roo.Component",
957 "type" : "Roo.Component",
966 "desc" : "Fires after the component is enabled.",
967 "memberOf" : "Roo.Component",
975 "type" : "Roo.Component",
983 "name" : "beforedestroy",
984 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
985 "memberOf" : "Roo.Component",
993 "type" : "Roo.Component",