2 "name" : "Roo.bootstrap.Modal",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Modal class",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "set the max width of modal",
25 "memberOf" : "Roo.bootstrap.Modal",
32 "desc" : "Text for the tooltip",
33 "memberOf" : "Roo.bootstrap.Component",
38 "name" : "container_method",
40 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
41 "memberOf" : "Roo.bootstrap.Component",
46 "name" : "visibilityEl",
47 "type" : "string|object",
48 "desc" : "What element to use for visibility (@see getVisibilityEl())",
49 "memberOf" : "Roo.bootstrap.Component",
58 "desc" : "Array of buttons or standard button set..",
59 "memberOf" : "Roo.bootstrap.Modal",
64 "name" : "can_build_overlaid",
66 "desc" : "True if element can be rebuild from a HTML page",
67 "memberOf" : "Roo.bootstrap.Component",
74 "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\".",
75 "memberOf" : "Roo.Component",
84 "desc" : "Title of dialog",
85 "memberOf" : "Roo.bootstrap.Modal",
92 "desc" : "any extra css",
93 "memberOf" : "Roo.bootstrap.Component",
98 "name" : "allowDomMove",
100 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
101 "memberOf" : "Roo.Component",
107 "type" : "Roo.Template",
108 "desc" : "- a template with variables. to use it, add a handler in show:method adn",
109 "memberOf" : "Roo.bootstrap.Modal",
116 "desc" : "- the body of the dialog (for simple ones) - you can also use template..",
117 "memberOf" : "Roo.bootstrap.Modal",
122 "name" : "buttonPosition",
124 "desc" : "default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
125 "memberOf" : "Roo.bootstrap.Modal",
135 "desc" : "css class",
136 "memberOf" : "Roo.bootstrap.Component",
141 "name" : "fitwindow",
143 "desc" : "default false",
144 "memberOf" : "Roo.bootstrap.Modal",
151 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
152 "memberOf" : "Roo.bootstrap.Component",
157 "name" : "actionMode",
159 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
160 "memberOf" : "Roo.Component",
165 "name" : "specificTitle",
167 "desc" : "default false",
168 "memberOf" : "Roo.bootstrap.Modal",
175 "desc" : "cutomer id",
176 "memberOf" : "Roo.bootstrap.Component",
181 "name" : "allow_close",
183 "desc" : "default true",
184 "memberOf" : "Roo.bootstrap.Modal",
191 "desc" : "default empty",
192 "memberOf" : "Roo.bootstrap.Modal",
201 "desc" : "Specifies name attribute",
202 "memberOf" : "Roo.bootstrap.Component",
207 "name" : "disableClass",
209 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
210 "memberOf" : "Roo.Component",
217 "desc" : "default true",
218 "memberOf" : "Roo.bootstrap.Modal",
225 "name" : "applyBody",
226 "desc" : "Set the body of the Dialog using the template",
228 "isConstructor" : false,
230 "memberOf" : "Roo.bootstrap.Modal",
239 "desc" : "- apply this data to the template and replace the body contents.",
248 "desc" : "Set the title of the Dialog",
250 "isConstructor" : false,
252 "memberOf" : "Roo.bootstrap.Modal",
261 "desc" : "new Title",
270 "desc" : "Set the body of the Dialog",
272 "isConstructor" : false,
274 "memberOf" : "Roo.bootstrap.Modal",
283 "desc" : "new Title",
291 "name" : "tooltipEl",
292 "desc" : "Fetch the element to display the tooltip on.",
294 "isConstructor" : false,
296 "memberOf" : "Roo.bootstrap.Component",
306 "type" : "Roo.Element",
307 "desc" : "defaults to this.el"
313 "desc" : "Hide a component - adds 'hidden' class",
315 "isConstructor" : false,
317 "memberOf" : "Roo.bootstrap.Component",
329 "desc" : "Show a component - removes 'hidden' class",
331 "isConstructor" : false,
333 "memberOf" : "Roo.bootstrap.Component",
344 "name" : "setVisibilityEl",
345 "desc" : "Set the element that will be used to show or hide",
347 "isConstructor" : false,
349 "memberOf" : "Roo.bootstrap.Component",
360 "name" : "getVisibilityEl",
361 "desc" : "Get the element that will be used to show or hide",
363 "isConstructor" : false,
365 "memberOf" : "Roo.bootstrap.Component",
376 "name" : "initEvents",
377 "desc" : "Initialize Events for the element",
379 "isConstructor" : false,
381 "memberOf" : "Roo.bootstrap.Component",
392 "name" : "getChildContainer",
393 "desc" : "Fetch the element to add children to",
395 "isConstructor" : false,
397 "memberOf" : "Roo.bootstrap.Component",
407 "type" : "Roo.Element",
408 "desc" : "defaults to this.el"
414 "desc" : "Returns the id of this component.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.Component",
435 "desc" : "If this is a lazy rendering component, render it to its container element.",
437 "isConstructor" : false,
439 "memberOf" : "Roo.Component",
446 "name" : "container",
447 "type" : "String/HTMLElement/Element",
448 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
457 "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}.",
459 "isConstructor" : false,
461 "memberOf" : "Roo.Component",
472 "name" : "isVisible",
473 "desc" : "Returns true if this component is visible.",
475 "isConstructor" : false,
477 "memberOf" : "Roo.Component",
488 "name" : "setDisabled",
489 "desc" : "Convenience function for setting disabled/enabled by boolean.",
491 "isConstructor" : false,
493 "memberOf" : "Roo.Component",
511 "desc" : "Try to focus this component.",
513 "isConstructor" : false,
515 "memberOf" : "Roo.Component",
522 "name" : "selectText",
524 "desc" : "True to also select the text in this component (if applicable)",
531 "type" : "Roo.Component",
538 "desc" : "Enable this component.",
540 "isConstructor" : false,
542 "memberOf" : "Roo.Component",
552 "type" : "Roo.Component",
558 "name" : "setVisible",
559 "desc" : "Convenience function to hide or show this component by boolean.",
561 "isConstructor" : false,
563 "memberOf" : "Roo.Component",
572 "desc" : "True to show, false to hide",
579 "type" : "Roo.Component",
586 "desc" : "Disable this component.",
588 "isConstructor" : false,
590 "memberOf" : "Roo.Component",
600 "type" : "Roo.Component",
607 "desc" : "Returns the underlying {@link Roo.Element}.",
609 "isConstructor" : false,
611 "memberOf" : "Roo.Component",
621 "type" : "Roo.Element",
622 "desc" : "The element"
627 "name" : "purgeListeners",
628 "desc" : "Removes all listeners for this object",
630 "isConstructor" : false,
632 "memberOf" : "Roo.util.Observable",
644 "desc" : "Appends an event handler to this element (shorthand for addListener)",
646 "isConstructor" : false,
648 "memberOf" : "Roo.util.Observable",
655 "name" : "eventName",
657 "desc" : "The type of event to listen for",
663 "desc" : "The method the event invokes",
669 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
675 "desc" : "(optional)",
684 "desc" : "Removes a listener (shorthand for removeListener)",
686 "isConstructor" : false,
688 "memberOf" : "Roo.util.Observable",
695 "name" : "eventName",
697 "desc" : "The type of event to listen for",
703 "desc" : "The handler to remove",
709 "desc" : "(optional) The scope (this object) for the handler",
717 "name" : "addEvents",
718 "desc" : "Used to define events on this Observable",
720 "isConstructor" : false,
722 "memberOf" : "Roo.util.Observable",
731 "desc" : "The object with the events defined",
739 "name" : "releaseCapture",
740 "desc" : "Removes <b>all</b> added captures from the Observable.",
742 "isConstructor" : false,
744 "memberOf" : "Roo.util.Observable",
752 "type" : "Observable",
753 "desc" : "The Observable to release",
761 "name" : "removeListener",
762 "desc" : "Removes a listener",
764 "isConstructor" : false,
766 "memberOf" : "Roo.util.Observable",
773 "name" : "eventName",
775 "desc" : "The type of event to listen for",
781 "desc" : "The handler to remove",
787 "desc" : "(optional) The scope (this object) for the handler",
795 "name" : "fireEvent",
796 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
798 "isConstructor" : false,
800 "memberOf" : "Roo.util.Observable",
807 "name" : "eventName",
814 "type" : "Object...",
815 "desc" : "Variable number of parameters are passed to handlers",
823 "desc" : "returns false if any of the handlers return false otherwise it returns true"
828 "name" : "hasListener",
829 "desc" : "Checks to see if this object has any listeners for a specified event",
831 "isConstructor" : false,
833 "memberOf" : "Roo.util.Observable",
840 "name" : "eventName",
842 "desc" : "The name of the event to check for",
850 "desc" : "True if the event is being listened for, else false"
856 "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.",
858 "isConstructor" : false,
860 "memberOf" : "Roo.util.Observable",
868 "type" : "Observable",
869 "desc" : "The Observable to capture",
875 "desc" : "The function to call",
881 "desc" : "(optional) The scope (this object) for the fn",
889 "name" : "addListener",
890 "desc" : "Appends an event handler to this component",
892 "isConstructor" : false,
894 "memberOf" : "Roo.util.Observable",
901 "name" : "eventName",
903 "desc" : "The type of event to listen for",
909 "desc" : "The method the event invokes",
915 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
921 "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>",
932 "desc" : "The raw btnclick event for the button",
941 "type" : "Roo.EventObject",
951 "desc" : "Fire when dialog resize",
960 "type" : "Roo.bootstrap.Modal",
966 "type" : "Roo.EventObject",
975 "name" : "childrenrendered",
976 "desc" : "Fires when the children have been rendered..",
977 "memberOf" : "Roo.bootstrap.Component",
985 "type" : "Roo.bootstrap.Component",
994 "name" : "beforerender",
995 "desc" : "Fires before the component is rendered. Return false to stop the render.",
996 "memberOf" : "Roo.Component",
1004 "type" : "Roo.Component",
1006 "isOptional" : false
1014 "desc" : "Fires after the component is disabled.",
1015 "memberOf" : "Roo.Component",
1023 "type" : "Roo.Component",
1025 "isOptional" : false
1033 "desc" : "Fires after the component is rendered.",
1034 "memberOf" : "Roo.Component",
1042 "type" : "Roo.Component",
1044 "isOptional" : false
1052 "desc" : "Fires after the component is destroyed.",
1053 "memberOf" : "Roo.Component",
1061 "type" : "Roo.Component",
1063 "isOptional" : false
1071 "desc" : "Fires after the component is hidden.",
1072 "memberOf" : "Roo.Component",
1080 "type" : "Roo.Component",
1082 "isOptional" : false
1089 "name" : "beforehide",
1090 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1091 "memberOf" : "Roo.Component",
1099 "type" : "Roo.Component",
1101 "isOptional" : false
1109 "desc" : "Fires after the component is shown.",
1110 "memberOf" : "Roo.Component",
1118 "type" : "Roo.Component",
1120 "isOptional" : false
1127 "name" : "beforeshow",
1128 "desc" : "Fires before the component is shown. Return false to stop the show.",
1129 "memberOf" : "Roo.Component",
1137 "type" : "Roo.Component",
1139 "isOptional" : false
1147 "desc" : "Fires after the component is enabled.",
1148 "memberOf" : "Roo.Component",
1156 "type" : "Roo.Component",
1158 "isOptional" : false
1165 "name" : "beforedestroy",
1166 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1167 "memberOf" : "Roo.Component",
1175 "type" : "Roo.Component",
1177 "isOptional" : false