Lines Matching refs:iconRect

785         final Rectangle iconRect = new Rectangle(), textRect = new Rectangle();
795 paintTab(g, tabPlacement, rects, j, iconRect, textRect);
803 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect);
807 protected void paintTab(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect) {
823 layoutLabel(tabPlacement, metrics, tabIndex, title, icon, tabRect, iconRect, textRect, isSelected);
835 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
837 paintFocusIndicator(g, tabPlacement, rects, tabIndex, iconRect, textRect, isSelected);
962 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) {
963 textRect.x = textRect.y = iconRect.x = iconRect.y = 0;
970 SwingUtilities.layoutCompoundLabel(tabPane, metrics, title, icon, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.CENTER, SwingConstants.TRAILING, tabRect, iconRect, textRect, textIconGap);
976 iconRect.x += xNudge;
977 iconRect.y += yNudge;
982 protected void paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) {
984 icon.paintIcon(tabPane, g, iconRect.x, iconRect.y);
1058 protected void paintFocusIndicator(final Graphics g, final int tabPlacement, final Rectangle[] rects, final int tabIndex, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) {