2 "name" : "Roo.bootstrap.Modal",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Modal class",
10 "isSingleton" : false,
22 "desc" : "The config object",
31 "name" : "editableTitle",
33 "desc" : "can the title be edited",
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"
43 "name" : "bodyOverflow",
45 "desc" : "should the body element have overflow auto added default false",
51 "desc" : "set the max width of modal",
57 "desc" : "Text for the tooltip",
58 "memberOf" : "Roo.bootstrap.Component"
61 "name" : "container_method",
63 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
64 "memberOf" : "Roo.bootstrap.Component"
67 "name" : "visibilityEl",
68 "type" : "string|object",
69 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
70 "memberOf" : "Roo.bootstrap.Component"
74 "type" : "Roo.bootstrap.Button",
75 "desc" : "Array of buttons or standard button set..",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component"
87 "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\".",
88 "memberOf" : "Roo.Component"
93 "desc" : "Title of dialog",
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component"
103 "name" : "allowDomMove",
105 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106 "memberOf" : "Roo.Component"
110 "type" : "Roo.Template",
111 "desc" : "- a template with variables. to use it, add a handler in show:method adn",
117 "desc" : "- the body of the dialog (for simple ones) - you can also use template..",
121 "name" : "buttonPosition",
123 "desc" : "r) default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
129 "desc" : "css class",
130 "memberOf" : "Roo.bootstrap.Component"
133 "name" : "fitwindow",
135 "desc" : "default false",
141 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
142 "memberOf" : "Roo.bootstrap.Component"
145 "name" : "actionMode",
147 "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",
148 "memberOf" : "Roo.Component"
151 "name" : "specificTitle",
153 "desc" : "default false",
159 "desc" : "fixed width - usefull for chrome extension only really.",
165 "desc" : "cutomer id",
166 "memberOf" : "Roo.bootstrap.Component"
169 "name" : "allow_close",
171 "desc" : "default true",
177 "desc" : "fixed height - usefull for chrome extension only really.",
183 "desc" : "l) default empty",
189 "desc" : "Specifies name attribute",
190 "memberOf" : "Roo.bootstrap.Component"
193 "name" : "disableClass",
195 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
196 "memberOf" : "Roo.Component"
201 "desc" : "default true",
207 "name" : "applyBody",
209 "desc" : "Set the body of the Dialog using the template",
214 "isConstructor" : false,
226 "desc" : "- apply this data to the template and replace the body contents.",
235 "desc" : "Set the title of the Dialog",
240 "isConstructor" : false,
252 "desc" : "new Title",
261 "desc" : "Set the body of the Dialog",
266 "isConstructor" : false,
278 "desc" : "new Title",
285 "name" : "tooltipEl",
287 "desc" : "Fetch the element to display the tooltip on.",
288 "sig" : "()\n{\n\n}",
290 "memberOf" : "Roo.bootstrap.Component",
292 "isConstructor" : false,
304 "type" : "Roo.Element",
305 "desc" : "defaults to this.el"
312 "desc" : "Hide a component - adds 'hidden' class",
313 "sig" : "()\n{\n\n}",
315 "memberOf" : "Roo.bootstrap.Component",
317 "isConstructor" : false,
331 "desc" : "Show a component - removes 'hidden' class",
332 "sig" : "()\n{\n\n}",
334 "memberOf" : "Roo.bootstrap.Component",
336 "isConstructor" : false,
348 "name" : "setVisibilityEl",
350 "desc" : "Set the element that will be used to show or hide",
351 "sig" : "()\n{\n\n}",
353 "memberOf" : "Roo.bootstrap.Component",
355 "isConstructor" : false,
367 "name" : "getVisibilityEl",
369 "desc" : "Get the element that will be used to show or hide",
370 "sig" : "()\n{\n\n}",
372 "memberOf" : "Roo.bootstrap.Component",
374 "isConstructor" : false,
386 "name" : "initEvents",
388 "desc" : "Initialize Events for the element",
389 "sig" : "()\n{\n\n}",
391 "memberOf" : "Roo.bootstrap.Component",
393 "isConstructor" : false,
405 "name" : "getChildContainer",
407 "desc" : "Fetch the element to add children to",
408 "sig" : "()\n{\n\n}",
410 "memberOf" : "Roo.bootstrap.Component",
412 "isConstructor" : false,
424 "type" : "Roo.Element",
425 "desc" : "defaults to this.el"
432 "desc" : "Returns the id of this component.",
433 "sig" : "()\n{\n\n}",
435 "memberOf" : "Roo.Component",
437 "isConstructor" : false,
457 "desc" : "If this is a lazy rendering component, render it to its container element.",
458 "sig" : "(container)",
460 "memberOf" : "Roo.Component",
462 "isConstructor" : false,
472 "name" : "container",
473 "type" : "String/HTMLElement/Element",
474 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
483 "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}.",
484 "sig" : "()\n{\n\n}",
486 "memberOf" : "Roo.Component",
488 "isConstructor" : false,
500 "name" : "isVisible",
502 "desc" : "Returns true if this component is visible.",
503 "sig" : "()\n{\n\n}",
505 "memberOf" : "Roo.Component",
507 "isConstructor" : false,
519 "name" : "setDisabled",
521 "desc" : "Convenience function for setting disabled/enabled by boolean.",
522 "sig" : "(disabled)",
524 "memberOf" : "Roo.Component",
526 "isConstructor" : false,
547 "desc" : "Try to focus this component.",
548 "sig" : "(selectText)",
550 "memberOf" : "Roo.Component",
552 "isConstructor" : false,
562 "name" : "selectText",
564 "desc" : "True to also select the text in this component (if applicable)",
571 "type" : "Roo.Component",
579 "desc" : "Enable this component.",
580 "sig" : "()\n{\n\n}",
582 "memberOf" : "Roo.Component",
584 "isConstructor" : false,
596 "type" : "Roo.Component",
602 "name" : "setVisible",
604 "desc" : "Convenience function to hide or show this component by boolean.",
607 "memberOf" : "Roo.Component",
609 "isConstructor" : false,
621 "desc" : "True to show, false to hide",
628 "type" : "Roo.Component",
636 "desc" : "Disable this component.",
637 "sig" : "()\n{\n\n}",
639 "memberOf" : "Roo.Component",
641 "isConstructor" : false,
653 "type" : "Roo.Component",
661 "desc" : "Returns the underlying {@link Roo.Element}.",
662 "sig" : "()\n{\n\n}",
664 "memberOf" : "Roo.Component",
666 "isConstructor" : false,
678 "type" : "Roo.Element",
679 "desc" : "The element"
684 "name" : "purgeListeners",
686 "desc" : "Removes all listeners for this object",
687 "sig" : "()\n{\n\n}",
689 "memberOf" : "Roo.util.Observable",
691 "isConstructor" : false,
705 "desc" : "Appends an event handler to this element (shorthand for addListener)",
706 "sig" : "(eventName, handler, scope, options)",
708 "memberOf" : "Roo.util.Observable",
710 "isConstructor" : false,
720 "name" : "eventName",
722 "desc" : "The type of event to listen for",
728 "desc" : "The method the event invokes",
734 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
740 "desc" : "(optional)",
749 "desc" : "Removes a listener (shorthand for removeListener)",
750 "sig" : "(eventName, handler, scope)",
752 "memberOf" : "Roo.util.Observable",
754 "isConstructor" : false,
764 "name" : "eventName",
766 "desc" : "The type of event to listen for",
772 "desc" : "The handler to remove",
778 "desc" : "(optional) The scope (this object) for the handler",
785 "name" : "addEvents",
787 "desc" : "Used to define events on this Observable",
790 "memberOf" : "Roo.util.Observable",
792 "isConstructor" : false,
804 "desc" : "The object with the events defined",
811 "name" : "releaseCapture",
813 "desc" : "Removes <b>all</b> added captures from the Observable.",
816 "memberOf" : "Roo.util.Observable",
818 "isConstructor" : false,
829 "type" : "Observable",
830 "desc" : "The Observable to release",
837 "name" : "removeListener",
839 "desc" : "Removes a listener",
840 "sig" : "(eventName, handler, scope)",
842 "memberOf" : "Roo.util.Observable",
844 "isConstructor" : false,
854 "name" : "eventName",
856 "desc" : "The type of event to listen for",
862 "desc" : "The handler to remove",
868 "desc" : "(optional) The scope (this object) for the handler",
875 "name" : "fireEvent",
877 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
878 "sig" : "(eventName, args)",
880 "memberOf" : "Roo.util.Observable",
882 "isConstructor" : false,
892 "name" : "eventName",
899 "type" : "Object...",
900 "desc" : "Variable number of parameters are passed to handlers",
908 "desc" : "returns false if any of the handlers return false otherwise it returns true"
913 "name" : "hasListener",
915 "desc" : "Checks to see if this object has any listeners for a specified event",
916 "sig" : "(eventName)",
918 "memberOf" : "Roo.util.Observable",
920 "isConstructor" : false,
930 "name" : "eventName",
932 "desc" : "The name of the event to check for",
940 "desc" : "True if the event is being listened for, else false"
947 "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.",
948 "sig" : "(o, fn, scope)",
950 "memberOf" : "Roo.util.Observable",
952 "isConstructor" : false,
963 "type" : "Observable",
964 "desc" : "The Observable to capture",
970 "desc" : "The function to call",
976 "desc" : "(optional) The scope (this object) for the fn",
983 "name" : "addListener",
985 "desc" : "Appends an event handler to this component",
986 "sig" : "(eventName, handler, scope, options)",
988 "memberOf" : "Roo.util.Observable",
990 "isConstructor" : false,
1000 "name" : "eventName",
1002 "desc" : "The type of event to listen for",
1003 "isOptional" : false
1007 "type" : "Function",
1008 "desc" : "The method the event invokes",
1009 "isOptional" : false
1014 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1015 "isOptional" : false
1020 "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>",
1021 "isOptional" : false
1029 "name" : "titlechanged",
1030 "type" : "function",
1031 "desc" : "Fire when the editable title has been changed",
1032 "sig" : "function (_self, value)\n{\n\n}",
1041 "type" : "Roo.bootstrap.Modal",
1043 "isOptional" : false
1047 "type" : "Roo.EventObject",
1049 "isOptional" : false
1055 "name" : "btnclick",
1056 "type" : "function",
1057 "desc" : "The raw btnclick event for the button",
1058 "sig" : "function (e)\n{\n\n}",
1067 "type" : "Roo.EventObject",
1069 "isOptional" : false
1076 "type" : "function",
1077 "desc" : "Fire when dialog resize",
1078 "sig" : "function (_self, e)\n{\n\n}",
1087 "type" : "Roo.bootstrap.Modal",
1089 "isOptional" : false
1093 "type" : "Roo.EventObject",
1095 "isOptional" : false
1101 "name" : "childrenrendered",
1102 "type" : "function",
1103 "desc" : "Fires when the children have been rendered..",
1104 "sig" : "function (_self)\n{\n\n}",
1105 "memberOf" : "Roo.bootstrap.Component",
1113 "type" : "Roo.bootstrap.Component",
1115 "isOptional" : false
1121 "name" : "beforerender",
1122 "type" : "function",
1123 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1124 "sig" : "function (_self)\n{\n\n}",
1125 "memberOf" : "Roo.Component",
1133 "type" : "Roo.Component",
1135 "isOptional" : false
1142 "type" : "function",
1143 "desc" : "Fires after the component is disabled.",
1144 "sig" : "function (_self)\n{\n\n}",
1145 "memberOf" : "Roo.Component",
1153 "type" : "Roo.Component",
1155 "isOptional" : false
1162 "type" : "function",
1163 "desc" : "Fires after the component is rendered.",
1164 "sig" : "function (_self)\n{\n\n}",
1165 "memberOf" : "Roo.Component",
1173 "type" : "Roo.Component",
1175 "isOptional" : false
1182 "type" : "function",
1183 "desc" : "Fires after the component is destroyed.",
1184 "sig" : "function (_self)\n{\n\n}",
1185 "memberOf" : "Roo.Component",
1193 "type" : "Roo.Component",
1195 "isOptional" : false
1202 "type" : "function",
1203 "desc" : "Fires after the component is hidden.",
1204 "sig" : "function (_self)\n{\n\n}",
1205 "memberOf" : "Roo.Component",
1213 "type" : "Roo.Component",
1215 "isOptional" : false
1221 "name" : "beforehide",
1222 "type" : "function",
1223 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1224 "sig" : "function (_self)\n{\n\n}",
1225 "memberOf" : "Roo.Component",
1233 "type" : "Roo.Component",
1235 "isOptional" : false
1242 "type" : "function",
1243 "desc" : "Fires after the component is shown.",
1244 "sig" : "function (_self)\n{\n\n}",
1245 "memberOf" : "Roo.Component",
1253 "type" : "Roo.Component",
1255 "isOptional" : false
1261 "name" : "beforeshow",
1262 "type" : "function",
1263 "desc" : "Fires before the component is shown. Return false to stop the show.",
1264 "sig" : "function (_self)\n{\n\n}",
1265 "memberOf" : "Roo.Component",
1273 "type" : "Roo.Component",
1275 "isOptional" : false
1282 "type" : "function",
1283 "desc" : "Fires after the component is enabled.",
1284 "sig" : "function (_self)\n{\n\n}",
1285 "memberOf" : "Roo.Component",
1293 "type" : "Roo.Component",
1295 "isOptional" : false
1301 "name" : "beforedestroy",
1302 "type" : "function",
1303 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1304 "sig" : "function (_self)\n{\n\n}",
1305 "memberOf" : "Roo.Component",
1313 "type" : "Roo.Component",
1315 "isOptional" : false