JavaTM Platform
Standard Ed. 6

javax.swing.plaf.basic
クラス BasicRadioButtonUI

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
直系の既知のサブクラス:
BasicCheckBoxUI, MetalRadioButtonUI

public class BasicRadioButtonUI
extends BasicToggleButtonUI

BasicRadioButtonUI のための RadioButtonUI の実装です。


フィールドの概要
protected  Icon icon
           
 
クラス javax.swing.plaf.basic.BasicButtonUI から継承されたフィールド
defaultTextIconGap, defaultTextShiftOffset
 
コンストラクタの概要
BasicRadioButtonUI()
           
 
メソッドの概要
static ComponentUI createUI(JComponent b)
           
 Icon getDefaultIcon()
           
 Dimension getPreferredSize(JComponent c)
          ラジオボタンの適切なサイズです。
protected  String getPropertyPrefix()
           
protected  void installDefaults(AbstractButton b)
           
 void paint(Graphics g, JComponent c)
          ラジオボタンをペイントします。
protected  void paintFocus(Graphics g, Rectangle textRect, Dimension size)
           
protected  void uninstallDefaults(AbstractButton b)
           
 
クラス javax.swing.plaf.basic.BasicToggleButtonUI から継承されたメソッド
getTextShiftOffset, paintIcon
 
クラス javax.swing.plaf.basic.BasicButtonUI から継承されたメソッド
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
クラス javax.swing.plaf.ComponentUI から継承されたメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

icon

protected Icon icon
コンストラクタの詳細

BasicRadioButtonUI

public BasicRadioButtonUI()
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent b)

getPropertyPrefix

protected String getPropertyPrefix()
オーバーライド:
クラス BasicToggleButtonUI 内の getPropertyPrefix

installDefaults

protected void installDefaults(AbstractButton b)
オーバーライド:
クラス BasicButtonUI 内の installDefaults

uninstallDefaults

protected void uninstallDefaults(AbstractButton b)
オーバーライド:
クラス BasicButtonUI 内の uninstallDefaults

getDefaultIcon

public Icon getDefaultIcon()

paint

public void paint(Graphics g,
                  JComponent c)
ラジオボタンをペイントします。

オーバーライド:
クラス BasicToggleButtonUI 内の paint
パラメータ:
g - ペイント対象の Graphics コンテキスト
c - ペイントされるコンポーネント。 この引数は通常無視されるが、 UI オブジェクトに状態がなく、複数のコンポーネントに共有されている場合は 使用されることがある
関連項目:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

paintFocus

protected void paintFocus(Graphics g,
                          Rectangle textRect,
                          Dimension size)

getPreferredSize

public Dimension getPreferredSize(JComponent c)
ラジオボタンの適切なサイズです。

オーバーライド:
クラス BasicButtonUI 内の getPreferredSize
パラメータ:
c - 適切なサイズを照会されるコンポーネント。 この引数は通常無視されるが、 UI オブジェクトに状態がなく、複数のコンポーネントに共有されている場合は 使用されることがある
関連項目:
JComponent.getPreferredSize(), LayoutManager.preferredLayoutSize(java.awt.Container)

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。