2 "name" : "Roo.bootstrap.form.FieldLabel",
4 "Roo.bootstrap.Component",
11 "desc" : "Bootstrap FieldLabel class",
12 "isSingleton" : false,
16 "isBuilderTop" : false,
17 "memberOf" : "FieldLabel",
26 "desc" : "The config object",
37 "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>",
38 "memberOf" : "Roo.util.Observable"
43 "desc" : "Text for the tooltip",
44 "memberOf" : "Roo.bootstrap.Component"
47 "name" : "container_method",
49 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
50 "memberOf" : "Roo.bootstrap.Component"
53 "name" : "visibilityEl",
54 "type" : "string|object",
55 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
56 "memberOf" : "Roo.bootstrap.Component"
59 "name" : "validClass",
61 "desc" : "DEPRICATED - BS4 uses is-valid",
62 "memberOf" : "Roo.bootstrap.form.FieldLabel"
65 "name" : "can_build_overlaid",
67 "desc" : "True if element can be rebuild from a HTML page",
68 "memberOf" : "Roo.bootstrap.Component"
73 "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\".",
74 "memberOf" : "Roo.Component"
79 "desc" : "tag of the element default label",
80 "memberOf" : "Roo.bootstrap.form.FieldLabel"
83 "name" : "indicatorpos",
85 "desc" : "t) default left",
86 "memberOf" : "Roo.bootstrap.form.FieldLabel"
91 "desc" : "any extra css",
92 "memberOf" : "Roo.bootstrap.Component"
95 "name" : "allowDomMove",
97 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
98 "memberOf" : "Roo.Component"
103 "desc" : "class of the element",
104 "memberOf" : "Roo.bootstrap.form.FieldLabel"
109 "desc" : "contents of the element",
110 "memberOf" : "Roo.bootstrap.form.FieldLabel"
113 "name" : "allowBlank",
115 "desc" : "e) target allowBlank default true",
116 "memberOf" : "Roo.bootstrap.form.FieldLabel"
119 "name" : "invalidClass",
121 "desc" : "DEPRICATED - BS4 uses is-invalid",
122 "memberOf" : "Roo.bootstrap.form.FieldLabel"
127 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
128 "memberOf" : "Roo.bootstrap.Component"
131 "name" : "actionMode",
133 "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",
134 "memberOf" : "Roo.Component"
137 "name" : "iconTooltip",
139 "desc" : "default \"This field is required\"",
140 "memberOf" : "Roo.bootstrap.form.FieldLabel"
145 "desc" : "cutomer id",
146 "memberOf" : "Roo.bootstrap.Component"
151 "desc" : "label target",
152 "memberOf" : "Roo.bootstrap.form.FieldLabel"
157 "desc" : "Specifies name attribute",
158 "memberOf" : "Roo.bootstrap.Component"
161 "name" : "disableClass",
163 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
164 "memberOf" : "Roo.Component"
169 "name" : "markInvalid",
171 "desc" : "Mark this field as invalid",
176 "isConstructor" : false,
188 "desc" : "The validation message",
195 "name" : "markValid",
197 "desc" : "Mark this field as valid",
198 "sig" : "()\n{\n\n}",
202 "isConstructor" : false,
216 "desc" : "register a FieldLabel Group",
221 "isConstructor" : false,
232 "type" : "Roo.bootstrap.form.FieldLabel",
233 "desc" : "FieldLabel to add",
242 "desc" : "fetch a FieldLabel Group based on the target",
247 "isConstructor" : false,
266 "name" : "tooltipEl",
268 "desc" : "Fetch the element to display the tooltip on.",
269 "sig" : "()\n{\n\n}",
271 "memberOf" : "Roo.bootstrap.Component",
273 "isConstructor" : false,
285 "type" : "Roo.Element",
286 "desc" : "defaults to this.el"
293 "desc" : "Hide a component - adds 'hidden' class",
294 "sig" : "()\n{\n\n}",
296 "memberOf" : "Roo.bootstrap.Component",
298 "isConstructor" : false,
312 "desc" : "Show a component - removes 'hidden' class",
313 "sig" : "()\n{\n\n}",
315 "memberOf" : "Roo.bootstrap.Component",
317 "isConstructor" : false,
329 "name" : "setVisibilityEl",
331 "desc" : "Set the element that will be used to show or hide",
332 "sig" : "()\n{\n\n}",
334 "memberOf" : "Roo.bootstrap.Component",
336 "isConstructor" : false,
348 "name" : "getVisibilityEl",
350 "desc" : "Get the element that will be used to show or hide",
351 "sig" : "()\n{\n\n}",
353 "memberOf" : "Roo.bootstrap.Component",
355 "isConstructor" : false,
367 "name" : "initEvents",
369 "desc" : "Initialize Events for the element",
370 "sig" : "()\n{\n\n}",
372 "memberOf" : "Roo.bootstrap.Component",
374 "isConstructor" : false,
386 "name" : "getChildContainer",
388 "desc" : "Fetch the element to add children to",
389 "sig" : "()\n{\n\n}",
391 "memberOf" : "Roo.bootstrap.Component",
393 "isConstructor" : false,
405 "type" : "Roo.Element",
406 "desc" : "defaults to this.el"
413 "desc" : "Returns the id of this component.",
414 "sig" : "()\n{\n\n}",
416 "memberOf" : "Roo.Component",
418 "isConstructor" : false,
438 "desc" : "If this is a lazy rendering component, render it to its container element.",
439 "sig" : "(container)",
441 "memberOf" : "Roo.Component",
443 "isConstructor" : false,
453 "name" : "container",
454 "type" : "String/HTMLElement/Element",
455 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
464 "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}.",
465 "sig" : "()\n{\n\n}",
467 "memberOf" : "Roo.Component",
469 "isConstructor" : false,
481 "name" : "isVisible",
483 "desc" : "Returns true if this component is visible.",
484 "sig" : "()\n{\n\n}",
486 "memberOf" : "Roo.Component",
488 "isConstructor" : false,
500 "name" : "setDisabled",
502 "desc" : "Convenience function for setting disabled/enabled by boolean.",
503 "sig" : "(disabled)",
505 "memberOf" : "Roo.Component",
507 "isConstructor" : false,
528 "desc" : "Try to focus this component.",
529 "sig" : "(selectText)",
531 "memberOf" : "Roo.Component",
533 "isConstructor" : false,
543 "name" : "selectText",
545 "desc" : "True to also select the text in this component (if applicable)",
552 "type" : "Roo.Component",
560 "desc" : "Enable this component.",
561 "sig" : "()\n{\n\n}",
563 "memberOf" : "Roo.Component",
565 "isConstructor" : false,
577 "type" : "Roo.Component",
583 "name" : "setVisible",
585 "desc" : "Convenience function to hide or show this component by boolean.",
588 "memberOf" : "Roo.Component",
590 "isConstructor" : false,
602 "desc" : "True to show, false to hide",
609 "type" : "Roo.Component",
617 "desc" : "Disable this component.",
618 "sig" : "()\n{\n\n}",
620 "memberOf" : "Roo.Component",
622 "isConstructor" : false,
634 "type" : "Roo.Component",
642 "desc" : "Returns the underlying {@link Roo.Element}.",
643 "sig" : "()\n{\n\n}",
645 "memberOf" : "Roo.Component",
647 "isConstructor" : false,
659 "type" : "Roo.Element",
660 "desc" : "The element"
665 "name" : "purgeListeners",
667 "desc" : "Removes all listeners for this object",
668 "sig" : "()\n{\n\n}",
670 "memberOf" : "Roo.util.Observable",
672 "isConstructor" : false,
686 "desc" : "Appends an event handler to this element (shorthand for addListener)",
687 "sig" : "(eventName, handler, scope, options)",
689 "memberOf" : "Roo.util.Observable",
691 "isConstructor" : false,
701 "name" : "eventName",
703 "desc" : "The type of event to listen for",
709 "desc" : "The method the event invokes",
715 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
721 "desc" : "(optional)",
730 "desc" : "Removes a listener (shorthand for removeListener)",
731 "sig" : "(eventName, handler, scope)",
733 "memberOf" : "Roo.util.Observable",
735 "isConstructor" : false,
745 "name" : "eventName",
747 "desc" : "The type of event to listen for",
753 "desc" : "The handler to remove",
759 "desc" : "(optional) The scope (this object) for the handler",
766 "name" : "addEvents",
768 "desc" : "Used to define events on this Observable",
771 "memberOf" : "Roo.util.Observable",
773 "isConstructor" : false,
785 "desc" : "The object with the events defined",
792 "name" : "releaseCapture",
794 "desc" : "Removes <b>all</b> added captures from the Observable.",
797 "memberOf" : "Roo.util.Observable",
799 "isConstructor" : false,
810 "type" : "Observable",
811 "desc" : "The Observable to release",
818 "name" : "removeListener",
820 "desc" : "Removes a listener",
821 "sig" : "(eventName, handler, scope)",
823 "memberOf" : "Roo.util.Observable",
825 "isConstructor" : false,
835 "name" : "eventName",
837 "desc" : "The type of event to listen for",
843 "desc" : "The handler to remove",
849 "desc" : "(optional) The scope (this object) for the handler",
856 "name" : "fireEvent",
858 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
859 "sig" : "(eventName, args)",
861 "memberOf" : "Roo.util.Observable",
863 "isConstructor" : false,
873 "name" : "eventName",
880 "type" : "Object...",
881 "desc" : "Variable number of parameters are passed to handlers",
889 "desc" : "returns false if any of the handlers return false otherwise it returns true"
894 "name" : "hasListener",
896 "desc" : "Checks to see if this object has any listeners for a specified event",
897 "sig" : "(eventName)",
899 "memberOf" : "Roo.util.Observable",
901 "isConstructor" : false,
911 "name" : "eventName",
913 "desc" : "The name of the event to check for",
921 "desc" : "True if the event is being listened for, else false"
928 "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.",
929 "sig" : "(o, fn, scope)",
931 "memberOf" : "Roo.util.Observable",
933 "isConstructor" : false,
944 "type" : "Observable",
945 "desc" : "The Observable to capture",
951 "desc" : "The function to call",
957 "desc" : "(optional) The scope (this object) for the fn",
964 "name" : "addListener",
966 "desc" : "Appends an event handler to this component",
967 "sig" : "(eventName, handler, scope, options)",
969 "memberOf" : "Roo.util.Observable",
971 "isConstructor" : false,
981 "name" : "eventName",
983 "desc" : "The type of event to listen for",
989 "desc" : "The method the event invokes",
995 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1001 "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>",
1002 "isOptional" : false
1011 "type" : "function",
1012 "desc" : "Fires after the field has been validated with no errors.",
1013 "sig" : "function (_self)\n{\n\n}",
1022 "type" : "Roo.form.FieldLabel",
1024 "isOptional" : false
1031 "type" : "function",
1032 "desc" : "Fires after the field has been marked as invalid.",
1033 "sig" : "function (_self, msg)\n{\n\n}",
1042 "type" : "Roo.form.FieldLabel",
1044 "isOptional" : false
1049 "desc" : "The validation message",
1050 "isOptional" : false
1056 "name" : "childrenrendered",
1057 "type" : "function",
1058 "desc" : "Fires when the children have been rendered..",
1059 "sig" : "function (_self)\n{\n\n}",
1060 "memberOf" : "Roo.bootstrap.Component",
1068 "type" : "Roo.bootstrap.Component",
1070 "isOptional" : false
1076 "name" : "beforerender",
1077 "type" : "function",
1078 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1079 "sig" : "function (_self)\n{\n\n}",
1080 "memberOf" : "Roo.Component",
1088 "type" : "Roo.Component",
1090 "isOptional" : false
1097 "type" : "function",
1098 "desc" : "Fires after the component is disabled.",
1099 "sig" : "function (_self)\n{\n\n}",
1100 "memberOf" : "Roo.Component",
1108 "type" : "Roo.Component",
1110 "isOptional" : false
1117 "type" : "function",
1118 "desc" : "Fires after the component is rendered.",
1119 "sig" : "function (_self)\n{\n\n}",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false
1137 "type" : "function",
1138 "desc" : "Fires after the component is destroyed.",
1139 "sig" : "function (_self)\n{\n\n}",
1140 "memberOf" : "Roo.Component",
1148 "type" : "Roo.Component",
1150 "isOptional" : false
1157 "type" : "function",
1158 "desc" : "Fires after the component is hidden.",
1159 "sig" : "function (_self)\n{\n\n}",
1160 "memberOf" : "Roo.Component",
1168 "type" : "Roo.Component",
1170 "isOptional" : false
1176 "name" : "beforehide",
1177 "type" : "function",
1178 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1179 "sig" : "function (_self)\n{\n\n}",
1180 "memberOf" : "Roo.Component",
1188 "type" : "Roo.Component",
1190 "isOptional" : false
1197 "type" : "function",
1198 "desc" : "Fires after the component is shown.",
1199 "sig" : "function (_self)\n{\n\n}",
1200 "memberOf" : "Roo.Component",
1208 "type" : "Roo.Component",
1210 "isOptional" : false
1216 "name" : "beforeshow",
1217 "type" : "function",
1218 "desc" : "Fires before the component is shown. Return false to stop the show.",
1219 "sig" : "function (_self)\n{\n\n}",
1220 "memberOf" : "Roo.Component",
1228 "type" : "Roo.Component",
1230 "isOptional" : false
1237 "type" : "function",
1238 "desc" : "Fires after the component is enabled.",
1239 "sig" : "function (_self)\n{\n\n}",
1240 "memberOf" : "Roo.Component",
1248 "type" : "Roo.Component",
1250 "isOptional" : false
1256 "name" : "beforedestroy",
1257 "type" : "function",
1258 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1259 "sig" : "function (_self)\n{\n\n}",
1260 "memberOf" : "Roo.Component",
1268 "type" : "Roo.Component",
1270 "isOptional" : false