2 "name" : "Roo.bootstrap.NavGroup",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap NavGroup class",
12 "memberOf" : "NavGroup",
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"
38 "desc" : "Text for the tooltip",
39 "memberOf" : "Roo.bootstrap.Component"
42 "name" : "container_method",
44 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
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"
68 "desc" : "default true (turn to off to disable active toggle)",
74 "desc" : "- reference Id for navbar.",
78 "name" : "can_build_overlaid",
80 "desc" : "True if element can be rebuild from a HTML page",
81 "memberOf" : "Roo.bootstrap.Component"
86 "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\".",
87 "memberOf" : "Roo.Component"
92 "desc" : "any extra css",
93 "memberOf" : "Roo.bootstrap.Component"
96 "name" : "allowDomMove",
98 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
99 "memberOf" : "Roo.Component"
104 "desc" : "css class",
105 "memberOf" : "Roo.bootstrap.Component"
110 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
111 "memberOf" : "Roo.bootstrap.Component"
114 "name" : "actionMode",
116 "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",
117 "memberOf" : "Roo.Component"
122 "desc" : "cutomer id",
123 "memberOf" : "Roo.bootstrap.Component"
128 "desc" : "b) default nav",
134 "desc" : "Specifies name attribute",
135 "memberOf" : "Roo.bootstrap.Component"
138 "name" : "disableClass",
140 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
141 "memberOf" : "Roo.Component"
148 "desc" : "register a Navigation item",
153 "isConstructor" : false,
164 "type" : "Roo.bootstrap.NavItem",
165 "desc" : "navitem to add",
172 "name" : "getActive",
174 "desc" : "gets the active Navigation item",
175 "sig" : "()\n{\n\n}",
179 "isConstructor" : false,
191 "type" : "Roo.bootstrap.NavItem",
192 "desc" : "the current navitem"
199 "desc" : "adds a Navigation item",
204 "isConstructor" : false,
215 "type" : "Roo.bootstrap.NavItem",
216 "desc" : "navitem to add",
225 "desc" : "register a Navigation Group",
230 "isConstructor" : false,
241 "type" : "Roo.bootstrap.NavGroup",
242 "desc" : "navgroup to add",
251 "desc" : "fetch a Navigation Group based on the navigation ID",
256 "isConstructor" : false,
268 "desc" : "navgroup to add",
275 "name" : "setActiveItem",
277 "desc" : "sets the active Navigation item",
282 "isConstructor" : false,
293 "type" : "Roo.bootstrap.NavItem",
294 "desc" : "new current navitem",
303 "desc" : "clear all the Navigation item",
304 "sig" : "()\n{\n\n}",
308 "isConstructor" : false,
320 "name" : "tooltipEl",
322 "desc" : "Fetch the element to display the tooltip on.",
323 "sig" : "()\n{\n\n}",
325 "memberOf" : "Roo.bootstrap.Component",
327 "isConstructor" : false,
339 "type" : "Roo.Element",
340 "desc" : "defaults to this.el"
347 "desc" : "Hide a component - adds 'hidden' class",
348 "sig" : "()\n{\n\n}",
350 "memberOf" : "Roo.bootstrap.Component",
352 "isConstructor" : false,
366 "desc" : "Show a component - removes 'hidden' class",
367 "sig" : "()\n{\n\n}",
369 "memberOf" : "Roo.bootstrap.Component",
371 "isConstructor" : false,
383 "name" : "setVisibilityEl",
385 "desc" : "Set the element that will be used to show or hide",
386 "sig" : "()\n{\n\n}",
388 "memberOf" : "Roo.bootstrap.Component",
390 "isConstructor" : false,
402 "name" : "getVisibilityEl",
404 "desc" : "Get the element that will be used to show or hide",
405 "sig" : "()\n{\n\n}",
407 "memberOf" : "Roo.bootstrap.Component",
409 "isConstructor" : false,
421 "name" : "initEvents",
423 "desc" : "Initialize Events for the element",
424 "sig" : "()\n{\n\n}",
426 "memberOf" : "Roo.bootstrap.Component",
428 "isConstructor" : false,
440 "name" : "getChildContainer",
442 "desc" : "Fetch the element to add children to",
443 "sig" : "()\n{\n\n}",
445 "memberOf" : "Roo.bootstrap.Component",
447 "isConstructor" : false,
459 "type" : "Roo.Element",
460 "desc" : "defaults to this.el"
467 "desc" : "Returns the id of this component.",
468 "sig" : "()\n{\n\n}",
470 "memberOf" : "Roo.Component",
472 "isConstructor" : false,
492 "desc" : "If this is a lazy rendering component, render it to its container element.",
493 "sig" : "(container)",
495 "memberOf" : "Roo.Component",
497 "isConstructor" : false,
507 "name" : "container",
508 "type" : "String/HTMLElement/Element",
509 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
518 "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}.",
519 "sig" : "()\n{\n\n}",
521 "memberOf" : "Roo.Component",
523 "isConstructor" : false,
535 "name" : "isVisible",
537 "desc" : "Returns true if this component is visible.",
538 "sig" : "()\n{\n\n}",
540 "memberOf" : "Roo.Component",
542 "isConstructor" : false,
554 "name" : "setDisabled",
556 "desc" : "Convenience function for setting disabled/enabled by boolean.",
557 "sig" : "(disabled)",
559 "memberOf" : "Roo.Component",
561 "isConstructor" : false,
582 "desc" : "Try to focus this component.",
583 "sig" : "(selectText)",
585 "memberOf" : "Roo.Component",
587 "isConstructor" : false,
597 "name" : "selectText",
599 "desc" : "True to also select the text in this component (if applicable)",
606 "type" : "Roo.Component",
614 "desc" : "Enable this component.",
615 "sig" : "()\n{\n\n}",
617 "memberOf" : "Roo.Component",
619 "isConstructor" : false,
631 "type" : "Roo.Component",
637 "name" : "setVisible",
639 "desc" : "Convenience function to hide or show this component by boolean.",
642 "memberOf" : "Roo.Component",
644 "isConstructor" : false,
656 "desc" : "True to show, false to hide",
663 "type" : "Roo.Component",
671 "desc" : "Disable this component.",
672 "sig" : "()\n{\n\n}",
674 "memberOf" : "Roo.Component",
676 "isConstructor" : false,
688 "type" : "Roo.Component",
696 "desc" : "Returns the underlying {@link Roo.Element}.",
697 "sig" : "()\n{\n\n}",
699 "memberOf" : "Roo.Component",
701 "isConstructor" : false,
713 "type" : "Roo.Element",
714 "desc" : "The element"
719 "name" : "purgeListeners",
721 "desc" : "Removes all listeners for this object",
722 "sig" : "()\n{\n\n}",
724 "memberOf" : "Roo.util.Observable",
726 "isConstructor" : false,
740 "desc" : "Appends an event handler to this element (shorthand for addListener)",
741 "sig" : "(eventName, handler, scope, options)",
743 "memberOf" : "Roo.util.Observable",
745 "isConstructor" : false,
755 "name" : "eventName",
757 "desc" : "The type of event to listen for",
763 "desc" : "The method the event invokes",
769 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
775 "desc" : "(optional)",
784 "desc" : "Removes a listener (shorthand for removeListener)",
785 "sig" : "(eventName, handler, scope)",
787 "memberOf" : "Roo.util.Observable",
789 "isConstructor" : false,
799 "name" : "eventName",
801 "desc" : "The type of event to listen for",
807 "desc" : "The handler to remove",
813 "desc" : "(optional) The scope (this object) for the handler",
820 "name" : "addEvents",
822 "desc" : "Used to define events on this Observable",
825 "memberOf" : "Roo.util.Observable",
827 "isConstructor" : false,
839 "desc" : "The object with the events defined",
846 "name" : "releaseCapture",
848 "desc" : "Removes <b>all</b> added captures from the Observable.",
851 "memberOf" : "Roo.util.Observable",
853 "isConstructor" : false,
864 "type" : "Observable",
865 "desc" : "The Observable to release",
872 "name" : "removeListener",
874 "desc" : "Removes a listener",
875 "sig" : "(eventName, handler, scope)",
877 "memberOf" : "Roo.util.Observable",
879 "isConstructor" : false,
889 "name" : "eventName",
891 "desc" : "The type of event to listen for",
897 "desc" : "The handler to remove",
903 "desc" : "(optional) The scope (this object) for the handler",
910 "name" : "fireEvent",
912 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
913 "sig" : "(eventName, args)",
915 "memberOf" : "Roo.util.Observable",
917 "isConstructor" : false,
927 "name" : "eventName",
934 "type" : "Object...",
935 "desc" : "Variable number of parameters are passed to handlers",
943 "desc" : "returns false if any of the handlers return false otherwise it returns true"
948 "name" : "hasListener",
950 "desc" : "Checks to see if this object has any listeners for a specified event",
951 "sig" : "(eventName)",
953 "memberOf" : "Roo.util.Observable",
955 "isConstructor" : false,
965 "name" : "eventName",
967 "desc" : "The name of the event to check for",
975 "desc" : "True if the event is being listened for, else false"
982 "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.",
983 "sig" : "(o, fn, scope)",
985 "memberOf" : "Roo.util.Observable",
987 "isConstructor" : false,
998 "type" : "Observable",
999 "desc" : "The Observable to capture",
1000 "isOptional" : false
1004 "type" : "Function",
1005 "desc" : "The function to call",
1006 "isOptional" : false
1011 "desc" : "(optional) The scope (this object) for the fn",
1012 "isOptional" : false
1018 "name" : "addListener",
1019 "type" : "function",
1020 "desc" : "Appends an event handler to this component",
1021 "sig" : "(eventName, handler, scope, options)",
1023 "memberOf" : "Roo.util.Observable",
1025 "isConstructor" : false,
1026 "isPrivate" : false,
1035 "name" : "eventName",
1037 "desc" : "The type of event to listen for",
1038 "isOptional" : false
1042 "type" : "Function",
1043 "desc" : "The method the event invokes",
1044 "isOptional" : false
1049 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1050 "isOptional" : false
1055 "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>",
1056 "isOptional" : false
1065 "type" : "function",
1066 "desc" : "Fires when the active item changes",
1067 "sig" : "function (_self, selected, prev)\n{\n\n}",
1076 "type" : "Roo.bootstrap.NavGroup",
1078 "isOptional" : false
1081 "name" : "selected",
1082 "type" : "Roo.bootstrap.Navbar.Item",
1083 "desc" : "The item selected",
1084 "isOptional" : false
1088 "type" : "Roo.bootstrap.Navbar.Item",
1089 "desc" : "The previously selected item",
1090 "isOptional" : false
1096 "name" : "childrenrendered",
1097 "type" : "function",
1098 "desc" : "Fires when the children have been rendered..",
1099 "sig" : "function (_self)\n{\n\n}",
1100 "memberOf" : "Roo.bootstrap.Component",
1108 "type" : "Roo.bootstrap.Component",
1110 "isOptional" : false
1116 "name" : "beforerender",
1117 "type" : "function",
1118 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1119 "sig" : "function (_self)\n{\n\n}",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false
1137 "type" : "function",
1138 "desc" : "Fires after the component is disabled.",
1139 "sig" : "function (_self)\n{\n\n}",
1140 "memberOf" : "Roo.Component",
1148 "type" : "Roo.Component",
1150 "isOptional" : false
1157 "type" : "function",
1158 "desc" : "Fires after the component is rendered.",
1159 "sig" : "function (_self)\n{\n\n}",
1160 "memberOf" : "Roo.Component",
1168 "type" : "Roo.Component",
1170 "isOptional" : false
1177 "type" : "function",
1178 "desc" : "Fires after the component is destroyed.",
1179 "sig" : "function (_self)\n{\n\n}",
1180 "memberOf" : "Roo.Component",
1188 "type" : "Roo.Component",
1190 "isOptional" : false
1197 "type" : "function",
1198 "desc" : "Fires after the component is hidden.",
1199 "sig" : "function (_self)\n{\n\n}",
1200 "memberOf" : "Roo.Component",
1208 "type" : "Roo.Component",
1210 "isOptional" : false
1216 "name" : "beforehide",
1217 "type" : "function",
1218 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1219 "sig" : "function (_self)\n{\n\n}",
1220 "memberOf" : "Roo.Component",
1228 "type" : "Roo.Component",
1230 "isOptional" : false
1237 "type" : "function",
1238 "desc" : "Fires after the component is shown.",
1239 "sig" : "function (_self)\n{\n\n}",
1240 "memberOf" : "Roo.Component",
1248 "type" : "Roo.Component",
1250 "isOptional" : false
1256 "name" : "beforeshow",
1257 "type" : "function",
1258 "desc" : "Fires before the component is shown. Return false to stop the show.",
1259 "sig" : "function (_self)\n{\n\n}",
1260 "memberOf" : "Roo.Component",
1268 "type" : "Roo.Component",
1270 "isOptional" : false
1277 "type" : "function",
1278 "desc" : "Fires after the component is enabled.",
1279 "sig" : "function (_self)\n{\n\n}",
1280 "memberOf" : "Roo.Component",
1288 "type" : "Roo.Component",
1290 "isOptional" : false
1296 "name" : "beforedestroy",
1297 "type" : "function",
1298 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1299 "sig" : "function (_self)\n{\n\n}",
1300 "memberOf" : "Roo.Component",
1308 "type" : "Roo.Component",
1310 "isOptional" : false