2 "name" : "Roo.bootstrap.menu.Menu",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Menu class - container for Menu",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "Text for the tooltip",
25 "memberOf" : "Roo.bootstrap.Component",
30 "name" : "container_method",
32 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
33 "memberOf" : "Roo.bootstrap.Component",
38 "name" : "visibilityEl",
39 "type" : "string|object",
40 "desc" : "What element to use for visibility (@see getVisibilityEl())",
41 "memberOf" : "Roo.bootstrap.Component",
48 "name" : "can_build_overlaid",
50 "desc" : "True if element can be rebuild from a HTML page",
51 "memberOf" : "Roo.bootstrap.Component",
58 "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\".",
59 "memberOf" : "Roo.Component",
68 "desc" : "any extra css",
69 "memberOf" : "Roo.bootstrap.Component",
74 "name" : "allowDomMove",
76 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
77 "memberOf" : "Roo.Component",
84 "desc" : "Text of the menu",
85 "memberOf" : "Roo.bootstrap.menu.Menu",
92 "desc" : "Menu align to (top | bottom) default bottom",
93 "memberOf" : "Roo.bootstrap.menu.Menu",
100 "desc" : "css class",
101 "memberOf" : "Roo.bootstrap.Component",
108 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
109 "memberOf" : "Roo.bootstrap.Component",
114 "name" : "actionMode",
116 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
117 "memberOf" : "Roo.Component",
124 "desc" : "Font awesome icon",
125 "memberOf" : "Roo.bootstrap.menu.Menu",
132 "desc" : "cutomer id",
133 "memberOf" : "Roo.bootstrap.Component",
141 "memberOf" : "Roo.bootstrap.menu.Menu",
155 "desc" : "Specifies name attribute",
156 "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",
171 "name" : "tooltipEl",
172 "desc" : "Fetch the element to display the tooltip on.",
174 "isConstructor" : false,
176 "memberOf" : "Roo.bootstrap.Component",
186 "type" : "Roo.Element",
187 "desc" : "defaults to this.el"
193 "desc" : "Hide a component - adds 'hidden' class",
195 "isConstructor" : false,
197 "memberOf" : "Roo.bootstrap.Component",
209 "desc" : "Show a component - removes 'hidden' class",
211 "isConstructor" : false,
213 "memberOf" : "Roo.bootstrap.Component",
224 "name" : "setVisibilityEl",
225 "desc" : "Set the element that will be used to show or hide",
227 "isConstructor" : false,
229 "memberOf" : "Roo.bootstrap.Component",
240 "name" : "getVisibilityEl",
241 "desc" : "Get the element that will be used to show or hide",
243 "isConstructor" : false,
245 "memberOf" : "Roo.bootstrap.Component",
256 "name" : "initEvents",
257 "desc" : "Initialize Events for the element",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.Component",
272 "name" : "getChildContainer",
273 "desc" : "Fetch the element to add children to",
275 "isConstructor" : false,
277 "memberOf" : "Roo.bootstrap.Component",
287 "type" : "Roo.Element",
288 "desc" : "defaults to this.el"
294 "desc" : "Returns the id of this component.",
296 "isConstructor" : false,
298 "memberOf" : "Roo.Component",
315 "desc" : "If this is a lazy rendering component, render it to its container element.",
317 "isConstructor" : false,
319 "memberOf" : "Roo.Component",
326 "name" : "container",
327 "type" : "String/HTMLElement/Element",
328 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
337 "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}.",
339 "isConstructor" : false,
341 "memberOf" : "Roo.Component",
352 "name" : "isVisible",
353 "desc" : "Returns true if this component is visible.",
355 "isConstructor" : false,
357 "memberOf" : "Roo.Component",
368 "name" : "setDisabled",
369 "desc" : "Convenience function for setting disabled/enabled by boolean.",
371 "isConstructor" : false,
373 "memberOf" : "Roo.Component",
391 "desc" : "Try to focus this component.",
393 "isConstructor" : false,
395 "memberOf" : "Roo.Component",
402 "name" : "selectText",
404 "desc" : "True to also select the text in this component (if applicable)",
411 "type" : "Roo.Component",
418 "desc" : "Enable this component.",
420 "isConstructor" : false,
422 "memberOf" : "Roo.Component",
432 "type" : "Roo.Component",
438 "name" : "setVisible",
439 "desc" : "Convenience function to hide or show this component by boolean.",
441 "isConstructor" : false,
443 "memberOf" : "Roo.Component",
452 "desc" : "True to show, false to hide",
459 "type" : "Roo.Component",
466 "desc" : "Disable this component.",
468 "isConstructor" : false,
470 "memberOf" : "Roo.Component",
480 "type" : "Roo.Component",
487 "desc" : "Returns the underlying {@link Roo.Element}.",
489 "isConstructor" : false,
491 "memberOf" : "Roo.Component",
501 "type" : "Roo.Element",
502 "desc" : "The element"
507 "name" : "purgeListeners",
508 "desc" : "Removes all listeners for this object",
510 "isConstructor" : false,
512 "memberOf" : "Roo.util.Observable",
524 "desc" : "Appends an event handler to this element (shorthand for addListener)",
526 "isConstructor" : false,
528 "memberOf" : "Roo.util.Observable",
535 "name" : "eventName",
537 "desc" : "The type of event to listen for",
543 "desc" : "The method the event invokes",
549 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
555 "desc" : "(optional)",
564 "desc" : "Removes a listener (shorthand for removeListener)",
566 "isConstructor" : false,
568 "memberOf" : "Roo.util.Observable",
575 "name" : "eventName",
577 "desc" : "The type of event to listen for",
583 "desc" : "The handler to remove",
589 "desc" : "(optional) The scope (this object) for the handler",
597 "name" : "addEvents",
598 "desc" : "Used to define events on this Observable",
600 "isConstructor" : false,
602 "memberOf" : "Roo.util.Observable",
611 "desc" : "The object with the events defined",
619 "name" : "releaseCapture",
620 "desc" : "Removes <b>all</b> added captures from the Observable.",
622 "isConstructor" : false,
624 "memberOf" : "Roo.util.Observable",
632 "type" : "Observable",
633 "desc" : "The Observable to release",
641 "name" : "removeListener",
642 "desc" : "Removes a listener",
644 "isConstructor" : false,
646 "memberOf" : "Roo.util.Observable",
653 "name" : "eventName",
655 "desc" : "The type of event to listen for",
661 "desc" : "The handler to remove",
667 "desc" : "(optional) The scope (this object) for the handler",
675 "name" : "fireEvent",
676 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
678 "isConstructor" : false,
680 "memberOf" : "Roo.util.Observable",
687 "name" : "eventName",
694 "type" : "Object...",
695 "desc" : "Variable number of parameters are passed to handlers",
703 "desc" : "returns false if any of the handlers return false otherwise it returns true"
708 "name" : "hasListener",
709 "desc" : "Checks to see if this object has any listeners for a specified event",
711 "isConstructor" : false,
713 "memberOf" : "Roo.util.Observable",
720 "name" : "eventName",
722 "desc" : "The name of the event to check for",
730 "desc" : "True if the event is being listened for, else false"
736 "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.",
738 "isConstructor" : false,
740 "memberOf" : "Roo.util.Observable",
748 "type" : "Observable",
749 "desc" : "The Observable to capture",
755 "desc" : "The function to call",
761 "desc" : "(optional) The scope (this object) for the fn",
769 "name" : "addListener",
770 "desc" : "Appends an event handler to this component",
772 "isConstructor" : false,
774 "memberOf" : "Roo.util.Observable",
781 "name" : "eventName",
783 "desc" : "The type of event to listen for",
789 "desc" : "The method the event invokes",
795 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
801 "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>",
812 "desc" : "Fires when this menu is clicked (or when the enter key is pressed while it is active)",
821 "type" : "Roo.bootstrap.menu.Menu",
827 "type" : "Roo.EventObject",
836 "name" : "beforehide",
837 "desc" : "Fires before this menu is hidden",
846 "type" : "Roo.bootstrap.menu.Menu",
855 "name" : "beforeshow",
856 "desc" : "Fires before this menu is displayed",
865 "type" : "Roo.bootstrap.menu.Menu",
875 "desc" : "Fires after this menu is hidden",
884 "type" : "Roo.bootstrap.menu.Menu",
894 "desc" : "Fires after this menu is displayed",
903 "type" : "Roo.bootstrap.menu.Menu",
912 "name" : "childrenrendered",
913 "desc" : "Fires when the children have been rendered..",
914 "memberOf" : "Roo.bootstrap.Component",
922 "type" : "Roo.bootstrap.Component",
931 "name" : "beforerender",
932 "desc" : "Fires before the component is rendered. Return false to stop the render.",
933 "memberOf" : "Roo.Component",
941 "type" : "Roo.Component",
951 "desc" : "Fires after the component is disabled.",
952 "memberOf" : "Roo.Component",
960 "type" : "Roo.Component",
970 "desc" : "Fires after the component is rendered.",
971 "memberOf" : "Roo.Component",
979 "type" : "Roo.Component",
989 "desc" : "Fires after the component is destroyed.",
990 "memberOf" : "Roo.Component",
998 "type" : "Roo.Component",
1000 "isOptional" : false
1008 "desc" : "Fires after the component is enabled.",
1009 "memberOf" : "Roo.Component",
1017 "type" : "Roo.Component",
1019 "isOptional" : false
1026 "name" : "beforedestroy",
1027 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1028 "memberOf" : "Roo.Component",
1036 "type" : "Roo.Component",
1038 "isOptional" : false