2 "name" : "Roo.bootstrap.NavGroup",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap NavGroup class",
12 "memberOf" : "NavGroup",
21 "desc" : "The config object",
30 "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>",
31 "memberOf" : "Roo.util.Observable",
37 "desc" : "Text for the tooltip",
38 "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",
49 "name" : "visibilityEl",
50 "type" : "string|object",
51 "desc" : "What element to use for visibility (@see getVisibilityEl())",
52 "memberOf" : "Roo.bootstrap.Component",
62 "memberOf" : "Roo.bootstrap.NavGroup",
72 "memberOf" : "Roo.bootstrap.NavGroup",
78 "desc" : "default true (turn to off to disable active toggle)",
79 "memberOf" : "Roo.bootstrap.NavGroup",
85 "desc" : "- reference Id for navbar.",
86 "memberOf" : "Roo.bootstrap.NavGroup",
90 "name" : "can_build_overlaid",
92 "desc" : "True if element can be rebuild from a HTML page",
93 "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",
114 "name" : "allowDomMove",
116 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
117 "memberOf" : "Roo.Component",
123 "desc" : "css class",
124 "memberOf" : "Roo.bootstrap.Component",
130 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
131 "memberOf" : "Roo.bootstrap.Component",
135 "name" : "actionMode",
137 "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",
138 "memberOf" : "Roo.Component",
144 "desc" : "cutomer id",
145 "memberOf" : "Roo.bootstrap.Component",
151 "desc" : "default nav",
152 "memberOf" : "Roo.bootstrap.NavGroup",
162 "desc" : "Specifies name attribute",
163 "memberOf" : "Roo.bootstrap.Component",
167 "name" : "disableClass",
169 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
170 "memberOf" : "Roo.Component",
177 "desc" : "register a Navigation item",
179 "isConstructor" : false,
181 "memberOf" : "Roo.bootstrap.NavGroup",
189 "type" : "Roo.bootstrap.NavItem",
190 "desc" : "navitem to add",
197 "name" : "getActive",
198 "desc" : "gets the active Navigation item",
200 "isConstructor" : false,
202 "memberOf" : "Roo.bootstrap.NavGroup",
211 "type" : "Roo.bootstrap.NavItem",
212 "desc" : "the current navitem"
218 "desc" : "adds a Navigation item",
220 "isConstructor" : false,
222 "memberOf" : "Roo.bootstrap.NavGroup",
230 "type" : "Roo.bootstrap.NavItem",
231 "desc" : "navitem to add",
239 "desc" : "register a Navigation Group",
241 "isConstructor" : false,
243 "memberOf" : "Roo.bootstrap.NavGroup",
251 "type" : "Roo.bootstrap.NavGroup",
252 "desc" : "navgroup to add",
260 "desc" : "fetch a Navigation Group based on the navigation ID",
262 "isConstructor" : false,
264 "memberOf" : "Roo.bootstrap.NavGroup",
273 "desc" : "navgroup to add",
280 "name" : "setActiveItem",
281 "desc" : "sets the active Navigation item",
283 "isConstructor" : false,
285 "memberOf" : "Roo.bootstrap.NavGroup",
293 "type" : "Roo.bootstrap.NavItem",
294 "desc" : "new current navitem",
302 "desc" : "clear all the Navigation item",
304 "isConstructor" : false,
306 "memberOf" : "Roo.bootstrap.NavGroup",
315 "name" : "tooltipEl",
316 "desc" : "Fetch the element to display the tooltip on.",
318 "isConstructor" : false,
320 "memberOf" : "Roo.bootstrap.Component",
329 "type" : "Roo.Element",
330 "desc" : "defaults to this.el"
336 "desc" : "Hide a component - adds 'hidden' class",
338 "isConstructor" : false,
340 "memberOf" : "Roo.bootstrap.Component",
350 "desc" : "Show a component - removes 'hidden' class",
352 "isConstructor" : false,
354 "memberOf" : "Roo.bootstrap.Component",
363 "name" : "setVisibilityEl",
364 "desc" : "Set the element that will be used to show or hide",
366 "isConstructor" : false,
368 "memberOf" : "Roo.bootstrap.Component",
377 "name" : "getVisibilityEl",
378 "desc" : "Get the element that will be used to show or hide",
380 "isConstructor" : false,
382 "memberOf" : "Roo.bootstrap.Component",
391 "name" : "initEvents",
392 "desc" : "Initialize Events for the element",
394 "isConstructor" : false,
396 "memberOf" : "Roo.bootstrap.Component",
405 "name" : "getChildContainer",
406 "desc" : "Fetch the element to add children to",
408 "isConstructor" : false,
410 "memberOf" : "Roo.bootstrap.Component",
419 "type" : "Roo.Element",
420 "desc" : "defaults to this.el"
426 "desc" : "Returns the id of this component.",
428 "isConstructor" : false,
430 "memberOf" : "Roo.Component",
446 "desc" : "If this is a lazy rendering component, render it to its container element.",
448 "isConstructor" : false,
450 "memberOf" : "Roo.Component",
457 "name" : "container",
458 "type" : "String/HTMLElement/Element",
459 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
467 "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}.",
469 "isConstructor" : false,
471 "memberOf" : "Roo.Component",
480 "name" : "isVisible",
481 "desc" : "Returns true if this component is visible.",
483 "isConstructor" : false,
485 "memberOf" : "Roo.Component",
494 "name" : "setDisabled",
495 "desc" : "Convenience function for setting disabled/enabled by boolean.",
497 "isConstructor" : false,
499 "memberOf" : "Roo.Component",
516 "desc" : "Try to focus this component.",
518 "isConstructor" : false,
520 "memberOf" : "Roo.Component",
527 "name" : "selectText",
529 "desc" : "True to also select the text in this component (if applicable)",
536 "type" : "Roo.Component",
543 "desc" : "Enable this component.",
545 "isConstructor" : false,
547 "memberOf" : "Roo.Component",
556 "type" : "Roo.Component",
562 "name" : "setVisible",
563 "desc" : "Convenience function to hide or show this component by boolean.",
565 "isConstructor" : false,
567 "memberOf" : "Roo.Component",
576 "desc" : "True to show, false to hide",
583 "type" : "Roo.Component",
590 "desc" : "Disable this component.",
592 "isConstructor" : false,
594 "memberOf" : "Roo.Component",
603 "type" : "Roo.Component",
610 "desc" : "Returns the underlying {@link Roo.Element}.",
612 "isConstructor" : false,
614 "memberOf" : "Roo.Component",
623 "type" : "Roo.Element",
624 "desc" : "The element"
629 "name" : "purgeListeners",
630 "desc" : "Removes all listeners for this object",
632 "isConstructor" : false,
634 "memberOf" : "Roo.util.Observable",
644 "desc" : "Appends an event handler to this element (shorthand for addListener)",
646 "isConstructor" : false,
648 "memberOf" : "Roo.util.Observable",
655 "name" : "eventName",
657 "desc" : "The type of event to listen for",
663 "desc" : "The method the event invokes",
669 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
675 "desc" : "(optional)",
683 "desc" : "Removes a listener (shorthand for removeListener)",
685 "isConstructor" : false,
687 "memberOf" : "Roo.util.Observable",
694 "name" : "eventName",
696 "desc" : "The type of event to listen for",
702 "desc" : "The handler to remove",
708 "desc" : "(optional) The scope (this object) for the handler",
715 "name" : "addEvents",
716 "desc" : "Used to define events on this Observable",
718 "isConstructor" : false,
720 "memberOf" : "Roo.util.Observable",
729 "desc" : "The object with the events defined",
736 "name" : "releaseCapture",
737 "desc" : "Removes <b>all</b> added captures from the Observable.",
739 "isConstructor" : false,
741 "memberOf" : "Roo.util.Observable",
749 "type" : "Observable",
750 "desc" : "The Observable to release",
757 "name" : "removeListener",
758 "desc" : "Removes a listener",
760 "isConstructor" : false,
762 "memberOf" : "Roo.util.Observable",
769 "name" : "eventName",
771 "desc" : "The type of event to listen for",
777 "desc" : "The handler to remove",
783 "desc" : "(optional) The scope (this object) for the handler",
790 "name" : "fireEvent",
791 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
793 "isConstructor" : false,
795 "memberOf" : "Roo.util.Observable",
802 "name" : "eventName",
809 "type" : "Object...",
810 "desc" : "Variable number of parameters are passed to handlers",
818 "desc" : "returns false if any of the handlers return false otherwise it returns true"
823 "name" : "hasListener",
824 "desc" : "Checks to see if this object has any listeners for a specified event",
826 "isConstructor" : false,
828 "memberOf" : "Roo.util.Observable",
835 "name" : "eventName",
837 "desc" : "The name of the event to check for",
845 "desc" : "True if the event is being listened for, else false"
851 "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.",
853 "isConstructor" : false,
855 "memberOf" : "Roo.util.Observable",
863 "type" : "Observable",
864 "desc" : "The Observable to capture",
870 "desc" : "The function to call",
876 "desc" : "(optional) The scope (this object) for the fn",
883 "name" : "addListener",
884 "desc" : "Appends an event handler to this component",
886 "isConstructor" : false,
888 "memberOf" : "Roo.util.Observable",
895 "name" : "eventName",
897 "desc" : "The type of event to listen for",
903 "desc" : "The method the event invokes",
909 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
915 "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>",
925 "desc" : "Fires when the active item changes",
926 "memberOf" : "Roo.bootstrap.NavGroup",
934 "type" : "Roo.bootstrap.NavGroup",
940 "type" : "Roo.bootstrap.Navbar.Item",
941 "desc" : "The item selected",
946 "type" : "Roo.bootstrap.Navbar.Item",
947 "desc" : "The previously selected item",
954 "name" : "childrenrendered",
955 "desc" : "Fires when the children have been rendered..",
956 "memberOf" : "Roo.bootstrap.Component",
964 "type" : "Roo.bootstrap.Component",
972 "name" : "beforerender",
973 "desc" : "Fires before the component is rendered. Return false to stop the render.",
974 "memberOf" : "Roo.Component",
982 "type" : "Roo.Component",
991 "desc" : "Fires after the component is disabled.",
992 "memberOf" : "Roo.Component",
1000 "type" : "Roo.Component",
1002 "isOptional" : false
1009 "desc" : "Fires after the component is rendered.",
1010 "memberOf" : "Roo.Component",
1018 "type" : "Roo.Component",
1020 "isOptional" : false
1027 "desc" : "Fires after the component is destroyed.",
1028 "memberOf" : "Roo.Component",
1036 "type" : "Roo.Component",
1038 "isOptional" : false
1045 "desc" : "Fires after the component is hidden.",
1046 "memberOf" : "Roo.Component",
1054 "type" : "Roo.Component",
1056 "isOptional" : false
1062 "name" : "beforehide",
1063 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1064 "memberOf" : "Roo.Component",
1072 "type" : "Roo.Component",
1074 "isOptional" : false
1081 "desc" : "Fires after the component is shown.",
1082 "memberOf" : "Roo.Component",
1090 "type" : "Roo.Component",
1092 "isOptional" : false
1098 "name" : "beforeshow",
1099 "desc" : "Fires before the component is shown. Return false to stop the show.",
1100 "memberOf" : "Roo.Component",
1108 "type" : "Roo.Component",
1110 "isOptional" : false
1117 "desc" : "Fires after the component is enabled.",
1118 "memberOf" : "Roo.Component",
1126 "type" : "Roo.Component",
1128 "isOptional" : false
1134 "name" : "beforedestroy",
1135 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1136 "memberOf" : "Roo.Component",
1144 "type" : "Roo.Component",
1146 "isOptional" : false