クラスMetalTabbedPaneUI.TabbedPaneLayout
java.lang.Object
javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
javax.swing.plaf.metal.MetalTabbedPaneUI.TabbedPaneLayout
- すべての実装されたインタフェース:
LayoutManager
- 含まれているクラス:
MetalTabbedPaneUI
public class MetalTabbedPaneUI.TabbedPaneLayout extends BasicTabbedPaneUI.TabbedPaneLayout
このクラスは、「protected」内部クラスとして扱うようにしてください。
MetalTabbedPaneUIのサブクラス内でのみインスタンス化してください。 -
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
クラスで宣言されたメソッド BasicTabbedPaneUI.TabbedPaneLayout
addLayoutComponent, calculateLayoutInfo, calculateSize, calculateTabRects, layoutContainer, minimumLayoutSize, normalizeTabRuns, padSelectedTab, padTabRun, preferredLayoutSize, preferredTabAreaHeight, preferredTabAreaWidth, removeLayoutComponent, rotateTabRuns修飾子と型メソッド説明voidaddLayoutComponent(String name, Component comp) レイアウト・マネージャがコンポーネントごとの文字列を使用する場合は、レイアウトにコンポーネントcompを追加し、それをnameによって指定された文字列に関連付けます。voidレイアウト情報を計算します。protected DimensioncalculateSize(boolean minimum) 計算されたサイズを返します。protected voidcalculateTabRects(int tabPlacement, int tabCount) タブ矩形を計算します。voidlayoutContainer(Container parent) 指定されたコンテナを配置します。minimumLayoutSize(Container parent) 指定されたコンテナに含まれているコンポーネントを基に、コンテナの最小サイズを計算します。protected voidnormalizeTabRuns(int tabPlacement, int tabCount, int start, int max) タブの実行を正規化します。protected voidpadSelectedTab(int tabPlacement, int selectedIndex) 選択したタブをパッドします。protected voidpadTabRun(int tabPlacement, int start, int end, int max) タブ実行をパッドします。preferredLayoutSize(Container parent) 指定されたコンテナに含まれているコンポーネントを基に、コンテナの推奨サイズを計算します。protected intpreferredTabAreaHeight(int tabPlacement, int width) 優先タブ領域の高さを返します。protected intpreferredTabAreaWidth(int tabPlacement, int height) 優先タブ領域の幅を返します。void指定されたコンポーネントをレイアウトから削除します。protected voidrotateTabRuns(int tabPlacement, int selectedRun) 選択した実行が[0]を実行するように実行インデックス配列を回転します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。toString()オブジェクトの文字列表現を返します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
コンストラクタの詳細
-
TabbedPaneLayout
public TabbedPaneLayout()TabbedPaneLayoutを構築します。
-