2 "name" : "Roo.bootstrap.LayoutMasonry",
4 "Roo.bootstrap.Component",
9 "desc" : "Bootstrap Layout Masonry class\n\nThis is based on \nhttp://masonry.desandro.com\n\nThe idea is to render all the bricks based on vertical width...\n\nThe original code extends 'outlayer' - we might need to use that....",
10 "isSingleton" : false,
13 "memberOf" : "LayoutMasonry",
22 "desc" : "The config object",
31 "name" : "alternativePadWidth",
33 "desc" : "padding below box..",
39 "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>",
40 "memberOf" : "Roo.util.Observable"
45 "desc" : "maximum number of columns",
51 "desc" : "Text for the tooltip",
52 "memberOf" : "Roo.bootstrap.Component"
55 "name" : "container_method",
57 "desc" : "method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)",
58 "memberOf" : "Roo.bootstrap.Component"
61 "name" : "visibilityEl",
62 "type" : "string|object",
63 "desc" : "t) What element to use for visibility (@see getVisibilityEl())",
64 "memberOf" : "Roo.bootstrap.Component"
67 "name" : "isLayoutInstant",
69 "desc" : "= no animation?",
75 "desc" : "width of the columns",
79 "name" : "isHorizontal",
81 "desc" : "defalut false",
85 "name" : "can_build_overlaid",
87 "desc" : "True if element can be rebuild from a HTML page",
88 "memberOf" : "Roo.bootstrap.Component"
93 "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\".",
94 "memberOf" : "Roo.Component"
99 "desc" : "any extra css",
100 "memberOf" : "Roo.bootstrap.Component"
103 "name" : "allowDomMove",
105 "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
106 "memberOf" : "Roo.Component"
109 "name" : "isAutoInitial",
111 "desc" : "defalut true",
117 "desc" : "css class",
118 "memberOf" : "Roo.bootstrap.Component"
123 "desc" : "padding below box..",
129 "desc" : "extra attributes to add to 'element' (used by builder to store stuff.)",
130 "memberOf" : "Roo.bootstrap.Component"
133 "name" : "actionMode",
135 "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",
136 "memberOf" : "Roo.Component"
141 "desc" : "gutter width..",
147 "desc" : "cutomer id",
148 "memberOf" : "Roo.bootstrap.Component"
151 "name" : "boxHeight",
153 "desc" : "- 0 for square, or fix it at a certian height",
159 "desc" : "Specifies name attribute",
160 "memberOf" : "Roo.bootstrap.Component"
163 "name" : "disableClass",
165 "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
166 "memberOf" : "Roo.Component"
171 "name" : "removeBrick",
173 "desc" : "remove a Masonry Brick",
178 "isConstructor" : false,
189 "type" : "Roo.bootstrap.MasonryBrick",
190 "desc" : "masonry brick to remove",
197 "name" : "_processVerticalLayoutQueue",
199 "desc" : "Sets position of item in DOM",
200 "sig" : "(item, x, y, isInstant)",
204 "isConstructor" : false,
222 "desc" : "- horizontal position",
228 "desc" : "- vertical position",
232 "name" : "isInstant",
234 "desc" : "- disables transitions",
243 "desc" : "adds a Masonry Brick",
248 "isConstructor" : false,
259 "type" : "Roo.bootstrap.MasonryBrick",
260 "desc" : "masonry brick to add",
269 "desc" : "register a Masonry Brick",
274 "isConstructor" : false,
285 "type" : "Roo.bootstrap.MasonryBrick",
286 "desc" : "masonry brick to add",
295 "desc" : "clear all the Masonry Brick",
296 "sig" : "()\n{\n\n}",
300 "isConstructor" : false,
314 "desc" : "register a Masonry Layout",
319 "isConstructor" : false,
330 "type" : "Roo.bootstrap.LayoutMasonry",
331 "desc" : "masonry layout to add",
340 "desc" : "fetch a Masonry Layout based on the masonry layout ID",
345 "isConstructor" : false,
357 "desc" : "masonry layout to add",
364 "name" : "tooltipEl",
366 "desc" : "Fetch the element to display the tooltip on.",
367 "sig" : "()\n{\n\n}",
369 "memberOf" : "Roo.bootstrap.Component",
371 "isConstructor" : false,
383 "type" : "Roo.Element",
384 "desc" : "defaults to this.el"
391 "desc" : "Hide a component - adds 'hidden' class",
392 "sig" : "()\n{\n\n}",
394 "memberOf" : "Roo.bootstrap.Component",
396 "isConstructor" : false,
410 "desc" : "Show a component - removes 'hidden' class",
411 "sig" : "()\n{\n\n}",
413 "memberOf" : "Roo.bootstrap.Component",
415 "isConstructor" : false,
427 "name" : "setVisibilityEl",
429 "desc" : "Set the element that will be used to show or hide",
430 "sig" : "()\n{\n\n}",
432 "memberOf" : "Roo.bootstrap.Component",
434 "isConstructor" : false,
446 "name" : "getVisibilityEl",
448 "desc" : "Get the element that will be used to show or hide",
449 "sig" : "()\n{\n\n}",
451 "memberOf" : "Roo.bootstrap.Component",
453 "isConstructor" : false,
465 "name" : "initEvents",
467 "desc" : "Initialize Events for the element",
468 "sig" : "()\n{\n\n}",
470 "memberOf" : "Roo.bootstrap.Component",
472 "isConstructor" : false,
484 "name" : "getChildContainer",
486 "desc" : "Fetch the element to add children to",
487 "sig" : "()\n{\n\n}",
489 "memberOf" : "Roo.bootstrap.Component",
491 "isConstructor" : false,
503 "type" : "Roo.Element",
504 "desc" : "defaults to this.el"
511 "desc" : "Returns the id of this component.",
512 "sig" : "()\n{\n\n}",
514 "memberOf" : "Roo.Component",
516 "isConstructor" : false,
536 "desc" : "If this is a lazy rendering component, render it to its container element.",
537 "sig" : "(container)",
539 "memberOf" : "Roo.Component",
541 "isConstructor" : false,
551 "name" : "container",
552 "type" : "String/HTMLElement/Element",
553 "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
562 "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}.",
563 "sig" : "()\n{\n\n}",
565 "memberOf" : "Roo.Component",
567 "isConstructor" : false,
579 "name" : "isVisible",
581 "desc" : "Returns true if this component is visible.",
582 "sig" : "()\n{\n\n}",
584 "memberOf" : "Roo.Component",
586 "isConstructor" : false,
598 "name" : "setDisabled",
600 "desc" : "Convenience function for setting disabled/enabled by boolean.",
601 "sig" : "(disabled)",
603 "memberOf" : "Roo.Component",
605 "isConstructor" : false,
626 "desc" : "Try to focus this component.",
627 "sig" : "(selectText)",
629 "memberOf" : "Roo.Component",
631 "isConstructor" : false,
641 "name" : "selectText",
643 "desc" : "True to also select the text in this component (if applicable)",
650 "type" : "Roo.Component",
658 "desc" : "Enable this component.",
659 "sig" : "()\n{\n\n}",
661 "memberOf" : "Roo.Component",
663 "isConstructor" : false,
675 "type" : "Roo.Component",
681 "name" : "setVisible",
683 "desc" : "Convenience function to hide or show this component by boolean.",
686 "memberOf" : "Roo.Component",
688 "isConstructor" : false,
700 "desc" : "True to show, false to hide",
707 "type" : "Roo.Component",
715 "desc" : "Disable this component.",
716 "sig" : "()\n{\n\n}",
718 "memberOf" : "Roo.Component",
720 "isConstructor" : false,
732 "type" : "Roo.Component",
740 "desc" : "Returns the underlying {@link Roo.Element}.",
741 "sig" : "()\n{\n\n}",
743 "memberOf" : "Roo.Component",
745 "isConstructor" : false,
757 "type" : "Roo.Element",
758 "desc" : "The element"
763 "name" : "purgeListeners",
765 "desc" : "Removes all listeners for this object",
766 "sig" : "()\n{\n\n}",
768 "memberOf" : "Roo.util.Observable",
770 "isConstructor" : false,
784 "desc" : "Appends an event handler to this element (shorthand for addListener)",
785 "sig" : "(eventName, handler, scope, options)",
787 "memberOf" : "Roo.util.Observable",
789 "isConstructor" : false,
799 "name" : "eventName",
801 "desc" : "The type of event to listen for",
807 "desc" : "The method the event invokes",
813 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
819 "desc" : "(optional)",
828 "desc" : "Removes a listener (shorthand for removeListener)",
829 "sig" : "(eventName, handler, scope)",
831 "memberOf" : "Roo.util.Observable",
833 "isConstructor" : false,
843 "name" : "eventName",
845 "desc" : "The type of event to listen for",
851 "desc" : "The handler to remove",
857 "desc" : "(optional) The scope (this object) for the handler",
864 "name" : "addEvents",
866 "desc" : "Used to define events on this Observable",
869 "memberOf" : "Roo.util.Observable",
871 "isConstructor" : false,
883 "desc" : "The object with the events defined",
890 "name" : "releaseCapture",
892 "desc" : "Removes <b>all</b> added captures from the Observable.",
895 "memberOf" : "Roo.util.Observable",
897 "isConstructor" : false,
908 "type" : "Observable",
909 "desc" : "The Observable to release",
916 "name" : "removeListener",
918 "desc" : "Removes a listener",
919 "sig" : "(eventName, handler, scope)",
921 "memberOf" : "Roo.util.Observable",
923 "isConstructor" : false,
933 "name" : "eventName",
935 "desc" : "The type of event to listen for",
941 "desc" : "The handler to remove",
947 "desc" : "(optional) The scope (this object) for the handler",
954 "name" : "fireEvent",
956 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
957 "sig" : "(eventName, args)",
959 "memberOf" : "Roo.util.Observable",
961 "isConstructor" : false,
971 "name" : "eventName",
978 "type" : "Object...",
979 "desc" : "Variable number of parameters are passed to handlers",
987 "desc" : "returns false if any of the handlers return false otherwise it returns true"
992 "name" : "hasListener",
994 "desc" : "Checks to see if this object has any listeners for a specified event",
995 "sig" : "(eventName)",
997 "memberOf" : "Roo.util.Observable",
999 "isConstructor" : false,
1000 "isPrivate" : false,
1009 "name" : "eventName",
1011 "desc" : "The name of the event to check for",
1012 "isOptional" : false
1019 "desc" : "True if the event is being listened for, else false"
1025 "type" : "function",
1026 "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.",
1027 "sig" : "(o, fn, scope)",
1029 "memberOf" : "Roo.util.Observable",
1031 "isConstructor" : false,
1032 "isPrivate" : false,
1042 "type" : "Observable",
1043 "desc" : "The Observable to capture",
1044 "isOptional" : false
1048 "type" : "Function",
1049 "desc" : "The function to call",
1050 "isOptional" : false
1055 "desc" : "(optional) The scope (this object) for the fn",
1056 "isOptional" : false
1062 "name" : "addListener",
1063 "type" : "function",
1064 "desc" : "Appends an event handler to this component",
1065 "sig" : "(eventName, handler, scope, options)",
1067 "memberOf" : "Roo.util.Observable",
1069 "isConstructor" : false,
1070 "isPrivate" : false,
1079 "name" : "eventName",
1081 "desc" : "The type of event to listen for",
1082 "isOptional" : false
1086 "type" : "Function",
1087 "desc" : "The method the event invokes",
1088 "isOptional" : false
1093 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1094 "isOptional" : false
1099 "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>",
1100 "isOptional" : false
1109 "type" : "function",
1110 "desc" : "Fire after layout the items",
1111 "sig" : "function (_self, e)\n{\n\n}",
1120 "type" : "Roo.bootstrap.LayoutMasonry",
1122 "isOptional" : false
1126 "type" : "Roo.EventObject",
1128 "isOptional" : false
1134 "name" : "childrenrendered",
1135 "type" : "function",
1136 "desc" : "Fires when the children have been rendered..",
1137 "sig" : "function (_self)\n{\n\n}",
1138 "memberOf" : "Roo.bootstrap.Component",
1146 "type" : "Roo.bootstrap.Component",
1148 "isOptional" : false
1154 "name" : "beforerender",
1155 "type" : "function",
1156 "desc" : "Fires before the component is rendered. Return false to stop the render.",
1157 "sig" : "function (_self)\n{\n\n}",
1158 "memberOf" : "Roo.Component",
1166 "type" : "Roo.Component",
1168 "isOptional" : false
1175 "type" : "function",
1176 "desc" : "Fires after the component is disabled.",
1177 "sig" : "function (_self)\n{\n\n}",
1178 "memberOf" : "Roo.Component",
1186 "type" : "Roo.Component",
1188 "isOptional" : false
1195 "type" : "function",
1196 "desc" : "Fires after the component is rendered.",
1197 "sig" : "function (_self)\n{\n\n}",
1198 "memberOf" : "Roo.Component",
1206 "type" : "Roo.Component",
1208 "isOptional" : false
1215 "type" : "function",
1216 "desc" : "Fires after the component is destroyed.",
1217 "sig" : "function (_self)\n{\n\n}",
1218 "memberOf" : "Roo.Component",
1226 "type" : "Roo.Component",
1228 "isOptional" : false
1235 "type" : "function",
1236 "desc" : "Fires after the component is hidden.",
1237 "sig" : "function (_self)\n{\n\n}",
1238 "memberOf" : "Roo.Component",
1246 "type" : "Roo.Component",
1248 "isOptional" : false
1254 "name" : "beforehide",
1255 "type" : "function",
1256 "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1257 "sig" : "function (_self)\n{\n\n}",
1258 "memberOf" : "Roo.Component",
1266 "type" : "Roo.Component",
1268 "isOptional" : false
1275 "type" : "function",
1276 "desc" : "Fires after the component is shown.",
1277 "sig" : "function (_self)\n{\n\n}",
1278 "memberOf" : "Roo.Component",
1286 "type" : "Roo.Component",
1288 "isOptional" : false
1294 "name" : "beforeshow",
1295 "type" : "function",
1296 "desc" : "Fires before the component is shown. Return false to stop the show.",
1297 "sig" : "function (_self)\n{\n\n}",
1298 "memberOf" : "Roo.Component",
1306 "type" : "Roo.Component",
1308 "isOptional" : false
1315 "type" : "function",
1316 "desc" : "Fires after the component is enabled.",
1317 "sig" : "function (_self)\n{\n\n}",
1318 "memberOf" : "Roo.Component",
1326 "type" : "Roo.Component",
1328 "isOptional" : false
1334 "name" : "beforedestroy",
1335 "type" : "function",
1336 "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1337 "sig" : "function (_self)\n{\n\n}",
1338 "memberOf" : "Roo.Component",
1346 "type" : "Roo.Component",
1348 "isOptional" : false