2 "name" : "Roo.bootstrap.Modal",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Modal class",
21 "desc" : "The config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "set the max width of modal",
38 "memberOf" : "Roo.bootstrap.Modal",
44 "desc" : "Text for the tooltip",
45 "memberOf" : "Roo.bootstrap.Component",
49 "name" : "container_method",
51 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
52 "memberOf" : "Roo.bootstrap.Component",
56 "name" : "visibilityEl",
57 "type" : "string|object",
58 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
59 "memberOf" : "Roo.bootstrap.Component",
68 "desc" : "Array of buttons or standard button set..",
69 "memberOf" : "Roo.bootstrap.Modal",
73 "name" : "can_build_overlaid",
75 "desc" : "True if element can be rebuild from a HTML page",
76 "memberOf" : "Roo.bootstrap.Component",
82 "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\".",
83 "memberOf" : "Roo.Component",
92 "desc" : "Title of dialog",
93 "memberOf" : "Roo.bootstrap.Modal",
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component",
104 "name" : "allowDomMove",
106 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
107 "memberOf" : "Roo.Component",
112 "type" : "Roo.Template",
113 "desc" : "- a template with variables. to use it, add a handler in show:method adn",
114 "memberOf" : "Roo.bootstrap.Modal",
120 "desc" : "- the body of the dialog (for simple ones) - you can also use template..",
121 "memberOf" : "Roo.bootstrap.Modal",
125 "name" : "buttonPosition",
127 "desc" : "r) default right (DEPRICATED) - use mr-auto on buttons to put them on the left",
128 "memberOf" : "Roo.bootstrap.Modal",
138 "desc" : "css class",
139 "memberOf" : "Roo.bootstrap.Component",
143 "name" : "fitwindow",
145 "desc" : "default false",
146 "memberOf" : "Roo.bootstrap.Modal",
152 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
153 "memberOf" : "Roo.bootstrap.Component",
157 "name" : "actionMode",
159 "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",
160 "memberOf" : "Roo.Component",
164 "name" : "specificTitle",
166 "desc" : "default false",
167 "memberOf" : "Roo.bootstrap.Modal",
173 "desc" : "fixed width - usefull for chrome extension only really.",
174 "memberOf" : "Roo.bootstrap.Modal",
180 "desc" : "cutomer id",
181 "memberOf" : "Roo.bootstrap.Component",
185 "name" : "allow_close",
187 "desc" : "default true",
188 "memberOf" : "Roo.bootstrap.Modal",
194 "desc" : "fixed height - usefull for chrome extension only really.",
195 "memberOf" : "Roo.bootstrap.Modal",
201 "desc" : "g) default empty",
202 "memberOf" : "Roo.bootstrap.Modal",
211 "desc" : "Specifies name attribute",
212 "memberOf" : "Roo.bootstrap.Component",
216 "name" : "disableClass",
218 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
219 "memberOf" : "Roo.Component",
225 "desc" : "default true",
226 "memberOf" : "Roo.bootstrap.Modal",
232 "name" : "applyBody",
233 "desc" : "Set the body of the Dialog using the template",
235 "isConstructor" : false,
237 "memberOf" : "Roo.bootstrap.Modal",
246 "desc" : "- apply this data to the template and replace the body contents.",
254 "desc" : "Set the title of the Dialog",
256 "isConstructor" : false,
258 "memberOf" : "Roo.bootstrap.Modal",
267 "desc" : "new Title",
275 "desc" : "Set the body of the Dialog",
277 "isConstructor" : false,
279 "memberOf" : "Roo.bootstrap.Modal",
288 "desc" : "new Title",
295 "name" : "tooltipEl",
296 "desc" : "Fetch the element to display the tooltip on.",
298 "isConstructor" : false,
300 "memberOf" : "Roo.bootstrap.Component",
309 "type" : "Roo.Element",
310 "desc" : "defaults to this.el"
316 "desc" : "Hide a component - adds 'hidden' class",
318 "isConstructor" : false,
320 "memberOf" : "Roo.bootstrap.Component",
330 "desc" : "Show a component - removes 'hidden' class",
332 "isConstructor" : false,
334 "memberOf" : "Roo.bootstrap.Component",
343 "name" : "setVisibilityEl",
344 "desc" : "Set the element that will be used to show or hide",
346 "isConstructor" : false,
348 "memberOf" : "Roo.bootstrap.Component",
357 "name" : "getVisibilityEl",
358 "desc" : "Get the element that will be used to show or hide",
360 "isConstructor" : false,
362 "memberOf" : "Roo.bootstrap.Component",
371 "name" : "initEvents",
372 "desc" : "Initialize Events for the element",
374 "isConstructor" : false,
376 "memberOf" : "Roo.bootstrap.Component",
385 "name" : "getChildContainer",
386 "desc" : "Fetch the element to add children to",
388 "isConstructor" : false,
390 "memberOf" : "Roo.bootstrap.Component",
399 "type" : "Roo.Element",
400 "desc" : "defaults to this.el"
406 "desc" : "Returns the id of this component.",
408 "isConstructor" : false,
410 "memberOf" : "Roo.Component",
426 "desc" : "If this is a lazy rendering component, render it to its container element.",
428 "isConstructor" : false,
430 "memberOf" : "Roo.Component",
437 "name" : "container",
438 "type" : "String/HTMLElement/Element",
439 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
447 "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}.",
449 "isConstructor" : false,
451 "memberOf" : "Roo.Component",
460 "name" : "isVisible",
461 "desc" : "Returns true if this component is visible.",
463 "isConstructor" : false,
465 "memberOf" : "Roo.Component",
474 "name" : "setDisabled",
475 "desc" : "Convenience function for setting disabled/enabled by boolean.",
477 "isConstructor" : false,
479 "memberOf" : "Roo.Component",
496 "desc" : "Try to focus this component.",
498 "isConstructor" : false,
500 "memberOf" : "Roo.Component",
507 "name" : "selectText",
509 "desc" : "True to also select the text in this component (if applicable)",
516 "type" : "Roo.Component",
523 "desc" : "Enable this component.",
525 "isConstructor" : false,
527 "memberOf" : "Roo.Component",
536 "type" : "Roo.Component",
542 "name" : "setVisible",
543 "desc" : "Convenience function to hide or show this component by boolean.",
545 "isConstructor" : false,
547 "memberOf" : "Roo.Component",
556 "desc" : "True to show, false to hide",
563 "type" : "Roo.Component",
570 "desc" : "Disable this component.",
572 "isConstructor" : false,
574 "memberOf" : "Roo.Component",
583 "type" : "Roo.Component",
590 "desc" : "Returns the underlying {@link Roo.Element}.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.Component",
603 "type" : "Roo.Element",
604 "desc" : "The element"
609 "name" : "purgeListeners",
610 "desc" : "Removes all listeners for this object",
612 "isConstructor" : false,
614 "memberOf" : "Roo.util.Observable",
624 "desc" : "Appends an event handler to this element (shorthand for addListener)",
626 "isConstructor" : false,
628 "memberOf" : "Roo.util.Observable",
635 "name" : "eventName",
637 "desc" : "The type of event to listen for",
643 "desc" : "The method the event invokes",
649 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
655 "desc" : "(optional)",
663 "desc" : "Removes a listener (shorthand for removeListener)",
665 "isConstructor" : false,
667 "memberOf" : "Roo.util.Observable",
674 "name" : "eventName",
676 "desc" : "The type of event to listen for",
682 "desc" : "The handler to remove",
688 "desc" : "(optional) The scope (this object) for the handler",
695 "name" : "addEvents",
696 "desc" : "Used to define events on this Observable",
698 "isConstructor" : false,
700 "memberOf" : "Roo.util.Observable",
709 "desc" : "The object with the events defined",
716 "name" : "releaseCapture",
717 "desc" : "Removes <b>all</b> added captures from the Observable.",
719 "isConstructor" : false,
721 "memberOf" : "Roo.util.Observable",
729 "type" : "Observable",
730 "desc" : "The Observable to release",
737 "name" : "removeListener",
738 "desc" : "Removes a listener",
740 "isConstructor" : false,
742 "memberOf" : "Roo.util.Observable",
749 "name" : "eventName",
751 "desc" : "The type of event to listen for",
757 "desc" : "The handler to remove",
763 "desc" : "(optional) The scope (this object) for the handler",
770 "name" : "fireEvent",
771 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
773 "isConstructor" : false,
775 "memberOf" : "Roo.util.Observable",
782 "name" : "eventName",
789 "type" : "Object...",
790 "desc" : "Variable number of parameters are passed to handlers",
798 "desc" : "returns false if any of the handlers return false otherwise it returns true"
803 "name" : "hasListener",
804 "desc" : "Checks to see if this object has any listeners for a specified event",
806 "isConstructor" : false,
808 "memberOf" : "Roo.util.Observable",
815 "name" : "eventName",
817 "desc" : "The name of the event to check for",
825 "desc" : "True if the event is being listened for, else false"
831 "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.",
833 "isConstructor" : false,
835 "memberOf" : "Roo.util.Observable",
843 "type" : "Observable",
844 "desc" : "The Observable to capture",
850 "desc" : "The function to call",
856 "desc" : "(optional) The scope (this object) for the fn",
863 "name" : "addListener",
864 "desc" : "Appends an event handler to this component",
866 "isConstructor" : false,
868 "memberOf" : "Roo.util.Observable",
875 "name" : "eventName",
877 "desc" : "The type of event to listen for",
883 "desc" : "The method the event invokes",
889 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
895 "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>",
905 "desc" : "The raw btnclick event for the button",
906 "memberOf" : "Roo.bootstrap.Modal",
914 "type" : "Roo.EventObject",
923 "desc" : "Fire when dialog resize",
924 "memberOf" : "Roo.bootstrap.Modal",
932 "type" : "Roo.bootstrap.Modal",
938 "type" : "Roo.EventObject",
946 "name" : "childrenrendered",
947 "desc" : "Fires when the children have been rendered..",
948 "memberOf" : "Roo.bootstrap.Component",
956 "type" : "Roo.bootstrap.Component",
964 "name" : "beforerender",
965 "desc" : "Fires before the component is rendered. Return false to stop the render.",
966 "memberOf" : "Roo.Component",
974 "type" : "Roo.Component",
983 "desc" : "Fires after the component is disabled.",
984 "memberOf" : "Roo.Component",
992 "type" : "Roo.Component",
1001 "desc" : "Fires after the component is rendered.",
1002 "memberOf" : "Roo.Component",
1010 "type" : "Roo.Component",
1012 "isOptional" : false
1019 "desc" : "Fires after the component is destroyed.",
1020 "memberOf" : "Roo.Component",
1028 "type" : "Roo.Component",
1030 "isOptional" : false
1037 "desc" : "Fires after the component is hidden.",
1038 "memberOf" : "Roo.Component",
1046 "type" : "Roo.Component",
1048 "isOptional" : false
1054 "name" : "beforehide",
1055 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1056 "memberOf" : "Roo.Component",
1064 "type" : "Roo.Component",
1066 "isOptional" : false
1073 "desc" : "Fires after the component is shown.",
1074 "memberOf" : "Roo.Component",
1082 "type" : "Roo.Component",
1084 "isOptional" : false
1090 "name" : "beforeshow",
1091 "desc" : "Fires before the component is shown. Return false to stop the show.",
1092 "memberOf" : "Roo.Component",
1100 "type" : "Roo.Component",
1102 "isOptional" : false
1109 "desc" : "Fires after the component is enabled.",
1110 "memberOf" : "Roo.Component",
1118 "type" : "Roo.Component",
1120 "isOptional" : false
1126 "name" : "beforedestroy",
1127 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1128 "memberOf" : "Roo.Component",
1136 "type" : "Roo.Component",
1138 "isOptional" : false