Lines Matching defs:tabIndex

221     protected int getTabLabelShiftX(final int tabPlacement, final int tabIndex, final boolean isSelected) {
222 final Rectangle tabRect = (tabIndex >= 0 ? rects[tabIndex] : visibleTabState.getRightScrollTabRect());
237 protected int getTabLabelShiftY(final int tabPlacement, final int tabIndex, final boolean isSelected) {
249 protected Icon getIconForScrollTab(final int tabPlacement, final int tabIndex, final boolean enabled) {
254 int direction = tabIndex == -1 ? EAST : WEST;
269 protected void paintContents(final Graphics g, final int tabPlacement, final int tabIndex, final Rectangle tabRect, final Rectangle iconRect, final Rectangle textRect, final boolean isSelected) {
276 if (isScrollTabIndex(tabIndex)) {
279 icon = getIconForScrollTab(tabPlacement, tabIndex, true);
281 component = getTabComponentAt(tabIndex);
283 title = tabPane.getTitleAt(tabIndex);
284 icon = getIconForTab(tabIndex);
300 layoutLabel(tabPlacement, metrics, tabIndex < 0 ? 0 : tabIndex, title, icon, fContentRect, iconRect, textRect, false); // Never give it "isSelected" - ApprMgr handles this
321 if (component == null && tabIndex >= 0) {
322 paintTitle(g2d, font, metrics, textRect, tabIndex, title);
326 paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
336 protected void paintTitle(final Graphics2D g2d, final Font font, final FontMetrics metrics, final Rectangle textRect, final int tabIndex, final String title) {
337 final View v = getTextViewForTab(tabIndex);
345 final Color color = tabPane.getForegroundAt(tabIndex);
347 // sja fix getTheme().setThemeTextColor(g, isSelected, isPressed && tracking, tabPane.isEnabledAt(tabIndex));
348 if (tabPane.isEnabledAt(tabIndex)) {
408 protected void paintTabNormal(final Graphics g, final int tabPlacement, final int tabIndex, final boolean active, final boolean frameActive, final boolean isLeftToRight) {
409 paintTabNormalFromRect(g, tabPlacement, rects[tabIndex], tabIndex, fIconRect, fTextRect, active, frameActive, isLeftToRight);
612 protected Icon getIconForTab(final int tabIndex) {
613 final Icon mainIcon = super.getIconForTab(tabIndex);
727 protected Insets getTabInsets(final int tabPlacement, final int tabIndex) {
736 protected int calculateTabHeight(final int tabPlacement, final int tabIndex, final int fontHeight) {
738 final int result = super.calculateTabHeight(tabPlacement, tabIndex, fontHeight);
917 final int tabIndex = tabForCoordinate(pane, p.x, p.y);
918 if (tabIndex >= 0 && pane.isEnabledAt(tabIndex)) return tabIndex;