javax.swing.plaf.metal

Class MetalCheckBoxUI

public class MetalCheckBoxUI extends MetalRadioButtonUI

A UI delegate for the {@link JCheckBox} component.
Constructor Summary
MetalCheckBoxUI()
Constructs a new instance of MetalCheckBoxUI.
Method Summary
static ComponentUIcreateUI(JComponent component)
Returns a shared instance of MetalCheckBoxUI.
StringgetPropertyPrefix()
Returns the prefix for properties defined in the {@link UIDefaults} table.

Constructor Detail

MetalCheckBoxUI

public MetalCheckBoxUI()
Constructs a new instance of MetalCheckBoxUI.

Method Detail

createUI

public static ComponentUI createUI(JComponent component)
Returns a shared instance of MetalCheckBoxUI.

Parameters: component the component for which we return an UI instance

Returns: A shared instance of MetalCheckBoxUI.

getPropertyPrefix

public String getPropertyPrefix()
Returns the prefix for properties defined in the {@link UIDefaults} table.

Returns: The property prefix ("CheckBox.").