APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.plaf.metal

public Class MetalCheckBoxUI

extends MetalRadioButtonUI
Class Inheritance
Imports
javax.swing.*, javax.swing.plaf.basic.BasicCheckBoxUI, java.awt.*, java.awt.event.*, javax.swing.plaf.*, java.io.Serializable

CheckboxUI implementation for MetalCheckboxUI

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 java.beans.XMLEncoder.

Author
Michael C. Albers

Field Summary

Modifier and TypeField and Description
private boolean
private static final String
private static final ComponentUI
Inherited from javax.swing.plaf.metal.MetalRadioButtonUI:
disabledTextColorfocusColorselectColor

Constructor Summary

AccessConstructor and Description
public
MetalCheckBoxUI()

Constructs a MetalCheckBoxUI.

Method Summary

Modifier and TypeMethod and Description
public static ComponentUI

Returns:

a new instance of MetalCheckBoxUI
createUI
(JComponent
a component
b
)

Hides javax.swing.plaf.metal.MetalRadioButtonUI.createUI.

Returns an instance of MetalCheckBoxUI.

public String
public void
protected void
Inherited from javax.swing.plaf.metal.MetalRadioButtonUI:
getDisabledTextColorgetFocusColorgetSelectColorpaintpaintFocus

Field Detail

defaults_initializedback to summary
private boolean defaults_initialized

Hides javax.swing.plaf.metal.MetalRadioButtonUI.defaults_initialized.

propertyPrefixback to summary
private static final String propertyPrefix

Hides javax.swing.plaf.basic.BasicRadioButtonUI.propertyPrefix.

UIback to summary
private static final ComponentUI UI

Hides javax.swing.plaf.metal.MetalRadioButtonUI.UI.

Constructor Detail

MetalCheckBoxUIback to summary
public MetalCheckBoxUI()

Constructs a MetalCheckBoxUI.

Method Detail

createUIback to summary
public static ComponentUI createUI(JComponent b)

Hides javax.swing.plaf.metal.MetalRadioButtonUI.createUI.

Returns an instance of MetalCheckBoxUI.

Parameters
b:JComponent

a component

Returns:ComponentUI

a new instance of MetalCheckBoxUI

getPropertyPrefixback to summary
public String getPropertyPrefix()

Overrides javax.swing.plaf.basic.BasicRadioButtonUI.getPropertyPrefix.

Doc from javax.swing.plaf.basic.BasicButtonUI.getPropertyPrefix.

Returns the property prefix.

installDefaultsback to summary
public void installDefaults(AbstractButton b)

Overrides javax.swing.plaf.metal.MetalRadioButtonUI.installDefaults.

Doc from javax.swing.plaf.basic.BasicButtonUI.installDefaults.

Installs default properties.

uninstallDefaultsback to summary
protected void uninstallDefaults(AbstractButton b)

Overrides javax.swing.plaf.metal.MetalRadioButtonUI.uninstallDefaults.

Doc from javax.swing.plaf.basic.BasicButtonUI.uninstallDefaults.

Uninstalls default properties.