2 "name" : "Roo.bootstrap.MenuItem",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem 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",
48 "name" : "isContainer",
50 "desc" : "is it a container - just returns a drop down item..",
51 "memberOf" : "Roo.bootstrap.MenuItem",
57 "type" : "Roo.bootsrap.Menu",
58 "desc" : "the child menu.",
59 "memberOf" : "Roo.bootstrap.MenuItem",
64 "name" : "can_build_overlaid",
66 "desc" : "True if element can be rebuild from a HTML page",
67 "memberOf" : "Roo.bootstrap.Component",
74 "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\".",
75 "memberOf" : "Roo.Component",
84 "desc" : "any extra css",
85 "memberOf" : "Roo.bootstrap.Component",
90 "name" : "allowDomMove",
92 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
93 "memberOf" : "Roo.Component",
98 "name" : "preventDefault",
100 "desc" : "do not trigger A href on clicks (default false).",
101 "memberOf" : "Roo.bootstrap.MenuItem",
108 "desc" : "the menu label",
109 "memberOf" : "Roo.bootstrap.MenuItem",
116 "desc" : "css class",
117 "memberOf" : "Roo.bootstrap.Component",
124 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
125 "memberOf" : "Roo.bootstrap.Component",
130 "name" : "actionMode",
132 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
133 "memberOf" : "Roo.Component",
140 "desc" : "cutomer id",
141 "memberOf" : "Roo.bootstrap.Component",
148 "desc" : "used on sidebars to highlight active itesm",
149 "memberOf" : "Roo.bootstrap.MenuItem",
156 "desc" : "favicon to show on left of menu item.",
157 "memberOf" : "Roo.bootstrap.MenuItem",
164 "desc" : "Specifies name attribute",
165 "memberOf" : "Roo.bootstrap.Component",
170 "name" : "disableClass",
172 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
173 "memberOf" : "Roo.Component",
181 "memberOf" : "Roo.bootstrap.MenuItem",
188 "name" : "tooltipEl",
189 "desc" : "Fetch the element to display the tooltip on.",
191 "isConstructor" : false,
193 "memberOf" : "Roo.bootstrap.Component",
203 "type" : "Roo.Element",
204 "desc" : "defaults to this.el"
210 "desc" : "Hide a component - adds 'hidden' class",
212 "isConstructor" : false,
214 "memberOf" : "Roo.bootstrap.Component",
226 "desc" : "Show a component - removes 'hidden' class",
228 "isConstructor" : false,
230 "memberOf" : "Roo.bootstrap.Component",
241 "name" : "setVisibilityEl",
242 "desc" : "Set the element that will be used to show or hide",
244 "isConstructor" : false,
246 "memberOf" : "Roo.bootstrap.Component",
257 "name" : "getVisibilityEl",
258 "desc" : "Get the element that will be used to show or hide",
260 "isConstructor" : false,
262 "memberOf" : "Roo.bootstrap.Component",
273 "name" : "initEvents",
274 "desc" : "Initialize Events for the element",
276 "isConstructor" : false,
278 "memberOf" : "Roo.bootstrap.Component",
289 "name" : "getChildContainer",
290 "desc" : "Fetch the element to add children to",
292 "isConstructor" : false,
294 "memberOf" : "Roo.bootstrap.Component",
304 "type" : "Roo.Element",
305 "desc" : "defaults to this.el"
311 "desc" : "Returns the id of this component.",
313 "isConstructor" : false,
315 "memberOf" : "Roo.Component",
332 "desc" : "If this is a lazy rendering component, render it to its container element.",
334 "isConstructor" : false,
336 "memberOf" : "Roo.Component",
343 "name" : "container",
344 "type" : "String/HTMLElement/Element",
345 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
354 "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}.",
356 "isConstructor" : false,
358 "memberOf" : "Roo.Component",
369 "name" : "isVisible",
370 "desc" : "Returns true if this component is visible.",
372 "isConstructor" : false,
374 "memberOf" : "Roo.Component",
385 "name" : "setDisabled",
386 "desc" : "Convenience function for setting disabled/enabled by boolean.",
388 "isConstructor" : false,
390 "memberOf" : "Roo.Component",
408 "desc" : "Try to focus this component.",
410 "isConstructor" : false,
412 "memberOf" : "Roo.Component",
419 "name" : "selectText",
421 "desc" : "True to also select the text in this component (if applicable)",
428 "type" : "Roo.Component",
435 "desc" : "Enable this component.",
437 "isConstructor" : false,
439 "memberOf" : "Roo.Component",
449 "type" : "Roo.Component",
455 "name" : "setVisible",
456 "desc" : "Convenience function to hide or show this component by boolean.",
458 "isConstructor" : false,
460 "memberOf" : "Roo.Component",
469 "desc" : "True to show, false to hide",
476 "type" : "Roo.Component",
483 "desc" : "Disable this component.",
485 "isConstructor" : false,
487 "memberOf" : "Roo.Component",
497 "type" : "Roo.Component",
504 "desc" : "Returns the underlying {@link Roo.Element}.",
506 "isConstructor" : false,
508 "memberOf" : "Roo.Component",
518 "type" : "Roo.Element",
519 "desc" : "The element"
524 "name" : "purgeListeners",
525 "desc" : "Removes all listeners for this object",
527 "isConstructor" : false,
529 "memberOf" : "Roo.util.Observable",
541 "desc" : "Appends an event handler to this element (shorthand for addListener)",
543 "isConstructor" : false,
545 "memberOf" : "Roo.util.Observable",
552 "name" : "eventName",
554 "desc" : "The type of event to listen for",
560 "desc" : "The method the event invokes",
566 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
572 "desc" : "(optional)",
581 "desc" : "Removes a listener (shorthand for removeListener)",
583 "isConstructor" : false,
585 "memberOf" : "Roo.util.Observable",
592 "name" : "eventName",
594 "desc" : "The type of event to listen for",
600 "desc" : "The handler to remove",
606 "desc" : "(optional) The scope (this object) for the handler",
614 "name" : "addEvents",
615 "desc" : "Used to define events on this Observable",
617 "isConstructor" : false,
619 "memberOf" : "Roo.util.Observable",
628 "desc" : "The object with the events defined",
636 "name" : "releaseCapture",
637 "desc" : "Removes <b>all</b> added captures from the Observable.",
639 "isConstructor" : false,
641 "memberOf" : "Roo.util.Observable",
649 "type" : "Observable",
650 "desc" : "The Observable to release",
658 "name" : "removeListener",
659 "desc" : "Removes a listener",
661 "isConstructor" : false,
663 "memberOf" : "Roo.util.Observable",
670 "name" : "eventName",
672 "desc" : "The type of event to listen for",
678 "desc" : "The handler to remove",
684 "desc" : "(optional) The scope (this object) for the handler",
692 "name" : "fireEvent",
693 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
695 "isConstructor" : false,
697 "memberOf" : "Roo.util.Observable",
704 "name" : "eventName",
711 "type" : "Object...",
712 "desc" : "Variable number of parameters are passed to handlers",
720 "desc" : "returns false if any of the handlers return false otherwise it returns true"
725 "name" : "hasListener",
726 "desc" : "Checks to see if this object has any listeners for a specified event",
728 "isConstructor" : false,
730 "memberOf" : "Roo.util.Observable",
737 "name" : "eventName",
739 "desc" : "The name of the event to check for",
747 "desc" : "True if the event is being listened for, else false"
753 "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.",
755 "isConstructor" : false,
757 "memberOf" : "Roo.util.Observable",
765 "type" : "Observable",
766 "desc" : "The Observable to capture",
772 "desc" : "The function to call",
778 "desc" : "(optional) The scope (this object) for the fn",
786 "name" : "addListener",
787 "desc" : "Appends an event handler to this component",
789 "isConstructor" : false,
791 "memberOf" : "Roo.util.Observable",
798 "name" : "eventName",
800 "desc" : "The type of event to listen for",
806 "desc" : "The method the event invokes",
812 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
818 "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>",
829 "desc" : "The raw click event for the entire grid.",
838 "type" : "Roo.bootstrap.MenuItem",
844 "type" : "Roo.EventObject",
853 "name" : "childrenrendered",
854 "desc" : "Fires when the children have been rendered..",
855 "memberOf" : "Roo.bootstrap.Component",
863 "type" : "Roo.bootstrap.Component",
872 "name" : "beforerender",
873 "desc" : "Fires before the component is rendered. Return false to stop the render.",
874 "memberOf" : "Roo.Component",
882 "type" : "Roo.Component",
892 "desc" : "Fires after the component is disabled.",
893 "memberOf" : "Roo.Component",
901 "type" : "Roo.Component",
911 "desc" : "Fires after the component is rendered.",
912 "memberOf" : "Roo.Component",
920 "type" : "Roo.Component",
930 "desc" : "Fires after the component is destroyed.",
931 "memberOf" : "Roo.Component",
939 "type" : "Roo.Component",
949 "desc" : "Fires after the component is hidden.",
950 "memberOf" : "Roo.Component",
958 "type" : "Roo.Component",
967 "name" : "beforehide",
968 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
969 "memberOf" : "Roo.Component",
977 "type" : "Roo.Component",
987 "desc" : "Fires after the component is shown.",
988 "memberOf" : "Roo.Component",
996 "type" : "Roo.Component",
1005 "name" : "beforeshow",
1006 "desc" : "Fires before the component is shown. Return false to stop the show.",
1007 "memberOf" : "Roo.Component",
1015 "type" : "Roo.Component",
1017 "isOptional" : false
1025 "desc" : "Fires after the component is enabled.",
1026 "memberOf" : "Roo.Component",
1034 "type" : "Roo.Component",
1036 "isOptional" : false
1043 "name" : "beforedestroy",
1044 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1045 "memberOf" : "Roo.Component",
1053 "type" : "Roo.Component",
1055 "isOptional" : false