クラスMetalRadioButtonUI
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選択したラジオ・ボタンの色。クラスで宣言されたフィールド BasicRadioButtonUI
iconクラスで宣言されたフィールド BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset -
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
修飾子と型メソッド説明static ComponentUIMetalRadioButtonUIのインスタンスを返します。protected Color無効化されたテキストの色を返します。protected ColorフォーカスされたJRadioButtonの色を返します。protected Color選択したJRadioButtonの色を返します。voidデフォルトのプロパティをインストールします。クラスで宣言されたメソッド BasicRadioButtonUI
getDefaultIcon, getPreferredSize, paint, paintFocusクラスで宣言されたメソッド BasicToggleButtonUI
getTextShiftOffset, paintIconクラスで宣言されたメソッド BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
-
フィールド詳細
-
コンストラクタの詳細
-
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
-