2 "name" : "Roo.bootstrap.Navbar",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap Navbar class",
12 "memberOf" : "Navbar",
21 "desc" : "The config object",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
36 "name" : "container_method",
38 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
39 "memberOf" : "Roo.bootstrap.Component"
44 "desc" : "Text for the tooltip",
45 "memberOf" : "Roo.bootstrap.Component"
48 "name" : "visibilityEl",
49 "type" : "string|object",
50 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
51 "memberOf" : "Roo.bootstrap.Component"
54 "name" : "can_build_overlaid",
56 "desc" : "True if element can be rebuild from a HTML page",
57 "memberOf" : "Roo.bootstrap.Component"
62 "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\".",
63 "memberOf" : "Roo.Component"
68 "desc" : "any extra css",
69 "memberOf" : "Roo.bootstrap.Component"
72 "name" : "allowDomMove",
74 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
75 "memberOf" : "Roo.Component"
81 "memberOf" : "Roo.bootstrap.Component"
86 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
87 "memberOf" : "Roo.bootstrap.Component"
90 "name" : "actionMode",
92 "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",
93 "memberOf" : "Roo.Component"
98 "desc" : "cutomer id",
99 "memberOf" : "Roo.bootstrap.Component"
104 "desc" : "Specifies name attribute",
105 "memberOf" : "Roo.bootstrap.Component"
108 "name" : "disableClass",
110 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
111 "memberOf" : "Roo.Component"
118 "desc" : "Collapse the navbar pulldown",
119 "sig" : "()\n{\n\n}",
123 "isConstructor" : false,
137 "desc" : "Expand the navbar pulldown",
138 "sig" : "()\n{\n\n}",
142 "isConstructor" : false,
154 "name" : "tooltipEl",
156 "desc" : "Fetch the element to display the tooltip on.",
157 "sig" : "()\n{\n\n}",
159 "memberOf" : "Roo.bootstrap.Component",
161 "isConstructor" : false,
173 "type" : "Roo.Element",
174 "desc" : "defaults to this.el"
181 "desc" : "Hide a component - adds 'hidden' class",
182 "sig" : "()\n{\n\n}",
184 "memberOf" : "Roo.bootstrap.Component",
186 "isConstructor" : false,
200 "desc" : "Show a component - removes 'hidden' class",
201 "sig" : "()\n{\n\n}",
203 "memberOf" : "Roo.bootstrap.Component",
205 "isConstructor" : false,
217 "name" : "setVisibilityEl",
219 "desc" : "Set the element that will be used to show or hide",
220 "sig" : "()\n{\n\n}",
222 "memberOf" : "Roo.bootstrap.Component",
224 "isConstructor" : false,
236 "name" : "getVisibilityEl",
238 "desc" : "Get the element that will be used to show or hide",
239 "sig" : "()\n{\n\n}",
241 "memberOf" : "Roo.bootstrap.Component",
243 "isConstructor" : false,
255 "name" : "initEvents",
257 "desc" : "Initialize Events for the element",
258 "sig" : "()\n{\n\n}",
260 "memberOf" : "Roo.bootstrap.Component",
262 "isConstructor" : false,
274 "name" : "getChildContainer",
276 "desc" : "Fetch the element to add children to",
277 "sig" : "()\n{\n\n}",
279 "memberOf" : "Roo.bootstrap.Component",
281 "isConstructor" : false,
293 "type" : "Roo.Element",
294 "desc" : "defaults to this.el"
301 "desc" : "Returns the id of this component.",
302 "sig" : "()\n{\n\n}",
304 "memberOf" : "Roo.Component",
306 "isConstructor" : false,
326 "desc" : "If this is a lazy rendering component, render it to its container element.",
327 "sig" : "(container)",
329 "memberOf" : "Roo.Component",
331 "isConstructor" : false,
341 "name" : "container",
342 "type" : "String/HTMLElement/Element",
343 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
352 "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}.",
353 "sig" : "()\n{\n\n}",
355 "memberOf" : "Roo.Component",
357 "isConstructor" : false,
369 "name" : "isVisible",
371 "desc" : "Returns true if this component is visible.",
372 "sig" : "()\n{\n\n}",
374 "memberOf" : "Roo.Component",
376 "isConstructor" : false,
388 "name" : "setDisabled",
390 "desc" : "Convenience function for setting disabled/enabled by boolean.",
391 "sig" : "(disabled)",
393 "memberOf" : "Roo.Component",
395 "isConstructor" : false,
416 "desc" : "Try to focus this component.",
417 "sig" : "(selectText)",
419 "memberOf" : "Roo.Component",
421 "isConstructor" : false,
431 "name" : "selectText",
433 "desc" : "True to also select the text in this component (if applicable)",
440 "type" : "Roo.Component",
448 "desc" : "Enable this component.",
449 "sig" : "()\n{\n\n}",
451 "memberOf" : "Roo.Component",
453 "isConstructor" : false,
465 "type" : "Roo.Component",
471 "name" : "setVisible",
473 "desc" : "Convenience function to hide or show this component by boolean.",
476 "memberOf" : "Roo.Component",
478 "isConstructor" : false,
490 "desc" : "True to show, false to hide",
497 "type" : "Roo.Component",
505 "desc" : "Disable this component.",
506 "sig" : "()\n{\n\n}",
508 "memberOf" : "Roo.Component",
510 "isConstructor" : false,
522 "type" : "Roo.Component",
530 "desc" : "Returns the underlying {@link Roo.Element}.",
531 "sig" : "()\n{\n\n}",
533 "memberOf" : "Roo.Component",
535 "isConstructor" : false,
547 "type" : "Roo.Element",
548 "desc" : "The element"
553 "name" : "purgeListeners",
555 "desc" : "Removes all listeners for this object",
556 "sig" : "()\n{\n\n}",
558 "memberOf" : "Roo.util.Observable",
560 "isConstructor" : false,
574 "desc" : "Appends an event handler to this element (shorthand for addListener)",
575 "sig" : "(eventName, handler, scope, options)",
577 "memberOf" : "Roo.util.Observable",
579 "isConstructor" : false,
589 "name" : "eventName",
591 "desc" : "The type of event to listen for",
597 "desc" : "The method the event invokes",
603 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
609 "desc" : "(optional)",
618 "desc" : "Removes a listener (shorthand for removeListener)",
619 "sig" : "(eventName, handler, scope)",
621 "memberOf" : "Roo.util.Observable",
623 "isConstructor" : false,
633 "name" : "eventName",
635 "desc" : "The type of event to listen for",
641 "desc" : "The handler to remove",
647 "desc" : "(optional) The scope (this object) for the handler",
654 "name" : "addEvents",
656 "desc" : "Used to define events on this Observable",
659 "memberOf" : "Roo.util.Observable",
661 "isConstructor" : false,
673 "desc" : "The object with the events defined",
680 "name" : "releaseCapture",
682 "desc" : "Removes <b>all</b> added captures from the Observable.",
685 "memberOf" : "Roo.util.Observable",
687 "isConstructor" : false,
698 "type" : "Observable",
699 "desc" : "The Observable to release",
706 "name" : "removeListener",
708 "desc" : "Removes a listener",
709 "sig" : "(eventName, handler, scope)",
711 "memberOf" : "Roo.util.Observable",
713 "isConstructor" : false,
723 "name" : "eventName",
725 "desc" : "The type of event to listen for",
731 "desc" : "The handler to remove",
737 "desc" : "(optional) The scope (this object) for the handler",
744 "name" : "fireEvent",
746 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
747 "sig" : "(eventName, args)",
749 "memberOf" : "Roo.util.Observable",
751 "isConstructor" : false,
761 "name" : "eventName",
768 "type" : "Object...",
769 "desc" : "Variable number of parameters are passed to handlers",
777 "desc" : "returns false if any of the handlers return false otherwise it returns true"
782 "name" : "hasListener",
784 "desc" : "Checks to see if this object has any listeners for a specified event",
785 "sig" : "(eventName)",
787 "memberOf" : "Roo.util.Observable",
789 "isConstructor" : false,
799 "name" : "eventName",
801 "desc" : "The name of the event to check for",
809 "desc" : "True if the event is being listened for, else false"
816 "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.",
817 "sig" : "(o, fn, scope)",
819 "memberOf" : "Roo.util.Observable",
821 "isConstructor" : false,
832 "type" : "Observable",
833 "desc" : "The Observable to capture",
839 "desc" : "The function to call",
845 "desc" : "(optional) The scope (this object) for the fn",
852 "name" : "addListener",
854 "desc" : "Appends an event handler to this component",
855 "sig" : "(eventName, handler, scope, options)",
857 "memberOf" : "Roo.util.Observable",
859 "isConstructor" : false,
869 "name" : "eventName",
871 "desc" : "The type of event to listen for",
877 "desc" : "The method the event invokes",
883 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
889 "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>",
898 "name" : "beforetoggle",
900 "desc" : "Fire before toggle the menu",
901 "sig" : "function (e)\n{\n\n}",
910 "type" : "Roo.EventObject",
918 "name" : "childrenrendered",
920 "desc" : "Fires when the children have been rendered..",
921 "sig" : "function (_self)\n{\n\n}",
922 "memberOf" : "Roo.bootstrap.Component",
930 "type" : "Roo.bootstrap.Component",
938 "name" : "beforerender",
940 "desc" : "Fires before the component is rendered. Return false to stop the render.",
941 "sig" : "function (_self)\n{\n\n}",
942 "memberOf" : "Roo.Component",
950 "type" : "Roo.Component",
960 "desc" : "Fires after the component is disabled.",
961 "sig" : "function (_self)\n{\n\n}",
962 "memberOf" : "Roo.Component",
970 "type" : "Roo.Component",
980 "desc" : "Fires after the component is rendered.",
981 "sig" : "function (_self)\n{\n\n}",
982 "memberOf" : "Roo.Component",
990 "type" : "Roo.Component",
1000 "desc" : "Fires after the component is destroyed.",
1001 "sig" : "function (_self)\n{\n\n}",
1002 "memberOf" : "Roo.Component",
1010 "type" : "Roo.Component",
1012 "isOptional" : false
1019 "type" : "function",
1020 "desc" : "Fires after the component is hidden.",
1021 "sig" : "function (_self)\n{\n\n}",
1022 "memberOf" : "Roo.Component",
1030 "type" : "Roo.Component",
1032 "isOptional" : false
1038 "name" : "beforehide",
1039 "type" : "function",
1040 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1041 "sig" : "function (_self)\n{\n\n}",
1042 "memberOf" : "Roo.Component",
1050 "type" : "Roo.Component",
1052 "isOptional" : false
1059 "type" : "function",
1060 "desc" : "Fires after the component is shown.",
1061 "sig" : "function (_self)\n{\n\n}",
1062 "memberOf" : "Roo.Component",
1070 "type" : "Roo.Component",
1072 "isOptional" : false
1078 "name" : "beforeshow",
1079 "type" : "function",
1080 "desc" : "Fires before the component is shown. Return false to stop the show.",
1081 "sig" : "function (_self)\n{\n\n}",
1082 "memberOf" : "Roo.Component",
1090 "type" : "Roo.Component",
1092 "isOptional" : false
1099 "type" : "function",
1100 "desc" : "Fires after the component is enabled.",
1101 "sig" : "function (_self)\n{\n\n}",
1102 "memberOf" : "Roo.Component",
1110 "type" : "Roo.Component",
1112 "isOptional" : false
1118 "name" : "beforedestroy",
1119 "type" : "function",
1120 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1121 "sig" : "function (_self)\n{\n\n}",
1122 "memberOf" : "Roo.Component",
1130 "type" : "Roo.Component",
1132 "isOptional" : false