public class

BasicRadioButtonUI

extends BasicToggleButtonUI
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
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

RadioButtonUI implementation for BasicRadioButtonUI

Summary

Fields
protected Icon icon
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicButtonUI
Public Constructors
BasicRadioButtonUI()
Public Methods
static ComponentUI createUI(JComponent b)
Icon getDefaultIcon()
Dimension getPreferredSize(JComponent c)
The preferred size of the radio button
synchronized void paint(Graphics g, JComponent c)
paint the radio button
Protected Methods
String getPropertyPrefix()
void installDefaults(AbstractButton b)
void paintFocus(Graphics g, Rectangle textRect, Dimension size)
void uninstallDefaults(AbstractButton b)
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicToggleButtonUI
From class javax.swing.plaf.basic.BasicButtonUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Fields

protected Icon icon

Public Constructors

public BasicRadioButtonUI ()

Public Methods

public static ComponentUI createUI (JComponent b)

public Icon getDefaultIcon ()

public Dimension getPreferredSize (JComponent c)

The preferred size of the radio button

Parameters
c the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components

public synchronized void paint (Graphics g, JComponent c)

paint the radio button

Parameters
g the Graphics context in which to paint
c the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components

Protected Methods

protected String getPropertyPrefix ()

protected void installDefaults (AbstractButton b)

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

protected void uninstallDefaults (AbstractButton b)