2 "name" : "Roo.bootstrap.Modal",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Modal class",
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" : "set the max width of modal",
40 "memberOf" : "Roo.bootstrap.Modal",
47 "desc" : "Text for the tooltip",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "container_method",
55 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
56 "memberOf" : "Roo.bootstrap.Component",
61 "name" : "visibilityEl",
62 "type" : "string|object",
63 "desc" : "What element to use for visibility (@see getVisibilityEl())",
64 "memberOf" : "Roo.bootstrap.Component",
73 "desc" : "Array of buttons or standard button set..",
74 "memberOf" : "Roo.bootstrap.Modal",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component",
89 "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\".",
90 "memberOf" : "Roo.Component",
99 "desc" : "Title of dialog",
100 "memberOf" : "Roo.bootstrap.Modal",
107 "desc" : "any extra css",
108 "memberOf" : "Roo.bootstrap.Component",
113 "name" : "allowDomMove",
115 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
116 "memberOf" : "Roo.Component",
122 "type" : "Roo.Template",
123 "desc" : "- a template with variables. to use it, add a handler in show:method adn",
124 "memberOf" : "Roo.bootstrap.Modal",
131 "desc" : "- the body of the dialog (for simple ones) - you can also use template..",
132 "memberOf" : "Roo.bootstrap.Modal",
137 "name" : "buttonPosition",
139 "desc" : "default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
140 "memberOf" : "Roo.bootstrap.Modal",
150 "desc" : "css class",
151 "memberOf" : "Roo.bootstrap.Component",
156 "name" : "fitwindow",
158 "desc" : "default false",
159 "memberOf" : "Roo.bootstrap.Modal",
166 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
167 "memberOf" : "Roo.bootstrap.Component",
172 "name" : "actionMode",
174 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
175 "memberOf" : "Roo.Component",
180 "name" : "specificTitle",
182 "desc" : "default false",
183 "memberOf" : "Roo.bootstrap.Modal",
190 "desc" : "cutomer id",
191 "memberOf" : "Roo.bootstrap.Component",
196 "name" : "allow_close",
198 "desc" : "default true",
199 "memberOf" : "Roo.bootstrap.Modal",
206 "desc" : "default empty",
207 "memberOf" : "Roo.bootstrap.Modal",
216 "desc" : "Specifies name attribute",
217 "memberOf" : "Roo.bootstrap.Component",
222 "name" : "disableClass",
224 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
225 "memberOf" : "Roo.Component",
232 "desc" : "default true",
233 "memberOf" : "Roo.bootstrap.Modal",
240 "name" : "applyBody",
241 "desc" : "Set the body of the Dialog using the template",
243 "isConstructor" : false,
245 "memberOf" : "Roo.bootstrap.Modal",
254 "desc" : "- apply this data to the template and replace the body contents.",
263 "desc" : "Set the title of the Dialog",
265 "isConstructor" : false,
267 "memberOf" : "Roo.bootstrap.Modal",
276 "desc" : "new Title",
285 "desc" : "Set the body of the Dialog",
287 "isConstructor" : false,
289 "memberOf" : "Roo.bootstrap.Modal",
298 "desc" : "new Title",
306 "name" : "tooltipEl",
307 "desc" : "Fetch the element to display the tooltip on.",
309 "isConstructor" : false,
311 "memberOf" : "Roo.bootstrap.Component",
321 "type" : "Roo.Element",
322 "desc" : "defaults to this.el"
328 "desc" : "Hide a component - adds 'hidden' class",
330 "isConstructor" : false,
332 "memberOf" : "Roo.bootstrap.Component",
344 "desc" : "Show a component - removes 'hidden' class",
346 "isConstructor" : false,
348 "memberOf" : "Roo.bootstrap.Component",
359 "name" : "setVisibilityEl",
360 "desc" : "Set the element that will be used to show or hide",
362 "isConstructor" : false,
364 "memberOf" : "Roo.bootstrap.Component",
375 "name" : "getVisibilityEl",
376 "desc" : "Get the element that will be used to show or hide",
378 "isConstructor" : false,
380 "memberOf" : "Roo.bootstrap.Component",
391 "name" : "initEvents",
392 "desc" : "Initialize Events for the element",
394 "isConstructor" : false,
396 "memberOf" : "Roo.bootstrap.Component",
407 "name" : "getChildContainer",
408 "desc" : "Fetch the element to add children to",
410 "isConstructor" : false,
412 "memberOf" : "Roo.bootstrap.Component",
422 "type" : "Roo.Element",
423 "desc" : "defaults to this.el"
429 "desc" : "Returns the id of this component.",
431 "isConstructor" : false,
433 "memberOf" : "Roo.Component",
450 "desc" : "If this is a lazy rendering component, render it to its container element.",
452 "isConstructor" : false,
454 "memberOf" : "Roo.Component",
461 "name" : "container",
462 "type" : "String/HTMLElement/Element",
463 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
472 "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}.",
474 "isConstructor" : false,
476 "memberOf" : "Roo.Component",
487 "name" : "isVisible",
488 "desc" : "Returns true if this component is visible.",
490 "isConstructor" : false,
492 "memberOf" : "Roo.Component",
503 "name" : "setDisabled",
504 "desc" : "Convenience function for setting disabled/enabled by boolean.",
506 "isConstructor" : false,
508 "memberOf" : "Roo.Component",
526 "desc" : "Try to focus this component.",
528 "isConstructor" : false,
530 "memberOf" : "Roo.Component",
537 "name" : "selectText",
539 "desc" : "True to also select the text in this component (if applicable)",
546 "type" : "Roo.Component",
553 "desc" : "Enable this component.",
555 "isConstructor" : false,
557 "memberOf" : "Roo.Component",
567 "type" : "Roo.Component",
573 "name" : "setVisible",
574 "desc" : "Convenience function to hide or show this component by boolean.",
576 "isConstructor" : false,
578 "memberOf" : "Roo.Component",
587 "desc" : "True to show, false to hide",
594 "type" : "Roo.Component",
601 "desc" : "Disable this component.",
603 "isConstructor" : false,
605 "memberOf" : "Roo.Component",
615 "type" : "Roo.Component",
622 "desc" : "Returns the underlying {@link Roo.Element}.",
624 "isConstructor" : false,
626 "memberOf" : "Roo.Component",
636 "type" : "Roo.Element",
637 "desc" : "The element"
642 "name" : "purgeListeners",
643 "desc" : "Removes all listeners for this object",
645 "isConstructor" : false,
647 "memberOf" : "Roo.util.Observable",
659 "desc" : "Appends an event handler to this element (shorthand for addListener)",
661 "isConstructor" : false,
663 "memberOf" : "Roo.util.Observable",
670 "name" : "eventName",
672 "desc" : "The type of event to listen for",
678 "desc" : "The method the event invokes",
684 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
690 "desc" : "(optional)",
699 "desc" : "Removes a listener (shorthand for removeListener)",
701 "isConstructor" : false,
703 "memberOf" : "Roo.util.Observable",
710 "name" : "eventName",
712 "desc" : "The type of event to listen for",
718 "desc" : "The handler to remove",
724 "desc" : "(optional) The scope (this object) for the handler",
732 "name" : "addEvents",
733 "desc" : "Used to define events on this Observable",
735 "isConstructor" : false,
737 "memberOf" : "Roo.util.Observable",
746 "desc" : "The object with the events defined",
754 "name" : "releaseCapture",
755 "desc" : "Removes <b>all</b> added captures from the Observable.",
757 "isConstructor" : false,
759 "memberOf" : "Roo.util.Observable",
767 "type" : "Observable",
768 "desc" : "The Observable to release",
776 "name" : "removeListener",
777 "desc" : "Removes a listener",
779 "isConstructor" : false,
781 "memberOf" : "Roo.util.Observable",
788 "name" : "eventName",
790 "desc" : "The type of event to listen for",
796 "desc" : "The handler to remove",
802 "desc" : "(optional) The scope (this object) for the handler",
810 "name" : "fireEvent",
811 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
813 "isConstructor" : false,
815 "memberOf" : "Roo.util.Observable",
822 "name" : "eventName",
829 "type" : "Object...",
830 "desc" : "Variable number of parameters are passed to handlers",
838 "desc" : "returns false if any of the handlers return false otherwise it returns true"
843 "name" : "hasListener",
844 "desc" : "Checks to see if this object has any listeners for a specified event",
846 "isConstructor" : false,
848 "memberOf" : "Roo.util.Observable",
855 "name" : "eventName",
857 "desc" : "The name of the event to check for",
865 "desc" : "True if the event is being listened for, else false"
871 "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.",
873 "isConstructor" : false,
875 "memberOf" : "Roo.util.Observable",
883 "type" : "Observable",
884 "desc" : "The Observable to capture",
890 "desc" : "The function to call",
896 "desc" : "(optional) The scope (this object) for the fn",
904 "name" : "addListener",
905 "desc" : "Appends an event handler to this component",
907 "isConstructor" : false,
909 "memberOf" : "Roo.util.Observable",
916 "name" : "eventName",
918 "desc" : "The type of event to listen for",
924 "desc" : "The method the event invokes",
930 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
936 "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>",
947 "desc" : "The raw btnclick event for the button",
956 "type" : "Roo.EventObject",
966 "desc" : "Fire when dialog resize",
975 "type" : "Roo.bootstrap.Modal",
981 "type" : "Roo.EventObject",
990 "name" : "childrenrendered",
991 "desc" : "Fires when the children have been rendered..",
992 "memberOf" : "Roo.bootstrap.Component",
1000 "type" : "Roo.bootstrap.Component",
1002 "isOptional" : false
1009 "name" : "beforerender",
1010 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1011 "memberOf" : "Roo.Component",
1019 "type" : "Roo.Component",
1021 "isOptional" : false
1029 "desc" : "Fires after the component is disabled.",
1030 "memberOf" : "Roo.Component",
1038 "type" : "Roo.Component",
1040 "isOptional" : false
1048 "desc" : "Fires after the component is rendered.",
1049 "memberOf" : "Roo.Component",
1057 "type" : "Roo.Component",
1059 "isOptional" : false
1067 "desc" : "Fires after the component is destroyed.",
1068 "memberOf" : "Roo.Component",
1076 "type" : "Roo.Component",
1078 "isOptional" : false
1086 "desc" : "Fires after the component is hidden.",
1087 "memberOf" : "Roo.Component",
1095 "type" : "Roo.Component",
1097 "isOptional" : false
1104 "name" : "beforehide",
1105 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1106 "memberOf" : "Roo.Component",
1114 "type" : "Roo.Component",
1116 "isOptional" : false
1124 "desc" : "Fires after the component is shown.",
1125 "memberOf" : "Roo.Component",
1133 "type" : "Roo.Component",
1135 "isOptional" : false
1142 "name" : "beforeshow",
1143 "desc" : "Fires before the component is shown. Return false to stop the show.",
1144 "memberOf" : "Roo.Component",
1152 "type" : "Roo.Component",
1154 "isOptional" : false
1162 "desc" : "Fires after the component is enabled.",
1163 "memberOf" : "Roo.Component",
1171 "type" : "Roo.Component",
1173 "isOptional" : false
1180 "name" : "beforedestroy",
1181 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1182 "memberOf" : "Roo.Component",
1190 "type" : "Roo.Component",
1192 "isOptional" : false