public class MetalRadioButtonUI extends BasicRadioButtonUI
警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4以降、すべてのJavaBeans™用の長期間の格納サポートがjava.beans
パッケージに追加されています。 XMLEncoder
を参照してください。
修飾子と型 | フィールド | 説明 |
---|---|---|
protected Color |
disabledTextColor |
|
protected Color |
focusColor |
|
protected Color |
selectColor |
icon
defaultTextIconGap, defaultTextShiftOffset
コンストラクタ | 説明 |
---|---|
MetalRadioButtonUI() |
修飾子と型 | メソッド | 説明 |
---|---|---|
static ComponentUI |
createUI(JComponent c) |
|
protected Color |
getDisabledTextColor() |
|
protected Color |
getFocusColor() |
|
protected Color |
getSelectColor() |
|
void |
installDefaults(AbstractButton b) |
|
void |
paint(Graphics g, JComponent c) |
ラジオ・ボタンをペイントします。
|
protected void |
paintFocus(Graphics g, Rectangle t, Dimension d) |
フォーカスされたラジオ・ボタンをペイントします。
|
protected void |
uninstallDefaults(AbstractButton b) |
getDefaultIcon, getPreferredSize, getPropertyPrefix
getTextShiftOffset, paintIcon
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
protected Color focusColor
protected Color selectColor
protected Color disabledTextColor
public static ComponentUI createUI(JComponent c)
public void installDefaults(AbstractButton b)
installDefaults
、クラスBasicRadioButtonUI
protected void uninstallDefaults(AbstractButton b)
uninstallDefaults
、クラスBasicRadioButtonUI
protected Color getSelectColor()
protected Color getDisabledTextColor()
protected Color getFocusColor()
public void paint(Graphics g, JComponent c)
BasicRadioButtonUI
paint
、クラスBasicRadioButtonUI
g
- ペイント対象のGraphics
コンテキストc
- ペイントされるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
protected void paintFocus(Graphics g, Rectangle t, Dimension d)
BasicRadioButtonUI
paintFocus
、クラスBasicRadioButtonUI
g
- Graphics
のインスタンスt
- バインドd
- ラジオ・ボタンのサイズ バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。