2 "name" : "Roo.bootstrap.nav.Group",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap NavGroup class",
10 "isSingleton" : false,
22 "desc" : "The config object",
33 "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>",
34 "memberOf" : "Roo.util.Observable"
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component"
43 "name" : "container_method",
45 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
46 "memberOf" : "Roo.bootstrap.Component"
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component"
69 "desc" : "default true (turn to off to disable active toggle)",
75 "desc" : "- reference Id for navbar.",
79 "name" : "can_build_overlaid",
81 "desc" : "True if element can be rebuild from a HTML page",
82 "memberOf" : "Roo.bootstrap.Component"
87 "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\".",
88 "memberOf" : "Roo.Component"
93 "desc" : "any extra css",
94 "memberOf" : "Roo.bootstrap.Component"
97 "name" : "allowDomMove",
99 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
100 "memberOf" : "Roo.Component"
105 "desc" : "css class",
106 "memberOf" : "Roo.bootstrap.Component"
111 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
112 "memberOf" : "Roo.bootstrap.Component"
115 "name" : "actionMode",
117 "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",
118 "memberOf" : "Roo.Component"
123 "desc" : "cutomer id",
124 "memberOf" : "Roo.bootstrap.Component"
129 "desc" : "b) default nav",
135 "desc" : "Specifies name attribute",
136 "memberOf" : "Roo.bootstrap.Component"
139 "name" : "disableClass",
141 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
142 "memberOf" : "Roo.Component"
149 "desc" : "fetch a Navigation Group based on the navigation ID",
154 "isConstructor" : false,
166 "desc" : "navgroup to add",
175 "desc" : "adds a Navigation item",
180 "isConstructor" : false,
191 "type" : "Roo.bootstrap.nav.Item",
192 "desc" : "navitem to add",
201 "desc" : "register a Navigation item",
206 "isConstructor" : false,
217 "type" : "Roo.bootstrap.nav.Item",
218 "desc" : "navitem to add",
225 "name" : "getActive",
227 "desc" : "gets the active Navigation item",
228 "sig" : "()\n{\n\n}",
232 "isConstructor" : false,
244 "type" : "Roo.bootstrap.nav.Item",
245 "desc" : "the current navitem"
250 "name" : "setActiveItem",
252 "desc" : "sets the active Navigation item",
257 "isConstructor" : false,
268 "type" : "Roo.bootstrap.nav.Item",
269 "desc" : "new current navitem",
278 "desc" : "clear all the Navigation item",
279 "sig" : "()\n{\n\n}",
283 "isConstructor" : false,
297 "desc" : "register a Navigation Group",
302 "isConstructor" : false,
313 "type" : "Roo.bootstrap.nav.Group",
314 "desc" : "navgroup to add",
321 "name" : "tooltipEl",
323 "desc" : "Fetch the element to display the tooltip on.",
324 "sig" : "()\n{\n\n}",
326 "memberOf" : "Roo.bootstrap.Component",
328 "isConstructor" : false,
340 "type" : "Roo.Element",
341 "desc" : "defaults to this.el"
348 "desc" : "Hide a component - adds 'hidden' class",
349 "sig" : "()\n{\n\n}",
351 "memberOf" : "Roo.bootstrap.Component",
353 "isConstructor" : false,
367 "desc" : "Show a component - removes 'hidden' class",
368 "sig" : "()\n{\n\n}",
370 "memberOf" : "Roo.bootstrap.Component",
372 "isConstructor" : false,
384 "name" : "setVisibilityEl",
386 "desc" : "Set the element that will be used to show or hide",
387 "sig" : "()\n{\n\n}",
389 "memberOf" : "Roo.bootstrap.Component",
391 "isConstructor" : false,
403 "name" : "getVisibilityEl",
405 "desc" : "Get the element that will be used to show or hide",
406 "sig" : "()\n{\n\n}",
408 "memberOf" : "Roo.bootstrap.Component",
410 "isConstructor" : false,
422 "name" : "initEvents",
424 "desc" : "Initialize Events for the element",
425 "sig" : "()\n{\n\n}",
427 "memberOf" : "Roo.bootstrap.Component",
429 "isConstructor" : false,
441 "name" : "getChildContainer",
443 "desc" : "Fetch the element to add children to",
444 "sig" : "()\n{\n\n}",
446 "memberOf" : "Roo.bootstrap.Component",
448 "isConstructor" : false,
460 "type" : "Roo.Element",
461 "desc" : "defaults to this.el"
468 "desc" : "Returns the id of this component.",
469 "sig" : "()\n{\n\n}",
471 "memberOf" : "Roo.Component",
473 "isConstructor" : false,
493 "desc" : "If this is a lazy rendering component, render it to its container element.",
494 "sig" : "(container)",
496 "memberOf" : "Roo.Component",
498 "isConstructor" : false,
508 "name" : "container",
509 "type" : "String/HTMLElement/Element",
510 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
519 "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}.",
520 "sig" : "()\n{\n\n}",
522 "memberOf" : "Roo.Component",
524 "isConstructor" : false,
536 "name" : "isVisible",
538 "desc" : "Returns true if this component is visible.",
539 "sig" : "()\n{\n\n}",
541 "memberOf" : "Roo.Component",
543 "isConstructor" : false,
555 "name" : "setDisabled",
557 "desc" : "Convenience function for setting disabled/enabled by boolean.",
558 "sig" : "(disabled)",
560 "memberOf" : "Roo.Component",
562 "isConstructor" : false,
583 "desc" : "Try to focus this component.",
584 "sig" : "(selectText)",
586 "memberOf" : "Roo.Component",
588 "isConstructor" : false,
598 "name" : "selectText",
600 "desc" : "True to also select the text in this component (if applicable)",
607 "type" : "Roo.Component",
615 "desc" : "Enable this component.",
616 "sig" : "()\n{\n\n}",
618 "memberOf" : "Roo.Component",
620 "isConstructor" : false,
632 "type" : "Roo.Component",
638 "name" : "setVisible",
640 "desc" : "Convenience function to hide or show this component by boolean.",
643 "memberOf" : "Roo.Component",
645 "isConstructor" : false,
657 "desc" : "True to show, false to hide",
664 "type" : "Roo.Component",
672 "desc" : "Disable this component.",
673 "sig" : "()\n{\n\n}",
675 "memberOf" : "Roo.Component",
677 "isConstructor" : false,
689 "type" : "Roo.Component",
697 "desc" : "Returns the underlying {@link Roo.Element}.",
698 "sig" : "()\n{\n\n}",
700 "memberOf" : "Roo.Component",
702 "isConstructor" : false,
714 "type" : "Roo.Element",
715 "desc" : "The element"
720 "name" : "purgeListeners",
722 "desc" : "Removes all listeners for this object",
723 "sig" : "()\n{\n\n}",
725 "memberOf" : "Roo.util.Observable",
727 "isConstructor" : false,
741 "desc" : "Appends an event handler to this element (shorthand for addListener)",
742 "sig" : "(eventName, handler, scope, options)",
744 "memberOf" : "Roo.util.Observable",
746 "isConstructor" : false,
756 "name" : "eventName",
758 "desc" : "The type of event to listen for",
764 "desc" : "The method the event invokes",
770 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
776 "desc" : "(optional)",
785 "desc" : "Removes a listener (shorthand for removeListener)",
786 "sig" : "(eventName, handler, scope)",
788 "memberOf" : "Roo.util.Observable",
790 "isConstructor" : false,
800 "name" : "eventName",
802 "desc" : "The type of event to listen for",
808 "desc" : "The handler to remove",
814 "desc" : "(optional) The scope (this object) for the handler",
821 "name" : "addEvents",
823 "desc" : "Used to define events on this Observable",
826 "memberOf" : "Roo.util.Observable",
828 "isConstructor" : false,
840 "desc" : "The object with the events defined",
847 "name" : "releaseCapture",
849 "desc" : "Removes <b>all</b> added captures from the Observable.",
852 "memberOf" : "Roo.util.Observable",
854 "isConstructor" : false,
865 "type" : "Observable",
866 "desc" : "The Observable to release",
873 "name" : "removeListener",
875 "desc" : "Removes a listener",
876 "sig" : "(eventName, handler, scope)",
878 "memberOf" : "Roo.util.Observable",
880 "isConstructor" : false,
890 "name" : "eventName",
892 "desc" : "The type of event to listen for",
898 "desc" : "The handler to remove",
904 "desc" : "(optional) The scope (this object) for the handler",
911 "name" : "fireEvent",
913 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
914 "sig" : "(eventName, args)",
916 "memberOf" : "Roo.util.Observable",
918 "isConstructor" : false,
928 "name" : "eventName",
935 "type" : "Object...",
936 "desc" : "Variable number of parameters are passed to handlers",
944 "desc" : "returns false if any of the handlers return false otherwise it returns true"
949 "name" : "hasListener",
951 "desc" : "Checks to see if this object has any listeners for a specified event",
952 "sig" : "(eventName)",
954 "memberOf" : "Roo.util.Observable",
956 "isConstructor" : false,
966 "name" : "eventName",
968 "desc" : "The name of the event to check for",
976 "desc" : "True if the event is being listened for, else false"
983 "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.",
984 "sig" : "(o, fn, scope)",
986 "memberOf" : "Roo.util.Observable",
988 "isConstructor" : false,
999 "type" : "Observable",
1000 "desc" : "The Observable to capture",
1001 "isOptional" : false
1005 "type" : "Function",
1006 "desc" : "The function to call",
1007 "isOptional" : false
1012 "desc" : "(optional) The scope (this object) for the fn",
1013 "isOptional" : false
1019 "name" : "addListener",
1020 "type" : "function",
1021 "desc" : "Appends an event handler to this component",
1022 "sig" : "(eventName, handler, scope, options)",
1024 "memberOf" : "Roo.util.Observable",
1026 "isConstructor" : false,
1027 "isPrivate" : false,
1036 "name" : "eventName",
1038 "desc" : "The type of event to listen for",
1039 "isOptional" : false
1043 "type" : "Function",
1044 "desc" : "The method the event invokes",
1045 "isOptional" : false
1050 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1051 "isOptional" : false
1056 "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>",
1057 "isOptional" : false
1066 "type" : "function",
1067 "desc" : "Fires when the active item changes",
1068 "sig" : "function (_self, selected, prev)\n{\n\n}",
1077 "type" : "Roo.bootstrap.nav.Group",
1079 "isOptional" : false
1082 "name" : "selected",
1083 "type" : "Roo.bootstrap.Navbar.Item",
1084 "desc" : "The item selected",
1085 "isOptional" : false
1089 "type" : "Roo.bootstrap.Navbar.Item",
1090 "desc" : "The previously selected item",
1091 "isOptional" : false
1097 "name" : "childrenrendered",
1098 "type" : "function",
1099 "desc" : "Fires when the children have been rendered..",
1100 "sig" : "function (_self)\n{\n\n}",
1101 "memberOf" : "Roo.bootstrap.Component",
1109 "type" : "Roo.bootstrap.Component",
1111 "isOptional" : false
1117 "name" : "beforerender",
1118 "type" : "function",
1119 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1120 "sig" : "function (_self)\n{\n\n}",
1121 "memberOf" : "Roo.Component",
1129 "type" : "Roo.Component",
1131 "isOptional" : false
1138 "type" : "function",
1139 "desc" : "Fires after the component is disabled.",
1140 "sig" : "function (_self)\n{\n\n}",
1141 "memberOf" : "Roo.Component",
1149 "type" : "Roo.Component",
1151 "isOptional" : false
1158 "type" : "function",
1159 "desc" : "Fires after the component is rendered.",
1160 "sig" : "function (_self)\n{\n\n}",
1161 "memberOf" : "Roo.Component",
1169 "type" : "Roo.Component",
1171 "isOptional" : false
1178 "type" : "function",
1179 "desc" : "Fires after the component is destroyed.",
1180 "sig" : "function (_self)\n{\n\n}",
1181 "memberOf" : "Roo.Component",
1189 "type" : "Roo.Component",
1191 "isOptional" : false
1198 "type" : "function",
1199 "desc" : "Fires after the component is hidden.",
1200 "sig" : "function (_self)\n{\n\n}",
1201 "memberOf" : "Roo.Component",
1209 "type" : "Roo.Component",
1211 "isOptional" : false
1217 "name" : "beforehide",
1218 "type" : "function",
1219 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1220 "sig" : "function (_self)\n{\n\n}",
1221 "memberOf" : "Roo.Component",
1229 "type" : "Roo.Component",
1231 "isOptional" : false
1238 "type" : "function",
1239 "desc" : "Fires after the component is shown.",
1240 "sig" : "function (_self)\n{\n\n}",
1241 "memberOf" : "Roo.Component",
1249 "type" : "Roo.Component",
1251 "isOptional" : false
1257 "name" : "beforeshow",
1258 "type" : "function",
1259 "desc" : "Fires before the component is shown. Return false to stop the show.",
1260 "sig" : "function (_self)\n{\n\n}",
1261 "memberOf" : "Roo.Component",
1269 "type" : "Roo.Component",
1271 "isOptional" : false
1278 "type" : "function",
1279 "desc" : "Fires after the component is enabled.",
1280 "sig" : "function (_self)\n{\n\n}",
1281 "memberOf" : "Roo.Component",
1289 "type" : "Roo.Component",
1291 "isOptional" : false
1297 "name" : "beforedestroy",
1298 "type" : "function",
1299 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1300 "sig" : "function (_self)\n{\n\n}",
1301 "memberOf" : "Roo.Component",
1309 "type" : "Roo.Component",
1311 "isOptional" : false