Lines Matching refs:iconRect

786         final Rectangle iconRect = new Rectangle(), textRect = new Rectangle();
796 paintTab(g, tabPlacement, rects, j, iconRect, textRect);
804 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect);
808 protected void paintTab(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect) {
824 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected);
836 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
838 paintFocusIndicator(g, tabPlacement, rects, tabIndex, iconRect, textRect, isSelected);
963 protected void layoutLabel(final int tabPlacement, final FontMetrics metrics, final int tabIndex, final String title, final Icon icon, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) {
964 textRect.x = textRect.y = iconRect.x = iconRect.y = 0;
971 SwingUtilities.layoutCompoundLabel(tabPane, metrics, title, icon, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.TRAILING, tabRect, iconRect, textRect, textIconGap);
977 iconRect.x += xNudge;
978 iconRect.y += yNudge;
983 protected void paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) {
985 icon.paintIcon(tabPane, g, iconRect.x, iconRect.y);
1059 protected void paintFocusIndicator(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) {