public class BasicRadioButtonUI extends BasicToggleButtonUI
修飾子と型 | フィールドと説明 |
---|---|
protected Icon |
icon
アイコン。
|
defaultTextIconGap, defaultTextShiftOffset
コンストラクタと説明 |
---|
BasicRadioButtonUI() |
修飾子と型 | メソッドと説明 |
---|---|
static ComponentUI |
createUI(JComponent b)
BasicRadioButtonUI のインスタンスを返します。 |
Icon |
getDefaultIcon()
デフォルトのアイコンを返します。
|
Dimension |
getPreferredSize(JComponent c)
ラジオ・ボタンの推奨サイズです。
|
protected String |
getPropertyPrefix() |
protected void |
installDefaults(AbstractButton b) |
protected void |
installListeners(AbstractButton button) |
void |
paint(Graphics g, JComponent c)
ラジオ・ボタンをペイントします。
|
protected void |
paintFocus(Graphics g, Rectangle textRect, Dimension size)
フォーカスされたラジオ・ボタンをペイントします。
|
protected void |
uninstallDefaults(AbstractButton b) |
protected void |
uninstallListeners(AbstractButton button) |
getTextShiftOffset, paintIcon
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
protected Icon icon
public static ComponentUI createUI(JComponent b)
BasicRadioButtonUI
のインスタンスを返します。b
- コンポーネントBasicRadioButtonUI
のインスタンスprotected String getPropertyPrefix()
getPropertyPrefix
、クラス: BasicToggleButtonUI
protected void installDefaults(AbstractButton b)
installDefaults
、クラス: BasicButtonUI
protected void uninstallDefaults(AbstractButton b)
uninstallDefaults
、クラス: BasicButtonUI
public Icon getDefaultIcon()
protected void installListeners(AbstractButton button)
installListeners
、クラス: BasicButtonUI
protected void uninstallListeners(AbstractButton button)
uninstallListeners
、クラス: BasicButtonUI
public void paint(Graphics g, JComponent c)
paint
、クラス: BasicToggleButtonUI
g
- ペイント対象のGraphics
コンテキストc
- ペイントされるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
protected void paintFocus(Graphics g, Rectangle textRect, Dimension size)
g
- Graphics
のインスタンスtextRect
- バインドsize
- ラジオ・ボタンのサイズpublic Dimension getPreferredSize(JComponent c)
getPreferredSize
、クラス: BasicButtonUI
c
- 推奨サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるJComponent.getPreferredSize()
, LayoutManager.preferredLayoutSize(java.awt.Container)
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。