2 "name" : "Roo.bootstrap.Component",
7 "desc" : "Bootstrap Component base class",
11 "memberOf" : "Component",
20 "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",
38 "desc" : "Text for the tooltip",
39 "memberOf" : "Roo.bootstrap.Component",
44 "name" : "container_method",
46 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
47 "memberOf" : "Roo.bootstrap.Component",
52 "name" : "visibilityEl",
53 "type" : "string|object",
54 "desc" : "What element to use for visibility (@see getVisibilityEl())",
55 "memberOf" : "Roo.bootstrap.Component",
62 "name" : "can_build_overlaid",
64 "desc" : "True if element can be rebuild from a HTML page",
65 "memberOf" : "Roo.bootstrap.Component",
72 "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\".",
73 "memberOf" : "Roo.Component",
82 "desc" : "any extra css",
83 "memberOf" : "Roo.bootstrap.Component",
88 "name" : "allowDomMove",
90 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
91 "memberOf" : "Roo.Component",
99 "memberOf" : "Roo.bootstrap.Component",
106 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
107 "memberOf" : "Roo.bootstrap.Component",
112 "name" : "actionMode",
114 "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",
115 "memberOf" : "Roo.Component",
122 "desc" : "cutomer id",
123 "memberOf" : "Roo.bootstrap.Component",
130 "desc" : "Specifies name attribute",
131 "memberOf" : "Roo.bootstrap.Component",
136 "name" : "disableClass",
138 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
139 "memberOf" : "Roo.Component",
146 "name" : "tooltipEl",
147 "desc" : "Fetch the element to display the tooltip on.",
149 "isConstructor" : false,
151 "memberOf" : "Roo.bootstrap.Component",
161 "type" : "Roo.Element",
162 "desc" : "defaults to this.el"
168 "desc" : "Hide a component - adds 'hidden' class",
170 "isConstructor" : false,
172 "memberOf" : "Roo.bootstrap.Component",
184 "desc" : "Show a component - removes 'hidden' class",
186 "isConstructor" : false,
188 "memberOf" : "Roo.bootstrap.Component",
199 "name" : "setVisibilityEl",
200 "desc" : "Set the element that will be used to show or hide",
202 "isConstructor" : false,
204 "memberOf" : "Roo.bootstrap.Component",
215 "name" : "getVisibilityEl",
216 "desc" : "Get the element that will be used to show or hide",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.Component",
231 "name" : "initEvents",
232 "desc" : "Initialize Events for the element",
234 "isConstructor" : false,
236 "memberOf" : "Roo.bootstrap.Component",
247 "name" : "getChildContainer",
248 "desc" : "Fetch the element to add children to",
250 "isConstructor" : false,
252 "memberOf" : "Roo.bootstrap.Component",
262 "type" : "Roo.Element",
263 "desc" : "defaults to this.el"
269 "desc" : "Returns the id of this component.",
271 "isConstructor" : false,
273 "memberOf" : "Roo.Component",
290 "desc" : "If this is a lazy rendering component, render it to its container element.",
292 "isConstructor" : false,
294 "memberOf" : "Roo.Component",
301 "name" : "container",
302 "type" : "String/HTMLElement/Element",
303 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
312 "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}.",
314 "isConstructor" : false,
316 "memberOf" : "Roo.Component",
327 "name" : "isVisible",
328 "desc" : "Returns true if this component is visible.",
330 "isConstructor" : false,
332 "memberOf" : "Roo.Component",
343 "name" : "setDisabled",
344 "desc" : "Convenience function for setting disabled/enabled by boolean.",
346 "isConstructor" : false,
348 "memberOf" : "Roo.Component",
366 "desc" : "Try to focus this component.",
368 "isConstructor" : false,
370 "memberOf" : "Roo.Component",
377 "name" : "selectText",
379 "desc" : "True to also select the text in this component (if applicable)",
386 "type" : "Roo.Component",
393 "desc" : "Enable this component.",
395 "isConstructor" : false,
397 "memberOf" : "Roo.Component",
407 "type" : "Roo.Component",
413 "name" : "setVisible",
414 "desc" : "Convenience function to hide or show this component by boolean.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
427 "desc" : "True to show, false to hide",
434 "type" : "Roo.Component",
441 "desc" : "Disable this component.",
443 "isConstructor" : false,
445 "memberOf" : "Roo.Component",
455 "type" : "Roo.Component",
462 "desc" : "Returns the underlying {@link Roo.Element}.",
464 "isConstructor" : false,
466 "memberOf" : "Roo.Component",
476 "type" : "Roo.Element",
477 "desc" : "The element"
482 "name" : "purgeListeners",
483 "desc" : "Removes all listeners for this object",
485 "isConstructor" : false,
487 "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)",
539 "desc" : "Removes a listener (shorthand for removeListener)",
541 "isConstructor" : false,
543 "memberOf" : "Roo.util.Observable",
550 "name" : "eventName",
552 "desc" : "The type of event to listen for",
558 "desc" : "The handler to remove",
564 "desc" : "(optional) The scope (this object) for the handler",
572 "name" : "addEvents",
573 "desc" : "Used to define events on this Observable",
575 "isConstructor" : false,
577 "memberOf" : "Roo.util.Observable",
586 "desc" : "The object with the events defined",
594 "name" : "releaseCapture",
595 "desc" : "Removes <b>all</b> added captures from the Observable.",
597 "isConstructor" : false,
599 "memberOf" : "Roo.util.Observable",
607 "type" : "Observable",
608 "desc" : "The Observable to release",
616 "name" : "removeListener",
617 "desc" : "Removes a listener",
619 "isConstructor" : false,
621 "memberOf" : "Roo.util.Observable",
628 "name" : "eventName",
630 "desc" : "The type of event to listen for",
636 "desc" : "The handler to remove",
642 "desc" : "(optional) The scope (this object) for the handler",
650 "name" : "fireEvent",
651 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
653 "isConstructor" : false,
655 "memberOf" : "Roo.util.Observable",
662 "name" : "eventName",
669 "type" : "Object...",
670 "desc" : "Variable number of parameters are passed to handlers",
678 "desc" : "returns false if any of the handlers return false otherwise it returns true"
683 "name" : "hasListener",
684 "desc" : "Checks to see if this object has any listeners for a specified event",
686 "isConstructor" : false,
688 "memberOf" : "Roo.util.Observable",
695 "name" : "eventName",
697 "desc" : "The name of the event to check for",
705 "desc" : "True if the event is being listened for, else false"
711 "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.",
713 "isConstructor" : false,
715 "memberOf" : "Roo.util.Observable",
723 "type" : "Observable",
724 "desc" : "The Observable to capture",
730 "desc" : "The function to call",
736 "desc" : "(optional) The scope (this object) for the fn",
744 "name" : "addListener",
745 "desc" : "Appends an event handler to this component",
747 "isConstructor" : false,
749 "memberOf" : "Roo.util.Observable",
756 "name" : "eventName",
758 "desc" : "The type of event to listen for",
764 "desc" : "The method the event invokes",
770 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
776 "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>",
786 "name" : "childrenrendered",
787 "desc" : "Fires when the children have been rendered..",
788 "memberOf" : "Roo.bootstrap.Component",
796 "type" : "Roo.bootstrap.Component",
805 "name" : "beforerender",
806 "desc" : "Fires before the component is rendered. Return false to stop the render.",
807 "memberOf" : "Roo.Component",
815 "type" : "Roo.Component",
825 "desc" : "Fires after the component is disabled.",
826 "memberOf" : "Roo.Component",
834 "type" : "Roo.Component",
844 "desc" : "Fires after the component is rendered.",
845 "memberOf" : "Roo.Component",
853 "type" : "Roo.Component",
863 "desc" : "Fires after the component is destroyed.",
864 "memberOf" : "Roo.Component",
872 "type" : "Roo.Component",
882 "desc" : "Fires after the component is hidden.",
883 "memberOf" : "Roo.Component",
891 "type" : "Roo.Component",
900 "name" : "beforehide",
901 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
902 "memberOf" : "Roo.Component",
910 "type" : "Roo.Component",
920 "desc" : "Fires after the component is shown.",
921 "memberOf" : "Roo.Component",
929 "type" : "Roo.Component",
938 "name" : "beforeshow",
939 "desc" : "Fires before the component is shown. Return false to stop the show.",
940 "memberOf" : "Roo.Component",
948 "type" : "Roo.Component",
958 "desc" : "Fires after the component is enabled.",
959 "memberOf" : "Roo.Component",
967 "type" : "Roo.Component",
976 "name" : "beforedestroy",
977 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
978 "memberOf" : "Roo.Component",
986 "type" : "Roo.Component",