Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.layout.container.Box.js
1 Ext.data.JsonP.Ext_layout_container_Box({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Mixed",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "Box.html#Ext-layout-container-Box-cfg-animate",
16         "shortDoc": "If truthy, child Component are animated into position whenever the Container\nis layed out. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
19         "private": false,
20         "name": "animate",
21         "owner": "Ext.layout.container.Box",
22         "doc": "<p>If truthy, child Component are <i>animated</i> into position whenever the Container\nis layed out. If this option is numeric, it is used as the animation duration in milliseconds.</p>\n\n\n<p>May be set as a property at any time.</p>\n\n",
23         "linenr": 25,
24         "html_filename": "Box.html"
25       },
26       {
27         "type": "Boolean",
28         "deprecated": null,
29         "alias": null,
30         "protected": false,
31         "tagname": "cfg",
32         "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-cfg-bindToOwnerCtComponent",
33         "static": false,
34         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js",
35         "private": false,
36         "name": "bindToOwnerCtComponent",
37         "owner": "Ext.layout.container.AbstractContainer",
38         "doc": "<p>Flag to notify the ownerCt Component on afterLayout of a change</p>\n",
39         "linenr": 17,
40         "html_filename": "AbstractContainer.html"
41       },
42       {
43         "type": "Boolean",
44         "deprecated": null,
45         "alias": null,
46         "protected": false,
47         "tagname": "cfg",
48         "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-cfg-bindToOwnerCtContainer",
49         "static": false,
50         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js",
51         "private": false,
52         "name": "bindToOwnerCtContainer",
53         "owner": "Ext.layout.container.AbstractContainer",
54         "doc": "<p>Flag to notify the ownerCt Container on afterLayout of a change</p>\n",
55         "linenr": 23,
56         "html_filename": "AbstractContainer.html"
57       },
58       {
59         "type": "Boolean",
60         "deprecated": null,
61         "alias": null,
62         "protected": false,
63         "tagname": "cfg",
64         "href": "Box.html#Ext-layout-container-Box-cfg-clearInnerCtOnLayout",
65         "static": false,
66         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
67         "private": false,
68         "name": "clearInnerCtOnLayout",
69         "owner": "Ext.layout.container.Box",
70         "doc": "\n",
71         "linenr": 126,
72         "html_filename": "Box.html"
73       },
74       {
75         "type": "Object",
76         "deprecated": null,
77         "alias": null,
78         "protected": false,
79         "tagname": "cfg",
80         "href": "Box.html#Ext-layout-container-Box-cfg-defaultMargins",
81         "shortDoc": "If the individual contained items do not have a margins\nproperty specified or margin specified via CSS, the default m...",
82         "static": false,
83         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
84         "private": false,
85         "name": "defaultMargins",
86         "owner": "Ext.layout.container.Box",
87         "doc": "<p>If the individual contained items do not have a <tt>margins</tt>\nproperty specified or margin specified via CSS, the default margins from this property will be\napplied to each item.</p>\n\n\n<br><p>This property may be specified as an object containing margins\n\n\n<p>to apply in the format:</p></p>\n\n<pre><code>{\n    top: (top margin),\n    right: (right margin),\n    bottom: (bottom margin),\n    left: (left margin)\n}</code></pre>\n\n\n<p>This property may also be specified as a string containing\nspace-separated, numeric margin values. The order of the sides associated\nwith each value matches the way CSS processes margin values:</p>\n\n\n<div class=\"mdetail-params\"><ul>\n<li>If there is only one value, it applies to all sides.</li>\n<li>If there are two values, the top and bottom borders are set to the\nfirst value and the right and left are set to the second.</li>\n<li>If there are three values, the top is set to the first value, the left\nand right are set to the second, and the bottom is set to the third.</li>\n<li>If there are four values, they apply to the top, right, bottom, and\nleft, respectively.</li>\n</ul></div>\n\n\n<p>Defaults to:</p>\n\n\n<pre><code>{top:0, right:0, bottom:0, left:0}\n</code></pre>\n\n",
88         "linenr": 32,
89         "html_filename": "Box.html"
90       },
91       {
92         "type": "Number",
93         "deprecated": null,
94         "alias": null,
95         "protected": false,
96         "tagname": "cfg",
97         "href": "Box.html#Ext-layout-container-Box-cfg-flex",
98         "shortDoc": "This configuration option is to be applied to child items of the container managed\nby this layout. ...",
99         "static": false,
100         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
101         "private": false,
102         "name": "flex",
103         "owner": "Ext.layout.container.Box",
104         "doc": "<p>This configuration option is to be applied to <b>child <tt>items</tt></b> of the container managed\nby this layout. Each child item with a <tt>flex</tt> property will be flexed <b>horizontally</b>\naccording to each item's <b>relative</b> <tt>flex</tt> value compared to the sum of all items with\na <tt>flex</tt> value specified.  Any child items that have either a <tt>flex = 0</tt> or\n<tt>flex = undefined</tt> will not be 'flexed' (the initial size will not be changed).</p>\n",
105         "linenr": 102,
106         "html_filename": "Box.html"
107       },
108       {
109         "type": "String",
110         "deprecated": null,
111         "alias": null,
112         "protected": false,
113         "tagname": "cfg",
114         "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-cfg-itemCls",
115         "shortDoc": "An optional extra CSS class that will be added to the container. ...",
116         "static": false,
117         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js",
118         "private": false,
119         "name": "itemCls",
120         "owner": "Ext.layout.container.AbstractContainer",
121         "doc": "<p>An optional extra CSS class that will be added to the container. This can be useful for adding\ncustomized styles to the container or any of its children using standard CSS rules. See\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a>.ctCls also.</p>\n\n\n<p></p></p>\n",
122         "linenr": 29,
123         "html_filename": "AbstractContainer.html"
124       },
125       {
126         "type": "String",
127         "deprecated": null,
128         "alias": null,
129         "protected": false,
130         "tagname": "cfg",
131         "href": "Box.html#Ext-layout-container-Box-cfg-pack",
132         "shortDoc": "Controls how the child items of the container are packed together. ...",
133         "static": false,
134         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
135         "private": false,
136         "name": "pack",
137         "owner": "Ext.layout.container.Box",
138         "doc": "<p>Controls how the child items of the container are packed together. Acceptable configuration values\nfor this property are:</p>\n\n<div class=\"mdetail-params\"><ul>\n<li><b><tt>start</tt></b> : <b>Default</b><div class=\"sub-desc\">child items are packed together at\n<b>left</b> side of container</div></li>\n<li><b><tt>center</tt></b> : <div class=\"sub-desc\">child items are packed together at\n<b>mid-width</b> of container</div></li>\n<li><b><tt>end</tt></b> : <div class=\"sub-desc\">child items are packed together at <b>right</b>\nside of container</div></li>\n</ul></div>\n\n",
139         "linenr": 89,
140         "html_filename": "Box.html"
141       },
142       {
143         "type": "String",
144         "deprecated": null,
145         "alias": null,
146         "protected": false,
147         "tagname": "cfg",
148         "href": "Box.html#Ext-layout-container-Box-cfg-padding",
149         "shortDoc": "Sets the padding to be applied to all child items managed by this layout. ...",
150         "static": false,
151         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
152         "private": false,
153         "name": "padding",
154         "owner": "Ext.layout.container.Box",
155         "doc": "<p>Sets the padding to be applied to all child items managed by this layout.</p>\n\n\n<p>This property must be specified as a string containing\nspace-separated, numeric padding values. The order of the sides associated\nwith each value matches the way CSS processes padding values:</p>\n\n\n<div class=\"mdetail-params\"><ul>\n<li>If there is only one value, it applies to all sides.</li>\n<li>If there are two values, the top and bottom borders are set to the\nfirst value and the right and left are set to the second.</li>\n<li>If there are three values, the top is set to the first value, the left\nand right are set to the second, and the bottom is set to the third.</li>\n<li>If there are four values, they apply to the top, right, bottom, and\nleft, respectively.</li>\n</ul></div>\n\n\n<p>Defaults to: <code>\"0\"</code></p>\n\n",
156         "linenr": 68,
157         "html_filename": "Box.html"
158       }
159     ],
160     "method": [
161       {
162         "deprecated": null,
163         "alias": null,
164         "protected": false,
165         "tagname": "method",
166         "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-method-getLayoutItems",
167         "shortDoc": "Returns an array of child components either for a render phase (Performed in the beforeLayout method of the layout's\n...",
168         "static": false,
169         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js",
170         "private": false,
171         "params": [
172
173         ],
174         "name": "getLayoutItems",
175         "owner": "Ext.layout.container.AbstractContainer",
176         "doc": "<p>Returns an array of child components either for a render phase (Performed in the beforeLayout method of the layout's\nbase class), or the layout phase (onLayout).</p>\n\n",
177         "linenr": 49,
178         "return": {
179           "type": "Array",
180           "doc": "<p>of child components</p>\n"
181         },
182         "html_filename": "AbstractContainer.html"
183       },
184       {
185         "deprecated": null,
186         "alias": null,
187         "protected": false,
188         "tagname": "method",
189         "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-method-getRenderTarget",
190         "shortDoc": "Returns the element into which rendering must take place. ...",
191         "static": false,
192         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js",
193         "private": false,
194         "params": [
195
196         ],
197         "name": "getRenderTarget",
198         "owner": "Ext.layout.container.AbstractContainer",
199         "doc": "<p>Returns the element into which rendering must take place. Defaults to the owner Container's Ext.AbstractComponent.targetEl.</p>\n\n\n<p>May be overridden in layout managers which implement an inner element.</p>\n",
200         "linenr": 68,
201         "return": {
202           "type": "Ext.core.Element",
203           "doc": "\n"
204         },
205         "html_filename": "AbstractContainer.html"
206       },
207       {
208         "deprecated": null,
209         "alias": null,
210         "protected": true,
211         "tagname": "method",
212         "href": "Container.html#Ext-layout-container-Container-method-getRenderedItems",
213         "shortDoc": "Returns all items that are rendered ...",
214         "static": false,
215         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Container.js",
216         "private": false,
217         "params": [
218
219         ],
220         "name": "getRenderedItems",
221         "owner": "Ext.layout.container.Container",
222         "doc": "<p>Returns all items that are rendered</p>\n",
223         "linenr": 53,
224         "return": {
225           "type": "Array",
226           "doc": "<p>All matching items</p>\n"
227         },
228         "html_filename": "Container.html"
229       },
230       {
231         "deprecated": null,
232         "alias": null,
233         "protected": false,
234         "tagname": "method",
235         "href": "AbstractContainer.html#Ext-layout-container-AbstractContainer-method-getTarget",
236         "shortDoc": "Returns the owner component's resize element. ...",
237         "static": false,
238         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/layout/container/AbstractContainer.js",
239         "private": false,
240         "params": [
241
242         ],
243         "name": "getTarget",
244         "owner": "Ext.layout.container.AbstractContainer",
245         "doc": "<p>Returns the owner component's resize element.</p>\n",
246         "linenr": 61,
247         "return": {
248           "type": "Ext.core.Element",
249           "doc": "\n"
250         },
251         "html_filename": "AbstractContainer.html"
252       },
253       {
254         "deprecated": null,
255         "alias": null,
256         "protected": true,
257         "tagname": "method",
258         "href": "Container.html#Ext-layout-container-Container-method-getVisibleItems",
259         "shortDoc": "Returns all items that are both rendered and visible ...",
260         "static": false,
261         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Container.js",
262         "private": false,
263         "params": [
264
265         ],
266         "name": "getVisibleItems",
267         "owner": "Ext.layout.container.Container",
268         "doc": "<p>Returns all items that are both rendered and visible</p>\n",
269         "linenr": 76,
270         "return": {
271           "type": "Array",
272           "doc": "<p>All matching items</p>\n"
273         },
274         "html_filename": "Container.html"
275       },
276       {
277         "deprecated": null,
278         "alias": null,
279         "protected": false,
280         "tagname": "method",
281         "href": "Box.html#Ext-layout-container-Box-method-updateChildBoxes",
282         "shortDoc": "Resizes and repositions each child component ...",
283         "static": false,
284         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
285         "private": false,
286         "params": [
287           {
288             "type": "Array",
289             "optional": false,
290             "doc": "<p>The box measurements</p>\n",
291             "name": "boxes"
292           }
293         ],
294         "name": "updateChildBoxes",
295         "owner": "Ext.layout.container.Box",
296         "doc": "<p>Resizes and repositions each child component</p>\n",
297         "linenr": 581,
298         "return": {
299           "type": "void",
300           "doc": "\n"
301         },
302         "html_filename": "Box.html"
303       }
304     ],
305     "property": [
306
307     ],
308     "cssVar": [
309
310     ],
311     "cssMixin": [
312
313     ],
314     "event": [
315
316     ]
317   },
318   "singleton": false,
319   "alias": null,
320   "superclasses": [
321     "Ext.layout.Layout",
322     "Ext.layout.container.AbstractContainer",
323     "Ext.layout.container.Container"
324   ],
325   "protected": false,
326   "tagname": "class",
327   "mixins": [
328
329   ],
330   "href": "Box.html#Ext-layout-container-Box",
331   "subclasses": [
332     "Ext.layout.container.VBox",
333     "Ext.layout.container.HBox"
334   ],
335   "static": false,
336   "author": null,
337   "component": false,
338   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/layout/container/Box.js",
339   "private": false,
340   "alternateClassNames": [
341     "Ext.layout.BoxLayout"
342   ],
343   "name": "Ext.layout.container.Box",
344   "doc": "<p>Base Class for HBoxLayout and VBoxLayout Classes. Generally it should not need to be used directly.</p>\n\n",
345   "mixedInto": [
346
347   ],
348   "linenr": 1,
349   "xtypes": [
350
351   ],
352   "html_filename": "Box.html",
353   "extends": "Ext.layout.container.Container"
354 });