2 "name" : "Roo.bootstrap.MenuItem",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap MenuItem class",
12 "memberOf" : "MenuItem",
21 "desc" : "The config object",
32 "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>",
33 "memberOf" : "Roo.util.Observable"
38 "desc" : "Text for the tooltip",
39 "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"
48 "name" : "visibilityEl",
49 "type" : "string|object",
50 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
51 "memberOf" : "Roo.bootstrap.Component"
54 "name" : "isContainer",
56 "desc" : "is it a container - just returns a drop down item..",
61 "type" : "Roo.bootsrap.Menu",
62 "desc" : "the child menu.",
66 "name" : "can_build_overlaid",
68 "desc" : "True if element can be rebuild from a HTML page",
69 "memberOf" : "Roo.bootstrap.Component"
74 "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\".",
75 "memberOf" : "Roo.Component"
80 "desc" : "any extra css",
81 "memberOf" : "Roo.bootstrap.Component"
84 "name" : "allowDomMove",
86 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
87 "memberOf" : "Roo.Component"
90 "name" : "preventDefault",
92 "desc" : "do not trigger A href on clicks (default false).",
98 "desc" : "the menu label",
104 "desc" : "css class",
105 "memberOf" : "Roo.bootstrap.Component"
110 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
111 "memberOf" : "Roo.bootstrap.Component"
114 "name" : "actionMode",
116 "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",
117 "memberOf" : "Roo.Component"
122 "desc" : "cutomer id",
123 "memberOf" : "Roo.bootstrap.Component"
128 "desc" : "used on sidebars to highlight active itesm",
134 "desc" : "favicon to show on left of menu item.",
140 "desc" : "Specifies name attribute",
141 "memberOf" : "Roo.bootstrap.Component"
144 "name" : "disableClass",
146 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
147 "memberOf" : "Roo.Component"
158 "name" : "tooltipEl",
160 "desc" : "Fetch the element to display the tooltip on.",
161 "sig" : "()\n{\n\n}",
163 "memberOf" : "Roo.bootstrap.Component",
165 "isConstructor" : false,
177 "type" : "Roo.Element",
178 "desc" : "defaults to this.el"
185 "desc" : "Hide a component - adds 'hidden' class",
186 "sig" : "()\n{\n\n}",
188 "memberOf" : "Roo.bootstrap.Component",
190 "isConstructor" : false,
204 "desc" : "Show a component - removes 'hidden' class",
205 "sig" : "()\n{\n\n}",
207 "memberOf" : "Roo.bootstrap.Component",
209 "isConstructor" : false,
221 "name" : "setVisibilityEl",
223 "desc" : "Set the element that will be used to show or hide",
224 "sig" : "()\n{\n\n}",
226 "memberOf" : "Roo.bootstrap.Component",
228 "isConstructor" : false,
240 "name" : "getVisibilityEl",
242 "desc" : "Get the element that will be used to show or hide",
243 "sig" : "()\n{\n\n}",
245 "memberOf" : "Roo.bootstrap.Component",
247 "isConstructor" : false,
259 "name" : "initEvents",
261 "desc" : "Initialize Events for the element",
262 "sig" : "()\n{\n\n}",
264 "memberOf" : "Roo.bootstrap.Component",
266 "isConstructor" : false,
278 "name" : "getChildContainer",
280 "desc" : "Fetch the element to add children to",
281 "sig" : "()\n{\n\n}",
283 "memberOf" : "Roo.bootstrap.Component",
285 "isConstructor" : false,
297 "type" : "Roo.Element",
298 "desc" : "defaults to this.el"
305 "desc" : "Returns the id of this component.",
306 "sig" : "()\n{\n\n}",
308 "memberOf" : "Roo.Component",
310 "isConstructor" : false,
330 "desc" : "If this is a lazy rendering component, render it to its container element.",
331 "sig" : "(container)",
333 "memberOf" : "Roo.Component",
335 "isConstructor" : false,
345 "name" : "container",
346 "type" : "String/HTMLElement/Element",
347 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
356 "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}.",
357 "sig" : "()\n{\n\n}",
359 "memberOf" : "Roo.Component",
361 "isConstructor" : false,
373 "name" : "isVisible",
375 "desc" : "Returns true if this component is visible.",
376 "sig" : "()\n{\n\n}",
378 "memberOf" : "Roo.Component",
380 "isConstructor" : false,
392 "name" : "setDisabled",
394 "desc" : "Convenience function for setting disabled/enabled by boolean.",
395 "sig" : "(disabled)",
397 "memberOf" : "Roo.Component",
399 "isConstructor" : false,
420 "desc" : "Try to focus this component.",
421 "sig" : "(selectText)",
423 "memberOf" : "Roo.Component",
425 "isConstructor" : false,
435 "name" : "selectText",
437 "desc" : "True to also select the text in this component (if applicable)",
444 "type" : "Roo.Component",
452 "desc" : "Enable this component.",
453 "sig" : "()\n{\n\n}",
455 "memberOf" : "Roo.Component",
457 "isConstructor" : false,
469 "type" : "Roo.Component",
475 "name" : "setVisible",
477 "desc" : "Convenience function to hide or show this component by boolean.",
480 "memberOf" : "Roo.Component",
482 "isConstructor" : false,
494 "desc" : "True to show, false to hide",
501 "type" : "Roo.Component",
509 "desc" : "Disable this component.",
510 "sig" : "()\n{\n\n}",
512 "memberOf" : "Roo.Component",
514 "isConstructor" : false,
526 "type" : "Roo.Component",
534 "desc" : "Returns the underlying {@link Roo.Element}.",
535 "sig" : "()\n{\n\n}",
537 "memberOf" : "Roo.Component",
539 "isConstructor" : false,
551 "type" : "Roo.Element",
552 "desc" : "The element"
557 "name" : "purgeListeners",
559 "desc" : "Removes all listeners for this object",
560 "sig" : "()\n{\n\n}",
562 "memberOf" : "Roo.util.Observable",
564 "isConstructor" : false,
578 "desc" : "Appends an event handler to this element (shorthand for addListener)",
579 "sig" : "(eventName, handler, scope, options)",
581 "memberOf" : "Roo.util.Observable",
583 "isConstructor" : false,
593 "name" : "eventName",
595 "desc" : "The type of event to listen for",
601 "desc" : "The method the event invokes",
607 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
613 "desc" : "(optional)",
622 "desc" : "Removes a listener (shorthand for removeListener)",
623 "sig" : "(eventName, handler, scope)",
625 "memberOf" : "Roo.util.Observable",
627 "isConstructor" : false,
637 "name" : "eventName",
639 "desc" : "The type of event to listen for",
645 "desc" : "The handler to remove",
651 "desc" : "(optional) The scope (this object) for the handler",
658 "name" : "addEvents",
660 "desc" : "Used to define events on this Observable",
663 "memberOf" : "Roo.util.Observable",
665 "isConstructor" : false,
677 "desc" : "The object with the events defined",
684 "name" : "releaseCapture",
686 "desc" : "Removes <b>all</b> added captures from the Observable.",
689 "memberOf" : "Roo.util.Observable",
691 "isConstructor" : false,
702 "type" : "Observable",
703 "desc" : "The Observable to release",
710 "name" : "removeListener",
712 "desc" : "Removes a listener",
713 "sig" : "(eventName, handler, scope)",
715 "memberOf" : "Roo.util.Observable",
717 "isConstructor" : false,
727 "name" : "eventName",
729 "desc" : "The type of event to listen for",
735 "desc" : "The handler to remove",
741 "desc" : "(optional) The scope (this object) for the handler",
748 "name" : "fireEvent",
750 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
751 "sig" : "(eventName, args)",
753 "memberOf" : "Roo.util.Observable",
755 "isConstructor" : false,
765 "name" : "eventName",
772 "type" : "Object...",
773 "desc" : "Variable number of parameters are passed to handlers",
781 "desc" : "returns false if any of the handlers return false otherwise it returns true"
786 "name" : "hasListener",
788 "desc" : "Checks to see if this object has any listeners for a specified event",
789 "sig" : "(eventName)",
791 "memberOf" : "Roo.util.Observable",
793 "isConstructor" : false,
803 "name" : "eventName",
805 "desc" : "The name of the event to check for",
813 "desc" : "True if the event is being listened for, else false"
820 "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.",
821 "sig" : "(o, fn, scope)",
823 "memberOf" : "Roo.util.Observable",
825 "isConstructor" : false,
836 "type" : "Observable",
837 "desc" : "The Observable to capture",
843 "desc" : "The function to call",
849 "desc" : "(optional) The scope (this object) for the fn",
856 "name" : "addListener",
858 "desc" : "Appends an event handler to this component",
859 "sig" : "(eventName, handler, scope, options)",
861 "memberOf" : "Roo.util.Observable",
863 "isConstructor" : false,
873 "name" : "eventName",
875 "desc" : "The type of event to listen for",
881 "desc" : "The method the event invokes",
887 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
893 "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>",
904 "desc" : "The raw click event for the entire grid.",
905 "sig" : "function (_self, e)\n{\n\n}",
914 "type" : "Roo.bootstrap.MenuItem",
920 "type" : "Roo.EventObject",
928 "name" : "childrenrendered",
930 "desc" : "Fires when the children have been rendered..",
931 "sig" : "function (_self)\n{\n\n}",
932 "memberOf" : "Roo.bootstrap.Component",
940 "type" : "Roo.bootstrap.Component",
948 "name" : "beforerender",
950 "desc" : "Fires before the component is rendered. Return false to stop the render.",
951 "sig" : "function (_self)\n{\n\n}",
952 "memberOf" : "Roo.Component",
960 "type" : "Roo.Component",
970 "desc" : "Fires after the component is disabled.",
971 "sig" : "function (_self)\n{\n\n}",
972 "memberOf" : "Roo.Component",
980 "type" : "Roo.Component",
990 "desc" : "Fires after the component is rendered.",
991 "sig" : "function (_self)\n{\n\n}",
992 "memberOf" : "Roo.Component",
1000 "type" : "Roo.Component",
1002 "isOptional" : false
1009 "type" : "function",
1010 "desc" : "Fires after the component is destroyed.",
1011 "sig" : "function (_self)\n{\n\n}",
1012 "memberOf" : "Roo.Component",
1020 "type" : "Roo.Component",
1022 "isOptional" : false
1029 "type" : "function",
1030 "desc" : "Fires after the component is hidden.",
1031 "sig" : "function (_self)\n{\n\n}",
1032 "memberOf" : "Roo.Component",
1040 "type" : "Roo.Component",
1042 "isOptional" : false
1048 "name" : "beforehide",
1049 "type" : "function",
1050 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1051 "sig" : "function (_self)\n{\n\n}",
1052 "memberOf" : "Roo.Component",
1060 "type" : "Roo.Component",
1062 "isOptional" : false
1069 "type" : "function",
1070 "desc" : "Fires after the component is shown.",
1071 "sig" : "function (_self)\n{\n\n}",
1072 "memberOf" : "Roo.Component",
1080 "type" : "Roo.Component",
1082 "isOptional" : false
1088 "name" : "beforeshow",
1089 "type" : "function",
1090 "desc" : "Fires before the component is shown. Return false to stop the show.",
1091 "sig" : "function (_self)\n{\n\n}",
1092 "memberOf" : "Roo.Component",
1100 "type" : "Roo.Component",
1102 "isOptional" : false
1109 "type" : "function",
1110 "desc" : "Fires after the component is enabled.",
1111 "sig" : "function (_self)\n{\n\n}",
1112 "memberOf" : "Roo.Component",
1120 "type" : "Roo.Component",
1122 "isOptional" : false
1128 "name" : "beforedestroy",
1129 "type" : "function",
1130 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1131 "sig" : "function (_self)\n{\n\n}",
1132 "memberOf" : "Roo.Component",
1140 "type" : "Roo.Component",
1142 "isOptional" : false