Lines Matching refs:bounds
246 //We need maximum height before calculating item's bounds
256 //Calculate bounds
277 Rectangle bounds = new Rectangle(nextOffset, BAR_SPACING_TOP, itemWidth, itemHeight);
278 //text should be centered vertically in menu item's bounds
282 item.map(bounds, textOrigin);
284 Rectangle bounds = new Rectangle(nextOffset, BAR_SPACING_TOP, 0, 0);
425 Rectangle bounds = item.getBounds();
429 g.fillRect(bounds.x, bounds.y, bounds.width, bounds.height);
430 draw3DRect(g, bounds.x, bounds.y, bounds.width, bounds.height, false);