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"
43 "desc" : "Text for the tooltip",
44 "memberOf" : "Roo.bootstrap.Component"
47 "name" : "container_method",
49 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
50 "memberOf" : "Roo.bootstrap.Component"
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component"
59 "name" : "beforeClass",
61 "desc" : "insert the bar before the given class",
67 "desc" : "e) default false, fix the bar at the top",
71 "name" : "can_build_overlaid",
73 "desc" : "True if element can be rebuild from a HTML page",
74 "memberOf" : "Roo.bootstrap.Component"
79 "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\".",
80 "memberOf" : "Roo.Component"
85 "desc" : "any extra css",
86 "memberOf" : "Roo.bootstrap.Component"
89 "name" : "allowDomMove",
91 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
92 "memberOf" : "Roo.Component"
97 "desc" : "contents of the MessageBar",
103 "desc" : "css class",
104 "memberOf" : "Roo.bootstrap.Component"
109 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
110 "memberOf" : "Roo.bootstrap.Component"
113 "name" : "actionMode",
115 "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",
116 "memberOf" : "Roo.Component"
121 "desc" : "e) default false",
127 "desc" : "cutomer id",
128 "memberOf" : "Roo.bootstrap.Component"
133 "desc" : "r) default info",
139 "desc" : "Specifies name attribute",
140 "memberOf" : "Roo.bootstrap.Component"
143 "name" : "disableClass",
145 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
146 "memberOf" : "Roo.Component"
151 "name" : "tooltipEl",
153 "desc" : "Fetch the element to display the tooltip on.",
154 "sig" : "()\n{\n\n}",
156 "memberOf" : "Roo.bootstrap.Component",
158 "isConstructor" : false,
170 "type" : "Roo.Element",
171 "desc" : "defaults to this.el"
178 "desc" : "Hide a component - adds 'hidden' class",
179 "sig" : "()\n{\n\n}",
181 "memberOf" : "Roo.bootstrap.Component",
183 "isConstructor" : false,
197 "desc" : "Show a component - removes 'hidden' class",
198 "sig" : "()\n{\n\n}",
200 "memberOf" : "Roo.bootstrap.Component",
202 "isConstructor" : false,
214 "name" : "setVisibilityEl",
216 "desc" : "Set the element that will be used to show or hide",
217 "sig" : "()\n{\n\n}",
219 "memberOf" : "Roo.bootstrap.Component",
221 "isConstructor" : false,
233 "name" : "getVisibilityEl",
235 "desc" : "Get the element that will be used to show or hide",
236 "sig" : "()\n{\n\n}",
238 "memberOf" : "Roo.bootstrap.Component",
240 "isConstructor" : false,
252 "name" : "initEvents",
254 "desc" : "Initialize Events for the element",
255 "sig" : "()\n{\n\n}",
257 "memberOf" : "Roo.bootstrap.Component",
259 "isConstructor" : false,
271 "name" : "getChildContainer",
273 "desc" : "Fetch the element to add children to",
274 "sig" : "()\n{\n\n}",
276 "memberOf" : "Roo.bootstrap.Component",
278 "isConstructor" : false,
290 "type" : "Roo.Element",
291 "desc" : "defaults to this.el"
298 "desc" : "Returns the id of this component.",
299 "sig" : "()\n{\n\n}",
301 "memberOf" : "Roo.Component",
303 "isConstructor" : false,
323 "desc" : "If this is a lazy rendering component, render it to its container element.",
324 "sig" : "(container)",
326 "memberOf" : "Roo.Component",
328 "isConstructor" : false,
338 "name" : "container",
339 "type" : "String/HTMLElement/Element",
340 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
349 "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}.",
350 "sig" : "()\n{\n\n}",
352 "memberOf" : "Roo.Component",
354 "isConstructor" : false,
366 "name" : "isVisible",
368 "desc" : "Returns true if this component is visible.",
369 "sig" : "()\n{\n\n}",
371 "memberOf" : "Roo.Component",
373 "isConstructor" : false,
385 "name" : "setDisabled",
387 "desc" : "Convenience function for setting disabled/enabled by boolean.",
388 "sig" : "(disabled)",
390 "memberOf" : "Roo.Component",
392 "isConstructor" : false,
413 "desc" : "Try to focus this component.",
414 "sig" : "(selectText)",
416 "memberOf" : "Roo.Component",
418 "isConstructor" : false,
428 "name" : "selectText",
430 "desc" : "True to also select the text in this component (if applicable)",
437 "type" : "Roo.Component",
445 "desc" : "Enable this component.",
446 "sig" : "()\n{\n\n}",
448 "memberOf" : "Roo.Component",
450 "isConstructor" : false,
462 "type" : "Roo.Component",
468 "name" : "setVisible",
470 "desc" : "Convenience function to hide or show this component by boolean.",
473 "memberOf" : "Roo.Component",
475 "isConstructor" : false,
487 "desc" : "True to show, false to hide",
494 "type" : "Roo.Component",
502 "desc" : "Disable this component.",
503 "sig" : "()\n{\n\n}",
505 "memberOf" : "Roo.Component",
507 "isConstructor" : false,
519 "type" : "Roo.Component",
527 "desc" : "Returns the underlying {@link Roo.Element}.",
528 "sig" : "()\n{\n\n}",
530 "memberOf" : "Roo.Component",
532 "isConstructor" : false,
544 "type" : "Roo.Element",
545 "desc" : "The element"
550 "name" : "purgeListeners",
552 "desc" : "Removes all listeners for this object",
553 "sig" : "()\n{\n\n}",
555 "memberOf" : "Roo.util.Observable",
557 "isConstructor" : false,
571 "desc" : "Appends an event handler to this element (shorthand for addListener)",
572 "sig" : "(eventName, handler, scope, options)",
574 "memberOf" : "Roo.util.Observable",
576 "isConstructor" : false,
586 "name" : "eventName",
588 "desc" : "The type of event to listen for",
594 "desc" : "The method the event invokes",
600 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
606 "desc" : "(optional)",
615 "desc" : "Removes a listener (shorthand for removeListener)",
616 "sig" : "(eventName, handler, scope)",
618 "memberOf" : "Roo.util.Observable",
620 "isConstructor" : false,
630 "name" : "eventName",
632 "desc" : "The type of event to listen for",
638 "desc" : "The handler to remove",
644 "desc" : "(optional) The scope (this object) for the handler",
651 "name" : "addEvents",
653 "desc" : "Used to define events on this Observable",
656 "memberOf" : "Roo.util.Observable",
658 "isConstructor" : false,
670 "desc" : "The object with the events defined",
677 "name" : "releaseCapture",
679 "desc" : "Removes <b>all</b> added captures from the Observable.",
682 "memberOf" : "Roo.util.Observable",
684 "isConstructor" : false,
695 "type" : "Observable",
696 "desc" : "The Observable to release",
703 "name" : "removeListener",
705 "desc" : "Removes a listener",
706 "sig" : "(eventName, handler, scope)",
708 "memberOf" : "Roo.util.Observable",
710 "isConstructor" : false,
720 "name" : "eventName",
722 "desc" : "The type of event to listen for",
728 "desc" : "The handler to remove",
734 "desc" : "(optional) The scope (this object) for the handler",
741 "name" : "fireEvent",
743 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
744 "sig" : "(eventName, args)",
746 "memberOf" : "Roo.util.Observable",
748 "isConstructor" : false,
758 "name" : "eventName",
765 "type" : "Object...",
766 "desc" : "Variable number of parameters are passed to handlers",
774 "desc" : "returns false if any of the handlers return false otherwise it returns true"
779 "name" : "hasListener",
781 "desc" : "Checks to see if this object has any listeners for a specified event",
782 "sig" : "(eventName)",
784 "memberOf" : "Roo.util.Observable",
786 "isConstructor" : false,
796 "name" : "eventName",
798 "desc" : "The name of the event to check for",
806 "desc" : "True if the event is being listened for, else false"
813 "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.",
814 "sig" : "(o, fn, scope)",
816 "memberOf" : "Roo.util.Observable",
818 "isConstructor" : false,
829 "type" : "Observable",
830 "desc" : "The Observable to capture",
836 "desc" : "The function to call",
842 "desc" : "(optional) The scope (this object) for the fn",
849 "name" : "addListener",
851 "desc" : "Appends an event handler to this component",
852 "sig" : "(eventName, handler, scope, options)",
854 "memberOf" : "Roo.util.Observable",
856 "isConstructor" : false,
866 "name" : "eventName",
868 "desc" : "The type of event to listen for",
874 "desc" : "The method the event invokes",
880 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
886 "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>",
895 "name" : "childrenrendered",
897 "desc" : "Fires when the children have been rendered..",
898 "sig" : "function (_self)\n{\n\n}",
899 "memberOf" : "Roo.bootstrap.Component",
907 "type" : "Roo.bootstrap.Component",
915 "name" : "beforerender",
917 "desc" : "Fires before the component is rendered. Return false to stop the render.",
918 "sig" : "function (_self)\n{\n\n}",
919 "memberOf" : "Roo.Component",
927 "type" : "Roo.Component",
937 "desc" : "Fires after the component is disabled.",
938 "sig" : "function (_self)\n{\n\n}",
939 "memberOf" : "Roo.Component",
947 "type" : "Roo.Component",
957 "desc" : "Fires after the component is rendered.",
958 "sig" : "function (_self)\n{\n\n}",
959 "memberOf" : "Roo.Component",
967 "type" : "Roo.Component",
977 "desc" : "Fires after the component is destroyed.",
978 "sig" : "function (_self)\n{\n\n}",
979 "memberOf" : "Roo.Component",
987 "type" : "Roo.Component",
997 "desc" : "Fires after the component is hidden.",
998 "sig" : "function (_self)\n{\n\n}",
999 "memberOf" : "Roo.Component",
1007 "type" : "Roo.Component",
1009 "isOptional" : false
1015 "name" : "beforehide",
1016 "type" : "function",
1017 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1018 "sig" : "function (_self)\n{\n\n}",
1019 "memberOf" : "Roo.Component",
1027 "type" : "Roo.Component",
1029 "isOptional" : false
1036 "type" : "function",
1037 "desc" : "Fires after the component is shown.",
1038 "sig" : "function (_self)\n{\n\n}",
1039 "memberOf" : "Roo.Component",
1047 "type" : "Roo.Component",
1049 "isOptional" : false
1055 "name" : "beforeshow",
1056 "type" : "function",
1057 "desc" : "Fires before the component is shown. Return false to stop the show.",
1058 "sig" : "function (_self)\n{\n\n}",
1059 "memberOf" : "Roo.Component",
1067 "type" : "Roo.Component",
1069 "isOptional" : false
1076 "type" : "function",
1077 "desc" : "Fires after the component is enabled.",
1078 "sig" : "function (_self)\n{\n\n}",
1079 "memberOf" : "Roo.Component",
1087 "type" : "Roo.Component",
1089 "isOptional" : false
1095 "name" : "beforedestroy",
1096 "type" : "function",
1097 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1098 "sig" : "function (_self)\n{\n\n}",
1099 "memberOf" : "Roo.Component",
1107 "type" : "Roo.Component",
1109 "isOptional" : false