java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
javax.swing.plaf.basic.BasicRadioButtonUI
javax.swing.plaf.metal.MetalRadioButtonUI
- 直系の既知のサブクラス:
MetalCheckBoxUI
public class MetalRadioButtonUI extends BasicRadioButtonUI
MetalRadioButtonUIのRadioButtonUI実装です。
警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4以降、すべてのJavaBeans™用の長期間の格納サポートがjava.beansパッケージに追加されています。 XMLEncoderを参照してください。
-
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected ColordisabledTextColor無効にされたテキストの色。protected ColorfocusColorフォーカスされたラジオ・ボタンの色です。protected ColorselectColor選択したラジオ・ボタンの色です。 -
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 MetalRadioButtonUI() -
メソッドのサマリー
修飾子と型 メソッド 説明 static ComponentUIcreateUI(JComponent c)MetalRadioButtonUIのインスタンスを返します。protected ColorgetDisabledTextColor()無効にされたテキストの色を返します。protected ColorgetFocusColor()フォーカスされたJRadioButtonの色を返します。protected ColorgetSelectColor()選択したJRadioButtonの色を返します。クラス javax.swing.plaf.basic.BasicRadioButtonUIで宣言されたメソッド
getDefaultIcon, getPreferredSize, paint, paintFocusクラス javax.swing.plaf.basic.BasicButtonUIで宣言されたメソッド
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, installDefaults, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListenersクラス javax.swing.plaf.ComponentUIで宣言されたメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, installUI, uninstallUI, update
-
フィールド詳細
-
focusColor
protected Color focusColorフォーカスされたラジオ・ボタンの色です。 -
selectColor
protected Color selectColor選択したラジオ・ボタンの色です。 -
disabledTextColor
protected Color disabledTextColor無効にされたテキストの色。
-
-
コンストラクタの詳細
-
MetalRadioButtonUI
public MetalRadioButtonUI()
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent c)MetalRadioButtonUIのインスタンスを返します。- パラメータ:
c- コンポーネント- 戻り値:
MetalRadioButtonUIのインスタンス
-
getSelectColor
protected Color getSelectColor()選択したJRadioButtonの色を返します。- 戻り値:
- 選択された
JRadioButtonの色
-
getDisabledTextColor
protected Color getDisabledTextColor()無効にされたテキストの色を返します。- 戻り値:
- 無効にされたテキストの色
-
getFocusColor
protected Color getFocusColor()フォーカスされたJRadioButtonの色を返します。- 戻り値:
- フォーカスされた
JRadioButtonの色
-