Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.javatools.ui.plaf
Class FlatTabbedPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TabbedPaneUI
          extended by javax.swing.plaf.basic.BasicTabbedPaneUI
              extended by oracle.javatools.ui.plaf.FlatTabbedPaneUI

All Implemented Interfaces:
javax.swing.SwingConstants

public final class FlatTabbedPaneUI
extends javax.swing.plaf.basic.BasicTabbedPaneUI

A custom TabbedPaneUI implementation that supports finger tabs.

Since:
11.1.1.0.0

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI
javax.swing.plaf.basic.BasicTabbedPaneUI.FocusHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.MouseHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout, javax.swing.plaf.basic.BasicTabbedPaneUI.TabSelectionHandler

 

Field Summary
static java.lang.String TABBEDPANE_TRANSPARENT
          BugFix # 9808301 A string to indicate that a tabbedPane with this client property set will decide if tabbedPane will be transparent.

 

Fields inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI
calcRect, contentBorderInsets, darkShadow, downKey, focus, focusListener, highlight, leftKey, lightHighlight, maxTabHeight, maxTabWidth, mouseListener, propertyChangeListener, rects, rightKey, runCount, selectedRun, selectedTabPadInsets, shadow, tabAreaInsets, tabChangeListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGap, upKey

 

Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST

 

Constructor Summary
FlatTabbedPaneUI()
           

 

Method Summary
protected  java.awt.LayoutManager createLayoutManager()
           
 java.awt.Rectangle getTabBounds(javax.swing.JTabbedPane pane, int index)
           
 int getTabRunCount(javax.swing.JTabbedPane pane)
           
protected  int getTabRunOffset(int tabPlacement, int tabCount, int tabIndex, boolean forward)
           
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installListeners()
           
 void installUI(javax.swing.JComponent c)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
           
 void setPaintTopRightBottomBorders(boolean paintBorders)
          Deprecated. with no replacement.
 int tabForCoordinate(javax.swing.JTabbedPane pane, int x, int y)
           
protected  void uninstallComponents()
           
protected  void uninstallListeners()
           
 void uninstallUI(javax.swing.JComponent c)
           

 

Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createMouseListener, createPropertyChangeListener, createScrollButton, createUI, expandTabRunsArray, getBaseline, getBaseline, getBaselineOffset, getBaselineResizeBehavior, getContentBorderInsets, getFocusIndex, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabBounds, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabRunIndent, getTabRunOverlay, getTextViewForTab, getVisibleComponent, installKeyboardActions, lastTabInRun, layoutLabel, navigateSelectedTab, paintContentBorder, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, paintFocusIndicator, paintIcon, paintTab, paintTabArea, paintTabBackground, paintTabBorder, paintText, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, uninstallDefaults, uninstallKeyboardActions

 

Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getPreferredSize, update

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

TABBEDPANE_TRANSPARENT

public static final java.lang.String TABBEDPANE_TRANSPARENT
BugFix # 9808301 A string to indicate that a tabbedPane with this client property set will decide if tabbedPane will be transparent. By defalt the tabbedPane is non-transparent but if client want tabbedPane to be transparent they should set this client property as true.
See Also:
Constant Field Values

Constructor Detail

FlatTabbedPaneUI

public FlatTabbedPaneUI()

Method Detail

installUI

public void installUI(javax.swing.JComponent c)
Overrides:
installUI in class javax.swing.plaf.basic.BasicTabbedPaneUI

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Overrides:
uninstallUI in class javax.swing.plaf.basic.BasicTabbedPaneUI

setPaintTopRightBottomBorders

public void setPaintTopRightBottomBorders(boolean paintBorders)
Deprecated. with no replacement.

installDefaults

protected void installDefaults()
Overrides:
installDefaults in class javax.swing.plaf.basic.BasicTabbedPaneUI

installComponents

protected void installComponents()
Overrides:
installComponents in class javax.swing.plaf.basic.BasicTabbedPaneUI

uninstallComponents

protected void uninstallComponents()
Overrides:
uninstallComponents in class javax.swing.plaf.basic.BasicTabbedPaneUI

tabForCoordinate

public int tabForCoordinate(javax.swing.JTabbedPane pane,
                            int x,
                            int y)
Overrides:
tabForCoordinate in class javax.swing.plaf.basic.BasicTabbedPaneUI

getTabBounds

public java.awt.Rectangle getTabBounds(javax.swing.JTabbedPane pane,
                                       int index)
Overrides:
getTabBounds in class javax.swing.plaf.basic.BasicTabbedPaneUI

getTabRunCount

public int getTabRunCount(javax.swing.JTabbedPane pane)
Overrides:
getTabRunCount in class javax.swing.plaf.basic.BasicTabbedPaneUI

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Overrides:
paint in class javax.swing.plaf.basic.BasicTabbedPaneUI

createLayoutManager

protected java.awt.LayoutManager createLayoutManager()
Overrides:
createLayoutManager in class javax.swing.plaf.basic.BasicTabbedPaneUI

installListeners

protected void installListeners()
Overrides:
installListeners in class javax.swing.plaf.basic.BasicTabbedPaneUI

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class javax.swing.plaf.basic.BasicTabbedPaneUI

getTabRunOffset

protected int getTabRunOffset(int tabPlacement,
                              int tabCount,
                              int tabIndex,
                              boolean forward)
Overrides:
getTabRunOffset in class javax.swing.plaf.basic.BasicTabbedPaneUI

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.