所有类
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 实现
从类 javax.swing.plaf.basic.BasicButtonUI 继承的方法 |
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
从类 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)
-