/*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
me.setBounds(box.x, box.y, w, h, me.animTest.call(me, arguments, animate, 2));\r
return me;\r
},\r
- \r
+\r
/**\r
- * Return a box {x, y, width, height} that can be used to set another elements\r
- * size/location to match this element.\r
+ * Return an object defining the area of this Element which can be passed to {@link #setBox} to\r
+ * set another Element's size/location to match this element.\r
* @param {Boolean} contentBox (optional) If true a box for the content of the element is returned.\r
* @param {Boolean} local (optional) If true the element's left and top are returned instead of page x/y.\r
- * @return {Object} box An object in the format {x, y, width, height}\r
+ * @return {Object} box An object in the format<pre><code>\r
+{\r
+ x: <Element's X position>,\r
+ y: <Element's Y position>,\r
+ width: <Element's width>,\r
+ height: <Element's height>,\r
+ bottom: <Element's lower bound>,\r
+ right: <Element's rightmost bound>\r
+}\r
+</code></pre>\r
+ * The returned object may also be addressed as an Array where index 0 contains the X position\r
+ * and index 1 contains the Y position. So the result may also be used for {@link #setXY}\r
*/\r
getBox : function(contentBox, local) { \r
var me = this,\r