2 "name" : "Roo.menu.CheckItem",
9 "desc" : "Adds a menu item that contains a checkbox by default, but can also be part of a radio group.",
10 "isSingleton" : false,
13 "memberOf" : "CheckItem",
22 "desc" : "Configuration options",
31 "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>",
32 "memberOf" : "Roo.util.Observable",
38 "desc" : "Length of time in milliseconds to wait before showing this item (defaults to 200)",
39 "memberOf" : "Roo.menu.Item",
45 "desc" : "The text to show on the menu item.",
46 "memberOf" : "Roo.menu.Item",
50 "name" : "activeClass",
52 "desc" : "The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")",
53 "memberOf" : "Roo.menu.BaseItem",
59 "desc" : "True to prevent creation of this menu item (defaults to false)",
60 "memberOf" : "Roo.menu.BaseItem",
66 "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\".",
67 "memberOf" : "Roo.Component",
76 "desc" : "All check items with the same group name will automatically be grouped into a single-select\nradio button group (defaults to '')",
77 "memberOf" : "Roo.menu.CheckItem",
83 "desc" : "A function that will handle the click event of this menu item (defaults to undefined)",
84 "memberOf" : "Roo.menu.BaseItem",
90 "desc" : "Length of time in milliseconds to wait before hiding after a click (defaults to 100)",
91 "memberOf" : "Roo.menu.BaseItem",
95 "name" : "hideOnClick",
97 "desc" : "True to hide the containing menu after this item is clicked (defaults to true)",
98 "memberOf" : "Roo.menu.BaseItem",
102 "name" : "allowDomMove",
104 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
105 "memberOf" : "Roo.Component",
111 "desc" : "The default CSS class to use for check items (defaults to \"x-menu-item x-menu-check-item\")",
112 "memberOf" : "Roo.menu.CheckItem",
118 "desc" : "to render in menu\nThe text to show on the menu item (HTML version).",
119 "memberOf" : "Roo.menu.Item",
123 "name" : "actionMode",
125 "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",
126 "memberOf" : "Roo.Component",
130 "name" : "groupClass",
132 "desc" : "The default CSS class to use for radio group check items (defaults to \"x-menu-group-item\")",
133 "memberOf" : "Roo.menu.CheckItem",
137 "name" : "canActivate",
139 "desc" : "True if this item can be visually activated (defaults to true)",
140 "memberOf" : "Roo.menu.Item",
146 "desc" : "The path to an icon to display in this menu item (defaults to Roo.BLANK_IMAGE_URL)",
147 "memberOf" : "Roo.menu.Item",
153 "desc" : "True to initialize this checkbox as checked (defaults to false). Note that\nif this checkbox is part of a radio group (group = true) only the last item in the group that is\ninitialized with checked = true will be rendered as checked.",
154 "memberOf" : "Roo.menu.CheckItem",
158 "name" : "disableClass",
160 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
161 "memberOf" : "Roo.Component",
167 "name" : "setChecked",
168 "desc" : "Set the checked state of this item",
170 "isConstructor" : false,
172 "memberOf" : "Roo.menu.CheckItem",
181 "desc" : "The new checked value",
185 "name" : "suppressEvent",
187 "desc" : "(optional) True to prevent the checkchange event from firing (defaults to false)",
195 "desc" : "Sets the text to display in this menu item",
197 "isConstructor" : false,
199 "memberOf" : "Roo.menu.Item",
208 "desc" : "The text to display",
214 "desc" : "true to indicate text is pure html.",
222 "desc" : "Returns the id of this component.",
224 "isConstructor" : false,
226 "memberOf" : "Roo.Component",
242 "desc" : "If this is a lazy rendering component, render it to its container element.",
244 "isConstructor" : false,
246 "memberOf" : "Roo.Component",
253 "name" : "container",
254 "type" : "String/HTMLElement/Element",
255 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
263 "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}.",
265 "isConstructor" : false,
267 "memberOf" : "Roo.Component",
276 "name" : "isVisible",
277 "desc" : "Returns true if this component is visible.",
279 "isConstructor" : false,
281 "memberOf" : "Roo.Component",
290 "name" : "setDisabled",
291 "desc" : "Convenience function for setting disabled/enabled by boolean.",
293 "isConstructor" : false,
295 "memberOf" : "Roo.Component",
312 "desc" : "Hide this component.",
314 "isConstructor" : false,
316 "memberOf" : "Roo.Component",
325 "type" : "Roo.Component",
332 "desc" : "Try to focus this component.",
334 "isConstructor" : false,
336 "memberOf" : "Roo.Component",
343 "name" : "selectText",
345 "desc" : "True to also select the text in this component (if applicable)",
352 "type" : "Roo.Component",
359 "desc" : "Show this component.",
361 "isConstructor" : false,
363 "memberOf" : "Roo.Component",
372 "type" : "Roo.Component",
379 "desc" : "Enable this component.",
381 "isConstructor" : false,
383 "memberOf" : "Roo.Component",
392 "type" : "Roo.Component",
398 "name" : "setVisible",
399 "desc" : "Convenience function to hide or show this component by boolean.",
401 "isConstructor" : false,
403 "memberOf" : "Roo.Component",
412 "desc" : "True to show, false to hide",
419 "type" : "Roo.Component",
426 "desc" : "Disable this component.",
428 "isConstructor" : false,
430 "memberOf" : "Roo.Component",
439 "type" : "Roo.Component",
446 "desc" : "Returns the underlying {@link Roo.Element}.",
448 "isConstructor" : false,
450 "memberOf" : "Roo.Component",
459 "type" : "Roo.Element",
460 "desc" : "The element"
465 "name" : "purgeListeners",
466 "desc" : "Removes all listeners for this object",
468 "isConstructor" : false,
470 "memberOf" : "Roo.util.Observable",
480 "desc" : "Appends an event handler to this element (shorthand for addListener)",
482 "isConstructor" : false,
484 "memberOf" : "Roo.util.Observable",
491 "name" : "eventName",
493 "desc" : "The type of event to listen for",
499 "desc" : "The method the event invokes",
505 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
511 "desc" : "(optional)",
519 "desc" : "Removes a listener (shorthand for removeListener)",
521 "isConstructor" : false,
523 "memberOf" : "Roo.util.Observable",
530 "name" : "eventName",
532 "desc" : "The type of event to listen for",
538 "desc" : "The handler to remove",
544 "desc" : "(optional) The scope (this object) for the handler",
551 "name" : "addEvents",
552 "desc" : "Used to define events on this Observable",
554 "isConstructor" : false,
556 "memberOf" : "Roo.util.Observable",
565 "desc" : "The object with the events defined",
572 "name" : "releaseCapture",
573 "desc" : "Removes <b>all</b> added captures from the Observable.",
575 "isConstructor" : false,
577 "memberOf" : "Roo.util.Observable",
585 "type" : "Observable",
586 "desc" : "The Observable to release",
593 "name" : "removeListener",
594 "desc" : "Removes a listener",
596 "isConstructor" : false,
598 "memberOf" : "Roo.util.Observable",
605 "name" : "eventName",
607 "desc" : "The type of event to listen for",
613 "desc" : "The handler to remove",
619 "desc" : "(optional) The scope (this object) for the handler",
626 "name" : "fireEvent",
627 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
629 "isConstructor" : false,
631 "memberOf" : "Roo.util.Observable",
638 "name" : "eventName",
645 "type" : "Object...",
646 "desc" : "Variable number of parameters are passed to handlers",
654 "desc" : "returns false if any of the handlers return false otherwise it returns true"
659 "name" : "hasListener",
660 "desc" : "Checks to see if this object has any listeners for a specified event",
662 "isConstructor" : false,
664 "memberOf" : "Roo.util.Observable",
671 "name" : "eventName",
673 "desc" : "The name of the event to check for",
681 "desc" : "True if the event is being listened for, else false"
687 "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.",
689 "isConstructor" : false,
691 "memberOf" : "Roo.util.Observable",
699 "type" : "Observable",
700 "desc" : "The Observable to capture",
706 "desc" : "The function to call",
712 "desc" : "(optional) The scope (this object) for the fn",
719 "name" : "addListener",
720 "desc" : "Appends an event handler to this component",
722 "isConstructor" : false,
724 "memberOf" : "Roo.util.Observable",
731 "name" : "eventName",
733 "desc" : "The type of event to listen for",
739 "desc" : "The method the event invokes",
745 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
751 "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>",
760 "name" : "beforecheckchange",
761 "desc" : "Fires before the checked value is set, providing an opportunity to cancel if needed",
762 "memberOf" : "Roo.menu.CheckItem",
770 "type" : "Roo.menu.CheckItem",
777 "desc" : "The new checked value that will be set",
784 "name" : "checkchange",
785 "desc" : "Fires after the checked value has been set",
786 "memberOf" : "Roo.menu.CheckItem",
794 "type" : "Roo.menu.CheckItem",
801 "desc" : "The checked value that was set",
809 "desc" : "Fires when this item is clicked",
810 "memberOf" : "Roo.menu.BaseItem",
818 "type" : "Roo.menu.BaseItem",
824 "type" : "Roo.EventObject",
833 "desc" : "Fires when this item is activated",
834 "memberOf" : "Roo.menu.BaseItem",
842 "type" : "Roo.menu.BaseItem",
850 "name" : "deactivate",
851 "desc" : "Fires when this item is deactivated",
852 "memberOf" : "Roo.menu.BaseItem",
860 "type" : "Roo.menu.BaseItem",
868 "name" : "beforerender",
869 "desc" : "Fires before the component is rendered. Return false to stop the render.",
870 "memberOf" : "Roo.Component",
878 "type" : "Roo.Component",
887 "desc" : "Fires after the component is disabled.",
888 "memberOf" : "Roo.Component",
896 "type" : "Roo.Component",
905 "desc" : "Fires after the component is rendered.",
906 "memberOf" : "Roo.Component",
914 "type" : "Roo.Component",
923 "desc" : "Fires after the component is destroyed.",
924 "memberOf" : "Roo.Component",
932 "type" : "Roo.Component",
941 "desc" : "Fires after the component is hidden.",
942 "memberOf" : "Roo.Component",
950 "type" : "Roo.Component",
958 "name" : "beforehide",
959 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
960 "memberOf" : "Roo.Component",
968 "type" : "Roo.Component",
977 "desc" : "Fires after the component is shown.",
978 "memberOf" : "Roo.Component",
986 "type" : "Roo.Component",
994 "name" : "beforeshow",
995 "desc" : "Fires before the component is shown. Return false to stop the show.",
996 "memberOf" : "Roo.Component",
1004 "type" : "Roo.Component",
1006 "isOptional" : false
1013 "desc" : "Fires after the component is enabled.",
1014 "memberOf" : "Roo.Component",
1022 "type" : "Roo.Component",
1024 "isOptional" : false
1030 "name" : "beforedestroy",
1031 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1032 "memberOf" : "Roo.Component",
1040 "type" : "Roo.Component",
1042 "isOptional" : false