2 "name" : "Roo.bootstrap.Element",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Element class",
12 "memberOf" : "Element",
21 "desc" : "The config object",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "can_build_overlaid",
65 "desc" : "True if element can be rebuild from a HTML page",
66 "memberOf" : "Roo.bootstrap.Component",
73 "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\".",
74 "memberOf" : "Roo.Component",
83 "desc" : "tag of the element",
84 "memberOf" : "Roo.bootstrap.Element",
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" : "class of the element",
108 "memberOf" : "Roo.bootstrap.Element",
115 "desc" : "contents of the element",
116 "memberOf" : "Roo.bootstrap.Element",
121 "name" : "preventDefault",
123 "desc" : "default false",
124 "memberOf" : "Roo.bootstrap.Element",
131 "name" : "clickable",
133 "desc" : "default false",
134 "memberOf" : "Roo.bootstrap.Element",
143 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
144 "memberOf" : "Roo.bootstrap.Component",
149 "name" : "actionMode",
151 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
152 "memberOf" : "Roo.Component",
159 "desc" : "cutomer id",
160 "memberOf" : "Roo.bootstrap.Component",
167 "desc" : "Specifies name attribute",
168 "memberOf" : "Roo.bootstrap.Component",
173 "name" : "disableClass",
175 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
176 "memberOf" : "Roo.Component",
183 "name" : "tooltipEl",
184 "desc" : "Fetch the element to display the tooltip on.",
186 "isConstructor" : false,
188 "memberOf" : "Roo.bootstrap.Component",
198 "type" : "Roo.Element",
199 "desc" : "defaults to this.el"
205 "desc" : "Hide a component - adds 'hidden' class",
207 "isConstructor" : false,
209 "memberOf" : "Roo.bootstrap.Component",
221 "desc" : "Show a component - removes 'hidden' class",
223 "isConstructor" : false,
225 "memberOf" : "Roo.bootstrap.Component",
236 "name" : "setVisibilityEl",
237 "desc" : "Set the element that will be used to show or hide",
239 "isConstructor" : false,
241 "memberOf" : "Roo.bootstrap.Component",
252 "name" : "getVisibilityEl",
253 "desc" : "Get the element that will be used to show or hide",
255 "isConstructor" : false,
257 "memberOf" : "Roo.bootstrap.Component",
269 "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..",
271 "isConstructor" : false,
273 "memberOf" : "Roo.bootstrap.Component",
284 "name" : "addxtypeChild",
285 "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.",
287 "isConstructor" : false,
289 "memberOf" : "Roo.bootstrap.Component",
300 "name" : "initEvents",
301 "desc" : "Initialize Events for the element",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
316 "name" : "getChildContainer",
317 "desc" : "Fetch the element to add children to",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Component",
331 "type" : "Roo.Element",
332 "desc" : "defaults to this.el"
337 "name" : "addxtypeChildren",
338 "desc" : "add a number of children to this object,\n which in turn calls render...",
340 "isConstructor" : false,
342 "memberOf" : "Roo.bootstrap.Component",
354 "desc" : "Returns the id of this component.",
356 "isConstructor" : false,
358 "memberOf" : "Roo.Component",
375 "desc" : "If this is a lazy rendering component, render it to its container element.",
377 "isConstructor" : false,
379 "memberOf" : "Roo.Component",
386 "name" : "container",
387 "type" : "String/HTMLElement/Element",
388 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
397 "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}.",
399 "isConstructor" : false,
401 "memberOf" : "Roo.Component",
412 "name" : "isVisible",
413 "desc" : "Returns true if this component is visible.",
415 "isConstructor" : false,
417 "memberOf" : "Roo.Component",
428 "name" : "setDisabled",
429 "desc" : "Convenience function for setting disabled/enabled by boolean.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
451 "desc" : "Try to focus this component.",
453 "isConstructor" : false,
455 "memberOf" : "Roo.Component",
462 "name" : "selectText",
464 "desc" : "True to also select the text in this component (if applicable)",
471 "type" : "Roo.Component",
478 "desc" : "Enable this component.",
480 "isConstructor" : false,
482 "memberOf" : "Roo.Component",
492 "type" : "Roo.Component",
498 "name" : "setVisible",
499 "desc" : "Convenience function to hide or show this component by boolean.",
501 "isConstructor" : false,
503 "memberOf" : "Roo.Component",
512 "desc" : "True to show, false to hide",
519 "type" : "Roo.Component",
526 "desc" : "Disable this component.",
528 "isConstructor" : false,
530 "memberOf" : "Roo.Component",
540 "type" : "Roo.Component",
547 "desc" : "Returns the underlying {@link Roo.Element}.",
549 "isConstructor" : false,
551 "memberOf" : "Roo.Component",
561 "type" : "Roo.Element",
562 "desc" : "The element"
567 "name" : "purgeListeners",
568 "desc" : "Removes all listeners for this object",
570 "isConstructor" : false,
572 "memberOf" : "Roo.util.Observable",
584 "desc" : "Appends an event handler to this element (shorthand for addListener)",
586 "isConstructor" : false,
588 "memberOf" : "Roo.util.Observable",
595 "name" : "eventName",
597 "desc" : "The type of event to listen for",
603 "desc" : "The method the event invokes",
609 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
615 "desc" : "(optional)",
624 "desc" : "Removes a listener (shorthand for removeListener)",
626 "isConstructor" : false,
628 "memberOf" : "Roo.util.Observable",
635 "name" : "eventName",
637 "desc" : "The type of event to listen for",
643 "desc" : "The handler to remove",
649 "desc" : "(optional) The scope (this object) for the handler",
657 "name" : "addEvents",
658 "desc" : "Used to define events on this Observable",
660 "isConstructor" : false,
662 "memberOf" : "Roo.util.Observable",
671 "desc" : "The object with the events defined",
679 "name" : "releaseCapture",
680 "desc" : "Removes <b>all</b> added captures from the Observable.",
682 "isConstructor" : false,
684 "memberOf" : "Roo.util.Observable",
692 "type" : "Observable",
693 "desc" : "The Observable to release",
701 "name" : "removeListener",
702 "desc" : "Removes a listener",
704 "isConstructor" : false,
706 "memberOf" : "Roo.util.Observable",
713 "name" : "eventName",
715 "desc" : "The type of event to listen for",
721 "desc" : "The handler to remove",
727 "desc" : "(optional) The scope (this object) for the handler",
735 "name" : "fireEvent",
736 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
738 "isConstructor" : false,
740 "memberOf" : "Roo.util.Observable",
747 "name" : "eventName",
754 "type" : "Object...",
755 "desc" : "Variable number of parameters are passed to handlers",
763 "desc" : "returns false if any of the handlers return false otherwise it returns true"
768 "name" : "hasListener",
769 "desc" : "Checks to see if this object has any listeners for a specified event",
771 "isConstructor" : false,
773 "memberOf" : "Roo.util.Observable",
780 "name" : "eventName",
782 "desc" : "The name of the event to check for",
790 "desc" : "True if the event is being listened for, else false"
796 "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.",
798 "isConstructor" : false,
800 "memberOf" : "Roo.util.Observable",
808 "type" : "Observable",
809 "desc" : "The Observable to capture",
815 "desc" : "The function to call",
821 "desc" : "(optional) The scope (this object) for the fn",
829 "name" : "addListener",
830 "desc" : "Appends an event handler to this component",
832 "isConstructor" : false,
834 "memberOf" : "Roo.util.Observable",
841 "name" : "eventName",
843 "desc" : "The type of event to listen for",
849 "desc" : "The method the event invokes",
855 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
861 "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>",
872 "desc" : "When a element is chick",
873 "memberOf" : "Roo.bootstrap.Element",
881 "type" : "Roo.bootstrap.Element",
887 "type" : "Roo.EventObject",
896 "name" : "childrenrendered",
897 "desc" : "Fires when the children have been rendered..",
898 "memberOf" : "Roo.bootstrap.Component",
906 "type" : "Roo.bootstrap.Component",
915 "name" : "beforerender",
916 "desc" : "Fires before the component is rendered. Return false to stop the render.",
917 "memberOf" : "Roo.Component",
925 "type" : "Roo.Component",
935 "desc" : "Fires after the component is disabled.",
936 "memberOf" : "Roo.Component",
944 "type" : "Roo.Component",
954 "desc" : "Fires after the component is rendered.",
955 "memberOf" : "Roo.Component",
963 "type" : "Roo.Component",
973 "desc" : "Fires after the component is destroyed.",
974 "memberOf" : "Roo.Component",
982 "type" : "Roo.Component",
992 "desc" : "Fires after the component is hidden.",
993 "memberOf" : "Roo.Component",
1001 "type" : "Roo.Component",
1003 "isOptional" : false
1010 "name" : "beforehide",
1011 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1012 "memberOf" : "Roo.Component",
1020 "type" : "Roo.Component",
1022 "isOptional" : false
1030 "desc" : "Fires after the component is shown.",
1031 "memberOf" : "Roo.Component",
1039 "type" : "Roo.Component",
1041 "isOptional" : false
1048 "name" : "beforeshow",
1049 "desc" : "Fires before the component is shown. Return false to stop the show.",
1050 "memberOf" : "Roo.Component",
1058 "type" : "Roo.Component",
1060 "isOptional" : false
1068 "desc" : "Fires after the component is enabled.",
1069 "memberOf" : "Roo.Component",
1077 "type" : "Roo.Component",
1079 "isOptional" : false
1086 "name" : "beforedestroy",
1087 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1088 "memberOf" : "Roo.Component",
1096 "type" : "Roo.Component",
1098 "isOptional" : false