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" : "xAddChildren",
237 "desc" : "xAddChildren - the 'sub-compentized' version of the above idea..",
239 "isConstructor" : false,
241 "memberOf" : "Roo.bootstrap.Component",
252 "name" : "setVisibilityEl",
253 "desc" : "Set the element that will be used to show or hide",
255 "isConstructor" : false,
257 "memberOf" : "Roo.bootstrap.Component",
268 "name" : "getVisibilityEl",
269 "desc" : "Get the element that will be used to show or hide",
271 "isConstructor" : false,
273 "memberOf" : "Roo.bootstrap.Component",
285 "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..",
287 "isConstructor" : false,
289 "memberOf" : "Roo.bootstrap.Component",
301 "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.",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.Component",
316 "name" : "addxtypeChild",
317 "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.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Component",
332 "name" : "initEvents",
333 "desc" : "Initialize Events for the element",
335 "isConstructor" : false,
337 "memberOf" : "Roo.bootstrap.Component",
348 "name" : "getChildContainer",
349 "desc" : "Fetch the element to add children to",
351 "isConstructor" : false,
353 "memberOf" : "Roo.bootstrap.Component",
363 "type" : "Roo.Element",
364 "desc" : "defaults to this.el"
369 "name" : "addxtypeChildren",
370 "desc" : "add a number of children to this object,\n which in turn calls render...",
372 "isConstructor" : false,
374 "memberOf" : "Roo.bootstrap.Component",
386 "desc" : "Returns the id of this component.",
388 "isConstructor" : false,
390 "memberOf" : "Roo.Component",
407 "desc" : "If this is a lazy rendering component, render it to its container element.",
409 "isConstructor" : false,
411 "memberOf" : "Roo.Component",
418 "name" : "container",
419 "type" : "String/HTMLElement/Element",
420 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
429 "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}.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
444 "name" : "isVisible",
445 "desc" : "Returns true if this component is visible.",
447 "isConstructor" : false,
449 "memberOf" : "Roo.Component",
460 "name" : "setDisabled",
461 "desc" : "Convenience function for setting disabled/enabled by boolean.",
463 "isConstructor" : false,
465 "memberOf" : "Roo.Component",
483 "desc" : "Try to focus this component.",
485 "isConstructor" : false,
487 "memberOf" : "Roo.Component",
494 "name" : "selectText",
496 "desc" : "True to also select the text in this component (if applicable)",
503 "type" : "Roo.Component",
510 "desc" : "Enable this component.",
512 "isConstructor" : false,
514 "memberOf" : "Roo.Component",
524 "type" : "Roo.Component",
530 "name" : "setVisible",
531 "desc" : "Convenience function to hide or show this component by boolean.",
533 "isConstructor" : false,
535 "memberOf" : "Roo.Component",
544 "desc" : "True to show, false to hide",
551 "type" : "Roo.Component",
558 "desc" : "Disable this component.",
560 "isConstructor" : false,
562 "memberOf" : "Roo.Component",
572 "type" : "Roo.Component",
579 "desc" : "Returns the underlying {@link Roo.Element}.",
581 "isConstructor" : false,
583 "memberOf" : "Roo.Component",
593 "type" : "Roo.Element",
594 "desc" : "The element"
599 "name" : "purgeListeners",
600 "desc" : "Removes all listeners for this object",
602 "isConstructor" : false,
604 "memberOf" : "Roo.util.Observable",
616 "desc" : "Appends an event handler to this element (shorthand for addListener)",
618 "isConstructor" : false,
620 "memberOf" : "Roo.util.Observable",
627 "name" : "eventName",
629 "desc" : "The type of event to listen for",
635 "desc" : "The method the event invokes",
641 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
647 "desc" : "(optional)",
656 "desc" : "Removes a listener (shorthand for removeListener)",
658 "isConstructor" : false,
660 "memberOf" : "Roo.util.Observable",
667 "name" : "eventName",
669 "desc" : "The type of event to listen for",
675 "desc" : "The handler to remove",
681 "desc" : "(optional) The scope (this object) for the handler",
689 "name" : "addEvents",
690 "desc" : "Used to define events on this Observable",
692 "isConstructor" : false,
694 "memberOf" : "Roo.util.Observable",
703 "desc" : "The object with the events defined",
711 "name" : "releaseCapture",
712 "desc" : "Removes <b>all</b> added captures from the Observable.",
714 "isConstructor" : false,
716 "memberOf" : "Roo.util.Observable",
724 "type" : "Observable",
725 "desc" : "The Observable to release",
733 "name" : "removeListener",
734 "desc" : "Removes a listener",
736 "isConstructor" : false,
738 "memberOf" : "Roo.util.Observable",
745 "name" : "eventName",
747 "desc" : "The type of event to listen for",
753 "desc" : "The handler to remove",
759 "desc" : "(optional) The scope (this object) for the handler",
767 "name" : "fireEvent",
768 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
770 "isConstructor" : false,
772 "memberOf" : "Roo.util.Observable",
779 "name" : "eventName",
786 "type" : "Object...",
787 "desc" : "Variable number of parameters are passed to handlers",
795 "desc" : "returns false if any of the handlers return false otherwise it returns true"
800 "name" : "hasListener",
801 "desc" : "Checks to see if this object has any listeners for a specified event",
803 "isConstructor" : false,
805 "memberOf" : "Roo.util.Observable",
812 "name" : "eventName",
814 "desc" : "The name of the event to check for",
822 "desc" : "True if the event is being listened for, else false"
828 "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.",
830 "isConstructor" : false,
832 "memberOf" : "Roo.util.Observable",
840 "type" : "Observable",
841 "desc" : "The Observable to capture",
847 "desc" : "The function to call",
853 "desc" : "(optional) The scope (this object) for the fn",
861 "name" : "addListener",
862 "desc" : "Appends an event handler to this component",
864 "isConstructor" : false,
866 "memberOf" : "Roo.util.Observable",
873 "name" : "eventName",
875 "desc" : "The type of event to listen for",
881 "desc" : "The method the event invokes",
887 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
893 "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>",
904 "desc" : "When a element is chick",
905 "memberOf" : "Roo.bootstrap.Element",
913 "type" : "Roo.bootstrap.Element",
919 "type" : "Roo.EventObject",
928 "name" : "childrenrendered",
929 "desc" : "Fires when the children have been rendered..",
930 "memberOf" : "Roo.bootstrap.Component",
938 "type" : "Roo.bootstrap.Component",
947 "name" : "beforerender",
948 "desc" : "Fires before the component is rendered. Return false to stop the render.",
949 "memberOf" : "Roo.Component",
957 "type" : "Roo.Component",
967 "desc" : "Fires after the component is disabled.",
968 "memberOf" : "Roo.Component",
976 "type" : "Roo.Component",
986 "desc" : "Fires after the component is rendered.",
987 "memberOf" : "Roo.Component",
995 "type" : "Roo.Component",
1005 "desc" : "Fires after the component is destroyed.",
1006 "memberOf" : "Roo.Component",
1014 "type" : "Roo.Component",
1016 "isOptional" : false
1024 "desc" : "Fires after the component is hidden.",
1025 "memberOf" : "Roo.Component",
1033 "type" : "Roo.Component",
1035 "isOptional" : false
1042 "name" : "beforehide",
1043 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1044 "memberOf" : "Roo.Component",
1052 "type" : "Roo.Component",
1054 "isOptional" : false
1062 "desc" : "Fires after the component is shown.",
1063 "memberOf" : "Roo.Component",
1071 "type" : "Roo.Component",
1073 "isOptional" : false
1080 "name" : "beforeshow",
1081 "desc" : "Fires before the component is shown. Return false to stop the show.",
1082 "memberOf" : "Roo.Component",
1090 "type" : "Roo.Component",
1092 "isOptional" : false
1100 "desc" : "Fires after the component is enabled.",
1101 "memberOf" : "Roo.Component",
1109 "type" : "Roo.Component",
1111 "isOptional" : false
1118 "name" : "beforedestroy",
1119 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false