Lines Matching defs:iconRect
257 Rectangle iconRect = new Rectangle();
295 paintFocus(g, b, viewRect, textRect, iconRect);
300 final String text = layoutAndGetText(g, b, aquaBorder, i, viewRect, iconRect, textRect);
304 paintIcon(g, b, iconRect);
321 protected String layoutAndGetText(final Graphics g, final AbstractButton b, final AquaButtonBorder aquaBorder, final Insets i, Rectangle viewRect, Rectangle iconRect, Rectangle textRect) {
330 iconRect.x = iconRect.y = iconRect.width = iconRect.height = 0;
338 final String text = SwingUtilities.layoutCompoundLabel(b, fm, originalText, b.getIcon(), b.getVerticalAlignment(), b.getHorizontalAlignment(), b.getVerticalTextPosition(), b.getHorizontalTextPosition(), viewRect, iconRect, textRect, originalText == null ? 0 : b.getIconTextGap());
345 return layoutAndGetText(g, b, null, alternateContentInsets, viewRect, iconRect, textRect);