javax.swing.plaf.basic
Class BasicTabbedPaneUI.TabbedPaneScrollLayout

java.lang.Object
  extended byjavax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
      extended byjavax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneScrollLayout
All Implemented Interfaces:
LayoutManager
Enclosing class:
BasicTabbedPaneUI

private class BasicTabbedPaneUI.TabbedPaneScrollLayout
extends BasicTabbedPaneUI.TabbedPaneLayout


Constructor Summary
private BasicTabbedPaneUI.TabbedPaneScrollLayout()
           
 
Method Summary
protected  void calculateTabRects(int tabPlacement, int tabCount)
           
 void layoutContainer(Container parent)
          Lays out the specified container.
protected  int preferredTabAreaHeight(int tabPlacement, int width)
           
protected  int preferredTabAreaWidth(int tabPlacement, int height)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
addLayoutComponent, calculateLayoutInfo, calculateSize, minimumLayoutSize, normalizeTabRuns, padSelectedTab, padTabRun, preferredLayoutSize, removeLayoutComponent, rotateTabRuns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTabbedPaneUI.TabbedPaneScrollLayout

private BasicTabbedPaneUI.TabbedPaneScrollLayout()
Method Detail

preferredTabAreaHeight

protected int preferredTabAreaHeight(int tabPlacement,
                                     int width)
Overrides:
preferredTabAreaHeight in class BasicTabbedPaneUI.TabbedPaneLayout

preferredTabAreaWidth

protected int preferredTabAreaWidth(int tabPlacement,
                                    int height)
Overrides:
preferredTabAreaWidth in class BasicTabbedPaneUI.TabbedPaneLayout

layoutContainer

public void layoutContainer(Container parent)
Description copied from interface: LayoutManager
Lays out the specified container.

Specified by:
layoutContainer in interface LayoutManager
Overrides:
layoutContainer in class BasicTabbedPaneUI.TabbedPaneLayout

calculateTabRects

protected void calculateTabRects(int tabPlacement,
                                 int tabCount)
Overrides:
calculateTabRects in class BasicTabbedPaneUI.TabbedPaneLayout