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" : "t) 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" : "- reference Id for navbar.",
79 "memberOf" : "Roo.bootstrap.NavGroup",
83 "name" : "can_build_overlaid",
85 "desc" : "True if element can be rebuild from a HTML page",
86 "memberOf" : "Roo.bootstrap.Component",
92 "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\".",
93 "memberOf" : "Roo.Component",
102 "desc" : "any extra css",
103 "memberOf" : "Roo.bootstrap.Component",
107 "name" : "allowDomMove",
109 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
110 "memberOf" : "Roo.Component",
116 "desc" : "css class",
117 "memberOf" : "Roo.bootstrap.Component",
123 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
124 "memberOf" : "Roo.bootstrap.Component",
128 "name" : "actionMode",
130 "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",
131 "memberOf" : "Roo.Component",
137 "desc" : "cutomer id",
138 "memberOf" : "Roo.bootstrap.Component",
144 "desc" : "b) default nav",
145 "memberOf" : "Roo.bootstrap.NavGroup",
155 "desc" : "Specifies name attribute",
156 "memberOf" : "Roo.bootstrap.Component",
160 "name" : "disableClass",
162 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
163 "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",
190 "name" : "getActive",
191 "desc" : "gets the active Navigation item",
193 "isConstructor" : false,
195 "memberOf" : "Roo.bootstrap.NavGroup",
204 "type" : "Roo.bootstrap.NavItem",
205 "desc" : "the current navitem"
211 "desc" : "adds a Navigation item",
213 "isConstructor" : false,
215 "memberOf" : "Roo.bootstrap.NavGroup",
223 "type" : "Roo.bootstrap.NavItem",
224 "desc" : "navitem to add",
232 "desc" : "register a Navigation Group",
234 "isConstructor" : false,
236 "memberOf" : "Roo.bootstrap.NavGroup",
244 "type" : "Roo.bootstrap.NavGroup",
245 "desc" : "navgroup to add",
253 "desc" : "fetch a Navigation Group based on the navigation ID",
255 "isConstructor" : false,
257 "memberOf" : "Roo.bootstrap.NavGroup",
266 "desc" : "navgroup to add",
273 "name" : "setActiveItem",
274 "desc" : "sets the active Navigation item",
276 "isConstructor" : false,
278 "memberOf" : "Roo.bootstrap.NavGroup",
286 "type" : "Roo.bootstrap.NavItem",
287 "desc" : "new current navitem",
295 "desc" : "clear all the Navigation item",
297 "isConstructor" : false,
299 "memberOf" : "Roo.bootstrap.NavGroup",
308 "name" : "tooltipEl",
309 "desc" : "Fetch the element to display the tooltip on.",
311 "isConstructor" : false,
313 "memberOf" : "Roo.bootstrap.Component",
322 "type" : "Roo.Element",
323 "desc" : "defaults to this.el"
329 "desc" : "Hide a component - adds 'hidden' class",
331 "isConstructor" : false,
333 "memberOf" : "Roo.bootstrap.Component",
343 "desc" : "Show a component - removes 'hidden' class",
345 "isConstructor" : false,
347 "memberOf" : "Roo.bootstrap.Component",
356 "name" : "setVisibilityEl",
357 "desc" : "Set the element that will be used to show or hide",
359 "isConstructor" : false,
361 "memberOf" : "Roo.bootstrap.Component",
370 "name" : "getVisibilityEl",
371 "desc" : "Get the element that will be used to show or hide",
373 "isConstructor" : false,
375 "memberOf" : "Roo.bootstrap.Component",
384 "name" : "initEvents",
385 "desc" : "Initialize Events for the element",
387 "isConstructor" : false,
389 "memberOf" : "Roo.bootstrap.Component",
398 "name" : "getChildContainer",
399 "desc" : "Fetch the element to add children to",
401 "isConstructor" : false,
403 "memberOf" : "Roo.bootstrap.Component",
412 "type" : "Roo.Element",
413 "desc" : "defaults to this.el"
419 "desc" : "Returns the id of this component.",
421 "isConstructor" : false,
423 "memberOf" : "Roo.Component",
439 "desc" : "If this is a lazy rendering component, render it to its container element.",
441 "isConstructor" : false,
443 "memberOf" : "Roo.Component",
450 "name" : "container",
451 "type" : "String/HTMLElement/Element",
452 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
460 "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}.",
462 "isConstructor" : false,
464 "memberOf" : "Roo.Component",
473 "name" : "isVisible",
474 "desc" : "Returns true if this component is visible.",
476 "isConstructor" : false,
478 "memberOf" : "Roo.Component",
487 "name" : "setDisabled",
488 "desc" : "Convenience function for setting disabled/enabled by boolean.",
490 "isConstructor" : false,
492 "memberOf" : "Roo.Component",
509 "desc" : "Try to focus this component.",
511 "isConstructor" : false,
513 "memberOf" : "Roo.Component",
520 "name" : "selectText",
522 "desc" : "True to also select the text in this component (if applicable)",
529 "type" : "Roo.Component",
536 "desc" : "Enable this component.",
538 "isConstructor" : false,
540 "memberOf" : "Roo.Component",
549 "type" : "Roo.Component",
555 "name" : "setVisible",
556 "desc" : "Convenience function to hide or show this component by boolean.",
558 "isConstructor" : false,
560 "memberOf" : "Roo.Component",
569 "desc" : "True to show, false to hide",
576 "type" : "Roo.Component",
583 "desc" : "Disable this component.",
585 "isConstructor" : false,
587 "memberOf" : "Roo.Component",
596 "type" : "Roo.Component",
603 "desc" : "Returns the underlying {@link Roo.Element}.",
605 "isConstructor" : false,
607 "memberOf" : "Roo.Component",
616 "type" : "Roo.Element",
617 "desc" : "The element"
622 "name" : "purgeListeners",
623 "desc" : "Removes all listeners for this object",
625 "isConstructor" : false,
627 "memberOf" : "Roo.util.Observable",
637 "desc" : "Appends an event handler to this element (shorthand for addListener)",
639 "isConstructor" : false,
641 "memberOf" : "Roo.util.Observable",
648 "name" : "eventName",
650 "desc" : "The type of event to listen for",
656 "desc" : "The method the event invokes",
662 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
668 "desc" : "(optional)",
676 "desc" : "Removes a listener (shorthand for removeListener)",
678 "isConstructor" : false,
680 "memberOf" : "Roo.util.Observable",
687 "name" : "eventName",
689 "desc" : "The type of event to listen for",
695 "desc" : "The handler to remove",
701 "desc" : "(optional) The scope (this object) for the handler",
708 "name" : "addEvents",
709 "desc" : "Used to define events on this Observable",
711 "isConstructor" : false,
713 "memberOf" : "Roo.util.Observable",
722 "desc" : "The object with the events defined",
729 "name" : "releaseCapture",
730 "desc" : "Removes <b>all</b> added captures from the Observable.",
732 "isConstructor" : false,
734 "memberOf" : "Roo.util.Observable",
742 "type" : "Observable",
743 "desc" : "The Observable to release",
750 "name" : "removeListener",
751 "desc" : "Removes a listener",
753 "isConstructor" : false,
755 "memberOf" : "Roo.util.Observable",
762 "name" : "eventName",
764 "desc" : "The type of event to listen for",
770 "desc" : "The handler to remove",
776 "desc" : "(optional) The scope (this object) for the handler",
783 "name" : "fireEvent",
784 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
786 "isConstructor" : false,
788 "memberOf" : "Roo.util.Observable",
795 "name" : "eventName",
802 "type" : "Object...",
803 "desc" : "Variable number of parameters are passed to handlers",
811 "desc" : "returns false if any of the handlers return false otherwise it returns true"
816 "name" : "hasListener",
817 "desc" : "Checks to see if this object has any listeners for a specified event",
819 "isConstructor" : false,
821 "memberOf" : "Roo.util.Observable",
828 "name" : "eventName",
830 "desc" : "The name of the event to check for",
838 "desc" : "True if the event is being listened for, else false"
844 "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.",
846 "isConstructor" : false,
848 "memberOf" : "Roo.util.Observable",
856 "type" : "Observable",
857 "desc" : "The Observable to capture",
863 "desc" : "The function to call",
869 "desc" : "(optional) The scope (this object) for the fn",
876 "name" : "addListener",
877 "desc" : "Appends an event handler to this component",
879 "isConstructor" : false,
881 "memberOf" : "Roo.util.Observable",
888 "name" : "eventName",
890 "desc" : "The type of event to listen for",
896 "desc" : "The method the event invokes",
902 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
908 "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>",
918 "desc" : "Fires when the active item changes",
919 "memberOf" : "Roo.bootstrap.NavGroup",
927 "type" : "Roo.bootstrap.NavGroup",
933 "type" : "Roo.bootstrap.Navbar.Item",
934 "desc" : "The item selected",
939 "type" : "Roo.bootstrap.Navbar.Item",
940 "desc" : "The previously selected item",
947 "name" : "childrenrendered",
948 "desc" : "Fires when the children have been rendered..",
949 "memberOf" : "Roo.bootstrap.Component",
957 "type" : "Roo.bootstrap.Component",
965 "name" : "beforerender",
966 "desc" : "Fires before the component is rendered. Return false to stop the render.",
967 "memberOf" : "Roo.Component",
975 "type" : "Roo.Component",
984 "desc" : "Fires after the component is disabled.",
985 "memberOf" : "Roo.Component",
993 "type" : "Roo.Component",
1002 "desc" : "Fires after the component is rendered.",
1003 "memberOf" : "Roo.Component",
1011 "type" : "Roo.Component",
1013 "isOptional" : false
1020 "desc" : "Fires after the component is destroyed.",
1021 "memberOf" : "Roo.Component",
1029 "type" : "Roo.Component",
1031 "isOptional" : false
1038 "desc" : "Fires after the component is hidden.",
1039 "memberOf" : "Roo.Component",
1047 "type" : "Roo.Component",
1049 "isOptional" : false
1055 "name" : "beforehide",
1056 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1057 "memberOf" : "Roo.Component",
1065 "type" : "Roo.Component",
1067 "isOptional" : false
1074 "desc" : "Fires after the component is shown.",
1075 "memberOf" : "Roo.Component",
1083 "type" : "Roo.Component",
1085 "isOptional" : false
1091 "name" : "beforeshow",
1092 "desc" : "Fires before the component is shown. Return false to stop the show.",
1093 "memberOf" : "Roo.Component",
1101 "type" : "Roo.Component",
1103 "isOptional" : false
1110 "desc" : "Fires after the component is enabled.",
1111 "memberOf" : "Roo.Component",
1119 "type" : "Roo.Component",
1121 "isOptional" : false
1127 "name" : "beforedestroy",
1128 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1129 "memberOf" : "Roo.Component",
1137 "type" : "Roo.Component",
1139 "isOptional" : false