2 "name" : "Roo.bootstrap.MenuItem",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem class",
12 "memberOf" : "MenuItem",
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" : "isContainer",
65 "desc" : "is it a container - just returns a drop down item..",
66 "memberOf" : "Roo.bootstrap.MenuItem",
72 "type" : "Roo.bootsrap.Menu",
73 "desc" : "the child menu.",
74 "memberOf" : "Roo.bootstrap.MenuItem",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component",
89 "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\".",
90 "memberOf" : "Roo.Component",
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component",
105 "name" : "allowDomMove",
107 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
108 "memberOf" : "Roo.Component",
113 "name" : "preventDefault",
115 "desc" : "do not trigger A href on clicks (default false).",
116 "memberOf" : "Roo.bootstrap.MenuItem",
123 "desc" : "the menu label",
124 "memberOf" : "Roo.bootstrap.MenuItem",
131 "desc" : "css class",
132 "memberOf" : "Roo.bootstrap.Component",
139 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
140 "memberOf" : "Roo.bootstrap.Component",
145 "name" : "actionMode",
147 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
148 "memberOf" : "Roo.Component",
155 "desc" : "cutomer id",
156 "memberOf" : "Roo.bootstrap.Component",
163 "desc" : "used on sidebars to highlight active itesm",
164 "memberOf" : "Roo.bootstrap.MenuItem",
171 "desc" : "favicon to show on left of menu item.",
172 "memberOf" : "Roo.bootstrap.MenuItem",
179 "desc" : "Specifies name attribute",
180 "memberOf" : "Roo.bootstrap.Component",
185 "name" : "disableClass",
187 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
188 "memberOf" : "Roo.Component",
196 "memberOf" : "Roo.bootstrap.MenuItem",
203 "name" : "tooltipEl",
204 "desc" : "Fetch the element to display the tooltip on.",
206 "isConstructor" : false,
208 "memberOf" : "Roo.bootstrap.Component",
218 "type" : "Roo.Element",
219 "desc" : "defaults to this.el"
225 "desc" : "Hide a component - adds 'hidden' class",
227 "isConstructor" : false,
229 "memberOf" : "Roo.bootstrap.Component",
241 "desc" : "Show a component - removes 'hidden' class",
243 "isConstructor" : false,
245 "memberOf" : "Roo.bootstrap.Component",
256 "name" : "setVisibilityEl",
257 "desc" : "Set the element that will be used to show or hide",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.Component",
272 "name" : "getVisibilityEl",
273 "desc" : "Get the element that will be used to show or hide",
275 "isConstructor" : false,
277 "memberOf" : "Roo.bootstrap.Component",
288 "name" : "initEvents",
289 "desc" : "Initialize Events for the element",
291 "isConstructor" : false,
293 "memberOf" : "Roo.bootstrap.Component",
304 "name" : "getChildContainer",
305 "desc" : "Fetch the element to add children to",
307 "isConstructor" : false,
309 "memberOf" : "Roo.bootstrap.Component",
319 "type" : "Roo.Element",
320 "desc" : "defaults to this.el"
326 "desc" : "Returns the id of this component.",
328 "isConstructor" : false,
330 "memberOf" : "Roo.Component",
347 "desc" : "If this is a lazy rendering component, render it to its container element.",
349 "isConstructor" : false,
351 "memberOf" : "Roo.Component",
358 "name" : "container",
359 "type" : "String/HTMLElement/Element",
360 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
369 "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}.",
371 "isConstructor" : false,
373 "memberOf" : "Roo.Component",
384 "name" : "isVisible",
385 "desc" : "Returns true if this component is visible.",
387 "isConstructor" : false,
389 "memberOf" : "Roo.Component",
400 "name" : "setDisabled",
401 "desc" : "Convenience function for setting disabled/enabled by boolean.",
403 "isConstructor" : false,
405 "memberOf" : "Roo.Component",
423 "desc" : "Try to focus this component.",
425 "isConstructor" : false,
427 "memberOf" : "Roo.Component",
434 "name" : "selectText",
436 "desc" : "True to also select the text in this component (if applicable)",
443 "type" : "Roo.Component",
450 "desc" : "Enable this component.",
452 "isConstructor" : false,
454 "memberOf" : "Roo.Component",
464 "type" : "Roo.Component",
470 "name" : "setVisible",
471 "desc" : "Convenience function to hide or show this component by boolean.",
473 "isConstructor" : false,
475 "memberOf" : "Roo.Component",
484 "desc" : "True to show, false to hide",
491 "type" : "Roo.Component",
498 "desc" : "Disable this component.",
500 "isConstructor" : false,
502 "memberOf" : "Roo.Component",
512 "type" : "Roo.Component",
519 "desc" : "Returns the underlying {@link Roo.Element}.",
521 "isConstructor" : false,
523 "memberOf" : "Roo.Component",
533 "type" : "Roo.Element",
534 "desc" : "The element"
539 "name" : "purgeListeners",
540 "desc" : "Removes all listeners for this object",
542 "isConstructor" : false,
544 "memberOf" : "Roo.util.Observable",
556 "desc" : "Appends an event handler to this element (shorthand for addListener)",
558 "isConstructor" : false,
560 "memberOf" : "Roo.util.Observable",
567 "name" : "eventName",
569 "desc" : "The type of event to listen for",
575 "desc" : "The method the event invokes",
581 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
587 "desc" : "(optional)",
596 "desc" : "Removes a listener (shorthand for removeListener)",
598 "isConstructor" : false,
600 "memberOf" : "Roo.util.Observable",
607 "name" : "eventName",
609 "desc" : "The type of event to listen for",
615 "desc" : "The handler to remove",
621 "desc" : "(optional) The scope (this object) for the handler",
629 "name" : "addEvents",
630 "desc" : "Used to define events on this Observable",
632 "isConstructor" : false,
634 "memberOf" : "Roo.util.Observable",
643 "desc" : "The object with the events defined",
651 "name" : "releaseCapture",
652 "desc" : "Removes <b>all</b> added captures from the Observable.",
654 "isConstructor" : false,
656 "memberOf" : "Roo.util.Observable",
664 "type" : "Observable",
665 "desc" : "The Observable to release",
673 "name" : "removeListener",
674 "desc" : "Removes a listener",
676 "isConstructor" : false,
678 "memberOf" : "Roo.util.Observable",
685 "name" : "eventName",
687 "desc" : "The type of event to listen for",
693 "desc" : "The handler to remove",
699 "desc" : "(optional) The scope (this object) for the handler",
707 "name" : "fireEvent",
708 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
710 "isConstructor" : false,
712 "memberOf" : "Roo.util.Observable",
719 "name" : "eventName",
726 "type" : "Object...",
727 "desc" : "Variable number of parameters are passed to handlers",
735 "desc" : "returns false if any of the handlers return false otherwise it returns true"
740 "name" : "hasListener",
741 "desc" : "Checks to see if this object has any listeners for a specified event",
743 "isConstructor" : false,
745 "memberOf" : "Roo.util.Observable",
752 "name" : "eventName",
754 "desc" : "The name of the event to check for",
762 "desc" : "True if the event is being listened for, else false"
768 "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.",
770 "isConstructor" : false,
772 "memberOf" : "Roo.util.Observable",
780 "type" : "Observable",
781 "desc" : "The Observable to capture",
787 "desc" : "The function to call",
793 "desc" : "(optional) The scope (this object) for the fn",
801 "name" : "addListener",
802 "desc" : "Appends an event handler to this component",
804 "isConstructor" : false,
806 "memberOf" : "Roo.util.Observable",
813 "name" : "eventName",
815 "desc" : "The type of event to listen for",
821 "desc" : "The method the event invokes",
827 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
833 "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>",
844 "desc" : "The raw click event for the entire grid.",
845 "memberOf" : "Roo.bootstrap.MenuItem",
853 "type" : "Roo.bootstrap.MenuItem",
859 "type" : "Roo.EventObject",
868 "name" : "childrenrendered",
869 "desc" : "Fires when the children have been rendered..",
870 "memberOf" : "Roo.bootstrap.Component",
878 "type" : "Roo.bootstrap.Component",
887 "name" : "beforerender",
888 "desc" : "Fires before the component is rendered. Return false to stop the render.",
889 "memberOf" : "Roo.Component",
897 "type" : "Roo.Component",
907 "desc" : "Fires after the component is disabled.",
908 "memberOf" : "Roo.Component",
916 "type" : "Roo.Component",
926 "desc" : "Fires after the component is rendered.",
927 "memberOf" : "Roo.Component",
935 "type" : "Roo.Component",
945 "desc" : "Fires after the component is destroyed.",
946 "memberOf" : "Roo.Component",
954 "type" : "Roo.Component",
964 "desc" : "Fires after the component is hidden.",
965 "memberOf" : "Roo.Component",
973 "type" : "Roo.Component",
982 "name" : "beforehide",
983 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
984 "memberOf" : "Roo.Component",
992 "type" : "Roo.Component",
1002 "desc" : "Fires after the component is shown.",
1003 "memberOf" : "Roo.Component",
1011 "type" : "Roo.Component",
1013 "isOptional" : false
1020 "name" : "beforeshow",
1021 "desc" : "Fires before the component is shown. Return false to stop the show.",
1022 "memberOf" : "Roo.Component",
1030 "type" : "Roo.Component",
1032 "isOptional" : false
1040 "desc" : "Fires after the component is enabled.",
1041 "memberOf" : "Roo.Component",
1049 "type" : "Roo.Component",
1051 "isOptional" : false
1058 "name" : "beforedestroy",
1059 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1060 "memberOf" : "Roo.Component",
1068 "type" : "Roo.Component",
1070 "isOptional" : false