Lines Matching refs:rects

127     protected Rectangle rects[] = new Rectangle[0];
834 if (j != selectedIndex && rects[j].intersects(clipRect)) {
835 paintTab(g, tabPlacement, rects, j, iconRect, textRect);
842 if (selectedIndex >= 0 && rects[selectedIndex].intersects(clipRect)) {
843 paintTab(g, tabPlacement, rects, selectedIndex, iconRect, textRect);
848 Rectangle[] rects, int tabIndex,
850 Rectangle tabRect = rects[tabIndex];
887 paintFocusIndicator(g, tabPlacement, rects, tabIndex,
986 x = rects[tabIndex].x;
990 while(xx <= x+rects[tabIndex].width) {
1002 y = rects[tabIndex].y;
1005 while(yy <= y+rects[tabIndex].height) {
1101 Rectangle tabRect = rects[tabIndex];
1119 Rectangle tabRect = rects[tabIndex];
1136 Rectangle[] rects, int tabIndex,
1139 Rectangle tabRect = rects[tabIndex];
1506 if (rects[i].contains(p.x, p.y)) {
1515 * of the JTabbedPane component. This is required because the tab rects
1534 dest.width = rects[tabIndex].width;
1535 dest.height = rects[tabIndex].height;
1542 dest.x = rects[tabIndex].x + vpp.x - viewp.x;
1543 dest.y = rects[tabIndex].y + vpp.y - viewp.y;
1546 dest.x = rects[tabIndex].x;
1547 dest.y = rects[tabIndex].y;
1558 int tabCount = Math.min(rects.length, tabPane.getTabCount());
1570 minLoc = rects[current].x;
1571 maxLoc = minLoc + rects[current].width;
1574 minLoc = rects[current].y;
1575 maxLoc = minLoc + rects[current].height;
1630 int rectArrayLen = rects.length;
1633 System.arraycopy(rects, 0, tempRectArray, 0,
1635 rects = tempRectArray;
1637 rects[rectIndex] = new Rectangle();
1947 Rectangle r = rects[tabIndex];
2605 rect = rects[i];
2610 rect.x = rects[i-1].x + rects[i-1].width;
2638 rect.y = rects[i-1].y + rects[i-1].height;
2689 rect = rects[j];
2703 rect = rects[j];
2727 rects[i].x = rightMargin - rects[i].x - rects[i].width;
2771 end = rects[last].x + rects[last].width;
2774 end = rects[last].y + rects[last].height;
2785 rects[prevLast].x = start;
2787 rects[prevLast].y = start;
2791 rects[i].x = rects[i-1].x + rects[i-1].width;
2793 rects[i].y = rects[i-1].y + rects[i-1].height;
2815 Rectangle lastRect = rects[end];
2817 int runWidth = (lastRect.x + lastRect.width) - rects[start].x;
2822 Rectangle pastRect = rects[j];
2824 pastRect.x = rects[j-1].x + rects[j-1].width;
2830 int runHeight = (lastRect.y + lastRect.height) - rects[start].y;
2835 Rectangle pastRect = rects[j];
2837 pastRect.y = rects[j-1].y + rects[j-1].height;
2848 Rectangle selRect = rects[selectedIndex];
3035 int totalTabHeight = rects[tabCount - 1].y + rects[tabCount - 1].height;
3049 int totalTabWidth = rects[tabCount - 1].x + rects[tabCount - 1].width;
3076 int totalTabHeight = rects[tabCount - 1].y + rects[tabCount - 1].height;
3089 int totalTabWidth = rects[tabCount - 1].x + rects[tabCount - 1].width;
3123 for (int i = 0; i < rects.length; i++) {
3124 Rectangle tabRect = rects[i];
3188 rect = rects[i];
3193 rect.x = rects[i-1].x + rects[i-1].width;
3210 rect.y = rects[i-1].y + rects[i-1].height;
3238 rects[i].x = rightMargin - rects[i].x - rects[i].width;
3321 tabViewPosition.x = leadingTabIndex == 0? 0 : rects[leadingTabIndex].x;
3333 tabViewPosition.y = leadingTabIndex == 0? 0 : rects[leadingTabIndex].y;
3364 if (rects[leadingTabIndex].x < viewRect.x) {
3370 if (rects[leadingTabIndex].y < viewRect.y) {
3480 Rectangle croppedRect = rects[tabScroller.croppedEdge.getTabIndex()];
3609 if (index < rects.length && index != -1) {
3611 (Rectangle)rects[index].clone());
3879 Rectangle tabRect = rects[tabIndex];