javax.swing.plaf.basic
Class BasicRadioButtonUIjava.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
- Direct Known Subclasses:
- BasicCheckBoxUI, MetalRadioButtonUI
- public class BasicRadioButtonUI
- extends BasicToggleButtonUI
RadioButtonUI implementation for BasicRadioButtonUI
Field Summary
protected Icon icon
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI defaultTextIconGap, defaultTextShiftOffset
Constructor Summary
BasicRadioButtonUI()
Method Summary
static ComponentUI createUI(JComponent b)
Returns an instance of the UI delegate for the specified component.Icon getDefaultIcon()
Dimension getPreferredSize(JComponent c)
The preferred size of the radio buttonprotected String getPropertyPrefix()
protected void installDefaults(AbstractButton b)
void paint(Graphics g, JComponent c)
paint the radio buttonprotected void paintFocus(Graphics g, Rectangle textRect, Dimension size)
protected void uninstallDefaults(AbstractButton b)
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI getTextShiftOffset, paintIcon