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 Color
無効化されたテキストの色。protected Color
フォーカスされたラジオ・ボタンの色。protected Color
選択したラジオ・ボタンの色。クラスjavax.swing.plaf.basic.BasicRadioButtonUIで宣言されたフィールド
icon
クラスjavax.swing.plaf.basic.BasicButtonUIで宣言されたフィールド
defaultTextIconGap, defaultTextShiftOffset
-
コンストラクタのサマリー
-
メソッドのサマリー
修飾子と型メソッド説明static ComponentUI
MetalRadioButtonUI
のインスタンスを返します。protected Color
無効化されたテキストの色を返します。protected Color
フォーカスされたJRadioButton
の色を返します。protected Color
選択したJRadioButton
の色を返します。void
デフォルトのプロパティをインストールします。クラス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, 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()MetalRadioButtonUI
を構築します。
-
-
メソッドの詳細
-
createUI
public static ComponentUI createUI(JComponent c) MetalRadioButtonUI
のインスタンスを返します。- パラメータ:
c
- コンポーネント- 戻り値:
MetalRadioButtonUI
のインスタンス
-
installDefaults
public void installDefaults(AbstractButton b) クラスからコピーされた説明:BasicButtonUI
デフォルトのプロパティをインストールします。- オーバーライド:
installDefaults
、クラスBasicButtonUI
- パラメータ:
b
- 抽象的なボタン
-
getSelectColor
-
getDisabledTextColor
-
getFocusColor
-