2 "name" : "Roo.bootstrap.MessageBar",
4 "Roo.bootstrap.Component",
11 "desc" : "Bootstrap MessageBar class",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "MessageBar",
26 "desc" : "The config object",
37 "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>",
38 "memberOf" : "Roo.util.Observable",
45 "desc" : "Text for the tooltip",
46 "memberOf" : "Roo.bootstrap.Component",
51 "name" : "container_method",
53 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
54 "memberOf" : "Roo.bootstrap.Component",
59 "name" : "visibilityEl",
60 "type" : "string|object",
61 "desc" : "t) What element to use for visibility (@see getVisibilityEl(",
62 "memberOf" : "Roo.bootstrap.Component",
70 "name" : "beforeClass",
72 "desc" : "insert the bar before the given class",
80 "desc" : "e) default false, fix the bar at the t",
89 "name" : "can_build_overlaid",
91 "desc" : "True if element can be rebuild from a HTML page",
92 "memberOf" : "Roo.bootstrap.Component",
99 "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",
100 "memberOf" : "Roo.Component",
101 "isOptional" : false,
110 "desc" : "any extra css",
111 "memberOf" : "Roo.bootstrap.Component",
112 "isOptional" : false,
116 "name" : "allowDomMove",
118 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
119 "memberOf" : "Roo.Component",
120 "isOptional" : false,
126 "desc" : "contents of the MessageBar",
128 "isOptional" : false,
134 "desc" : "css class",
135 "memberOf" : "Roo.bootstrap.Component",
136 "isOptional" : false,
142 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
143 "memberOf" : "Roo.bootstrap.Component",
144 "isOptional" : false,
148 "name" : "actionMode",
150 "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",
151 "memberOf" : "Roo.Component",
152 "isOptional" : false,
158 "desc" : "e) default fal",
160 "isOptional" : false,
169 "desc" : "cutomer id",
170 "memberOf" : "Roo.bootstrap.Component",
171 "isOptional" : false,
177 "desc" : "r) default in",
179 "isOptional" : false,
190 "desc" : "Specifies name attribute",
191 "memberOf" : "Roo.bootstrap.Component",
192 "isOptional" : false,
196 "name" : "disableClass",
198 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
199 "memberOf" : "Roo.Component",
200 "isOptional" : false,
206 "name" : "tooltipEl",
208 "desc" : "Fetch the element to display the tooltip on.",
209 "sig" : "()\n{\n\n}",
211 "memberOf" : "Roo.bootstrap.Component",
213 "isConstructor" : false,
225 "type" : "Roo.Element",
226 "desc" : "defaults to this.el"
233 "desc" : "Hide a component - adds 'hidden' class",
234 "sig" : "()\n{\n\n}",
236 "memberOf" : "Roo.bootstrap.Component",
238 "isConstructor" : false,
252 "desc" : "Show a component - removes 'hidden' class",
253 "sig" : "()\n{\n\n}",
255 "memberOf" : "Roo.bootstrap.Component",
257 "isConstructor" : false,
269 "name" : "setVisibilityEl",
271 "desc" : "Set the element that will be used to show or hide",
272 "sig" : "()\n{\n\n}",
274 "memberOf" : "Roo.bootstrap.Component",
276 "isConstructor" : false,
288 "name" : "getVisibilityEl",
290 "desc" : "Get the element that will be used to show or hide",
291 "sig" : "()\n{\n\n}",
293 "memberOf" : "Roo.bootstrap.Component",
295 "isConstructor" : false,
307 "name" : "initEvents",
309 "desc" : "Initialize Events for the element",
310 "sig" : "()\n{\n\n}",
312 "memberOf" : "Roo.bootstrap.Component",
314 "isConstructor" : false,
326 "name" : "getChildContainer",
328 "desc" : "Fetch the element to add children to",
329 "sig" : "()\n{\n\n}",
331 "memberOf" : "Roo.bootstrap.Component",
333 "isConstructor" : false,
345 "type" : "Roo.Element",
346 "desc" : "defaults to this.el"
353 "desc" : "Returns the id of this component.",
354 "sig" : "()\n{\n\n}",
356 "memberOf" : "Roo.Component",
358 "isConstructor" : false,
378 "desc" : "If this is a lazy rendering component, render it to its container element.",
379 "sig" : "(container)",
381 "memberOf" : "Roo.Component",
383 "isConstructor" : false,
393 "name" : "container",
394 "type" : "String/HTMLElement/Element",
395 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
404 "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}.",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.Component",
409 "isConstructor" : false,
421 "name" : "isVisible",
423 "desc" : "Returns true if this component is visible.",
424 "sig" : "()\n{\n\n}",
426 "memberOf" : "Roo.Component",
428 "isConstructor" : false,
440 "name" : "setDisabled",
442 "desc" : "Convenience function for setting disabled/enabled by boolean.",
443 "sig" : "(disabled)",
445 "memberOf" : "Roo.Component",
447 "isConstructor" : false,
468 "desc" : "Try to focus this component.",
469 "sig" : "(selectText)",
471 "memberOf" : "Roo.Component",
473 "isConstructor" : false,
483 "name" : "selectText",
485 "desc" : "True to also select the text in this component (if applicable)",
492 "type" : "Roo.Component",
500 "desc" : "Enable this component.",
501 "sig" : "()\n{\n\n}",
503 "memberOf" : "Roo.Component",
505 "isConstructor" : false,
517 "type" : "Roo.Component",
523 "name" : "setVisible",
525 "desc" : "Convenience function to hide or show this component by boolean.",
528 "memberOf" : "Roo.Component",
530 "isConstructor" : false,
542 "desc" : "True to show, false to hide",
549 "type" : "Roo.Component",
557 "desc" : "Disable this component.",
558 "sig" : "()\n{\n\n}",
560 "memberOf" : "Roo.Component",
562 "isConstructor" : false,
574 "type" : "Roo.Component",
582 "desc" : "Returns the underlying {@link Roo.Element}.",
583 "sig" : "()\n{\n\n}",
585 "memberOf" : "Roo.Component",
587 "isConstructor" : false,
599 "type" : "Roo.Element",
600 "desc" : "The element"
605 "name" : "purgeListeners",
607 "desc" : "Removes all listeners for this object",
608 "sig" : "()\n{\n\n}",
610 "memberOf" : "Roo.util.Observable",
612 "isConstructor" : false,
626 "desc" : "Appends an event handler to this element (shorthand for addListener)",
627 "sig" : "(eventName, handler, scope, options)",
629 "memberOf" : "Roo.util.Observable",
631 "isConstructor" : false,
641 "name" : "eventName",
643 "desc" : "The type of event to listen for",
649 "desc" : "The method the event invokes",
655 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
661 "desc" : "(optional)",
670 "desc" : "Removes a listener (shorthand for removeListener)",
671 "sig" : "(eventName, handler, scope)",
673 "memberOf" : "Roo.util.Observable",
675 "isConstructor" : false,
685 "name" : "eventName",
687 "desc" : "The type of event to listen for",
693 "desc" : "The handler to remove",
699 "desc" : "(optional) The scope (this object) for the handler",
706 "name" : "addEvents",
708 "desc" : "Used to define events on this Observable",
711 "memberOf" : "Roo.util.Observable",
713 "isConstructor" : false,
725 "desc" : "The object with the events defined",
732 "name" : "releaseCapture",
734 "desc" : "Removes <b>all</b> added captures from the Observable.",
737 "memberOf" : "Roo.util.Observable",
739 "isConstructor" : false,
750 "type" : "Observable",
751 "desc" : "The Observable to release",
758 "name" : "removeListener",
760 "desc" : "Removes a listener",
761 "sig" : "(eventName, handler, scope)",
763 "memberOf" : "Roo.util.Observable",
765 "isConstructor" : false,
775 "name" : "eventName",
777 "desc" : "The type of event to listen for",
783 "desc" : "The handler to remove",
789 "desc" : "(optional) The scope (this object) for the handler",
796 "name" : "fireEvent",
798 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
799 "sig" : "(eventName, args)",
801 "memberOf" : "Roo.util.Observable",
803 "isConstructor" : false,
813 "name" : "eventName",
820 "type" : "Object...",
821 "desc" : "Variable number of parameters are passed to handlers",
829 "desc" : "returns false if any of the handlers return false otherwise it returns true"
834 "name" : "hasListener",
836 "desc" : "Checks to see if this object has any listeners for a specified event",
837 "sig" : "(eventName)",
839 "memberOf" : "Roo.util.Observable",
841 "isConstructor" : false,
851 "name" : "eventName",
853 "desc" : "The name of the event to check for",
861 "desc" : "True if the event is being listened for, else false"
868 "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.",
869 "sig" : "(o, fn, scope)",
871 "memberOf" : "Roo.util.Observable",
873 "isConstructor" : false,
884 "type" : "Observable",
885 "desc" : "The Observable to capture",
891 "desc" : "The function to call",
897 "desc" : "(optional) The scope (this object) for the fn",
904 "name" : "addListener",
906 "desc" : "Appends an event handler to this component",
907 "sig" : "(eventName, handler, scope, options)",
909 "memberOf" : "Roo.util.Observable",
911 "isConstructor" : false,
921 "name" : "eventName",
923 "desc" : "The type of event to listen for",
929 "desc" : "The method the event invokes",
935 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
941 "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>",
950 "name" : "childrenrendered",
952 "desc" : "Fires when the children have been rendered..",
953 "sig" : "function (_self)\n{\n\n}",
954 "memberOf" : "Roo.bootstrap.Component",
962 "type" : "Roo.bootstrap.Component",
970 "name" : "beforerender",
972 "desc" : "Fires before the component is rendered. Return false to stop the render.",
973 "sig" : "function (_self)\n{\n\n}",
974 "memberOf" : "Roo.Component",
982 "type" : "Roo.Component",
992 "desc" : "Fires after the component is disabled.",
993 "sig" : "function (_self)\n{\n\n}",
994 "memberOf" : "Roo.Component",
1002 "type" : "Roo.Component",
1004 "isOptional" : false
1011 "type" : "function",
1012 "desc" : "Fires after the component is rendered.",
1013 "sig" : "function (_self)\n{\n\n}",
1014 "memberOf" : "Roo.Component",
1022 "type" : "Roo.Component",
1024 "isOptional" : false
1031 "type" : "function",
1032 "desc" : "Fires after the component is destroyed.",
1033 "sig" : "function (_self)\n{\n\n}",
1034 "memberOf" : "Roo.Component",
1042 "type" : "Roo.Component",
1044 "isOptional" : false
1051 "type" : "function",
1052 "desc" : "Fires after the component is hidden.",
1053 "sig" : "function (_self)\n{\n\n}",
1054 "memberOf" : "Roo.Component",
1062 "type" : "Roo.Component",
1064 "isOptional" : false
1070 "name" : "beforehide",
1071 "type" : "function",
1072 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1073 "sig" : "function (_self)\n{\n\n}",
1074 "memberOf" : "Roo.Component",
1082 "type" : "Roo.Component",
1084 "isOptional" : false
1091 "type" : "function",
1092 "desc" : "Fires after the component is shown.",
1093 "sig" : "function (_self)\n{\n\n}",
1094 "memberOf" : "Roo.Component",
1102 "type" : "Roo.Component",
1104 "isOptional" : false
1110 "name" : "beforeshow",
1111 "type" : "function",
1112 "desc" : "Fires before the component is shown. Return false to stop the show.",
1113 "sig" : "function (_self)\n{\n\n}",
1114 "memberOf" : "Roo.Component",
1122 "type" : "Roo.Component",
1124 "isOptional" : false
1131 "type" : "function",
1132 "desc" : "Fires after the component is enabled.",
1133 "sig" : "function (_self)\n{\n\n}",
1134 "memberOf" : "Roo.Component",
1142 "type" : "Roo.Component",
1144 "isOptional" : false
1150 "name" : "beforedestroy",
1151 "type" : "function",
1152 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1153 "sig" : "function (_self)\n{\n\n}",
1154 "memberOf" : "Roo.Component",
1162 "type" : "Roo.Component",
1164 "isOptional" : false