Package Summary  Overview Summary

class:MetalRadioButtonUI [NONE]

  • 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 JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

field:focusColor [NONE]

  • focusColor

    protected Color focusColor
    The color of the focused radio button.

field:selectColor [NONE]

  • selectColor

    protected Color selectColor
    The color of the selected radio button.

field:disabledTextColor [NONE]

  • disabledTextColor

    protected Color disabledTextColor
    The color of a disabled text.

constructor:<init>() [NONE]

  • MetalRadioButtonUI

    public MetalRadioButtonUI()

method:createUI(javax.swing.JComponent) [NONE]

  • createUI

    public static ComponentUI createUI​(JComponent c)
    Returns an instance of MetalRadioButtonUI.
    Parameters:
    c - a component
    Returns:
    an instance of MetalRadioButtonUI

method:installDefaults(javax.swing.AbstractButton) [NONE]

method:uninstallDefaults(javax.swing.AbstractButton) [NONE]

method:getSelectColor() [NONE]

  • getSelectColor

    protected Color getSelectColor()
    Returns the color of the selected JRadioButton.
    Returns:
    the color of the selected JRadioButton

method:getDisabledTextColor() [NONE]

  • getDisabledTextColor

    protected Color getDisabledTextColor()
    Returns the color of the disabled text.
    Returns:
    the color of the disabled text

method:getFocusColor() [NONE]

  • getFocusColor

    protected Color getFocusColor()
    Returns the color of the focused JRadioButton.
    Returns:
    the color of the focused JRadioButton

method:paint(java.awt.Graphics,javax.swing.JComponent) [NONE]

method:paintFocus(java.awt.Graphics,java.awt.Rectangle,java.awt.Dimension) [NONE]

© 2019 Oracle Corporation and/or its affiliates