Java プラットフォーム 1.2

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 から継承したメソッド
paintButtonPressed, paintFocus, paintIcon, paintText
 
クラス javax.swing.plaf.basic.BasicButtonUI から継承したメソッド
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, 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

paintFocus

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

getPreferredSize

public Dimension getPreferredSize(JComponent c)
ラジオボタンの適切なサイズです。
オーバーライド:
クラス BasicButtonUI 内の getPreferredSize

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.