2 "name" : "Roo.bootstrap.FieldLabel",
4 "Roo.bootstrap.Component",
8 "desc" : "Bootstrap FieldLabel class",
16 "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>",
17 "memberOf" : "Roo.util.Observable",
24 "desc" : "Text for the tooltip",
25 "memberOf" : "Roo.bootstrap.Component",
30 "name" : "container_method",
32 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
33 "memberOf" : "Roo.bootstrap.Component",
38 "name" : "visibilityEl",
39 "type" : "string|object",
40 "desc" : "What element to use for visibility (@see getVisibilityEl())",
41 "memberOf" : "Roo.bootstrap.Component",
48 "name" : "validClass",
50 "desc" : "DEPRICATED - BS4 uses is-valid",
51 "memberOf" : "Roo.bootstrap.FieldLabel",
56 "name" : "can_build_overlaid",
58 "desc" : "True if element can be rebuild from a HTML page",
59 "memberOf" : "Roo.bootstrap.Component",
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" : "tag of the element default label",
77 "memberOf" : "Roo.bootstrap.FieldLabel",
82 "name" : "indicatorpos",
84 "desc" : "default left",
85 "memberOf" : "Roo.bootstrap.FieldLabel",
94 "desc" : "any extra css",
95 "memberOf" : "Roo.bootstrap.Component",
100 "name" : "allowDomMove",
102 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
103 "memberOf" : "Roo.Component",
110 "desc" : "class of the element",
111 "memberOf" : "Roo.bootstrap.FieldLabel",
118 "desc" : "contents of the element",
119 "memberOf" : "Roo.bootstrap.FieldLabel",
124 "name" : "allowBlank",
126 "desc" : "target allowBlank default true",
127 "memberOf" : "Roo.bootstrap.FieldLabel",
134 "name" : "invalidClass",
136 "desc" : "DEPRICATED - BS4 uses is-invalid",
137 "memberOf" : "Roo.bootstrap.FieldLabel",
144 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
145 "memberOf" : "Roo.bootstrap.Component",
150 "name" : "actionMode",
152 "desc" : "which property holds the element that used for hide() / show() / disable() / enable()\ndefault is 'el'",
153 "memberOf" : "Roo.Component",
158 "name" : "iconTooltip",
160 "desc" : "default \"This field is required\"",
161 "memberOf" : "Roo.bootstrap.FieldLabel",
168 "desc" : "cutomer id",
169 "memberOf" : "Roo.bootstrap.Component",
176 "desc" : "label target",
177 "memberOf" : "Roo.bootstrap.FieldLabel",
184 "desc" : "Specifies name attribute",
185 "memberOf" : "Roo.bootstrap.Component",
190 "name" : "disableClass",
192 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
193 "memberOf" : "Roo.Component",
200 "name" : "markValid",
201 "desc" : "Mark this field as valid",
203 "isConstructor" : false,
205 "memberOf" : "Roo.bootstrap.FieldLabel",
217 "desc" : "fetch a FieldLabel Group based on the target",
219 "isConstructor" : false,
221 "memberOf" : "Roo.bootstrap.FieldLabel",
238 "name" : "markInvalid",
239 "desc" : "Mark this field as invalid",
241 "isConstructor" : false,
243 "memberOf" : "Roo.bootstrap.FieldLabel",
252 "desc" : "The validation message",
261 "desc" : "register a FieldLabel Group",
263 "isConstructor" : false,
265 "memberOf" : "Roo.bootstrap.FieldLabel",
273 "type" : "Roo.bootstrap.FieldLabel",
274 "desc" : "FieldLabel to add",
282 "name" : "tooltipEl",
283 "desc" : "Fetch the element to display the tooltip on.",
285 "isConstructor" : false,
287 "memberOf" : "Roo.bootstrap.Component",
297 "type" : "Roo.Element",
298 "desc" : "defaults to this.el"
304 "desc" : "Hide a component - adds 'hidden' class",
306 "isConstructor" : false,
308 "memberOf" : "Roo.bootstrap.Component",
320 "desc" : "Show a component - removes 'hidden' class",
322 "isConstructor" : false,
324 "memberOf" : "Roo.bootstrap.Component",
335 "name" : "setVisibilityEl",
336 "desc" : "Set the element that will be used to show or hide",
338 "isConstructor" : false,
340 "memberOf" : "Roo.bootstrap.Component",
351 "name" : "getVisibilityEl",
352 "desc" : "Get the element that will be used to show or hide",
354 "isConstructor" : false,
356 "memberOf" : "Roo.bootstrap.Component",
367 "name" : "initEvents",
368 "desc" : "Initialize Events for the element",
370 "isConstructor" : false,
372 "memberOf" : "Roo.bootstrap.Component",
383 "name" : "getChildContainer",
384 "desc" : "Fetch the element to add children to",
386 "isConstructor" : false,
388 "memberOf" : "Roo.bootstrap.Component",
398 "type" : "Roo.Element",
399 "desc" : "defaults to this.el"
405 "desc" : "Returns the id of this component.",
407 "isConstructor" : false,
409 "memberOf" : "Roo.Component",
426 "desc" : "If this is a lazy rendering component, render it to its container element.",
428 "isConstructor" : false,
430 "memberOf" : "Roo.Component",
437 "name" : "container",
438 "type" : "String/HTMLElement/Element",
439 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
448 "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}.",
450 "isConstructor" : false,
452 "memberOf" : "Roo.Component",
463 "name" : "isVisible",
464 "desc" : "Returns true if this component is visible.",
466 "isConstructor" : false,
468 "memberOf" : "Roo.Component",
479 "name" : "setDisabled",
480 "desc" : "Convenience function for setting disabled/enabled by boolean.",
482 "isConstructor" : false,
484 "memberOf" : "Roo.Component",
502 "desc" : "Try to focus this component.",
504 "isConstructor" : false,
506 "memberOf" : "Roo.Component",
513 "name" : "selectText",
515 "desc" : "True to also select the text in this component (if applicable)",
522 "type" : "Roo.Component",
529 "desc" : "Enable this component.",
531 "isConstructor" : false,
533 "memberOf" : "Roo.Component",
543 "type" : "Roo.Component",
549 "name" : "setVisible",
550 "desc" : "Convenience function to hide or show this component by boolean.",
552 "isConstructor" : false,
554 "memberOf" : "Roo.Component",
563 "desc" : "True to show, false to hide",
570 "type" : "Roo.Component",
577 "desc" : "Disable this component.",
579 "isConstructor" : false,
581 "memberOf" : "Roo.Component",
591 "type" : "Roo.Component",
598 "desc" : "Returns the underlying {@link Roo.Element}.",
600 "isConstructor" : false,
602 "memberOf" : "Roo.Component",
612 "type" : "Roo.Element",
613 "desc" : "The element"
618 "name" : "purgeListeners",
619 "desc" : "Removes all listeners for this object",
621 "isConstructor" : false,
623 "memberOf" : "Roo.util.Observable",
635 "desc" : "Appends an event handler to this element (shorthand for addListener)",
637 "isConstructor" : false,
639 "memberOf" : "Roo.util.Observable",
646 "name" : "eventName",
648 "desc" : "The type of event to listen for",
654 "desc" : "The method the event invokes",
660 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
666 "desc" : "(optional)",
675 "desc" : "Removes a listener (shorthand for removeListener)",
677 "isConstructor" : false,
679 "memberOf" : "Roo.util.Observable",
686 "name" : "eventName",
688 "desc" : "The type of event to listen for",
694 "desc" : "The handler to remove",
700 "desc" : "(optional) The scope (this object) for the handler",
708 "name" : "addEvents",
709 "desc" : "Used to define events on this Observable",
711 "isConstructor" : false,
713 "memberOf" : "Roo.util.Observable",
722 "desc" : "The object with the events defined",
730 "name" : "releaseCapture",
731 "desc" : "Removes <b>all</b> added captures from the Observable.",
733 "isConstructor" : false,
735 "memberOf" : "Roo.util.Observable",
743 "type" : "Observable",
744 "desc" : "The Observable to release",
752 "name" : "removeListener",
753 "desc" : "Removes a listener",
755 "isConstructor" : false,
757 "memberOf" : "Roo.util.Observable",
764 "name" : "eventName",
766 "desc" : "The type of event to listen for",
772 "desc" : "The handler to remove",
778 "desc" : "(optional) The scope (this object) for the handler",
786 "name" : "fireEvent",
787 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
789 "isConstructor" : false,
791 "memberOf" : "Roo.util.Observable",
798 "name" : "eventName",
805 "type" : "Object...",
806 "desc" : "Variable number of parameters are passed to handlers",
814 "desc" : "returns false if any of the handlers return false otherwise it returns true"
819 "name" : "hasListener",
820 "desc" : "Checks to see if this object has any listeners for a specified event",
822 "isConstructor" : false,
824 "memberOf" : "Roo.util.Observable",
831 "name" : "eventName",
833 "desc" : "The name of the event to check for",
841 "desc" : "True if the event is being listened for, else false"
847 "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.",
849 "isConstructor" : false,
851 "memberOf" : "Roo.util.Observable",
859 "type" : "Observable",
860 "desc" : "The Observable to capture",
866 "desc" : "The function to call",
872 "desc" : "(optional) The scope (this object) for the fn",
880 "name" : "addListener",
881 "desc" : "Appends an event handler to this component",
883 "isConstructor" : false,
885 "memberOf" : "Roo.util.Observable",
892 "name" : "eventName",
894 "desc" : "The type of event to listen for",
900 "desc" : "The method the event invokes",
906 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
912 "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>",
923 "desc" : "Fires after the field has been marked as invalid.",
932 "type" : "Roo.form.FieldLabel",
939 "desc" : "The validation message",
948 "desc" : "Fires after the field has been validated with no errors.",
957 "type" : "Roo.form.FieldLabel",
966 "name" : "childrenrendered",
967 "desc" : "Fires when the children have been rendered..",
968 "memberOf" : "Roo.bootstrap.Component",
976 "type" : "Roo.bootstrap.Component",
985 "name" : "beforerender",
986 "desc" : "Fires before the component is rendered. Return false to stop the render.",
987 "memberOf" : "Roo.Component",
995 "type" : "Roo.Component",
1005 "desc" : "Fires after the component is disabled.",
1006 "memberOf" : "Roo.Component",
1014 "type" : "Roo.Component",
1016 "isOptional" : false
1024 "desc" : "Fires after the component is rendered.",
1025 "memberOf" : "Roo.Component",
1033 "type" : "Roo.Component",
1035 "isOptional" : false
1043 "desc" : "Fires after the component is destroyed.",
1044 "memberOf" : "Roo.Component",
1052 "type" : "Roo.Component",
1054 "isOptional" : false
1062 "desc" : "Fires after the component is hidden.",
1063 "memberOf" : "Roo.Component",
1071 "type" : "Roo.Component",
1073 "isOptional" : false
1080 "name" : "beforehide",
1081 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1082 "memberOf" : "Roo.Component",
1090 "type" : "Roo.Component",
1092 "isOptional" : false
1100 "desc" : "Fires after the component is shown.",
1101 "memberOf" : "Roo.Component",
1109 "type" : "Roo.Component",
1111 "isOptional" : false
1118 "name" : "beforeshow",
1119 "desc" : "Fires before the component is shown. Return false to stop the show.",
1120 "memberOf" : "Roo.Component",
1128 "type" : "Roo.Component",
1130 "isOptional" : false
1138 "desc" : "Fires after the component is enabled.",
1139 "memberOf" : "Roo.Component",
1147 "type" : "Roo.Component",
1149 "isOptional" : false
1156 "name" : "beforedestroy",
1157 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1158 "memberOf" : "Roo.Component",
1166 "type" : "Roo.Component",
1168 "isOptional" : false