2 "name" : "Roo.bootstrap.MessageBar",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MessageBar class",
12 "memberOf" : "MessageBar",
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" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "beforeClass",
65 "desc" : "insert the bar before the given class",
66 "memberOf" : "Roo.bootstrap.MessageBar",
73 "desc" : "default false, fix the bar at the top",
74 "memberOf" : "Roo.bootstrap.MessageBar",
81 "name" : "can_build_overlaid",
83 "desc" : "True if element can be rebuild from a HTML page",
84 "memberOf" : "Roo.bootstrap.Component",
91 "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\".",
92 "memberOf" : "Roo.Component",
101 "desc" : "any extra css",
102 "memberOf" : "Roo.bootstrap.Component",
107 "name" : "allowDomMove",
109 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
110 "memberOf" : "Roo.Component",
117 "desc" : "contents of the MessageBar",
118 "memberOf" : "Roo.bootstrap.MessageBar",
125 "desc" : "css class",
126 "memberOf" : "Roo.bootstrap.Component",
133 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
134 "memberOf" : "Roo.bootstrap.Component",
139 "name" : "actionMode",
141 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
142 "memberOf" : "Roo.Component",
149 "desc" : "default false",
150 "memberOf" : "Roo.bootstrap.MessageBar",
159 "desc" : "cutomer id",
160 "memberOf" : "Roo.bootstrap.Component",
167 "desc" : "default info",
168 "memberOf" : "Roo.bootstrap.MessageBar",
179 "desc" : "Specifies name attribute",
180 "memberOf" : "Roo.bootstrap.Component",
185 "name" : "disableClass",
187 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
188 "memberOf" : "Roo.Component",
195 "name" : "tooltipEl",
196 "desc" : "Fetch the element to display the tooltip on.",
198 "isConstructor" : false,
200 "memberOf" : "Roo.bootstrap.Component",
210 "type" : "Roo.Element",
211 "desc" : "defaults to this.el"
217 "desc" : "Hide a component - adds 'hidden' class",
219 "isConstructor" : false,
221 "memberOf" : "Roo.bootstrap.Component",
233 "desc" : "Show a component - removes 'hidden' class",
235 "isConstructor" : false,
237 "memberOf" : "Roo.bootstrap.Component",
248 "name" : "xAddChildren",
249 "desc" : "xAddChildren - the 'sub-compentized' version of the above idea..",
251 "isConstructor" : false,
253 "memberOf" : "Roo.bootstrap.Component",
264 "name" : "setVisibilityEl",
265 "desc" : "Set the element that will be used to show or hide",
267 "isConstructor" : false,
269 "memberOf" : "Roo.bootstrap.Component",
280 "name" : "getVisibilityEl",
281 "desc" : "Get the element that will be used to show or hide",
283 "isConstructor" : false,
285 "memberOf" : "Roo.bootstrap.Component",
297 "desc" : "This is really a wrapper for addxtypeChild\nit handles stuff relating to flexy:foreach / flexy:if\n= some of our projects use a flat rendering of the output, and try and overlay it with dynamic data.\n -- this is a bit of a nightmare... and is even more confusing to debug..",
299 "isConstructor" : false,
301 "memberOf" : "Roo.bootstrap.Component",
313 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
315 "isConstructor" : false,
317 "memberOf" : "Roo.bootstrap.Component",
328 "name" : "addxtypeChild",
329 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
331 "isConstructor" : false,
333 "memberOf" : "Roo.bootstrap.Component",
344 "name" : "initEvents",
345 "desc" : "Initialize Events for the element",
347 "isConstructor" : false,
349 "memberOf" : "Roo.bootstrap.Component",
360 "name" : "getChildContainer",
361 "desc" : "Fetch the element to add children to",
363 "isConstructor" : false,
365 "memberOf" : "Roo.bootstrap.Component",
375 "type" : "Roo.Element",
376 "desc" : "defaults to this.el"
381 "name" : "addxtypeChildren",
382 "desc" : "add a number of children to this object,\n which in turn calls render...",
384 "isConstructor" : false,
386 "memberOf" : "Roo.bootstrap.Component",
398 "desc" : "Returns the id of this component.",
400 "isConstructor" : false,
402 "memberOf" : "Roo.Component",
419 "desc" : "If this is a lazy rendering component, render it to its container element.",
421 "isConstructor" : false,
423 "memberOf" : "Roo.Component",
430 "name" : "container",
431 "type" : "String/HTMLElement/Element",
432 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
441 "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}.",
443 "isConstructor" : false,
445 "memberOf" : "Roo.Component",
456 "name" : "isVisible",
457 "desc" : "Returns true if this component is visible.",
459 "isConstructor" : false,
461 "memberOf" : "Roo.Component",
472 "name" : "setDisabled",
473 "desc" : "Convenience function for setting disabled/enabled by boolean.",
475 "isConstructor" : false,
477 "memberOf" : "Roo.Component",
495 "desc" : "Try to focus this component.",
497 "isConstructor" : false,
499 "memberOf" : "Roo.Component",
506 "name" : "selectText",
508 "desc" : "True to also select the text in this component (if applicable)",
515 "type" : "Roo.Component",
522 "desc" : "Enable this component.",
524 "isConstructor" : false,
526 "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",
584 "type" : "Roo.Component",
591 "desc" : "Returns the underlying {@link Roo.Element}.",
593 "isConstructor" : false,
595 "memberOf" : "Roo.Component",
605 "type" : "Roo.Element",
606 "desc" : "The element"
611 "name" : "purgeListeners",
612 "desc" : "Removes all listeners for this object",
614 "isConstructor" : false,
616 "memberOf" : "Roo.util.Observable",
628 "desc" : "Appends an event handler to this element (shorthand for addListener)",
630 "isConstructor" : false,
632 "memberOf" : "Roo.util.Observable",
639 "name" : "eventName",
641 "desc" : "The type of event to listen for",
647 "desc" : "The method the event invokes",
653 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
659 "desc" : "(optional)",
668 "desc" : "Removes a listener (shorthand for removeListener)",
670 "isConstructor" : false,
672 "memberOf" : "Roo.util.Observable",
679 "name" : "eventName",
681 "desc" : "The type of event to listen for",
687 "desc" : "The handler to remove",
693 "desc" : "(optional) The scope (this object) for the handler",
701 "name" : "addEvents",
702 "desc" : "Used to define events on this Observable",
704 "isConstructor" : false,
706 "memberOf" : "Roo.util.Observable",
715 "desc" : "The object with the events defined",
723 "name" : "releaseCapture",
724 "desc" : "Removes <b>all</b> added captures from the Observable.",
726 "isConstructor" : false,
728 "memberOf" : "Roo.util.Observable",
736 "type" : "Observable",
737 "desc" : "The Observable to release",
745 "name" : "removeListener",
746 "desc" : "Removes a listener",
748 "isConstructor" : false,
750 "memberOf" : "Roo.util.Observable",
757 "name" : "eventName",
759 "desc" : "The type of event to listen for",
765 "desc" : "The handler to remove",
771 "desc" : "(optional) The scope (this object) for the handler",
779 "name" : "fireEvent",
780 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
782 "isConstructor" : false,
784 "memberOf" : "Roo.util.Observable",
791 "name" : "eventName",
798 "type" : "Object...",
799 "desc" : "Variable number of parameters are passed to handlers",
807 "desc" : "returns false if any of the handlers return false otherwise it returns true"
812 "name" : "hasListener",
813 "desc" : "Checks to see if this object has any listeners for a specified event",
815 "isConstructor" : false,
817 "memberOf" : "Roo.util.Observable",
824 "name" : "eventName",
826 "desc" : "The name of the event to check for",
834 "desc" : "True if the event is being listened for, else false"
840 "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.",
842 "isConstructor" : false,
844 "memberOf" : "Roo.util.Observable",
852 "type" : "Observable",
853 "desc" : "The Observable to capture",
859 "desc" : "The function to call",
865 "desc" : "(optional) The scope (this object) for the fn",
873 "name" : "addListener",
874 "desc" : "Appends an event handler to this component",
876 "isConstructor" : false,
878 "memberOf" : "Roo.util.Observable",
885 "name" : "eventName",
887 "desc" : "The type of event to listen for",
893 "desc" : "The method the event invokes",
899 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
905 "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>",
915 "name" : "childrenrendered",
916 "desc" : "Fires when the children have been rendered..",
917 "memberOf" : "Roo.bootstrap.Component",
925 "type" : "Roo.bootstrap.Component",
934 "name" : "beforerender",
935 "desc" : "Fires before the component is rendered. Return false to stop the render.",
936 "memberOf" : "Roo.Component",
944 "type" : "Roo.Component",
954 "desc" : "Fires after the component is disabled.",
955 "memberOf" : "Roo.Component",
963 "type" : "Roo.Component",
973 "desc" : "Fires after the component is rendered.",
974 "memberOf" : "Roo.Component",
982 "type" : "Roo.Component",
992 "desc" : "Fires after the component is destroyed.",
993 "memberOf" : "Roo.Component",
1001 "type" : "Roo.Component",
1003 "isOptional" : false
1011 "desc" : "Fires after the component is hidden.",
1012 "memberOf" : "Roo.Component",
1020 "type" : "Roo.Component",
1022 "isOptional" : false
1029 "name" : "beforehide",
1030 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1031 "memberOf" : "Roo.Component",
1039 "type" : "Roo.Component",
1041 "isOptional" : false
1049 "desc" : "Fires after the component is shown.",
1050 "memberOf" : "Roo.Component",
1058 "type" : "Roo.Component",
1060 "isOptional" : false
1067 "name" : "beforeshow",
1068 "desc" : "Fires before the component is shown. Return false to stop the show.",
1069 "memberOf" : "Roo.Component",
1077 "type" : "Roo.Component",
1079 "isOptional" : false
1087 "desc" : "Fires after the component is enabled.",
1088 "memberOf" : "Roo.Component",
1096 "type" : "Roo.Component",
1098 "isOptional" : false
1105 "name" : "beforedestroy",
1106 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1107 "memberOf" : "Roo.Component",
1115 "type" : "Roo.Component",
1117 "isOptional" : false