Lines Matching refs:bounds
58 private Rectangle bounds = null ; field in _XAccessibleComponent
94 while (!oObj.containsPoint(new Point(curX, 0)) && curX < bounds.Width) { in _containsPoint()
98 if (curX < bounds.Width) { in _containsPoint()
109 while (!oObj.containsPoint(new Point(curX, bounds.Height - 1)) in _containsPoint()
110 && curX < bounds.Width) { in _containsPoint()
112 System.out.println("Contains returns false for ("+curX+","+bounds.Height+")"); in _containsPoint()
116 if (curX < bounds.Width) { in _containsPoint()
118 + curX + "," + (bounds.Height - 1) + ") - OK"); in _containsPoint()
127 while (!oObj.containsPoint(new Point(0, curY)) && curY < bounds.Height) { in _containsPoint()
131 if (curY < bounds.Height) { in _containsPoint()
143 while (!oObj.containsPoint(new Point(bounds.Width - 1, curY)) && curY < bounds.Height) { in _containsPoint()
147 if (curY < bounds.Height) { in _containsPoint()
149 + (bounds.Width - 1) + "," + curY + ") - OK"); in _containsPoint()
157 for (int x = -1; x <= bounds.Width; x++) { in _containsPoint()
159 locRes &= !oObj.containsPoint(new Point(x, bounds.Height+bounds.Y)); in _containsPoint()
171 for (int y = -1; y <= bounds.Height; y++) { in _containsPoint()
173 locRes &= !oObj.containsPoint(new Point(bounds.X+bounds.Width, y)); in _containsPoint()
299 bounds = oObj.getBounds() ; in _getBounds()
300 result &= bounds != null in _getBounds()
301 && bounds.X >=0 && bounds.Y >=0 in _getBounds()
302 && bounds.Width >0 && bounds.Height >0; in _getBounds()
304 System.out.println("Bounds = " + (bounds != null in _getBounds()
305 ? "(" + bounds.X + "," + bounds.Y + "),(" in _getBounds()
306 + bounds.Width + "," + bounds.Height + ")" : "null")); in _getBounds()
328 result &= loc.X == bounds.X && loc.Y == bounds.Y ; in _getLocation()
361 result &= parLoc.X + bounds.X == loc.X; in _getLocationOnScreen()
362 result &= parLoc.Y + bounds.Y == loc.Y; in _getLocationOnScreen()
384 result &= size.Width == bounds.Width; in _getSize()
385 result &= size.Height == bounds.Height; in _getSize()