2 "name" : "Roo.menu.DateItem",
9 "desc" : "A menu item that wraps the {@link Roo.DatPicker} component.",
10 "isSingleton" : false,
13 "memberOf" : "DateItem",
22 "desc" : "Configuration options",
33 "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>",
34 "memberOf" : "Roo.util.Observable"
37 "name" : "activeClass",
39 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
40 "memberOf" : "Roo.menu.BaseItem"
45 "desc" : "True to prevent creation of this menu item (defaults to false)",
46 "memberOf" : "Roo.menu.BaseItem"
51 "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\".",
52 "memberOf" : "Roo.Component"
57 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
58 "memberOf" : "Roo.menu.BaseItem"
63 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
64 "memberOf" : "Roo.menu.BaseItem"
67 "name" : "hideOnClick",
69 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
70 "memberOf" : "Roo.menu.BaseItem"
73 "name" : "allowDomMove",
75 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
76 "memberOf" : "Roo.Component"
79 "name" : "actionMode",
81 "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",
82 "memberOf" : "Roo.Component"
85 "name" : "canActivate",
87 "desc" : "True if this item can be visually activated (defaults to false)",
88 "memberOf" : "Roo.menu.BaseItem"
91 "name" : "disableClass",
93 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
94 "memberOf" : "Roo.Component"
101 "desc" : "Returns the id of this component.",
102 "sig" : "()\n{\n\n}",
104 "memberOf" : "Roo.Component",
106 "isConstructor" : false,
126 "desc" : "If this is a lazy rendering component, render it to its container element.",
127 "sig" : "(container)",
129 "memberOf" : "Roo.Component",
131 "isConstructor" : false,
141 "name" : "container",
142 "type" : "String/HTMLElement/Element",
143 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
152 "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}.",
153 "sig" : "()\n{\n\n}",
155 "memberOf" : "Roo.Component",
157 "isConstructor" : false,
169 "name" : "isVisible",
171 "desc" : "Returns true if this component is visible.",
172 "sig" : "()\n{\n\n}",
174 "memberOf" : "Roo.Component",
176 "isConstructor" : false,
188 "name" : "setDisabled",
190 "desc" : "Convenience function for setting disabled/enabled by boolean.",
191 "sig" : "(disabled)",
193 "memberOf" : "Roo.Component",
195 "isConstructor" : false,
216 "desc" : "Hide this component.",
217 "sig" : "()\n{\n\n}",
219 "memberOf" : "Roo.Component",
221 "isConstructor" : false,
233 "type" : "Roo.Component",
241 "desc" : "Try to focus this component.",
242 "sig" : "(selectText)",
244 "memberOf" : "Roo.Component",
246 "isConstructor" : false,
256 "name" : "selectText",
258 "desc" : "True to also select the text in this component (if applicable)",
265 "type" : "Roo.Component",
273 "desc" : "Show this component.",
274 "sig" : "()\n{\n\n}",
276 "memberOf" : "Roo.Component",
278 "isConstructor" : false,
290 "type" : "Roo.Component",
298 "desc" : "Enable this component.",
299 "sig" : "()\n{\n\n}",
301 "memberOf" : "Roo.Component",
303 "isConstructor" : false,
315 "type" : "Roo.Component",
321 "name" : "setVisible",
323 "desc" : "Convenience function to hide or show this component by boolean.",
326 "memberOf" : "Roo.Component",
328 "isConstructor" : false,
340 "desc" : "True to show, false to hide",
347 "type" : "Roo.Component",
355 "desc" : "Disable this component.",
356 "sig" : "()\n{\n\n}",
358 "memberOf" : "Roo.Component",
360 "isConstructor" : false,
372 "type" : "Roo.Component",
380 "desc" : "Returns the underlying {@link Roo.Element}.",
381 "sig" : "()\n{\n\n}",
383 "memberOf" : "Roo.Component",
385 "isConstructor" : false,
397 "type" : "Roo.Element",
398 "desc" : "The element"
403 "name" : "purgeListeners",
405 "desc" : "Removes all listeners for this object",
406 "sig" : "()\n{\n\n}",
408 "memberOf" : "Roo.util.Observable",
410 "isConstructor" : false,
424 "desc" : "Appends an event handler to this element (shorthand for addListener)",
425 "sig" : "(eventName, handler, scope, options)",
427 "memberOf" : "Roo.util.Observable",
429 "isConstructor" : false,
439 "name" : "eventName",
441 "desc" : "The type of event to listen for",
447 "desc" : "The method the event invokes",
453 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
459 "desc" : "(optional)",
468 "desc" : "Removes a listener (shorthand for removeListener)",
469 "sig" : "(eventName, handler, scope)",
471 "memberOf" : "Roo.util.Observable",
473 "isConstructor" : false,
483 "name" : "eventName",
485 "desc" : "The type of event to listen for",
491 "desc" : "The handler to remove",
497 "desc" : "(optional) The scope (this object) for the handler",
504 "name" : "addEvents",
506 "desc" : "Used to define events on this Observable",
509 "memberOf" : "Roo.util.Observable",
511 "isConstructor" : false,
523 "desc" : "The object with the events defined",
530 "name" : "releaseCapture",
532 "desc" : "Removes <b>all</b> added captures from the Observable.",
535 "memberOf" : "Roo.util.Observable",
537 "isConstructor" : false,
548 "type" : "Observable",
549 "desc" : "The Observable to release",
556 "name" : "removeListener",
558 "desc" : "Removes a listener",
559 "sig" : "(eventName, handler, scope)",
561 "memberOf" : "Roo.util.Observable",
563 "isConstructor" : false,
573 "name" : "eventName",
575 "desc" : "The type of event to listen for",
581 "desc" : "The handler to remove",
587 "desc" : "(optional) The scope (this object) for the handler",
594 "name" : "fireEvent",
596 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
597 "sig" : "(eventName, args)",
599 "memberOf" : "Roo.util.Observable",
601 "isConstructor" : false,
611 "name" : "eventName",
618 "type" : "Object...",
619 "desc" : "Variable number of parameters are passed to handlers",
627 "desc" : "returns false if any of the handlers return false otherwise it returns true"
632 "name" : "hasListener",
634 "desc" : "Checks to see if this object has any listeners for a specified event",
635 "sig" : "(eventName)",
637 "memberOf" : "Roo.util.Observable",
639 "isConstructor" : false,
649 "name" : "eventName",
651 "desc" : "The name of the event to check for",
659 "desc" : "True if the event is being listened for, else false"
666 "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.",
667 "sig" : "(o, fn, scope)",
669 "memberOf" : "Roo.util.Observable",
671 "isConstructor" : false,
682 "type" : "Observable",
683 "desc" : "The Observable to capture",
689 "desc" : "The function to call",
695 "desc" : "(optional) The scope (this object) for the fn",
702 "name" : "addListener",
704 "desc" : "Appends an event handler to this component",
705 "sig" : "(eventName, handler, scope, options)",
707 "memberOf" : "Roo.util.Observable",
709 "isConstructor" : false,
719 "name" : "eventName",
721 "desc" : "The type of event to listen for",
727 "desc" : "The method the event invokes",
733 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
739 "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>",
750 "desc" : "Fires when this item is clicked",
751 "sig" : "function (_self, e)\n{\n\n}",
752 "memberOf" : "Roo.menu.BaseItem",
760 "type" : "Roo.menu.BaseItem",
766 "type" : "Roo.EventObject",
776 "desc" : "Fires when this item is activated",
777 "sig" : "function (_self)\n{\n\n}",
778 "memberOf" : "Roo.menu.BaseItem",
786 "type" : "Roo.menu.BaseItem",
794 "name" : "deactivate",
796 "desc" : "Fires when this item is deactivated",
797 "sig" : "function (_self)\n{\n\n}",
798 "memberOf" : "Roo.menu.BaseItem",
806 "type" : "Roo.menu.BaseItem",
814 "name" : "beforerender",
816 "desc" : "Fires before the component is rendered. Return false to stop the render.",
817 "sig" : "function (_self)\n{\n\n}",
818 "memberOf" : "Roo.Component",
826 "type" : "Roo.Component",
836 "desc" : "Fires after the component is disabled.",
837 "sig" : "function (_self)\n{\n\n}",
838 "memberOf" : "Roo.Component",
846 "type" : "Roo.Component",
856 "desc" : "Fires after the component is rendered.",
857 "sig" : "function (_self)\n{\n\n}",
858 "memberOf" : "Roo.Component",
866 "type" : "Roo.Component",
876 "desc" : "Fires after the component is destroyed.",
877 "sig" : "function (_self)\n{\n\n}",
878 "memberOf" : "Roo.Component",
886 "type" : "Roo.Component",
896 "desc" : "Fires after the component is hidden.",
897 "sig" : "function (_self)\n{\n\n}",
898 "memberOf" : "Roo.Component",
906 "type" : "Roo.Component",
914 "name" : "beforehide",
916 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
917 "sig" : "function (_self)\n{\n\n}",
918 "memberOf" : "Roo.Component",
926 "type" : "Roo.Component",
936 "desc" : "Fires after the component is shown.",
937 "sig" : "function (_self)\n{\n\n}",
938 "memberOf" : "Roo.Component",
946 "type" : "Roo.Component",
954 "name" : "beforeshow",
956 "desc" : "Fires before the component is shown. Return false to stop the show.",
957 "sig" : "function (_self)\n{\n\n}",
958 "memberOf" : "Roo.Component",
966 "type" : "Roo.Component",
976 "desc" : "Fires after the component is enabled.",
977 "sig" : "function (_self)\n{\n\n}",
978 "memberOf" : "Roo.Component",
986 "type" : "Roo.Component",
994 "name" : "beforedestroy",
996 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
997 "sig" : "function (_self)\n{\n\n}",
998 "memberOf" : "Roo.Component",
1006 "type" : "Roo.Component",
1008 "isOptional" : false