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選択したラジオ・ボタンの色です。クラス javax.swing.plaf.basic.BasicRadioButtonUIで宣言されたフィールド
iconクラス javax.swing.plaf.basic.BasicButtonUIで宣言されたフィールド
defaultTextIconGap, defaultTextShiftOffset -
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 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.BasicToggleButtonUIで宣言されたメソッド
getTextShiftOffset, paintIconクラス 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
-
フィールド詳細
-
コンストラクタの詳細
-
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の色
-