2 "name" : "Roo.bootstrap.NavGroup",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap NavGroup class",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "Text for the tooltip",
25 "memberOf" : "Roo.bootstrap.Component",
30 "name" : "container_method",
32 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
33 "memberOf" : "Roo.bootstrap.Component",
38 "name" : "visibilityEl",
39 "type" : "string|object",
40 "desc" : "What element to use for visibility (@see getVisibilityEl())",
41 "memberOf" : "Roo.bootstrap.Component",
51 "memberOf" : "Roo.bootstrap.NavGroup",
61 "memberOf" : "Roo.bootstrap.NavGroup",
68 "desc" : "- reference Id for navbar.",
69 "memberOf" : "Roo.bootstrap.NavGroup",
74 "name" : "can_build_overlaid",
76 "desc" : "True if element can be rebuild from a HTML page",
77 "memberOf" : "Roo.bootstrap.Component",
84 "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\".",
85 "memberOf" : "Roo.Component",
94 "desc" : "any extra css",
95 "memberOf" : "Roo.bootstrap.Component",
100 "name" : "allowDomMove",
102 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
103 "memberOf" : "Roo.Component",
110 "desc" : "css class",
111 "memberOf" : "Roo.bootstrap.Component",
118 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
119 "memberOf" : "Roo.bootstrap.Component",
124 "name" : "actionMode",
126 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
127 "memberOf" : "Roo.Component",
134 "desc" : "cutomer id",
135 "memberOf" : "Roo.bootstrap.Component",
142 "desc" : "default nav",
143 "memberOf" : "Roo.bootstrap.NavGroup",
153 "desc" : "Specifies name attribute",
154 "memberOf" : "Roo.bootstrap.Component",
159 "name" : "disableClass",
161 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
162 "memberOf" : "Roo.Component",
170 "desc" : "register a Navigation item",
172 "isConstructor" : false,
174 "memberOf" : "Roo.bootstrap.NavGroup",
182 "type" : "Roo.bootstrap.NavItem",
183 "desc" : "navitem to add",
191 "name" : "getActive",
192 "desc" : "gets the active Navigation item",
194 "isConstructor" : false,
196 "memberOf" : "Roo.bootstrap.NavGroup",
206 "type" : "Roo.bootstrap.NavItem",
207 "desc" : "the current navitem"
213 "desc" : "adds a Navigation item",
215 "isConstructor" : false,
217 "memberOf" : "Roo.bootstrap.NavGroup",
225 "type" : "Roo.bootstrap.NavItem",
226 "desc" : "navitem to add",
235 "desc" : "register a Navigation Group",
237 "isConstructor" : false,
239 "memberOf" : "Roo.bootstrap.NavGroup",
247 "type" : "Roo.bootstrap.NavGroup",
248 "desc" : "navgroup to add",
257 "desc" : "fetch a Navigation Group based on the navigation ID",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.NavGroup",
270 "desc" : "navgroup to add",
278 "name" : "setActiveItem",
279 "desc" : "sets the active Navigation item",
281 "isConstructor" : false,
283 "memberOf" : "Roo.bootstrap.NavGroup",
291 "type" : "Roo.bootstrap.NavItem",
292 "desc" : "new current navitem",
301 "desc" : "clear all the Navigation item",
303 "isConstructor" : false,
305 "memberOf" : "Roo.bootstrap.NavGroup",
316 "name" : "tooltipEl",
317 "desc" : "Fetch the element to display the tooltip on.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.bootstrap.Component",
331 "type" : "Roo.Element",
332 "desc" : "defaults to this.el"
338 "desc" : "Hide a component - adds 'hidden' class",
340 "isConstructor" : false,
342 "memberOf" : "Roo.bootstrap.Component",
354 "desc" : "Show a component - removes 'hidden' class",
356 "isConstructor" : false,
358 "memberOf" : "Roo.bootstrap.Component",
369 "name" : "setVisibilityEl",
370 "desc" : "Set the element that will be used to show or hide",
372 "isConstructor" : false,
374 "memberOf" : "Roo.bootstrap.Component",
385 "name" : "getVisibilityEl",
386 "desc" : "Get the element that will be used to show or hide",
388 "isConstructor" : false,
390 "memberOf" : "Roo.bootstrap.Component",
401 "name" : "initEvents",
402 "desc" : "Initialize Events for the element",
404 "isConstructor" : false,
406 "memberOf" : "Roo.bootstrap.Component",
417 "name" : "getChildContainer",
418 "desc" : "Fetch the element to add children to",
420 "isConstructor" : false,
422 "memberOf" : "Roo.bootstrap.Component",
432 "type" : "Roo.Element",
433 "desc" : "defaults to this.el"
439 "desc" : "Returns the id of this component.",
441 "isConstructor" : false,
443 "memberOf" : "Roo.Component",
460 "desc" : "If this is a lazy rendering component, render it to its container element.",
462 "isConstructor" : false,
464 "memberOf" : "Roo.Component",
471 "name" : "container",
472 "type" : "String/HTMLElement/Element",
473 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
482 "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}.",
484 "isConstructor" : false,
486 "memberOf" : "Roo.Component",
497 "name" : "isVisible",
498 "desc" : "Returns true if this component is visible.",
500 "isConstructor" : false,
502 "memberOf" : "Roo.Component",
513 "name" : "setDisabled",
514 "desc" : "Convenience function for setting disabled/enabled by boolean.",
516 "isConstructor" : false,
518 "memberOf" : "Roo.Component",
536 "desc" : "Try to focus this component.",
538 "isConstructor" : false,
540 "memberOf" : "Roo.Component",
547 "name" : "selectText",
549 "desc" : "True to also select the text in this component (if applicable)",
556 "type" : "Roo.Component",
563 "desc" : "Enable this component.",
565 "isConstructor" : false,
567 "memberOf" : "Roo.Component",
577 "type" : "Roo.Component",
583 "name" : "setVisible",
584 "desc" : "Convenience function to hide or show this component by boolean.",
586 "isConstructor" : false,
588 "memberOf" : "Roo.Component",
597 "desc" : "True to show, false to hide",
604 "type" : "Roo.Component",
611 "desc" : "Disable this component.",
613 "isConstructor" : false,
615 "memberOf" : "Roo.Component",
625 "type" : "Roo.Component",
632 "desc" : "Returns the underlying {@link Roo.Element}.",
634 "isConstructor" : false,
636 "memberOf" : "Roo.Component",
646 "type" : "Roo.Element",
647 "desc" : "The element"
652 "name" : "purgeListeners",
653 "desc" : "Removes all listeners for this object",
655 "isConstructor" : false,
657 "memberOf" : "Roo.util.Observable",
669 "desc" : "Appends an event handler to this element (shorthand for addListener)",
671 "isConstructor" : false,
673 "memberOf" : "Roo.util.Observable",
680 "name" : "eventName",
682 "desc" : "The type of event to listen for",
688 "desc" : "The method the event invokes",
694 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
700 "desc" : "(optional)",
709 "desc" : "Removes a listener (shorthand for removeListener)",
711 "isConstructor" : false,
713 "memberOf" : "Roo.util.Observable",
720 "name" : "eventName",
722 "desc" : "The type of event to listen for",
728 "desc" : "The handler to remove",
734 "desc" : "(optional) The scope (this object) for the handler",
742 "name" : "addEvents",
743 "desc" : "Used to define events on this Observable",
745 "isConstructor" : false,
747 "memberOf" : "Roo.util.Observable",
756 "desc" : "The object with the events defined",
764 "name" : "releaseCapture",
765 "desc" : "Removes <b>all</b> added captures from the Observable.",
767 "isConstructor" : false,
769 "memberOf" : "Roo.util.Observable",
777 "type" : "Observable",
778 "desc" : "The Observable to release",
786 "name" : "removeListener",
787 "desc" : "Removes a listener",
789 "isConstructor" : false,
791 "memberOf" : "Roo.util.Observable",
798 "name" : "eventName",
800 "desc" : "The type of event to listen for",
806 "desc" : "The handler to remove",
812 "desc" : "(optional) The scope (this object) for the handler",
820 "name" : "fireEvent",
821 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
823 "isConstructor" : false,
825 "memberOf" : "Roo.util.Observable",
832 "name" : "eventName",
839 "type" : "Object...",
840 "desc" : "Variable number of parameters are passed to handlers",
848 "desc" : "returns false if any of the handlers return false otherwise it returns true"
853 "name" : "hasListener",
854 "desc" : "Checks to see if this object has any listeners for a specified event",
856 "isConstructor" : false,
858 "memberOf" : "Roo.util.Observable",
865 "name" : "eventName",
867 "desc" : "The name of the event to check for",
875 "desc" : "True if the event is being listened for, else false"
881 "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.",
883 "isConstructor" : false,
885 "memberOf" : "Roo.util.Observable",
893 "type" : "Observable",
894 "desc" : "The Observable to capture",
900 "desc" : "The function to call",
906 "desc" : "(optional) The scope (this object) for the fn",
914 "name" : "addListener",
915 "desc" : "Appends an event handler to this component",
917 "isConstructor" : false,
919 "memberOf" : "Roo.util.Observable",
926 "name" : "eventName",
928 "desc" : "The type of event to listen for",
934 "desc" : "The method the event invokes",
940 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
946 "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>",
957 "desc" : "Fires when the active item changes",
966 "type" : "Roo.bootstrap.NavGroup",
972 "type" : "Roo.bootstrap.Navbar.Item",
973 "desc" : "The item selected",
978 "type" : "Roo.bootstrap.Navbar.Item",
979 "desc" : "The previously selected item",
987 "name" : "childrenrendered",
988 "desc" : "Fires when the children have been rendered..",
989 "memberOf" : "Roo.bootstrap.Component",
997 "type" : "Roo.bootstrap.Component",
1006 "name" : "beforerender",
1007 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1008 "memberOf" : "Roo.Component",
1016 "type" : "Roo.Component",
1018 "isOptional" : false
1026 "desc" : "Fires after the component is disabled.",
1027 "memberOf" : "Roo.Component",
1035 "type" : "Roo.Component",
1037 "isOptional" : false
1045 "desc" : "Fires after the component is rendered.",
1046 "memberOf" : "Roo.Component",
1054 "type" : "Roo.Component",
1056 "isOptional" : false
1064 "desc" : "Fires after the component is destroyed.",
1065 "memberOf" : "Roo.Component",
1073 "type" : "Roo.Component",
1075 "isOptional" : false
1083 "desc" : "Fires after the component is hidden.",
1084 "memberOf" : "Roo.Component",
1092 "type" : "Roo.Component",
1094 "isOptional" : false
1101 "name" : "beforehide",
1102 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1103 "memberOf" : "Roo.Component",
1111 "type" : "Roo.Component",
1113 "isOptional" : false
1121 "desc" : "Fires after the component is shown.",
1122 "memberOf" : "Roo.Component",
1130 "type" : "Roo.Component",
1132 "isOptional" : false
1139 "name" : "beforeshow",
1140 "desc" : "Fires before the component is shown. Return false to stop the show.",
1141 "memberOf" : "Roo.Component",
1149 "type" : "Roo.Component",
1151 "isOptional" : false
1159 "desc" : "Fires after the component is enabled.",
1160 "memberOf" : "Roo.Component",
1168 "type" : "Roo.Component",
1170 "isOptional" : false
1177 "name" : "beforedestroy",
1178 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1179 "memberOf" : "Roo.Component",
1187 "type" : "Roo.Component",
1189 "isOptional" : false