|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager
HORIZONTAL_SPLIT 方向の JSplitPane の LayoutManager です。
この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。このクラスは、protected 内部クラスとして扱われます。このクラスのインスタンス生成は、BasicSplitPaneUI のサブクラス内だけで行なってください。
フィールドの概要 | |
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 でない限り、左インセットを返します。 |
float |
getLayoutAlignmentX(Container target)
x 軸に沿った配置方法を返します。 |
float |
getLayoutAlignmentY(Container target)
y 軸に沿った配置方法を返します。 |
protected int |
getPreferredSizeOfComponent(Component c)
渡された Component の適切なサイズの幅を返します。 |
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
メソッドの詳細 |
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)
public void layoutContainer(Container container)
public void addLayoutComponent(String place, Component component)
public Dimension minimumLayoutSize(Container container)
public Dimension preferredLayoutSize(Container container)
public void removeLayoutComponent(Component component)
public void addLayoutComponent(Component comp, Object constraints)
comp
- 追加されるコンポーネントconstraints
- レイアウトにコンポーネントが追加される位置または方法public float getLayoutAlignmentX(Container target)
public float getLayoutAlignmentY(Container target)
public void invalidateLayout(Container c)
public Dimension maximumLayoutSize(Container target)
public void resetToPreferredSizes()
protected void updateComponents()
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |