javax.swing.plaf.metal

Class MetalRadioButtonUI

Known Direct 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

Method Summary

static ComponentUI
createUI(JComponent c)
protected Color
getDisabledTextColor()
protected Color
getFocusColor()
protected Color
getSelectColor()
void
installDefaults(AbstractButton b)
void
paint(Graphics g, JComponent c)
protected void
paintFocus(Graphics g, Rectangle t, Dimension d)
protected void
uninstallDefaults(AbstractButton b)

Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI

createUI, getDefaultIcon, getPreferredSize, getPropertyPrefix, installDefaults, paint, paintFocus, uninstallDefaults

Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI

createUI, getPropertyPrefix, getTextShiftOffset, paint, paintIcon

Methods inherited from class javax.swing.plaf.basic.BasicButtonUI

clearTextShiftOffset, createButtonListener, createUI, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI

Methods inherited from class javax.swing.plaf.ComponentUI

contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

disabledTextColor

protected Color disabledTextColor

focusColor

protected Color focusColor

selectColor

protected Color selectColor

Method Details

createUI

public static ComponentUI createUI(JComponent c)
Overrides:
createUI in interface BasicRadioButtonUI

getDisabledTextColor

protected Color getDisabledTextColor()

getFocusColor

protected Color getFocusColor()

getSelectColor

protected Color getSelectColor()

installDefaults

public void installDefaults(AbstractButton b)
Overrides:
installDefaults in interface BasicRadioButtonUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in interface BasicRadioButtonUI

paintFocus

protected void paintFocus(Graphics g,
                          Rectangle t,
                          Dimension d)
Overrides:
paintFocus in interface BasicRadioButtonUI

uninstallDefaults

protected void uninstallDefaults(AbstractButton b)
Overrides:
uninstallDefaults in interface BasicRadioButtonUI