2 "name" : "Roo.bootstrap.Component",
7 "desc" : "Bootstrap Component base class",
11 "memberOf" : "Component",
20 "desc" : "The config object",
29 "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>",
30 "memberOf" : "Roo.util.Observable",
36 "desc" : "Text for the tooltip",
37 "memberOf" : "Roo.bootstrap.Component",
41 "name" : "container_method",
43 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
44 "memberOf" : "Roo.bootstrap.Component",
48 "name" : "visibilityEl",
49 "type" : "string|object",
50 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
51 "memberOf" : "Roo.bootstrap.Component",
58 "name" : "can_build_overlaid",
60 "desc" : "True if element can be rebuild from a HTML page",
61 "memberOf" : "Roo.bootstrap.Component",
67 "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\".",
68 "memberOf" : "Roo.Component",
77 "desc" : "any extra css",
78 "memberOf" : "Roo.bootstrap.Component",
82 "name" : "allowDomMove",
84 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
85 "memberOf" : "Roo.Component",
92 "memberOf" : "Roo.bootstrap.Component",
98 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
99 "memberOf" : "Roo.bootstrap.Component",
103 "name" : "actionMode",
105 "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",
106 "memberOf" : "Roo.Component",
112 "desc" : "cutomer id",
113 "memberOf" : "Roo.bootstrap.Component",
119 "desc" : "Specifies name attribute",
120 "memberOf" : "Roo.bootstrap.Component",
124 "name" : "disableClass",
126 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
127 "memberOf" : "Roo.Component",
133 "name" : "tooltipEl",
134 "desc" : "Fetch the element to display the tooltip on.",
136 "isConstructor" : false,
138 "memberOf" : "Roo.bootstrap.Component",
147 "type" : "Roo.Element",
148 "desc" : "defaults to this.el"
154 "desc" : "Hide a component - adds 'hidden' class",
156 "isConstructor" : false,
158 "memberOf" : "Roo.bootstrap.Component",
168 "desc" : "Show a component - removes 'hidden' class",
170 "isConstructor" : false,
172 "memberOf" : "Roo.bootstrap.Component",
181 "name" : "setVisibilityEl",
182 "desc" : "Set the element that will be used to show or hide",
184 "isConstructor" : false,
186 "memberOf" : "Roo.bootstrap.Component",
195 "name" : "getVisibilityEl",
196 "desc" : "Get the element that will be used to show or hide",
198 "isConstructor" : false,
200 "memberOf" : "Roo.bootstrap.Component",
209 "name" : "initEvents",
210 "desc" : "Initialize Events for the element",
212 "isConstructor" : false,
214 "memberOf" : "Roo.bootstrap.Component",
223 "name" : "getChildContainer",
224 "desc" : "Fetch the element to add children to",
226 "isConstructor" : false,
228 "memberOf" : "Roo.bootstrap.Component",
237 "type" : "Roo.Element",
238 "desc" : "defaults to this.el"
244 "desc" : "Returns the id of this component.",
246 "isConstructor" : false,
248 "memberOf" : "Roo.Component",
264 "desc" : "If this is a lazy rendering component, render it to its container element.",
266 "isConstructor" : false,
268 "memberOf" : "Roo.Component",
275 "name" : "container",
276 "type" : "String/HTMLElement/Element",
277 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
285 "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}.",
287 "isConstructor" : false,
289 "memberOf" : "Roo.Component",
298 "name" : "isVisible",
299 "desc" : "Returns true if this component is visible.",
301 "isConstructor" : false,
303 "memberOf" : "Roo.Component",
312 "name" : "setDisabled",
313 "desc" : "Convenience function for setting disabled/enabled by boolean.",
315 "isConstructor" : false,
317 "memberOf" : "Roo.Component",
334 "desc" : "Try to focus this component.",
336 "isConstructor" : false,
338 "memberOf" : "Roo.Component",
345 "name" : "selectText",
347 "desc" : "True to also select the text in this component (if applicable)",
354 "type" : "Roo.Component",
361 "desc" : "Enable this component.",
363 "isConstructor" : false,
365 "memberOf" : "Roo.Component",
374 "type" : "Roo.Component",
380 "name" : "setVisible",
381 "desc" : "Convenience function to hide or show this component by boolean.",
383 "isConstructor" : false,
385 "memberOf" : "Roo.Component",
394 "desc" : "True to show, false to hide",
401 "type" : "Roo.Component",
408 "desc" : "Disable this component.",
410 "isConstructor" : false,
412 "memberOf" : "Roo.Component",
421 "type" : "Roo.Component",
428 "desc" : "Returns the underlying {@link Roo.Element}.",
430 "isConstructor" : false,
432 "memberOf" : "Roo.Component",
441 "type" : "Roo.Element",
442 "desc" : "The element"
447 "name" : "purgeListeners",
448 "desc" : "Removes all listeners for this object",
450 "isConstructor" : false,
452 "memberOf" : "Roo.util.Observable",
462 "desc" : "Appends an event handler to this element (shorthand for addListener)",
464 "isConstructor" : false,
466 "memberOf" : "Roo.util.Observable",
473 "name" : "eventName",
475 "desc" : "The type of event to listen for",
481 "desc" : "The method the event invokes",
487 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
493 "desc" : "(optional)",
501 "desc" : "Removes a listener (shorthand for removeListener)",
503 "isConstructor" : false,
505 "memberOf" : "Roo.util.Observable",
512 "name" : "eventName",
514 "desc" : "The type of event to listen for",
520 "desc" : "The handler to remove",
526 "desc" : "(optional) The scope (this object) for the handler",
533 "name" : "addEvents",
534 "desc" : "Used to define events on this Observable",
536 "isConstructor" : false,
538 "memberOf" : "Roo.util.Observable",
547 "desc" : "The object with the events defined",
554 "name" : "releaseCapture",
555 "desc" : "Removes <b>all</b> added captures from the Observable.",
557 "isConstructor" : false,
559 "memberOf" : "Roo.util.Observable",
567 "type" : "Observable",
568 "desc" : "The Observable to release",
575 "name" : "removeListener",
576 "desc" : "Removes a listener",
578 "isConstructor" : false,
580 "memberOf" : "Roo.util.Observable",
587 "name" : "eventName",
589 "desc" : "The type of event to listen for",
595 "desc" : "The handler to remove",
601 "desc" : "(optional) The scope (this object) for the handler",
608 "name" : "fireEvent",
609 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
611 "isConstructor" : false,
613 "memberOf" : "Roo.util.Observable",
620 "name" : "eventName",
627 "type" : "Object...",
628 "desc" : "Variable number of parameters are passed to handlers",
636 "desc" : "returns false if any of the handlers return false otherwise it returns true"
641 "name" : "hasListener",
642 "desc" : "Checks to see if this object has any listeners for a specified event",
644 "isConstructor" : false,
646 "memberOf" : "Roo.util.Observable",
653 "name" : "eventName",
655 "desc" : "The name of the event to check for",
663 "desc" : "True if the event is being listened for, else false"
669 "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.",
671 "isConstructor" : false,
673 "memberOf" : "Roo.util.Observable",
681 "type" : "Observable",
682 "desc" : "The Observable to capture",
688 "desc" : "The function to call",
694 "desc" : "(optional) The scope (this object) for the fn",
701 "name" : "addListener",
702 "desc" : "Appends an event handler to this component",
704 "isConstructor" : false,
706 "memberOf" : "Roo.util.Observable",
713 "name" : "eventName",
715 "desc" : "The type of event to listen for",
721 "desc" : "The method the event invokes",
727 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
733 "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>",
742 "name" : "childrenrendered",
743 "desc" : "Fires when the children have been rendered..",
744 "memberOf" : "Roo.bootstrap.Component",
752 "type" : "Roo.bootstrap.Component",
760 "name" : "beforerender",
761 "desc" : "Fires before the component is rendered. Return false to stop the render.",
762 "memberOf" : "Roo.Component",
770 "type" : "Roo.Component",
779 "desc" : "Fires after the component is disabled.",
780 "memberOf" : "Roo.Component",
788 "type" : "Roo.Component",
797 "desc" : "Fires after the component is rendered.",
798 "memberOf" : "Roo.Component",
806 "type" : "Roo.Component",
815 "desc" : "Fires after the component is destroyed.",
816 "memberOf" : "Roo.Component",
824 "type" : "Roo.Component",
833 "desc" : "Fires after the component is hidden.",
834 "memberOf" : "Roo.Component",
842 "type" : "Roo.Component",
850 "name" : "beforehide",
851 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
852 "memberOf" : "Roo.Component",
860 "type" : "Roo.Component",
869 "desc" : "Fires after the component is shown.",
870 "memberOf" : "Roo.Component",
878 "type" : "Roo.Component",
886 "name" : "beforeshow",
887 "desc" : "Fires before the component is shown. Return false to stop the show.",
888 "memberOf" : "Roo.Component",
896 "type" : "Roo.Component",
905 "desc" : "Fires after the component is enabled.",
906 "memberOf" : "Roo.Component",
914 "type" : "Roo.Component",
922 "name" : "beforedestroy",
923 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
924 "memberOf" : "Roo.Component",
932 "type" : "Roo.Component",