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

public Class BasicCheckBoxUI

extends BasicRadioButtonUI
Class Inheritance
Imports
javax.swing.*, java.awt.*, java.awt.event.*, javax.swing.plaf.*, java.io.Serializable

CheckboxUI implementation for BasicCheckboxUI

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
Jeff Dinkins

Field Summary

Modifier and TypeField and Description
private static final String
private static final ComponentUI
Inherited from javax.swing.plaf.basic.BasicRadioButtonUI:
icon

Constructor Summary

AccessConstructor and Description
public
BasicCheckBoxUI()

Constructs a BasicCheckBoxUI.

Method Summary

Modifier and TypeMethod and Description
public static ComponentUI

Returns:

an instance of BasicCheckBoxUI
createUI
(JComponent
a component
b
)

Hides javax.swing.plaf.basic.BasicRadioButtonUI.createUI.

Returns an instance of BasicCheckBoxUI.

public String
Inherited from javax.swing.plaf.basic.BasicRadioButtonUI:
getDefaultIcongetPreferredSizeinstallDefaultspaintpaintFocusuninstallDefaults

Field Detail

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.basic.BasicRadioButtonUI.UI.

Constructor Detail

BasicCheckBoxUIback to summary
public BasicCheckBoxUI()

Constructs a BasicCheckBoxUI.

Method Detail

createUIback to summary
public static ComponentUI createUI(JComponent b)

Hides javax.swing.plaf.basic.BasicRadioButtonUI.createUI.

Returns an instance of BasicCheckBoxUI.

Parameters
b:JComponent

a component

Returns:ComponentUI

an instance of BasicCheckBoxUI

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.