2 "name" : "Roo.bootstrap.Element",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Element class (basically a DIV used to make random stuff )",
12 "memberOf" : "Element",
21 "desc" : "The config object",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
38 "desc" : "Text for the tooltip",
39 "memberOf" : "Roo.bootstrap.Component"
42 "name" : "container_method",
44 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
45 "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"
54 "name" : "can_build_overlaid",
56 "desc" : "True if element can be rebuild from a HTML page",
57 "memberOf" : "Roo.bootstrap.Component"
62 "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\".",
63 "memberOf" : "Roo.Component"
68 "desc" : "tag of the element",
74 "desc" : "any extra css",
75 "memberOf" : "Roo.bootstrap.Component"
78 "name" : "allowDomMove",
80 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
81 "memberOf" : "Roo.Component"
86 "desc" : "class of the element",
92 "desc" : "contents of the element",
96 "name" : "preventDefault",
98 "desc" : "e) default false",
102 "name" : "clickable",
104 "desc" : "e) default false",
110 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
111 "memberOf" : "Roo.bootstrap.Component"
114 "name" : "actionMode",
116 "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",
117 "memberOf" : "Roo.Component"
122 "desc" : "cutomer id",
123 "memberOf" : "Roo.bootstrap.Component"
128 "desc" : "default blank - set to button to force cursor pointer",
134 "desc" : "Specifies name attribute",
135 "memberOf" : "Roo.bootstrap.Component"
138 "name" : "disableClass",
140 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
141 "memberOf" : "Roo.Component"
146 "name" : "tooltipEl",
148 "desc" : "Fetch the element to display the tooltip on.",
149 "sig" : "()\n{\n\n}",
151 "memberOf" : "Roo.bootstrap.Component",
153 "isConstructor" : false,
165 "type" : "Roo.Element",
166 "desc" : "defaults to this.el"
173 "desc" : "Hide a component - adds 'hidden' class",
174 "sig" : "()\n{\n\n}",
176 "memberOf" : "Roo.bootstrap.Component",
178 "isConstructor" : false,
192 "desc" : "Show a component - removes 'hidden' class",
193 "sig" : "()\n{\n\n}",
195 "memberOf" : "Roo.bootstrap.Component",
197 "isConstructor" : false,
209 "name" : "setVisibilityEl",
211 "desc" : "Set the element that will be used to show or hide",
212 "sig" : "()\n{\n\n}",
214 "memberOf" : "Roo.bootstrap.Component",
216 "isConstructor" : false,
228 "name" : "getVisibilityEl",
230 "desc" : "Get the element that will be used to show or hide",
231 "sig" : "()\n{\n\n}",
233 "memberOf" : "Roo.bootstrap.Component",
235 "isConstructor" : false,
247 "name" : "initEvents",
249 "desc" : "Initialize Events for the element",
250 "sig" : "()\n{\n\n}",
252 "memberOf" : "Roo.bootstrap.Component",
254 "isConstructor" : false,
266 "name" : "getChildContainer",
268 "desc" : "Fetch the element to add children to",
269 "sig" : "()\n{\n\n}",
271 "memberOf" : "Roo.bootstrap.Component",
273 "isConstructor" : false,
285 "type" : "Roo.Element",
286 "desc" : "defaults to this.el"
293 "desc" : "Returns the id of this component.",
294 "sig" : "()\n{\n\n}",
296 "memberOf" : "Roo.Component",
298 "isConstructor" : false,
318 "desc" : "If this is a lazy rendering component, render it to its container element.",
319 "sig" : "(container)",
321 "memberOf" : "Roo.Component",
323 "isConstructor" : false,
333 "name" : "container",
334 "type" : "String/HTMLElement/Element",
335 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
344 "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}.",
345 "sig" : "()\n{\n\n}",
347 "memberOf" : "Roo.Component",
349 "isConstructor" : false,
361 "name" : "isVisible",
363 "desc" : "Returns true if this component is visible.",
364 "sig" : "()\n{\n\n}",
366 "memberOf" : "Roo.Component",
368 "isConstructor" : false,
380 "name" : "setDisabled",
382 "desc" : "Convenience function for setting disabled/enabled by boolean.",
383 "sig" : "(disabled)",
385 "memberOf" : "Roo.Component",
387 "isConstructor" : false,
408 "desc" : "Try to focus this component.",
409 "sig" : "(selectText)",
411 "memberOf" : "Roo.Component",
413 "isConstructor" : false,
423 "name" : "selectText",
425 "desc" : "True to also select the text in this component (if applicable)",
432 "type" : "Roo.Component",
440 "desc" : "Enable this component.",
441 "sig" : "()\n{\n\n}",
443 "memberOf" : "Roo.Component",
445 "isConstructor" : false,
457 "type" : "Roo.Component",
463 "name" : "setVisible",
465 "desc" : "Convenience function to hide or show this component by boolean.",
468 "memberOf" : "Roo.Component",
470 "isConstructor" : false,
482 "desc" : "True to show, false to hide",
489 "type" : "Roo.Component",
497 "desc" : "Disable this component.",
498 "sig" : "()\n{\n\n}",
500 "memberOf" : "Roo.Component",
502 "isConstructor" : false,
514 "type" : "Roo.Component",
522 "desc" : "Returns the underlying {@link Roo.Element}.",
523 "sig" : "()\n{\n\n}",
525 "memberOf" : "Roo.Component",
527 "isConstructor" : false,
539 "type" : "Roo.Element",
540 "desc" : "The element"
545 "name" : "purgeListeners",
547 "desc" : "Removes all listeners for this object",
548 "sig" : "()\n{\n\n}",
550 "memberOf" : "Roo.util.Observable",
552 "isConstructor" : false,
566 "desc" : "Appends an event handler to this element (shorthand for addListener)",
567 "sig" : "(eventName, handler, scope, options)",
569 "memberOf" : "Roo.util.Observable",
571 "isConstructor" : false,
581 "name" : "eventName",
583 "desc" : "The type of event to listen for",
589 "desc" : "The method the event invokes",
595 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
601 "desc" : "(optional)",
610 "desc" : "Removes a listener (shorthand for removeListener)",
611 "sig" : "(eventName, handler, scope)",
613 "memberOf" : "Roo.util.Observable",
615 "isConstructor" : false,
625 "name" : "eventName",
627 "desc" : "The type of event to listen for",
633 "desc" : "The handler to remove",
639 "desc" : "(optional) The scope (this object) for the handler",
646 "name" : "addEvents",
648 "desc" : "Used to define events on this Observable",
651 "memberOf" : "Roo.util.Observable",
653 "isConstructor" : false,
665 "desc" : "The object with the events defined",
672 "name" : "releaseCapture",
674 "desc" : "Removes <b>all</b> added captures from the Observable.",
677 "memberOf" : "Roo.util.Observable",
679 "isConstructor" : false,
690 "type" : "Observable",
691 "desc" : "The Observable to release",
698 "name" : "removeListener",
700 "desc" : "Removes a listener",
701 "sig" : "(eventName, handler, scope)",
703 "memberOf" : "Roo.util.Observable",
705 "isConstructor" : false,
715 "name" : "eventName",
717 "desc" : "The type of event to listen for",
723 "desc" : "The handler to remove",
729 "desc" : "(optional) The scope (this object) for the handler",
736 "name" : "fireEvent",
738 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
739 "sig" : "(eventName, args)",
741 "memberOf" : "Roo.util.Observable",
743 "isConstructor" : false,
753 "name" : "eventName",
760 "type" : "Object...",
761 "desc" : "Variable number of parameters are passed to handlers",
769 "desc" : "returns false if any of the handlers return false otherwise it returns true"
774 "name" : "hasListener",
776 "desc" : "Checks to see if this object has any listeners for a specified event",
777 "sig" : "(eventName)",
779 "memberOf" : "Roo.util.Observable",
781 "isConstructor" : false,
791 "name" : "eventName",
793 "desc" : "The name of the event to check for",
801 "desc" : "True if the event is being listened for, else false"
808 "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.",
809 "sig" : "(o, fn, scope)",
811 "memberOf" : "Roo.util.Observable",
813 "isConstructor" : false,
824 "type" : "Observable",
825 "desc" : "The Observable to capture",
831 "desc" : "The function to call",
837 "desc" : "(optional) The scope (this object) for the fn",
844 "name" : "addListener",
846 "desc" : "Appends an event handler to this component",
847 "sig" : "(eventName, handler, scope, options)",
849 "memberOf" : "Roo.util.Observable",
851 "isConstructor" : false,
861 "name" : "eventName",
863 "desc" : "The type of event to listen for",
869 "desc" : "The method the event invokes",
875 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
881 "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>",
892 "desc" : "When a element is chick",
893 "sig" : "function (_self, e)\n{\n\n}",
902 "type" : "Roo.bootstrap.Element",
908 "type" : "Roo.EventObject",
916 "name" : "childrenrendered",
918 "desc" : "Fires when the children have been rendered..",
919 "sig" : "function (_self)\n{\n\n}",
920 "memberOf" : "Roo.bootstrap.Component",
928 "type" : "Roo.bootstrap.Component",
936 "name" : "beforerender",
938 "desc" : "Fires before the component is rendered. Return false to stop the render.",
939 "sig" : "function (_self)\n{\n\n}",
940 "memberOf" : "Roo.Component",
948 "type" : "Roo.Component",
958 "desc" : "Fires after the component is disabled.",
959 "sig" : "function (_self)\n{\n\n}",
960 "memberOf" : "Roo.Component",
968 "type" : "Roo.Component",
978 "desc" : "Fires after the component is rendered.",
979 "sig" : "function (_self)\n{\n\n}",
980 "memberOf" : "Roo.Component",
988 "type" : "Roo.Component",
998 "desc" : "Fires after the component is destroyed.",
999 "sig" : "function (_self)\n{\n\n}",
1000 "memberOf" : "Roo.Component",
1008 "type" : "Roo.Component",
1010 "isOptional" : false
1017 "type" : "function",
1018 "desc" : "Fires after the component is hidden.",
1019 "sig" : "function (_self)\n{\n\n}",
1020 "memberOf" : "Roo.Component",
1028 "type" : "Roo.Component",
1030 "isOptional" : false
1036 "name" : "beforehide",
1037 "type" : "function",
1038 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1039 "sig" : "function (_self)\n{\n\n}",
1040 "memberOf" : "Roo.Component",
1048 "type" : "Roo.Component",
1050 "isOptional" : false
1057 "type" : "function",
1058 "desc" : "Fires after the component is shown.",
1059 "sig" : "function (_self)\n{\n\n}",
1060 "memberOf" : "Roo.Component",
1068 "type" : "Roo.Component",
1070 "isOptional" : false
1076 "name" : "beforeshow",
1077 "type" : "function",
1078 "desc" : "Fires before the component is shown. Return false to stop the show.",
1079 "sig" : "function (_self)\n{\n\n}",
1080 "memberOf" : "Roo.Component",
1088 "type" : "Roo.Component",
1090 "isOptional" : false
1097 "type" : "function",
1098 "desc" : "Fires after the component is enabled.",
1099 "sig" : "function (_self)\n{\n\n}",
1100 "memberOf" : "Roo.Component",
1108 "type" : "Roo.Component",
1110 "isOptional" : false
1116 "name" : "beforedestroy",
1117 "type" : "function",
1118 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1119 "sig" : "function (_self)\n{\n\n}",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false