2 "name" : "Roo.bootstrap.NavGroup",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap NavGroup class",
12 "memberOf" : "NavGroup",
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",
66 "memberOf" : "Roo.bootstrap.NavGroup",
76 "memberOf" : "Roo.bootstrap.NavGroup",
83 "desc" : "- reference Id for navbar.",
84 "memberOf" : "Roo.bootstrap.NavGroup",
89 "name" : "can_build_overlaid",
91 "desc" : "True if element can be rebuild from a HTML page",
92 "memberOf" : "Roo.bootstrap.Component",
99 "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\".",
100 "memberOf" : "Roo.Component",
109 "desc" : "any extra css",
110 "memberOf" : "Roo.bootstrap.Component",
115 "name" : "allowDomMove",
117 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
118 "memberOf" : "Roo.Component",
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" : "cutomer id",
150 "memberOf" : "Roo.bootstrap.Component",
157 "desc" : "default nav",
158 "memberOf" : "Roo.bootstrap.NavGroup",
168 "desc" : "Specifies name attribute",
169 "memberOf" : "Roo.bootstrap.Component",
174 "name" : "disableClass",
176 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
177 "memberOf" : "Roo.Component",
185 "desc" : "register a Navigation item",
187 "isConstructor" : false,
189 "memberOf" : "Roo.bootstrap.NavGroup",
197 "type" : "Roo.bootstrap.NavItem",
198 "desc" : "navitem to add",
206 "name" : "getActive",
207 "desc" : "gets the active Navigation item",
209 "isConstructor" : false,
211 "memberOf" : "Roo.bootstrap.NavGroup",
221 "type" : "Roo.bootstrap.NavItem",
222 "desc" : "the current navitem"
228 "desc" : "adds a Navigation item",
230 "isConstructor" : false,
232 "memberOf" : "Roo.bootstrap.NavGroup",
240 "type" : "Roo.bootstrap.NavItem",
241 "desc" : "navitem to add",
250 "desc" : "register a Navigation Group",
252 "isConstructor" : false,
254 "memberOf" : "Roo.bootstrap.NavGroup",
262 "type" : "Roo.bootstrap.NavGroup",
263 "desc" : "navgroup to add",
272 "desc" : "fetch a Navigation Group based on the navigation ID",
274 "isConstructor" : false,
276 "memberOf" : "Roo.bootstrap.NavGroup",
285 "desc" : "navgroup to add",
293 "name" : "setActiveItem",
294 "desc" : "sets the active Navigation item",
296 "isConstructor" : false,
298 "memberOf" : "Roo.bootstrap.NavGroup",
306 "type" : "Roo.bootstrap.NavItem",
307 "desc" : "new current navitem",
316 "desc" : "clear all the Navigation item",
318 "isConstructor" : false,
320 "memberOf" : "Roo.bootstrap.NavGroup",
331 "name" : "tooltipEl",
332 "desc" : "Fetch the element to display the tooltip on.",
334 "isConstructor" : false,
336 "memberOf" : "Roo.bootstrap.Component",
346 "type" : "Roo.Element",
347 "desc" : "defaults to this.el"
353 "desc" : "Hide a component - adds 'hidden' class",
355 "isConstructor" : false,
357 "memberOf" : "Roo.bootstrap.Component",
369 "desc" : "Show a component - removes 'hidden' class",
371 "isConstructor" : false,
373 "memberOf" : "Roo.bootstrap.Component",
384 "name" : "setVisibilityEl",
385 "desc" : "Set the element that will be used to show or hide",
387 "isConstructor" : false,
389 "memberOf" : "Roo.bootstrap.Component",
400 "name" : "getVisibilityEl",
401 "desc" : "Get the element that will be used to show or hide",
403 "isConstructor" : false,
405 "memberOf" : "Roo.bootstrap.Component",
416 "name" : "initEvents",
417 "desc" : "Initialize Events for the element",
419 "isConstructor" : false,
421 "memberOf" : "Roo.bootstrap.Component",
432 "name" : "getChildContainer",
433 "desc" : "Fetch the element to add children to",
435 "isConstructor" : false,
437 "memberOf" : "Roo.bootstrap.Component",
447 "type" : "Roo.Element",
448 "desc" : "defaults to this.el"
454 "desc" : "Returns the id of this component.",
456 "isConstructor" : false,
458 "memberOf" : "Roo.Component",
475 "desc" : "If this is a lazy rendering component, render it to its container element.",
477 "isConstructor" : false,
479 "memberOf" : "Roo.Component",
486 "name" : "container",
487 "type" : "String/HTMLElement/Element",
488 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
497 "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}.",
499 "isConstructor" : false,
501 "memberOf" : "Roo.Component",
512 "name" : "isVisible",
513 "desc" : "Returns true if this component is visible.",
515 "isConstructor" : false,
517 "memberOf" : "Roo.Component",
528 "name" : "setDisabled",
529 "desc" : "Convenience function for setting disabled/enabled by boolean.",
531 "isConstructor" : false,
533 "memberOf" : "Roo.Component",
551 "desc" : "Try to focus this component.",
553 "isConstructor" : false,
555 "memberOf" : "Roo.Component",
562 "name" : "selectText",
564 "desc" : "True to also select the text in this component (if applicable)",
571 "type" : "Roo.Component",
578 "desc" : "Enable this component.",
580 "isConstructor" : false,
582 "memberOf" : "Roo.Component",
592 "type" : "Roo.Component",
598 "name" : "setVisible",
599 "desc" : "Convenience function to hide or show this component by boolean.",
601 "isConstructor" : false,
603 "memberOf" : "Roo.Component",
612 "desc" : "True to show, false to hide",
619 "type" : "Roo.Component",
626 "desc" : "Disable this component.",
628 "isConstructor" : false,
630 "memberOf" : "Roo.Component",
640 "type" : "Roo.Component",
647 "desc" : "Returns the underlying {@link Roo.Element}.",
649 "isConstructor" : false,
651 "memberOf" : "Roo.Component",
661 "type" : "Roo.Element",
662 "desc" : "The element"
667 "name" : "purgeListeners",
668 "desc" : "Removes all listeners for this object",
670 "isConstructor" : false,
672 "memberOf" : "Roo.util.Observable",
684 "desc" : "Appends an event handler to this element (shorthand for addListener)",
686 "isConstructor" : false,
688 "memberOf" : "Roo.util.Observable",
695 "name" : "eventName",
697 "desc" : "The type of event to listen for",
703 "desc" : "The method the event invokes",
709 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
715 "desc" : "(optional)",
724 "desc" : "Removes a listener (shorthand for removeListener)",
726 "isConstructor" : false,
728 "memberOf" : "Roo.util.Observable",
735 "name" : "eventName",
737 "desc" : "The type of event to listen for",
743 "desc" : "The handler to remove",
749 "desc" : "(optional) The scope (this object) for the handler",
757 "name" : "addEvents",
758 "desc" : "Used to define events on this Observable",
760 "isConstructor" : false,
762 "memberOf" : "Roo.util.Observable",
771 "desc" : "The object with the events defined",
779 "name" : "releaseCapture",
780 "desc" : "Removes <b>all</b> added captures from the Observable.",
782 "isConstructor" : false,
784 "memberOf" : "Roo.util.Observable",
792 "type" : "Observable",
793 "desc" : "The Observable to release",
801 "name" : "removeListener",
802 "desc" : "Removes a listener",
804 "isConstructor" : false,
806 "memberOf" : "Roo.util.Observable",
813 "name" : "eventName",
815 "desc" : "The type of event to listen for",
821 "desc" : "The handler to remove",
827 "desc" : "(optional) The scope (this object) for the handler",
835 "name" : "fireEvent",
836 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
838 "isConstructor" : false,
840 "memberOf" : "Roo.util.Observable",
847 "name" : "eventName",
854 "type" : "Object...",
855 "desc" : "Variable number of parameters are passed to handlers",
863 "desc" : "returns false if any of the handlers return false otherwise it returns true"
868 "name" : "hasListener",
869 "desc" : "Checks to see if this object has any listeners for a specified event",
871 "isConstructor" : false,
873 "memberOf" : "Roo.util.Observable",
880 "name" : "eventName",
882 "desc" : "The name of the event to check for",
890 "desc" : "True if the event is being listened for, else false"
896 "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.",
898 "isConstructor" : false,
900 "memberOf" : "Roo.util.Observable",
908 "type" : "Observable",
909 "desc" : "The Observable to capture",
915 "desc" : "The function to call",
921 "desc" : "(optional) The scope (this object) for the fn",
929 "name" : "addListener",
930 "desc" : "Appends an event handler to this component",
932 "isConstructor" : false,
934 "memberOf" : "Roo.util.Observable",
941 "name" : "eventName",
943 "desc" : "The type of event to listen for",
949 "desc" : "The method the event invokes",
955 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
961 "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>",
972 "desc" : "Fires when the active item changes",
981 "type" : "Roo.bootstrap.NavGroup",
987 "type" : "Roo.bootstrap.Navbar.Item",
988 "desc" : "The item selected",
993 "type" : "Roo.bootstrap.Navbar.Item",
994 "desc" : "The previously selected item",
1002 "name" : "childrenrendered",
1003 "desc" : "Fires when the children have been rendered..",
1004 "memberOf" : "Roo.bootstrap.Component",
1012 "type" : "Roo.bootstrap.Component",
1014 "isOptional" : false
1021 "name" : "beforerender",
1022 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1023 "memberOf" : "Roo.Component",
1031 "type" : "Roo.Component",
1033 "isOptional" : false
1041 "desc" : "Fires after the component is disabled.",
1042 "memberOf" : "Roo.Component",
1050 "type" : "Roo.Component",
1052 "isOptional" : false
1060 "desc" : "Fires after the component is rendered.",
1061 "memberOf" : "Roo.Component",
1069 "type" : "Roo.Component",
1071 "isOptional" : false
1079 "desc" : "Fires after the component is destroyed.",
1080 "memberOf" : "Roo.Component",
1088 "type" : "Roo.Component",
1090 "isOptional" : false
1098 "desc" : "Fires after the component is hidden.",
1099 "memberOf" : "Roo.Component",
1107 "type" : "Roo.Component",
1109 "isOptional" : false
1116 "name" : "beforehide",
1117 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1118 "memberOf" : "Roo.Component",
1126 "type" : "Roo.Component",
1128 "isOptional" : false
1136 "desc" : "Fires after the component is shown.",
1137 "memberOf" : "Roo.Component",
1145 "type" : "Roo.Component",
1147 "isOptional" : false
1154 "name" : "beforeshow",
1155 "desc" : "Fires before the component is shown. Return false to stop the show.",
1156 "memberOf" : "Roo.Component",
1164 "type" : "Roo.Component",
1166 "isOptional" : false
1174 "desc" : "Fires after the component is enabled.",
1175 "memberOf" : "Roo.Component",
1183 "type" : "Roo.Component",
1185 "isOptional" : false
1192 "name" : "beforedestroy",
1193 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1194 "memberOf" : "Roo.Component",
1202 "type" : "Roo.Component",
1204 "isOptional" : false