javax.swing.plaf.basic
public class BasicRadioButtonUI extends BasicToggleButtonUI
Field Summary | |
---|---|
protected Icon | icon
The default icon for JRadioButtons. |
Constructor Summary | |
---|---|
BasicRadioButtonUI()
Creates a new instance of BasicButtonUI . |
Method Summary | |
---|---|
static ComponentUI | createUI(JComponent c)
Creates and returns a new instance of BasicRadioButtonUI .
|
Icon | getDefaultIcon()
Returns the default icon for JRadioButtons.
|
Dimension | getPreferredSize(JComponent c) |
protected String | getPropertyPrefix()
Returns the prefix used for UIDefaults properties. |
protected void | installDefaults(AbstractButton b)
Installs defaults from the Look & Feel table on the specified
button.
|
void | paint(Graphics g, JComponent c)
Paints the RadioButton.
|
protected void | paintFocus(Graphics g, Rectangle tr, Dimension size)
Paints the focus indicator for JRadioButtons.
|
BasicButtonUI
.BasicRadioButtonUI
.
Returns: a new instance of BasicRadioButtonUI
Returns: the default icon for JRadioButtons
RadioButton
in this case.
Returns: the prefix used for UIDefaults properties
Parameters: b the button on which to install the defaults
Parameters: g the Graphics context to paint with c the button to paint
Parameters: g the graphics context tr the rectangle for the text label size the size of the JRadioButton
component.