|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager
public class BasicSplitPaneUI.BasicHorizontalLayoutManager
HORIZONTAL_SPLIT 方向の JSplitPane の LayoutManager です。
| フィールドの概要 | |
|---|---|
protected Component[] |
components
|
protected int[] |
sizes
|
| メソッドの概要 | |
|---|---|
void |
addLayoutComponent(Component comp,
Object constraints)
指定された制約オブジェクトを使って、指定されたコンポーネントをレイアウトに追加します。 |
void |
addLayoutComponent(String place,
Component component)
コンポーネントを place に追加します。 |
protected int |
getAvailableSize(Dimension containerSize,
Insets insets)
コンテナのサイズとインセットに基づいて有効な幅を返します。 |
protected int |
getInitialLocation(Insets insets)
Insets が null でない場合は左インセット、null の場合は 0 を返します。 |
float |
getLayoutAlignmentX(Container target)
x 軸方向の配置を返します。 |
float |
getLayoutAlignmentY(Container target)
y 軸方向の配置を返します。 |
protected int |
getPreferredSizeOfComponent(Component c)
渡されたコンポーネントの適切なサイズの幅を返します。 |
protected int |
getSizeOfComponent(Component c)
渡されたコンポーネントの幅を返します。 |
protected int[] |
getSizes()
コンポーネントのサイズを返します。 |
void |
invalidateLayout(Container c)
何も行いません。 |
void |
layoutContainer(Container container)
実際のレイアウトを行います。 |
Dimension |
maximumLayoutSize(Container target)
最大のレイアウトサイズを返します。 |
Dimension |
minimumLayoutSize(Container container)
子を格納するために必要な最小サイズを返します。 |
Dimension |
preferredLayoutSize(Container container)
子を格納するための適切なサイズを返します。 |
void |
removeLayoutComponent(Component component)
指定されたコンポーネントを削除します。 |
protected void |
resetSizeAt(int index)
渡された位置にある Component のサイズをリセットします。 |
void |
resetToPreferredSizes()
次回このインスタンスが配置されるときに適切なサイズを設定するように、レシーバにマークします。 |
protected void |
setComponentToSize(Component c,
int size,
int location,
Insets insets,
Dimension containerSize)
x 位置を location、y 位置を insets.top に配置することにより、コンポーネント c の幅を size に設定し、その高さを containersize.height から上インセットと下インセットを減算した値に設定します。 |
protected void |
setSizes(int[] newSizes)
サイズを newSizes に設定します。 |
protected void |
updateComponents()
コンポーネントを判定します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected int[] sizes
protected Component[] components
| メソッドの詳細 |
|---|
public void layoutContainer(Container container)
LayoutManager 内の layoutContainercontainer - 配置されるコンテナ
public void addLayoutComponent(String place,
Component component)
LayoutManager 内の addLayoutComponentplace - コンポーネントに関連付けられた文字列component - 追加されるコンポーネントpublic Dimension minimumLayoutSize(Container container)
LayoutManager 内の minimumLayoutSizecontainer - 配置されるコンポーネントLayoutManager.preferredLayoutSize(java.awt.Container)public Dimension preferredLayoutSize(Container container)
LayoutManager 内の preferredLayoutSizecontainer - 配置されるコンテナLayoutManager.minimumLayoutSize(java.awt.Container)public void removeLayoutComponent(Component component)
LayoutManager 内の removeLayoutComponentcomponent - 削除されるコンポーネント
public void addLayoutComponent(Component comp,
Object constraints)
LayoutManager2 内の addLayoutComponentcomp - 追加されるコンポーネントconstraints - レイアウトにコンポーネントを追加する場所/方法public float getLayoutAlignmentX(Container target)
LayoutManager2 内の getLayoutAlignmentXpublic float getLayoutAlignmentY(Container target)
LayoutManager2 内の getLayoutAlignmentYpublic void invalidateLayout(Container c)
LayoutManager2 内の invalidateLayoutpublic Dimension maximumLayoutSize(Container target)
LayoutManager2 内の maximumLayoutSizeComponent.getMaximumSize(),
LayoutManagerpublic void resetToPreferredSizes()
protected void resetSizeAt(int index)
protected void setSizes(int[] newSizes)
newSizes に設定します。
protected int[] getSizes()
protected int getPreferredSizeOfComponent(Component c)
protected int getSizeOfComponent(Component c)
protected int getAvailableSize(Dimension containerSize,
Insets insets)
protected int getInitialLocation(Insets insets)
protected void setComponentToSize(Component c,
int size,
int location,
Insets insets,
Dimension containerSize)
protected void updateComponents()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。