javax.swing.plaf.basic
クラス BasicOptionPaneUI.ButtonAreaLayout
java.lang.Object
|
+--javax.swing.plaf.basic.BasicOptionPaneUI.ButtonAreaLayout
- public static class BasicOptionPaneUI.ButtonAreaLayout
- extends Object
- implements LayoutManager
FlowLayout と同様に動作し、すべてのコンポーネントを左から右の方向で配置します。syncAllWidths が true である場合、各コンポーネントの幅には適切な幅の最大値が設定されます。
この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。このクラスは、protected 内部クラスとして扱われます。このクラスのインスタンス生成は、BasicOptionPaneUI のサブクラス内だけで行なってください。
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
syncAllWidths
protected boolean syncAllWidths
padding
protected int padding
centersChildren
protected boolean centersChildren
- true であれば、子は親の中にまとめられます。
BasicOptionPaneUI.ButtonAreaLayout
public BasicOptionPaneUI.ButtonAreaLayout(boolean syncAllWidths,
int padding)
setSyncAllWidths
public void setSyncAllWidths(boolean newValue)
getSyncAllWidths
public boolean getSyncAllWidths()
setPadding
public void setPadding(int newPadding)
getPadding
public int getPadding()
setCentersChildren
public void setCentersChildren(boolean newValue)
getCentersChildren
public boolean getCentersChildren()
addLayoutComponent
public void addLayoutComponent(String string,
Component comp)
- 定義:
- インタフェース LayoutManager 内の addLayoutComponent
layoutContainer
public void layoutContainer(Container container)
- 定義:
- インタフェース LayoutManager 内の layoutContainer
minimumLayoutSize
public Dimension minimumLayoutSize(Container c)
- 定義:
- インタフェース LayoutManager 内の minimumLayoutSize
preferredLayoutSize
public Dimension preferredLayoutSize(Container c)
- 定義:
- インタフェース LayoutManager 内の preferredLayoutSize
removeLayoutComponent
public void removeLayoutComponent(Component c)
- 定義:
- インタフェース LayoutManager 内の removeLayoutComponent
バグや機能要求の報告
新しい 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.