1 Ext.data.JsonP.Ext_util_Region({
3 "name": "Ext.util.Region",
4 "doc": "<p>Represents a rectangular region and provides a number of utility methods\nto compare regions.</p>\n",
9 "alternateClassNames": [
24 "member": "Ext.util.Region",
30 "doc": "<p>Top</p>\n",
36 "doc": "<p>Right</p>\n",
42 "doc": "<p>Bottom</p>\n",
48 "doc": "<p>Left</p>\n",
58 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
60 "html_filename": "Region.html",
61 "href": "Region.html#Ext-util-Region-method-constructor",
67 "member": "Ext.util.Region",
68 "doc": "<p>Modifies the current region to be adjusted by offsets.</p>\n",
73 "doc": "<p>top offset</p>\n",
79 "doc": "<p>right offset</p>\n",
85 "doc": "<p>bottom offset</p>\n",
91 "doc": "<p>left offset</p>\n",
101 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
103 "html_filename": "Region.html",
104 "href": "Region.html#Ext-util-Region-method-adjust",
105 "shortDoc": "<p>Modifies the current region to be adjusted by offsets.</p>\n"
109 "name": "constrainTo",
110 "member": "Ext.util.Region",
111 "doc": "<p>Modifies the current region to be constrained to the targetRegion.</p>\n",
114 "type": "Ext.util.Region",
115 "name": "targetRegion",
126 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
128 "html_filename": "Region.html",
129 "href": "Region.html#Ext-util-Region-method-constrainTo",
130 "shortDoc": "<p>Modifies the current region to be constrained to the targetRegion.</p>\n"
135 "member": "Ext.util.Region",
136 "doc": "<p>Checks if this region completely contains the region that is passed in.</p>\n",
139 "type": "Ext.util.Region",
151 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
153 "html_filename": "Region.html",
154 "href": "Region.html#Ext-util-Region-method-contains",
155 "shortDoc": "<p>Checks if this region completely contains the region that is passed in.</p>\n"
160 "member": "Ext.util.Region",
161 "doc": "<p>Copy a new instance</p>\n",
166 "type": "Ext.util.Region",
171 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
173 "html_filename": "Region.html",
174 "href": "Region.html#Ext-util-Region-method-copy",
175 "shortDoc": "<p>Copy a new instance</p>\n"
180 "member": "Ext.util.Region",
181 "doc": "<p>Copy the values of another Region to this Region</p>\n",
186 "doc": "<p>region to copy from.</p>\n",
191 "type": "Ext.util.Point",
192 "doc": "<p>this This point</p>\n"
196 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
198 "html_filename": "Region.html",
199 "href": "Region.html#Ext-util-Region-method-copyFrom",
200 "shortDoc": "<p>Copy the values of another Region to this Region</p>\n"
205 "member": "Ext.util.Region",
206 "doc": "<p>Check whether this region is equivalent to the given region</p>\n",
209 "type": "Ext.util.Region",
211 "doc": "<p>The region to compare with</p>\n",
221 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
223 "html_filename": "Region.html",
224 "href": "Region.html#Ext-util-Region-method-equals",
225 "shortDoc": "<p>Check whether this region is equivalent to the given region</p>\n"
230 "member": "Ext.util.Region",
236 "doc": "<p>An object with top, right, bottom, left properties</p>\n",
241 "type": "Ext.util.Region",
242 "doc": "<p>region The region constructed based on the passed object</p>\n"
246 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
248 "html_filename": "Region.html",
249 "href": "Region.html#Ext-util-Region-method-from",
254 "name": "getOutOfBoundOffset",
255 "member": "Ext.util.Region",
256 "doc": "<p>Get the offset amount of a point outside the region</p>\n",
261 "doc": "<p>optional</p>\n",
265 "type": "Ext.util.Point",
267 "doc": "<p>the point</p>\n",
272 "type": "Ext.util.Offset",
277 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
279 "html_filename": "Region.html",
280 "href": "Region.html#Ext-util-Region-method-getOutOfBoundOffset",
281 "shortDoc": "<p>Get the offset amount of a point outside the region</p>\n"
285 "name": "getOutOfBoundOffsetX",
286 "member": "Ext.util.Region",
287 "doc": "<p>Get the offset amount on the x-axis</p>\n",
292 "doc": "<p>the offset</p>\n",
302 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
304 "html_filename": "Region.html",
305 "href": "Region.html#Ext-util-Region-method-getOutOfBoundOffsetX",
306 "shortDoc": "<p>Get the offset amount on the x-axis</p>\n"
310 "name": "getOutOfBoundOffsetY",
311 "member": "Ext.util.Region",
312 "doc": "<p>Get the offset amount on the y-axis</p>\n",
317 "doc": "<p>the offset</p>\n",
327 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
329 "html_filename": "Region.html",
330 "href": "Region.html#Ext-util-Region-method-getOutOfBoundOffsetY",
331 "shortDoc": "<p>Get the offset amount on the y-axis</p>\n"
336 "member": "Ext.util.Region",
342 "doc": "<p>A string, DomElement or <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> representing an element\non the page.</p>\n",
347 "type": "Ext.util.Region",
348 "doc": "<p>region\nRetrieves an <a href=\"#/api/Ext.util.Region\" rel=\"Ext.util.Region\" class=\"docClass\">Ext.util.Region</a> for a particular element.</p>\n"
352 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
354 "html_filename": "Region.html",
355 "href": "Region.html#Ext-util-Region-method-getRegion",
361 "member": "Ext.util.Region",
362 "doc": "<p>Checks if this region intersects the region passed in.</p>\n",
365 "type": "Ext.util.Region",
372 "type": "Ext.util.Region/Boolean",
373 "doc": "<p>Returns the intersected region or false if there is no intersection.</p>\n"
377 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
379 "html_filename": "Region.html",
380 "href": "Region.html#Ext-util-Region-method-intersect",
381 "shortDoc": "<p>Checks if this region intersects the region passed in.</p>\n"
385 "name": "isOutOfBound",
386 "member": "Ext.util.Region",
387 "doc": "<p>Check whether the point / offset is out of bound</p>\n",
392 "doc": "<p>optional</p>\n",
396 "type": "Ext.util.Point/Number",
398 "doc": "<p>the point / offset</p>\n",
408 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
410 "html_filename": "Region.html",
411 "href": "Region.html#Ext-util-Region-method-isOutOfBound",
412 "shortDoc": "<p>Check whether the point / offset is out of bound</p>\n"
416 "name": "isOutOfBoundX",
417 "member": "Ext.util.Region",
418 "doc": "<p>Check whether the offset is out of bound in the x-axis</p>\n",
423 "doc": "<p>the offset</p>\n",
433 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
435 "html_filename": "Region.html",
436 "href": "Region.html#Ext-util-Region-method-isOutOfBoundX",
437 "shortDoc": "<p>Check whether the offset is out of bound in the x-axis</p>\n"
441 "name": "isOutOfBoundY",
442 "member": "Ext.util.Region",
443 "doc": "<p>Check whether the offset is out of bound in the y-axis</p>\n",
448 "doc": "<p>the offset</p>\n",
458 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
460 "html_filename": "Region.html",
461 "href": "Region.html#Ext-util-Region-method-isOutOfBoundY",
462 "shortDoc": "<p>Check whether the offset is out of bound in the y-axis</p>\n"
467 "member": "Ext.util.Region",
468 "doc": "<p>Round all the properties of this region</p>\n",
473 "type": "Ext.util.Region",
474 "doc": "<p>this This Region</p>\n"
478 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
480 "html_filename": "Region.html",
481 "href": "Region.html#Ext-util-Region-method-round",
482 "shortDoc": "<p>Round all the properties of this region</p>\n"
487 "member": "Ext.util.Region",
488 "doc": "<p>Dump this to an eye-friendly string, great for debugging</p>\n",
498 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
500 "html_filename": "Region.html",
501 "href": "Region.html#Ext-util-Region-method-toString",
502 "shortDoc": "<p>Dump this to an eye-friendly string, great for debugging</p>\n"
506 "name": "translateBy",
507 "member": "Ext.util.Region",
508 "doc": "<p>Translate this region by the given offset amount</p>\n",
511 "type": "Ext.util.Offset/Object",
513 "doc": "<p>Object containing the <code>x</code> and <code>y</code> properties.\nOr the x value is using the two argument form.</p>\n",
519 "doc": "<p>y value unless using an Offset object.</p>\n",
524 "type": "Ext.util.Region",
525 "doc": "<p>this This Region</p>\n"
529 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
531 "html_filename": "Region.html",
532 "href": "Region.html#Ext-util-Region-method-translateBy",
533 "shortDoc": "<p>Translate this region by the given offset amount</p>\n"
538 "member": "Ext.util.Region",
539 "doc": "<p>Returns the smallest region that contains the current AND targetRegion.</p>\n",
542 "type": "Ext.util.Region",
554 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
556 "html_filename": "Region.html",
557 "href": "Region.html#Ext-util-Region-method-union",
558 "shortDoc": "<p>Returns the smallest region that contains the current AND targetRegion.</p>\n"
567 "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Region.js",
569 "html_filename": "Region.html",
570 "href": "Region.html#Ext-util-Region",