2 "name" : "Roo.bootstrap.Body",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Body class",
21 "desc" : "The config object",
30 "type" : "DomElement",
31 "desc" : "- if this is set, then the constructor will try and initialize render, using this as the start point",
32 "memberOf" : "Roo.bootstrap.Body",
39 "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>",
40 "memberOf" : "Roo.util.Observable",
47 "desc" : "Text for the tooltip",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "container_method",
55 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
56 "memberOf" : "Roo.bootstrap.Component",
61 "name" : "visibilityEl",
62 "type" : "string|object",
63 "desc" : "What element to use for visibility (@see getVisibilityEl())",
64 "memberOf" : "Roo.bootstrap.Component",
71 "name" : "can_build_overlaid",
73 "desc" : "True if element can be rebuild from a HTML page",
74 "memberOf" : "Roo.bootstrap.Component",
81 "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\".",
82 "memberOf" : "Roo.Component",
91 "desc" : "any extra css",
92 "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",
107 "desc" : "css class",
108 "memberOf" : "Roo.bootstrap.Component",
115 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
116 "memberOf" : "Roo.bootstrap.Component",
121 "name" : "actionMode",
123 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
124 "memberOf" : "Roo.Component",
131 "desc" : "cutomer id",
132 "memberOf" : "Roo.bootstrap.Component",
139 "desc" : "Specifies name attribute",
140 "memberOf" : "Roo.bootstrap.Component",
145 "name" : "disableClass",
147 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
148 "memberOf" : "Roo.Component",
155 "name" : "tooltipEl",
156 "desc" : "Fetch the element to display the tooltip on.",
158 "isConstructor" : false,
160 "memberOf" : "Roo.bootstrap.Component",
170 "type" : "Roo.Element",
171 "desc" : "defaults to this.el"
177 "desc" : "Hide a component - adds 'hidden' class",
179 "isConstructor" : false,
181 "memberOf" : "Roo.bootstrap.Component",
193 "desc" : "Show a component - removes 'hidden' class",
195 "isConstructor" : false,
197 "memberOf" : "Roo.bootstrap.Component",
208 "name" : "xAddChildren",
209 "desc" : "xAddChildren - the 'sub-compentized' version of the above idea..",
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",
257 "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..",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.Component",
273 "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.",
275 "isConstructor" : false,
277 "memberOf" : "Roo.bootstrap.Component",
288 "name" : "addxtypeChild",
289 "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.",
291 "isConstructor" : false,
293 "memberOf" : "Roo.bootstrap.Component",
304 "name" : "initEvents",
305 "desc" : "Initialize Events for the element",
307 "isConstructor" : false,
309 "memberOf" : "Roo.bootstrap.Component",
320 "name" : "getChildContainer",
321 "desc" : "Fetch the element to add children to",
323 "isConstructor" : false,
325 "memberOf" : "Roo.bootstrap.Component",
335 "type" : "Roo.Element",
336 "desc" : "defaults to this.el"
341 "name" : "addxtypeChildren",
342 "desc" : "add a number of children to this object,\n which in turn calls render...",
344 "isConstructor" : false,
346 "memberOf" : "Roo.bootstrap.Component",
358 "desc" : "Returns the id of this component.",
360 "isConstructor" : false,
362 "memberOf" : "Roo.Component",
379 "desc" : "If this is a lazy rendering component, render it to its container element.",
381 "isConstructor" : false,
383 "memberOf" : "Roo.Component",
390 "name" : "container",
391 "type" : "String/HTMLElement/Element",
392 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
401 "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}.",
403 "isConstructor" : false,
405 "memberOf" : "Roo.Component",
416 "name" : "isVisible",
417 "desc" : "Returns true if this component is visible.",
419 "isConstructor" : false,
421 "memberOf" : "Roo.Component",
432 "name" : "setDisabled",
433 "desc" : "Convenience function for setting disabled/enabled by boolean.",
435 "isConstructor" : false,
437 "memberOf" : "Roo.Component",
455 "desc" : "Try to focus this component.",
457 "isConstructor" : false,
459 "memberOf" : "Roo.Component",
466 "name" : "selectText",
468 "desc" : "True to also select the text in this component (if applicable)",
475 "type" : "Roo.Component",
482 "desc" : "Enable this component.",
484 "isConstructor" : false,
486 "memberOf" : "Roo.Component",
496 "type" : "Roo.Component",
502 "name" : "setVisible",
503 "desc" : "Convenience function to hide or show this component by boolean.",
505 "isConstructor" : false,
507 "memberOf" : "Roo.Component",
516 "desc" : "True to show, false to hide",
523 "type" : "Roo.Component",
530 "desc" : "Disable this component.",
532 "isConstructor" : false,
534 "memberOf" : "Roo.Component",
544 "type" : "Roo.Component",
551 "desc" : "Returns the underlying {@link Roo.Element}.",
553 "isConstructor" : false,
555 "memberOf" : "Roo.Component",
565 "type" : "Roo.Element",
566 "desc" : "The element"
571 "name" : "purgeListeners",
572 "desc" : "Removes all listeners for this object",
574 "isConstructor" : false,
576 "memberOf" : "Roo.util.Observable",
588 "desc" : "Appends an event handler to this element (shorthand for addListener)",
590 "isConstructor" : false,
592 "memberOf" : "Roo.util.Observable",
599 "name" : "eventName",
601 "desc" : "The type of event to listen for",
607 "desc" : "The method the event invokes",
613 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
619 "desc" : "(optional)",
628 "desc" : "Removes a listener (shorthand for removeListener)",
630 "isConstructor" : false,
632 "memberOf" : "Roo.util.Observable",
639 "name" : "eventName",
641 "desc" : "The type of event to listen for",
647 "desc" : "The handler to remove",
653 "desc" : "(optional) The scope (this object) for the handler",
661 "name" : "addEvents",
662 "desc" : "Used to define events on this Observable",
664 "isConstructor" : false,
666 "memberOf" : "Roo.util.Observable",
675 "desc" : "The object with the events defined",
683 "name" : "releaseCapture",
684 "desc" : "Removes <b>all</b> added captures from the Observable.",
686 "isConstructor" : false,
688 "memberOf" : "Roo.util.Observable",
696 "type" : "Observable",
697 "desc" : "The Observable to release",
705 "name" : "removeListener",
706 "desc" : "Removes a listener",
708 "isConstructor" : false,
710 "memberOf" : "Roo.util.Observable",
717 "name" : "eventName",
719 "desc" : "The type of event to listen for",
725 "desc" : "The handler to remove",
731 "desc" : "(optional) The scope (this object) for the handler",
739 "name" : "fireEvent",
740 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
742 "isConstructor" : false,
744 "memberOf" : "Roo.util.Observable",
751 "name" : "eventName",
758 "type" : "Object...",
759 "desc" : "Variable number of parameters are passed to handlers",
767 "desc" : "returns false if any of the handlers return false otherwise it returns true"
772 "name" : "hasListener",
773 "desc" : "Checks to see if this object has any listeners for a specified event",
775 "isConstructor" : false,
777 "memberOf" : "Roo.util.Observable",
784 "name" : "eventName",
786 "desc" : "The name of the event to check for",
794 "desc" : "True if the event is being listened for, else false"
800 "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.",
802 "isConstructor" : false,
804 "memberOf" : "Roo.util.Observable",
812 "type" : "Observable",
813 "desc" : "The Observable to capture",
819 "desc" : "The function to call",
825 "desc" : "(optional) The scope (this object) for the fn",
833 "name" : "addListener",
834 "desc" : "Appends an event handler to this component",
836 "isConstructor" : false,
838 "memberOf" : "Roo.util.Observable",
845 "name" : "eventName",
847 "desc" : "The type of event to listen for",
853 "desc" : "The method the event invokes",
859 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
865 "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>",
875 "name" : "childrenrendered",
876 "desc" : "Fires when the children have been rendered..",
877 "memberOf" : "Roo.bootstrap.Component",
885 "type" : "Roo.bootstrap.Component",
894 "name" : "beforerender",
895 "desc" : "Fires before the component is rendered. Return false to stop the render.",
896 "memberOf" : "Roo.Component",
904 "type" : "Roo.Component",
914 "desc" : "Fires after the component is disabled.",
915 "memberOf" : "Roo.Component",
923 "type" : "Roo.Component",
933 "desc" : "Fires after the component is rendered.",
934 "memberOf" : "Roo.Component",
942 "type" : "Roo.Component",
952 "desc" : "Fires after the component is destroyed.",
953 "memberOf" : "Roo.Component",
961 "type" : "Roo.Component",
971 "desc" : "Fires after the component is hidden.",
972 "memberOf" : "Roo.Component",
980 "type" : "Roo.Component",
989 "name" : "beforehide",
990 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
991 "memberOf" : "Roo.Component",
999 "type" : "Roo.Component",
1001 "isOptional" : false
1009 "desc" : "Fires after the component is shown.",
1010 "memberOf" : "Roo.Component",
1018 "type" : "Roo.Component",
1020 "isOptional" : false
1027 "name" : "beforeshow",
1028 "desc" : "Fires before the component is shown. Return false to stop the show.",
1029 "memberOf" : "Roo.Component",
1037 "type" : "Roo.Component",
1039 "isOptional" : false
1047 "desc" : "Fires after the component is enabled.",
1048 "memberOf" : "Roo.Component",
1056 "type" : "Roo.Component",
1058 "isOptional" : false
1065 "name" : "beforedestroy",
1066 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1067 "memberOf" : "Roo.Component",
1075 "type" : "Roo.Component",
1077 "isOptional" : false