javax.swing.plaf.metal
Class MetalRadioButtonUIjava.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 | +--javax.swing.plaf.metal.MetalRadioButtonUI
- Direct Known Subclasses:
- MetalCheckBoxUI
- public class MetalRadioButtonUI
- extends BasicRadioButtonUI
RadioButtonUI implementation for MetalRadioButtonUI
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.
Field Summary
protected Color disabledTextColor
protected Color focusColor
protected Color selectColor
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI icon
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI defaultTextIconGap, defaultTextShiftOffset
Constructor Summary
MetalRadioButtonUI()
Method Summary
static ComponentUI createUI(JComponent c)
Returns an instance of the UI delegate for the specified component.protected Color getDisabledTextColor()
protected Color getFocusColor()
protected Color getSelectColor()
void installDefaults(AbstractButton b)
void paint(Graphics g, JComponent c)
paint the radio buttonprotected void paintFocus(Graphics g, Rectangle t, Dimension d)
protected void uninstallDefaults(AbstractButton b)
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI getDefaultIcon, getPreferredSize, getPropertyPrefix
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI getTextShiftOffset, paintIcon
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI,