javax.swing.plaf.basic
Class BasicTabbedPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.TabbedPaneUI
              |
              +--javax.swing.plaf.basic.BasicTabbedPaneUI
All Implemented Interfaces:
SwingConstants
Direct Known Subclasses:
MetalTabbedPaneUI

public class BasicTabbedPaneUI
extends TabbedPaneUI
implements SwingConstants

A Basic L&F implementation of TabbedPaneUI.


Inner Class Summary
 class BasicTabbedPaneUI.FocusHandler
BasicTabbedPaneUI.FocusHandler
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTabbedPaneUI.
 class BasicTabbedPaneUI.MouseHandler
BasicTabbedPaneUI.MouseHandler
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTabbedPaneUI.
 class BasicTabbedPaneUI.PropertyChangeHandler
BasicTabbedPaneUI.PropertyChangeHandler
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTabbedPaneUI.
 class BasicTabbedPaneUI.TabbedPaneLayout
BasicTabbedPaneUI.TabbedPaneLayout
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTabbedPaneUI.
 class BasicTabbedPaneUI.TabSelectionHandler
BasicTabbedPaneUI.TabSelectionHandler
This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicTabbedPaneUI.
 
Field Summary
protected  Insets contentBorderInsets
copy->  contentBorderInsets
protected  Color darkShadow
copy->  darkShadow
protected  KeyStroke downKey
copy->  downKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
protected  Color focus
copy->  focus
protected  FocusListener focusListener
copy->  focusListener
protected  Color highlight
copy->  highlight
protected  KeyStroke leftKey
copy->  leftKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
protected  Color lightHighlight
copy->  lightHighlight
protected  int maxTabHeight
copy->  maxTabHeight
protected  int maxTabWidth
copy->  maxTabWidth
protected  MouseListener mouseListener
copy->  mouseListener
protected  PropertyChangeListener propertyChangeListener
copy->  propertyChangeListener
protected  Rectangle[] rects
copy->  rects
protected  KeyStroke rightKey
copy->  rightKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
protected  int runCount
copy->  runCount
protected  int selectedRun
copy->  selectedRun
protected  Insets selectedTabPadInsets
copy->  selectedTabPadInsets
protected  Color shadow
copy->  shadow
protected  Insets tabAreaInsets
copy->  tabAreaInsets
protected  ChangeListener tabChangeListener
copy->  tabChangeListener
protected  Insets tabInsets
copy->  tabInsets
protected  JTabbedPane tabPane
copy->  tabPane
protected  int tabRunOverlay
copy->  tabRunOverlay
protected  int[] tabRuns
copy->  tabRuns
protected  int textIconGap
copy->  textIconGap
protected  KeyStroke upKey
copy->  upKey
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NORTH, NORTH_EAST, NORTH_WEST, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
BasicTabbedPaneUI
copy->  new BasicTabbedPaneUI()
copy->  <BasicTabbedPaneUI var> = new BasicTabbedPaneUI();
 
Method Summary
protected  void assureRectsCreated(int tabCount)
copy->  .assureRectsCreated( )
copy->  <BasicTabbedPaneUI>.assureRectsCreated(<int tabCount>);
protected  int calculateMaxTabHeight(int tabPlacement)
copy->  .calculateMaxTabHeight( )
copy->  <int var>=<BasicTabbedPaneUI>.calculateMaxTabHeight(<int tabPlacement>);
protected  int calculateMaxTabWidth(int tabPlacement)
copy->  .calculateMaxTabWidth( )
copy->  <int var>=<BasicTabbedPaneUI>.calculateMaxTabWidth(<int tabPlacement>);
protected  int calculateTabAreaHeight(int tabPlacement, int horizRunCount, int maxTabHeight)
copy->  .calculateTabAreaHeight(, , )
copy->  <int var>=<BasicTabbedPaneUI>.calculateTabAreaHeight(<int tabPlacement>, <int horizRunCount>, <int maxTabHeight>);
protected  int calculateTabAreaWidth(int tabPlacement, int vertRunCount, int maxTabWidth)
copy->  .calculateTabAreaWidth(, , )
copy->  <int var>=<BasicTabbedPaneUI>.calculateTabAreaWidth(<int tabPlacement>, <int vertRunCount>, <int maxTabWidth>);
protected  int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight)
copy->  .calculateTabHeight(, , )
copy->  <int var>=<BasicTabbedPaneUI>.calculateTabHeight(<int tabPlacement>, <int tabIndex>, <int fontHeight>);
protected  int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics)
copy->  .calculateTabWidth(, , )
copy->  <int var>=<BasicTabbedPaneUI>.calculateTabWidth(<int tabPlacement>, <int tabIndex>, <FontMetrics metrics>);
protected  ChangeListener createChangeListener()
copy->  .createChangeListener()
copy->  <ChangeListener var>=<BasicTabbedPaneUI>.createChangeListener();
protected  FocusListener createFocusListener()
copy->  .createFocusListener()
copy->  <FocusListener var>=<BasicTabbedPaneUI>.createFocusListener();
protected  LayoutManager createLayoutManager()
copy->  .createLayoutManager()
copy->  <LayoutManager var>=<BasicTabbedPaneUI>.createLayoutManager();
protected  MouseListener createMouseListener()
copy->  .createMouseListener()
copy->  <MouseListener var>=<BasicTabbedPaneUI>.createMouseListener();
protected  PropertyChangeListener createPropertyChangeListener()
copy->  .createPropertyChangeListener()
copy->  <PropertyChangeListener var>=<BasicTabbedPaneUI>.createPropertyChangeListener();
static ComponentUI createUI(JComponent c)
copy->  BasicTabbedPaneUI.createUI( )
copy->  <ComponentUI var>=BasicTabbedPaneUI.createUI(<JComponent c>);
protected  void expandTabRunsArray()
copy->  .expandTabRunsArray()
copy->  <BasicTabbedPaneUI>.expandTabRunsArray();
protected  Insets getContentBorderInsets(int tabPlacement)
copy->  .getContentBorderInsets( )
copy->  <Insets var>=<BasicTabbedPaneUI>.getContentBorderInsets(<int tabPlacement>);
protected  FontMetrics getFontMetrics()
copy->  .getFontMetrics()
copy->  <FontMetrics var>=<BasicTabbedPaneUI>.getFontMetrics();
protected  Icon getIconForTab(int tabIndex)
copy->  .getIconForTab( )
copy->  <Icon var>=<BasicTabbedPaneUI>.getIconForTab(<int tabIndex>);
 Dimension getMaximumSize(JComponent c)
copy->  .getMaximumSize( )
copy->  <Dimension var>=<BasicTabbedPaneUI>.getMaximumSize(<JComponent c>);
Overrides:
getMaximumSize in class ComponentUI
 Dimension getMinimumSize(JComponent c)
copy->  .getMinimumSize( )
copy->  <Dimension var>=<BasicTabbedPaneUI>.getMinimumSize(<JComponent c>);
Overrides:
getMinimumSize in class ComponentUI
protected  int getNextTabIndex(int base)
copy->  .getNextTabIndex( )
copy->  <int var>=<BasicTabbedPaneUI>.getNextTabIndex(<int base>);
 Dimension getPreferredSize(JComponent c)
copy->  .getPreferredSize( )
copy->  <Dimension var>=<BasicTabbedPaneUI>.getPreferredSize(<JComponent c>);
Overrides:
getPreferredSize in class ComponentUI
protected  int getPreviousTabIndex(int base)
copy->  .getPreviousTabIndex( )
copy->  <int var>=<BasicTabbedPaneUI>.getPreviousTabIndex(<int base>);
protected  int getRunForTab(int tabCount, int tabIndex)
copy->  .getRunForTab(, )
copy->  <int var>=<BasicTabbedPaneUI>.getRunForTab(<int tabCount>, <int tabIndex>);
protected  Insets getSelectedTabPadInsets(int tabPlacement)
copy->  .getSelectedTabPadInsets( )
copy->  <Insets var>=<BasicTabbedPaneUI>.getSelectedTabPadInsets(<int tabPlacement>);
protected  Insets getTabAreaInsets(int tabPlacement)
copy->  .getTabAreaInsets( )
copy->  <Insets var>=<BasicTabbedPaneUI>.getTabAreaInsets(<int tabPlacement>);
 Rectangle getTabBounds(JTabbedPane pane, int i)
copy->  .getTabBounds(, )
copy->  <Rectangle var>=<BasicTabbedPaneUI>.getTabBounds(<JTabbedPane pane>, <int i>);
Overrides:
getTabBounds in class TabbedPaneUI
protected  Insets getTabInsets(int tabPlacement, int tabIndex)
copy->  .getTabInsets(, )
copy->  <Insets var>=<BasicTabbedPaneUI>.getTabInsets(<int tabPlacement>, <int tabIndex>);
protected  int getTabLabelShiftX(int tabPlacement, int tabIndex, boolean isSelected)
copy->  .getTabLabelShiftX(, , )
copy->  <int var>=<BasicTabbedPaneUI>.getTabLabelShiftX(<int tabPlacement>, <int tabIndex>, <boolean isSelected>);
protected  int getTabLabelShiftY(int tabPlacement, int tabIndex, boolean isSelected)
copy->  .getTabLabelShiftY(, , )
copy->  <int var>=<BasicTabbedPaneUI>.getTabLabelShiftY(<int tabPlacement>, <int tabIndex>, <boolean isSelected>);
 int getTabRunCount(JTabbedPane pane)
copy->  .getTabRunCount( )
copy->  <int var>=<BasicTabbedPaneUI>.getTabRunCount(<JTabbedPane pane>);
Overrides:
getTabRunCount in class TabbedPaneUI
protected  int getTabRunIndent(int tabPlacement, int run)
copy->  .getTabRunIndent(, )
copy->  <int var>=<BasicTabbedPaneUI>.getTabRunIndent(<int tabPlacement>, <int run>);
protected  int getTabRunOffset(int tabPlacement, int tabCount,