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'",
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",
232 "desc" : "This is really a wrapper for addxtypeChild\nit handles stuff relating to flexy:foreach / flexy:if\n= some of our projects use a flat rendering of the output, and try and overlay it with dynamic data.\n -- this is a bit of a nightmare... and is even more confusing to debug..",
234 "isConstructor" : false,
236 "memberOf" : "Roo.bootstrap.Component",
247 "name" : "addxtypeChild",
248 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
250 "isConstructor" : false,
252 "memberOf" : "Roo.bootstrap.Component",
263 "name" : "initEvents",
264 "desc" : "Initialize Events for the element",
266 "isConstructor" : false,
268 "memberOf" : "Roo.bootstrap.Component",
279 "name" : "getChildContainer",
280 "desc" : "Fetch the element to add children to",
282 "isConstructor" : false,
284 "memberOf" : "Roo.bootstrap.Component",
294 "type" : "Roo.Element",
295 "desc" : "defaults to this.el"
300 "name" : "addxtypeChildren",
301 "desc" : "add a number of children to this object,\n which in turn calls render...",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
317 "desc" : "Returns the id of this component.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.Component",
338 "desc" : "If this is a lazy rendering component, render it to its container element.",
340 "isConstructor" : false,
342 "memberOf" : "Roo.Component",
349 "name" : "container",
350 "type" : "String/HTMLElement/Element",
351 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
360 "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}.",
362 "isConstructor" : false,
364 "memberOf" : "Roo.Component",
375 "name" : "isVisible",
376 "desc" : "Returns true if this component is visible.",
378 "isConstructor" : false,
380 "memberOf" : "Roo.Component",
391 "name" : "setDisabled",
392 "desc" : "Convenience function for setting disabled/enabled by boolean.",
394 "isConstructor" : false,
396 "memberOf" : "Roo.Component",
414 "desc" : "Try to focus this component.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
425 "name" : "selectText",
427 "desc" : "True to also select the text in this component (if applicable)",
434 "type" : "Roo.Component",
441 "desc" : "Enable this component.",
443 "isConstructor" : false,
445 "memberOf" : "Roo.Component",
455 "type" : "Roo.Component",
461 "name" : "setVisible",
462 "desc" : "Convenience function to hide or show this component by boolean.",
464 "isConstructor" : false,
466 "memberOf" : "Roo.Component",
475 "desc" : "True to show, false to hide",
482 "type" : "Roo.Component",
489 "desc" : "Disable this component.",
491 "isConstructor" : false,
493 "memberOf" : "Roo.Component",
503 "type" : "Roo.Component",
510 "desc" : "Returns the underlying {@link Roo.Element}.",
512 "isConstructor" : false,
514 "memberOf" : "Roo.Component",
524 "type" : "Roo.Element",
525 "desc" : "The element"
530 "name" : "purgeListeners",
531 "desc" : "Removes all listeners for this object",
533 "isConstructor" : false,
535 "memberOf" : "Roo.util.Observable",
547 "desc" : "Appends an event handler to this element (shorthand for addListener)",
549 "isConstructor" : false,
551 "memberOf" : "Roo.util.Observable",
558 "name" : "eventName",
560 "desc" : "The type of event to listen for",
566 "desc" : "The method the event invokes",
572 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
578 "desc" : "(optional)",
587 "desc" : "Removes a listener (shorthand for removeListener)",
589 "isConstructor" : false,
591 "memberOf" : "Roo.util.Observable",
598 "name" : "eventName",
600 "desc" : "The type of event to listen for",
606 "desc" : "The handler to remove",
612 "desc" : "(optional) The scope (this object) for the handler",
620 "name" : "addEvents",
621 "desc" : "Used to define events on this Observable",
623 "isConstructor" : false,
625 "memberOf" : "Roo.util.Observable",
634 "desc" : "The object with the events defined",
642 "name" : "releaseCapture",
643 "desc" : "Removes <b>all</b> added captures from the Observable.",
645 "isConstructor" : false,
647 "memberOf" : "Roo.util.Observable",
655 "type" : "Observable",
656 "desc" : "The Observable to release",
664 "name" : "removeListener",
665 "desc" : "Removes a listener",
667 "isConstructor" : false,
669 "memberOf" : "Roo.util.Observable",
676 "name" : "eventName",
678 "desc" : "The type of event to listen for",
684 "desc" : "The handler to remove",
690 "desc" : "(optional) The scope (this object) for the handler",
698 "name" : "fireEvent",
699 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
701 "isConstructor" : false,
703 "memberOf" : "Roo.util.Observable",
710 "name" : "eventName",
717 "type" : "Object...",
718 "desc" : "Variable number of parameters are passed to handlers",
726 "desc" : "returns false if any of the handlers return false otherwise it returns true"
731 "name" : "hasListener",
732 "desc" : "Checks to see if this object has any listeners for a specified event",
734 "isConstructor" : false,
736 "memberOf" : "Roo.util.Observable",
743 "name" : "eventName",
745 "desc" : "The name of the event to check for",
753 "desc" : "True if the event is being listened for, else false"
759 "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.",
761 "isConstructor" : false,
763 "memberOf" : "Roo.util.Observable",
771 "type" : "Observable",
772 "desc" : "The Observable to capture",
778 "desc" : "The function to call",
784 "desc" : "(optional) The scope (this object) for the fn",
792 "name" : "addListener",
793 "desc" : "Appends an event handler to this component",
795 "isConstructor" : false,
797 "memberOf" : "Roo.util.Observable",
804 "name" : "eventName",
806 "desc" : "The type of event to listen for",
812 "desc" : "The method the event invokes",
818 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
824 "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>",
834 "name" : "childrenrendered",
835 "desc" : "Fires when the children have been rendered..",
836 "memberOf" : "Roo.bootstrap.Component",
844 "type" : "Roo.bootstrap.Component",
853 "name" : "beforerender",
854 "desc" : "Fires before the component is rendered. Return false to stop the render.",
855 "memberOf" : "Roo.Component",
863 "type" : "Roo.Component",
873 "desc" : "Fires after the component is disabled.",
874 "memberOf" : "Roo.Component",
882 "type" : "Roo.Component",
892 "desc" : "Fires after the component is rendered.",
893 "memberOf" : "Roo.Component",
901 "type" : "Roo.Component",
911 "desc" : "Fires after the component is destroyed.",
912 "memberOf" : "Roo.Component",
920 "type" : "Roo.Component",
930 "desc" : "Fires after the component is hidden.",
931 "memberOf" : "Roo.Component",
939 "type" : "Roo.Component",
948 "name" : "beforehide",
949 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
950 "memberOf" : "Roo.Component",
958 "type" : "Roo.Component",
968 "desc" : "Fires after the component is shown.",
969 "memberOf" : "Roo.Component",
977 "type" : "Roo.Component",
986 "name" : "beforeshow",
987 "desc" : "Fires before the component is shown. Return false to stop the show.",
988 "memberOf" : "Roo.Component",
996 "type" : "Roo.Component",
1006 "desc" : "Fires after the component is enabled.",
1007 "memberOf" : "Roo.Component",
1015 "type" : "Roo.Component",
1017 "isOptional" : false
1024 "name" : "beforedestroy",
1025 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1026 "memberOf" : "Roo.Component",
1034 "type" : "Roo.Component",
1036 "isOptional" : false