javax.swing.plaf.basic

Class BasicCheckBoxUI

public class BasicCheckBoxUI extends BasicRadioButtonUI

A UI delegate for the {@link JCheckBox} component.
Method Summary
static ComponentUIcreateUI(JComponent c)
Returns a UI delegate (that is, an instance of this class) for the specified component.
StringgetPropertyPrefix()
Returns the prefix for entries in the {@link UIManager} defaults table ("CheckBox." in this case).

Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Returns a UI delegate (that is, an instance of this class) for the specified component.

Parameters: c the component (this should be a {@link JCheckBox}).

Returns: A new instance of BasicCheckBoxUI.

getPropertyPrefix

public String getPropertyPrefix()
Returns the prefix for entries in the {@link UIManager} defaults table ("CheckBox." in this case).

Returns: "CheckBox."