FileDocCategorySizeDatePackage
MetalCheckBoxUI.javaAPI DocJava SE 5 API2130Fri Aug 26 14:58:06 BST 2005javax.swing.plaf.metal

MetalCheckBoxUI

public class MetalCheckBoxUI extends MetalRadioButtonUI
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 JavaBeansTM has been added to the java.beans package. Please see {@link java.beans.XMLEncoder}.

version
1.18 12/19/03
author
Michael C. Albers

Fields Summary
private static final MetalCheckBoxUI
checkboxUI
private static final String
propertyPrefix
private boolean
defaults_initialized
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent b)


    // ********************************
    //         Create PlAF
    // ********************************
         
        return checkboxUI;
    
public java.lang.StringgetPropertyPrefix()

	return propertyPrefix;
    
public voidinstallDefaults(javax.swing.AbstractButton b)

	super.installDefaults(b);
	if(!defaults_initialized) {
	    icon = UIManager.getIcon(getPropertyPrefix() + "icon");
	    defaults_initialized = true;
	}
    
protected voiduninstallDefaults(javax.swing.AbstractButton b)

	super.uninstallDefaults(b);
	defaults_initialized = false;