2 "name" : "Roo.bootstrap.MenuItem",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem class",
12 "memberOf" : "MenuItem",
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" : "isContainer",
61 "desc" : "is it a container - just returns a drop down item..",
62 "memberOf" : "Roo.bootstrap.MenuItem",
67 "type" : "Roo.bootsrap.Menu",
68 "desc" : "the child menu.",
69 "memberOf" : "Roo.bootstrap.MenuItem",
73 "name" : "can_build_overlaid",
75 "desc" : "True if element can be rebuild from a HTML page",
76 "memberOf" : "Roo.bootstrap.Component",
82 "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\".",
83 "memberOf" : "Roo.Component",
92 "desc" : "any extra css",
93 "memberOf" : "Roo.bootstrap.Component",
97 "name" : "allowDomMove",
99 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
100 "memberOf" : "Roo.Component",
104 "name" : "preventDefault",
106 "desc" : "do not trigger A href on clicks (default false).",
107 "memberOf" : "Roo.bootstrap.MenuItem",
113 "desc" : "the menu label",
114 "memberOf" : "Roo.bootstrap.MenuItem",
120 "desc" : "css class",
121 "memberOf" : "Roo.bootstrap.Component",
127 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
128 "memberOf" : "Roo.bootstrap.Component",
132 "name" : "actionMode",
134 "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",
135 "memberOf" : "Roo.Component",
141 "desc" : "cutomer id",
142 "memberOf" : "Roo.bootstrap.Component",
148 "desc" : "used on sidebars to highlight active itesm",
149 "memberOf" : "Roo.bootstrap.MenuItem",
155 "desc" : "favicon to show on left of menu item.",
156 "memberOf" : "Roo.bootstrap.MenuItem",
162 "desc" : "Specifies name attribute",
163 "memberOf" : "Roo.bootstrap.Component",
167 "name" : "disableClass",
169 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
170 "memberOf" : "Roo.Component",
177 "memberOf" : "Roo.bootstrap.MenuItem",
183 "name" : "tooltipEl",
184 "desc" : "Fetch the element to display the tooltip on.",
186 "isConstructor" : false,
188 "memberOf" : "Roo.bootstrap.Component",
197 "type" : "Roo.Element",
198 "desc" : "defaults to this.el"
204 "desc" : "Hide a component - adds 'hidden' class",
206 "isConstructor" : false,
208 "memberOf" : "Roo.bootstrap.Component",
218 "desc" : "Show a component - removes 'hidden' class",
220 "isConstructor" : false,
222 "memberOf" : "Roo.bootstrap.Component",
231 "name" : "setVisibilityEl",
232 "desc" : "Set the element that will be used to show or hide",
234 "isConstructor" : false,
236 "memberOf" : "Roo.bootstrap.Component",
245 "name" : "getVisibilityEl",
246 "desc" : "Get the element that will be used to show or hide",
248 "isConstructor" : false,
250 "memberOf" : "Roo.bootstrap.Component",
259 "name" : "initEvents",
260 "desc" : "Initialize Events for the element",
262 "isConstructor" : false,
264 "memberOf" : "Roo.bootstrap.Component",
273 "name" : "getChildContainer",
274 "desc" : "Fetch the element to add children to",
276 "isConstructor" : false,
278 "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",
314 "desc" : "If this is a lazy rendering component, render it to its container element.",
316 "isConstructor" : false,
318 "memberOf" : "Roo.Component",
325 "name" : "container",
326 "type" : "String/HTMLElement/Element",
327 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
335 "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}.",
337 "isConstructor" : false,
339 "memberOf" : "Roo.Component",
348 "name" : "isVisible",
349 "desc" : "Returns true if this component is visible.",
351 "isConstructor" : false,
353 "memberOf" : "Roo.Component",
362 "name" : "setDisabled",
363 "desc" : "Convenience function for setting disabled/enabled by boolean.",
365 "isConstructor" : false,
367 "memberOf" : "Roo.Component",
384 "desc" : "Try to focus this component.",
386 "isConstructor" : false,
388 "memberOf" : "Roo.Component",
395 "name" : "selectText",
397 "desc" : "True to also select the text in this component (if applicable)",
404 "type" : "Roo.Component",
411 "desc" : "Enable this component.",
413 "isConstructor" : false,
415 "memberOf" : "Roo.Component",
424 "type" : "Roo.Component",
430 "name" : "setVisible",
431 "desc" : "Convenience function to hide or show this component by boolean.",
433 "isConstructor" : false,
435 "memberOf" : "Roo.Component",
444 "desc" : "True to show, false to hide",
451 "type" : "Roo.Component",
458 "desc" : "Disable this component.",
460 "isConstructor" : false,
462 "memberOf" : "Roo.Component",
471 "type" : "Roo.Component",
478 "desc" : "Returns the underlying {@link Roo.Element}.",
480 "isConstructor" : false,
482 "memberOf" : "Roo.Component",
491 "type" : "Roo.Element",
492 "desc" : "The element"
497 "name" : "purgeListeners",
498 "desc" : "Removes all listeners for this object",
500 "isConstructor" : false,
502 "memberOf" : "Roo.util.Observable",
512 "desc" : "Appends an event handler to this element (shorthand for addListener)",
514 "isConstructor" : false,
516 "memberOf" : "Roo.util.Observable",
523 "name" : "eventName",
525 "desc" : "The type of event to listen for",
531 "desc" : "The method the event invokes",
537 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
543 "desc" : "(optional)",
551 "desc" : "Removes a listener (shorthand for removeListener)",
553 "isConstructor" : false,
555 "memberOf" : "Roo.util.Observable",
562 "name" : "eventName",
564 "desc" : "The type of event to listen for",
570 "desc" : "The handler to remove",
576 "desc" : "(optional) The scope (this object) for the handler",
583 "name" : "addEvents",
584 "desc" : "Used to define events on this Observable",
586 "isConstructor" : false,
588 "memberOf" : "Roo.util.Observable",
597 "desc" : "The object with the events defined",
604 "name" : "releaseCapture",
605 "desc" : "Removes <b>all</b> added captures from the Observable.",
607 "isConstructor" : false,
609 "memberOf" : "Roo.util.Observable",
617 "type" : "Observable",
618 "desc" : "The Observable to release",
625 "name" : "removeListener",
626 "desc" : "Removes a listener",
628 "isConstructor" : false,
630 "memberOf" : "Roo.util.Observable",
637 "name" : "eventName",
639 "desc" : "The type of event to listen for",
645 "desc" : "The handler to remove",
651 "desc" : "(optional) The scope (this object) for the handler",
658 "name" : "fireEvent",
659 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
661 "isConstructor" : false,
663 "memberOf" : "Roo.util.Observable",
670 "name" : "eventName",
677 "type" : "Object...",
678 "desc" : "Variable number of parameters are passed to handlers",
686 "desc" : "returns false if any of the handlers return false otherwise it returns true"
691 "name" : "hasListener",
692 "desc" : "Checks to see if this object has any listeners for a specified event",
694 "isConstructor" : false,
696 "memberOf" : "Roo.util.Observable",
703 "name" : "eventName",
705 "desc" : "The name of the event to check for",
713 "desc" : "True if the event is being listened for, else false"
719 "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.",
721 "isConstructor" : false,
723 "memberOf" : "Roo.util.Observable",
731 "type" : "Observable",
732 "desc" : "The Observable to capture",
738 "desc" : "The function to call",
744 "desc" : "(optional) The scope (this object) for the fn",
751 "name" : "addListener",
752 "desc" : "Appends an event handler to this component",
754 "isConstructor" : false,
756 "memberOf" : "Roo.util.Observable",
763 "name" : "eventName",
765 "desc" : "The type of event to listen for",
771 "desc" : "The method the event invokes",
777 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
783 "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>",
793 "desc" : "The raw click event for the entire grid.",
794 "memberOf" : "Roo.bootstrap.MenuItem",
802 "type" : "Roo.bootstrap.MenuItem",
808 "type" : "Roo.EventObject",
816 "name" : "childrenrendered",
817 "desc" : "Fires when the children have been rendered..",
818 "memberOf" : "Roo.bootstrap.Component",
826 "type" : "Roo.bootstrap.Component",
834 "name" : "beforerender",
835 "desc" : "Fires before the component is rendered. Return false to stop the render.",
836 "memberOf" : "Roo.Component",
844 "type" : "Roo.Component",
853 "desc" : "Fires after the component is disabled.",
854 "memberOf" : "Roo.Component",
862 "type" : "Roo.Component",
871 "desc" : "Fires after the component is rendered.",
872 "memberOf" : "Roo.Component",
880 "type" : "Roo.Component",
889 "desc" : "Fires after the component is destroyed.",
890 "memberOf" : "Roo.Component",
898 "type" : "Roo.Component",
907 "desc" : "Fires after the component is hidden.",
908 "memberOf" : "Roo.Component",
916 "type" : "Roo.Component",
924 "name" : "beforehide",
925 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
926 "memberOf" : "Roo.Component",
934 "type" : "Roo.Component",
943 "desc" : "Fires after the component is shown.",
944 "memberOf" : "Roo.Component",
952 "type" : "Roo.Component",
960 "name" : "beforeshow",
961 "desc" : "Fires before the component is shown. Return false to stop the show.",
962 "memberOf" : "Roo.Component",
970 "type" : "Roo.Component",
979 "desc" : "Fires after the component is enabled.",
980 "memberOf" : "Roo.Component",
988 "type" : "Roo.Component",
996 "name" : "beforedestroy",
997 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
998 "memberOf" : "Roo.Component",
1006 "type" : "Roo.Component",
1008 "isOptional" : false