Java プラットフォーム 1.2

javax.swing.plaf.basic
クラス BasicTabbedPaneUI.TabbedPaneLayout

java.lang.Object
  |
  +--javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
直接の既知のサブクラス:
MetalTabbedPaneUI.TabbedPaneLayout

public class BasicTabbedPaneUI.TabbedPaneLayout
extends Object
implements LayoutManager

この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。このクラスは、protected 内部クラスとして扱われます。このクラスのインスタンス生成は、BasicTabbedPaneUI のサブクラス内だけで行なってください。


コンストラクタの概要
BasicTabbedPaneUI.TabbedPaneLayout()
           
 
メソッドの概要
 void addLayoutComponent(String name, Component comp)
           
 void calculateLayoutInfo()
           
protected  Dimension calculateSize(boolean minimum)
           
protected  void calculateTabRects(int tabPlacement, int tabCount)
           
 void layoutContainer(Container parent)
           
 Dimension minimumLayoutSize(Container parent)
           
protected  void normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
           
protected  void padSelectedTab(int tabPlacement, int selectedIndex)
           
protected  void padTabRun(int tabPlacement, int start, int end, int max)
           
 Dimension preferredLayoutSize(Container parent)
           
protected  int preferredTabAreaHeight(int tabPlacement, int width)
           
protected  int preferredTabAreaWidth(int tabPlacement, int height)
           
 void removeLayoutComponent(Component comp)
           
protected  void rotateTabRuns(int tabPlacement, int selectedRun)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicTabbedPaneUI.TabbedPaneLayout

public BasicTabbedPaneUI.TabbedPaneLayout()
メソッドの詳細

addLayoutComponent

public void addLayoutComponent(String name,
                               Component comp)
定義:
インタフェース LayoutManager 内の addLayoutComponent

removeLayoutComponent

public void removeLayoutComponent(Component comp)
定義:
インタフェース LayoutManager 内の removeLayoutComponent

preferredLayoutSize

public Dimension preferredLayoutSize(Container parent)
定義:
インタフェース LayoutManager 内の preferredLayoutSize

minimumLayoutSize

public Dimension minimumLayoutSize(Container parent)
定義:
インタフェース LayoutManager 内の minimumLayoutSize

calculateSize

protected Dimension calculateSize(boolean minimum)

preferredTabAreaHeight

protected int preferredTabAreaHeight(int tabPlacement,
                                     int width)

preferredTabAreaWidth

protected int preferredTabAreaWidth(int tabPlacement,
                                    int height)

layoutContainer

public void layoutContainer(Container parent)
定義:
インタフェース LayoutManager 内の layoutContainer

calculateLayoutInfo

public void calculateLayoutInfo()

calculateTabRects

protected void calculateTabRects(int tabPlacement,
                                 int tabCount)

rotateTabRuns

protected void rotateTabRuns(int tabPlacement,
                             int selectedRun)

normalizeTabRuns

protected void normalizeTabRuns(int tabPlacement,
                                int tabCount,
                                int start,
                                int max)

padTabRun

protected void padTabRun(int tabPlacement,
                         int start,
                         int end,
                         int max)

padSelectedTab

protected void padSelectedTab(int tabPlacement,
                              int selectedIndex)

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.