2 "name" : "Roo.menu.DateItem",
10 "desc" : "A menu item that wraps the {@link Roo.DatPicker} component.",
11 "isSingleton" : false,
14 "memberOf" : "DateItem",
23 "desc" : "Configuration options",
34 "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>",
35 "memberOf" : "Roo.util.Observable"
38 "name" : "activeClass",
40 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
41 "memberOf" : "Roo.menu.BaseItem"
46 "desc" : "True to prevent creation of this menu item (defaults to false)",
47 "memberOf" : "Roo.menu.BaseItem"
52 "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\".",
53 "memberOf" : "Roo.Component"
58 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
59 "memberOf" : "Roo.menu.BaseItem"
64 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
65 "memberOf" : "Roo.menu.BaseItem"
68 "name" : "hideOnClick",
70 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
71 "memberOf" : "Roo.menu.BaseItem"
74 "name" : "allowDomMove",
76 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
77 "memberOf" : "Roo.Component"
80 "name" : "actionMode",
82 "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",
83 "memberOf" : "Roo.Component"
86 "name" : "canActivate",
88 "desc" : "True if this item can be visually activated (defaults to false)",
89 "memberOf" : "Roo.menu.BaseItem"
92 "name" : "disableClass",
94 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
95 "memberOf" : "Roo.Component"
102 "desc" : "Returns the id of this component.",
103 "sig" : "()\n{\n\n}",
105 "memberOf" : "Roo.Component",
107 "isConstructor" : false,
127 "desc" : "If this is a lazy rendering component, render it to its container element.",
128 "sig" : "(container)",
130 "memberOf" : "Roo.Component",
132 "isConstructor" : false,
142 "name" : "container",
143 "type" : "String/HTMLElement/Element",
144 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
153 "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}.",
154 "sig" : "()\n{\n\n}",
156 "memberOf" : "Roo.Component",
158 "isConstructor" : false,
170 "name" : "isVisible",
172 "desc" : "Returns true if this component is visible.",
173 "sig" : "()\n{\n\n}",
175 "memberOf" : "Roo.Component",
177 "isConstructor" : false,
189 "name" : "setDisabled",
191 "desc" : "Convenience function for setting disabled/enabled by boolean.",
192 "sig" : "(disabled)",
194 "memberOf" : "Roo.Component",
196 "isConstructor" : false,
217 "desc" : "Hide this component.",
218 "sig" : "()\n{\n\n}",
220 "memberOf" : "Roo.Component",
222 "isConstructor" : false,
234 "type" : "Roo.Component",
242 "desc" : "Try to focus this component.",
243 "sig" : "(selectText)",
245 "memberOf" : "Roo.Component",
247 "isConstructor" : false,
257 "name" : "selectText",
259 "desc" : "True to also select the text in this component (if applicable)",
266 "type" : "Roo.Component",
274 "desc" : "Show this component.",
275 "sig" : "()\n{\n\n}",
277 "memberOf" : "Roo.Component",
279 "isConstructor" : false,
291 "type" : "Roo.Component",
299 "desc" : "Enable this component.",
300 "sig" : "()\n{\n\n}",
302 "memberOf" : "Roo.Component",
304 "isConstructor" : false,
316 "type" : "Roo.Component",
322 "name" : "setVisible",
324 "desc" : "Convenience function to hide or show this component by boolean.",
327 "memberOf" : "Roo.Component",
329 "isConstructor" : false,
341 "desc" : "True to show, false to hide",
348 "type" : "Roo.Component",
356 "desc" : "Disable this component.",
357 "sig" : "()\n{\n\n}",
359 "memberOf" : "Roo.Component",
361 "isConstructor" : false,
373 "type" : "Roo.Component",
381 "desc" : "Returns the underlying {@link Roo.Element}.",
382 "sig" : "()\n{\n\n}",
384 "memberOf" : "Roo.Component",
386 "isConstructor" : false,
398 "type" : "Roo.Element",
399 "desc" : "The element"
404 "name" : "purgeListeners",
406 "desc" : "Removes all listeners for this object",
407 "sig" : "()\n{\n\n}",
409 "memberOf" : "Roo.util.Observable",
411 "isConstructor" : false,
425 "desc" : "Appends an event handler to this element (shorthand for addListener)",
426 "sig" : "(eventName, handler, scope, options)",
428 "memberOf" : "Roo.util.Observable",
430 "isConstructor" : false,
440 "name" : "eventName",
442 "desc" : "The type of event to listen for",
448 "desc" : "The method the event invokes",
454 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
460 "desc" : "(optional)",
469 "desc" : "Removes a listener (shorthand for removeListener)",
470 "sig" : "(eventName, handler, scope)",
472 "memberOf" : "Roo.util.Observable",
474 "isConstructor" : false,
484 "name" : "eventName",
486 "desc" : "The type of event to listen for",
492 "desc" : "The handler to remove",
498 "desc" : "(optional) The scope (this object) for the handler",
505 "name" : "addEvents",
507 "desc" : "Used to define events on this Observable",
510 "memberOf" : "Roo.util.Observable",
512 "isConstructor" : false,
524 "desc" : "The object with the events defined",
531 "name" : "releaseCapture",
533 "desc" : "Removes <b>all</b> added captures from the Observable.",
536 "memberOf" : "Roo.util.Observable",
538 "isConstructor" : false,
549 "type" : "Observable",
550 "desc" : "The Observable to release",
557 "name" : "removeListener",
559 "desc" : "Removes a listener",
560 "sig" : "(eventName, handler, scope)",
562 "memberOf" : "Roo.util.Observable",
564 "isConstructor" : false,
574 "name" : "eventName",
576 "desc" : "The type of event to listen for",
582 "desc" : "The handler to remove",
588 "desc" : "(optional) The scope (this object) for the handler",
595 "name" : "fireEvent",
597 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
598 "sig" : "(eventName, args)",
600 "memberOf" : "Roo.util.Observable",
602 "isConstructor" : false,
612 "name" : "eventName",
619 "type" : "Object...",
620 "desc" : "Variable number of parameters are passed to handlers",
628 "desc" : "returns false if any of the handlers return false otherwise it returns true"
633 "name" : "hasListener",
635 "desc" : "Checks to see if this object has any listeners for a specified event",
636 "sig" : "(eventName)",
638 "memberOf" : "Roo.util.Observable",
640 "isConstructor" : false,
650 "name" : "eventName",
652 "desc" : "The name of the event to check for",
660 "desc" : "True if the event is being listened for, else false"
667 "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.",
668 "sig" : "(o, fn, scope)",
670 "memberOf" : "Roo.util.Observable",
672 "isConstructor" : false,
683 "type" : "Observable",
684 "desc" : "The Observable to capture",
690 "desc" : "The function to call",
696 "desc" : "(optional) The scope (this object) for the fn",
703 "name" : "addListener",
705 "desc" : "Appends an event handler to this component",
706 "sig" : "(eventName, handler, scope, options)",
708 "memberOf" : "Roo.util.Observable",
710 "isConstructor" : false,
720 "name" : "eventName",
722 "desc" : "The type of event to listen for",
728 "desc" : "The method the event invokes",
734 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
740 "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>",
751 "desc" : "Fires when this item is clicked",
752 "sig" : "function (_self, e)\n{\n\n}",
753 "memberOf" : "Roo.menu.BaseItem",
761 "type" : "Roo.menu.BaseItem",
767 "type" : "Roo.EventObject",
777 "desc" : "Fires when this item is activated",
778 "sig" : "function (_self)\n{\n\n}",
779 "memberOf" : "Roo.menu.BaseItem",
787 "type" : "Roo.menu.BaseItem",
795 "name" : "deactivate",
797 "desc" : "Fires when this item is deactivated",
798 "sig" : "function (_self)\n{\n\n}",
799 "memberOf" : "Roo.menu.BaseItem",
807 "type" : "Roo.menu.BaseItem",
815 "name" : "beforerender",
817 "desc" : "Fires before the component is rendered. Return false to stop the render.",
818 "sig" : "function (_self)\n{\n\n}",
819 "memberOf" : "Roo.Component",
827 "type" : "Roo.Component",
837 "desc" : "Fires after the component is disabled.",
838 "sig" : "function (_self)\n{\n\n}",
839 "memberOf" : "Roo.Component",
847 "type" : "Roo.Component",
857 "desc" : "Fires after the component is rendered.",
858 "sig" : "function (_self)\n{\n\n}",
859 "memberOf" : "Roo.Component",
867 "type" : "Roo.Component",
877 "desc" : "Fires after the component is destroyed.",
878 "sig" : "function (_self)\n{\n\n}",
879 "memberOf" : "Roo.Component",
887 "type" : "Roo.Component",
897 "desc" : "Fires after the component is hidden.",
898 "sig" : "function (_self)\n{\n\n}",
899 "memberOf" : "Roo.Component",
907 "type" : "Roo.Component",
915 "name" : "beforehide",
917 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
918 "sig" : "function (_self)\n{\n\n}",
919 "memberOf" : "Roo.Component",
927 "type" : "Roo.Component",
937 "desc" : "Fires after the component is shown.",
938 "sig" : "function (_self)\n{\n\n}",
939 "memberOf" : "Roo.Component",
947 "type" : "Roo.Component",
955 "name" : "beforeshow",
957 "desc" : "Fires before the component is shown. Return false to stop the show.",
958 "sig" : "function (_self)\n{\n\n}",
959 "memberOf" : "Roo.Component",
967 "type" : "Roo.Component",
977 "desc" : "Fires after the component is enabled.",
978 "sig" : "function (_self)\n{\n\n}",
979 "memberOf" : "Roo.Component",
987 "type" : "Roo.Component",
995 "name" : "beforedestroy",
997 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
998 "sig" : "function (_self)\n{\n\n}",
999 "memberOf" : "Roo.Component",
1007 "type" : "Roo.Component",
1009 "isOptional" : false