2 "name" : "Roo.bootstrap.FieldLabel",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap FieldLabel class",
12 "memberOf" : "FieldLabel",
21 "desc" : "The config object",
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",
39 "desc" : "Text for the tooltip",
40 "memberOf" : "Roo.bootstrap.Component",
45 "name" : "container_method",
47 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
48 "memberOf" : "Roo.bootstrap.Component",
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component",
63 "name" : "validClass",
65 "desc" : "DEPRICATED - BS4 uses is-valid",
66 "memberOf" : "Roo.bootstrap.FieldLabel",
71 "name" : "can_build_overlaid",
73 "desc" : "True if element can be rebuild from a HTML page",
74 "memberOf" : "Roo.bootstrap.Component",
81 "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\".",
82 "memberOf" : "Roo.Component",
91 "desc" : "tag of the element default label",
92 "memberOf" : "Roo.bootstrap.FieldLabel",
97 "name" : "indicatorpos",
99 "desc" : "default left",
100 "memberOf" : "Roo.bootstrap.FieldLabel",
109 "desc" : "any extra css",
110 "memberOf" : "Roo.bootstrap.Component",
115 "name" : "allowDomMove",
117 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
118 "memberOf" : "Roo.Component",
125 "desc" : "class of the element",
126 "memberOf" : "Roo.bootstrap.FieldLabel",
133 "desc" : "contents of the element",
134 "memberOf" : "Roo.bootstrap.FieldLabel",
139 "name" : "allowBlank",
141 "desc" : "target allowBlank default true",
142 "memberOf" : "Roo.bootstrap.FieldLabel",
149 "name" : "invalidClass",
151 "desc" : "DEPRICATED - BS4 uses is-invalid",
152 "memberOf" : "Roo.bootstrap.FieldLabel",
159 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
160 "memberOf" : "Roo.bootstrap.Component",
165 "name" : "actionMode",
167 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
168 "memberOf" : "Roo.Component",
173 "name" : "iconTooltip",
175 "desc" : "default \"This field is required\"",
176 "memberOf" : "Roo.bootstrap.FieldLabel",
183 "desc" : "cutomer id",
184 "memberOf" : "Roo.bootstrap.Component",
191 "desc" : "label target",
192 "memberOf" : "Roo.bootstrap.FieldLabel",
199 "desc" : "Specifies name attribute",
200 "memberOf" : "Roo.bootstrap.Component",
205 "name" : "disableClass",
207 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
208 "memberOf" : "Roo.Component",
215 "name" : "markValid",
216 "desc" : "Mark this field as valid",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.FieldLabel",
232 "desc" : "fetch a FieldLabel Group based on the target",
234 "isConstructor" : false,
236 "memberOf" : "Roo.bootstrap.FieldLabel",
253 "name" : "markInvalid",
254 "desc" : "Mark this field as invalid",
256 "isConstructor" : false,
258 "memberOf" : "Roo.bootstrap.FieldLabel",
267 "desc" : "The validation message",
276 "desc" : "register a FieldLabel Group",
278 "isConstructor" : false,
280 "memberOf" : "Roo.bootstrap.FieldLabel",
288 "type" : "Roo.bootstrap.FieldLabel",
289 "desc" : "FieldLabel to add",
297 "name" : "tooltipEl",
298 "desc" : "Fetch the element to display the tooltip on.",
300 "isConstructor" : false,
302 "memberOf" : "Roo.bootstrap.Component",
312 "type" : "Roo.Element",
313 "desc" : "defaults to this.el"
319 "desc" : "Hide a component - adds 'hidden' class",
321 "isConstructor" : false,
323 "memberOf" : "Roo.bootstrap.Component",
335 "desc" : "Show a component - removes 'hidden' class",
337 "isConstructor" : false,
339 "memberOf" : "Roo.bootstrap.Component",
350 "name" : "setVisibilityEl",
351 "desc" : "Set the element that will be used to show or hide",
353 "isConstructor" : false,
355 "memberOf" : "Roo.bootstrap.Component",
366 "name" : "getVisibilityEl",
367 "desc" : "Get the element that will be used to show or hide",
369 "isConstructor" : false,
371 "memberOf" : "Roo.bootstrap.Component",
383 "desc" : "This is really a wrapper for addxtypeChild\nit handles stuff relating to flexy:foreach / flexy:if\n= some of our projects use a flat rendering of the output, and try and overlay it with dynamic data.\n -- this is a bit of a nightmare... and is even more confusing to debug..",
385 "isConstructor" : false,
387 "memberOf" : "Roo.bootstrap.Component",
398 "name" : "addxtypeChild",
399 "desc" : "add a child to this element\n - turn the child.cfg into a child_instance\n - call child_instance.render( this { getContainerMethod()} )\n - loop through the children, and call addxtype.. (reall this) on newly created child.",
401 "isConstructor" : false,
403 "memberOf" : "Roo.bootstrap.Component",
414 "name" : "initEvents",
415 "desc" : "Initialize Events for the element",
417 "isConstructor" : false,
419 "memberOf" : "Roo.bootstrap.Component",
430 "name" : "getChildContainer",
431 "desc" : "Fetch the element to add children to",
433 "isConstructor" : false,
435 "memberOf" : "Roo.bootstrap.Component",
445 "type" : "Roo.Element",
446 "desc" : "defaults to this.el"
451 "name" : "addxtypeChildren",
452 "desc" : "add a number of children to this object,\n which in turn calls render...",
454 "isConstructor" : false,
456 "memberOf" : "Roo.bootstrap.Component",
468 "desc" : "Returns the id of this component.",
470 "isConstructor" : false,
472 "memberOf" : "Roo.Component",
489 "desc" : "If this is a lazy rendering component, render it to its container element.",
491 "isConstructor" : false,
493 "memberOf" : "Roo.Component",
500 "name" : "container",
501 "type" : "String/HTMLElement/Element",
502 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
511 "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}.",
513 "isConstructor" : false,
515 "memberOf" : "Roo.Component",
526 "name" : "isVisible",
527 "desc" : "Returns true if this component is visible.",
529 "isConstructor" : false,
531 "memberOf" : "Roo.Component",
542 "name" : "setDisabled",
543 "desc" : "Convenience function for setting disabled/enabled by boolean.",
545 "isConstructor" : false,
547 "memberOf" : "Roo.Component",
565 "desc" : "Try to focus this component.",
567 "isConstructor" : false,
569 "memberOf" : "Roo.Component",
576 "name" : "selectText",
578 "desc" : "True to also select the text in this component (if applicable)",
585 "type" : "Roo.Component",
592 "desc" : "Enable this component.",
594 "isConstructor" : false,
596 "memberOf" : "Roo.Component",
606 "type" : "Roo.Component",
612 "name" : "setVisible",
613 "desc" : "Convenience function to hide or show this component by boolean.",
615 "isConstructor" : false,
617 "memberOf" : "Roo.Component",
626 "desc" : "True to show, false to hide",
633 "type" : "Roo.Component",
640 "desc" : "Disable this component.",
642 "isConstructor" : false,
644 "memberOf" : "Roo.Component",
654 "type" : "Roo.Component",
661 "desc" : "Returns the underlying {@link Roo.Element}.",
663 "isConstructor" : false,
665 "memberOf" : "Roo.Component",
675 "type" : "Roo.Element",
676 "desc" : "The element"
681 "name" : "purgeListeners",
682 "desc" : "Removes all listeners for this object",
684 "isConstructor" : false,
686 "memberOf" : "Roo.util.Observable",
698 "desc" : "Appends an event handler to this element (shorthand for addListener)",
700 "isConstructor" : false,
702 "memberOf" : "Roo.util.Observable",
709 "name" : "eventName",
711 "desc" : "The type of event to listen for",
717 "desc" : "The method the event invokes",
723 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
729 "desc" : "(optional)",
738 "desc" : "Removes a listener (shorthand for removeListener)",
740 "isConstructor" : false,
742 "memberOf" : "Roo.util.Observable",
749 "name" : "eventName",
751 "desc" : "The type of event to listen for",
757 "desc" : "The handler to remove",
763 "desc" : "(optional) The scope (this object) for the handler",
771 "name" : "addEvents",
772 "desc" : "Used to define events on this Observable",
774 "isConstructor" : false,
776 "memberOf" : "Roo.util.Observable",
785 "desc" : "The object with the events defined",
793 "name" : "releaseCapture",
794 "desc" : "Removes <b>all</b> added captures from the Observable.",
796 "isConstructor" : false,
798 "memberOf" : "Roo.util.Observable",
806 "type" : "Observable",
807 "desc" : "The Observable to release",
815 "name" : "removeListener",
816 "desc" : "Removes a listener",
818 "isConstructor" : false,
820 "memberOf" : "Roo.util.Observable",
827 "name" : "eventName",
829 "desc" : "The type of event to listen for",
835 "desc" : "The handler to remove",
841 "desc" : "(optional) The scope (this object) for the handler",
849 "name" : "fireEvent",
850 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
852 "isConstructor" : false,
854 "memberOf" : "Roo.util.Observable",
861 "name" : "eventName",
868 "type" : "Object...",
869 "desc" : "Variable number of parameters are passed to handlers",
877 "desc" : "returns false if any of the handlers return false otherwise it returns true"
882 "name" : "hasListener",
883 "desc" : "Checks to see if this object has any listeners for a specified event",
885 "isConstructor" : false,
887 "memberOf" : "Roo.util.Observable",
894 "name" : "eventName",
896 "desc" : "The name of the event to check for",
904 "desc" : "True if the event is being listened for, else false"
910 "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.",
912 "isConstructor" : false,
914 "memberOf" : "Roo.util.Observable",
922 "type" : "Observable",
923 "desc" : "The Observable to capture",
929 "desc" : "The function to call",
935 "desc" : "(optional) The scope (this object) for the fn",
943 "name" : "addListener",
944 "desc" : "Appends an event handler to this component",
946 "isConstructor" : false,
948 "memberOf" : "Roo.util.Observable",
955 "name" : "eventName",
957 "desc" : "The type of event to listen for",
963 "desc" : "The method the event invokes",
969 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
975 "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>",
986 "desc" : "Fires after the field has been marked as invalid.",
987 "memberOf" : "Roo.bootstrap.FieldLabel",
995 "type" : "Roo.form.FieldLabel",
1002 "desc" : "The validation message",
1003 "isOptional" : false
1011 "desc" : "Fires after the field has been validated with no errors.",
1012 "memberOf" : "Roo.bootstrap.FieldLabel",
1020 "type" : "Roo.form.FieldLabel",
1022 "isOptional" : false
1029 "name" : "childrenrendered",
1030 "desc" : "Fires when the children have been rendered..",
1031 "memberOf" : "Roo.bootstrap.Component",
1039 "type" : "Roo.bootstrap.Component",
1041 "isOptional" : false
1048 "name" : "beforerender",
1049 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1050 "memberOf" : "Roo.Component",
1058 "type" : "Roo.Component",
1060 "isOptional" : false
1068 "desc" : "Fires after the component is disabled.",
1069 "memberOf" : "Roo.Component",
1077 "type" : "Roo.Component",
1079 "isOptional" : false
1087 "desc" : "Fires after the component is rendered.",
1088 "memberOf" : "Roo.Component",
1096 "type" : "Roo.Component",
1098 "isOptional" : false
1106 "desc" : "Fires after the component is destroyed.",
1107 "memberOf" : "Roo.Component",
1115 "type" : "Roo.Component",
1117 "isOptional" : false
1125 "desc" : "Fires after the component is hidden.",
1126 "memberOf" : "Roo.Component",
1134 "type" : "Roo.Component",
1136 "isOptional" : false
1143 "name" : "beforehide",
1144 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1145 "memberOf" : "Roo.Component",
1153 "type" : "Roo.Component",
1155 "isOptional" : false
1163 "desc" : "Fires after the component is shown.",
1164 "memberOf" : "Roo.Component",
1172 "type" : "Roo.Component",
1174 "isOptional" : false
1181 "name" : "beforeshow",
1182 "desc" : "Fires before the component is shown. Return false to stop the show.",
1183 "memberOf" : "Roo.Component",
1191 "type" : "Roo.Component",
1193 "isOptional" : false
1201 "desc" : "Fires after the component is enabled.",
1202 "memberOf" : "Roo.Component",
1210 "type" : "Roo.Component",
1212 "isOptional" : false
1219 "name" : "beforedestroy",
1220 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1221 "memberOf" : "Roo.Component",
1229 "type" : "Roo.Component",
1231 "isOptional" : false