|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JSeparator
メニュー項目を論理グループに分割する区切り線となるメニューセパレータの実装です。
警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。
内部クラスの概要 | |
protected class |
JSeparator.AccessibleJSeparator
オブジェクトのユーザ補助機能を取得するために使用するクラスです。 |
クラス javax.swing.JComponent から継承した内部クラス |
JComponent.AccessibleJComponent |
クラス javax.swing.JComponent から継承したフィールド |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
クラス java.awt.Component から継承したフィールド |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
コンストラクタの概要 | |
JSeparator()
水平セパレータを新しく作成します。 |
|
JSeparator(int orientation)
水平または垂直を指定してセパレータを新しく作成します。 |
メソッドの概要 | |
AccessibleContext |
getAccessibleContext()
JComponent に関連付けられている AccessibleContext を取得します。 |
int |
getOrientation()
このセパレータの方向を返します。 |
SeparatorUI |
getUI()
コンポーネントを描画する L&F オブジェクトを返します。 |
String |
getUIClassID()
コンポーネントを描画する L&F クラスの名前を返します。 |
boolean |
isFocusTraversable()
このコンポーネントがフォーカスを受け取れるかどうかを示します。 |
protected String |
paramString()
この JSeparator の文字列表現を返します。 |
void |
setOrientation(int orientation)
セパレータの方向を設定します。 |
void |
setUI(SeparatorUI ui)
コンポーネントを描画する L&F オブジェクトを設定します。 |
void |
updateUI()
L&F が変更されたことを示す UIFactory からの通知です。 |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
コンストラクタの詳細 |
public JSeparator()
public JSeparator(int orientation)
orientation
- SwingConstants.HORIZONTAL または SwingConstants.VERTICAL を指定する int 値メソッドの詳細 |
public SeparatorUI getUI()
public void setUI(SeparatorUI ui)
ui
- SeparatorUI L&F オブジェクトUIDefaults.getUI(javax.swing.JComponent)
public void updateUI()
JComponent.updateUI()
public String getUIClassID()
JComponent.getUIClassID()
,
UIDefaults.getUI(javax.swing.JComponent)
public int getOrientation()
SwingConstants
で定義されている定数 (VERTICAL
または HORIZONTAL
)SwingConstants
,
setOrientation(int)
public void setOrientation(int orientation)
SwingConstants
,
getOrientation()
protected String paramString()
null
にはなりません。
JFC コンポーネントの新しい側面についての情報を返すには、paramString() をオーバーライドします。
public boolean isFocusTraversable()
public AccessibleContext getAccessibleContext()
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |