FileDocCategorySizeDatePackage
BasicIconFactory.javaAPI DocJava SE 5 API5903Fri Aug 26 14:58:04 BST 2005javax.swing.plaf.basic

BasicIconFactory

public class BasicIconFactory extends Object implements Serializable
Factory object that can vend Icons appropriate for the basic L & F.

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.27 12/19/03
author
David Kloba
author
Georges Saab

Fields Summary
private static Icon
frame_icon
private static Icon
checkBoxIcon
private static Icon
radioButtonIcon
private static Icon
checkBoxMenuItemIcon
private static Icon
radioButtonMenuItemIcon
private static Icon
menuItemCheckIcon
private static Icon
menuItemArrowIcon
private static Icon
menuArrowIcon
Constructors Summary
Methods Summary
public static javax.swing.IconcreateEmptyFrameIcon()

	if(frame_icon == null)
	    frame_icon = new EmptyFrameIcon();
	return frame_icon;
    
public static javax.swing.IcongetCheckBoxIcon()

	if (checkBoxIcon == null) {
	    checkBoxIcon = new CheckBoxIcon();
	}
	return checkBoxIcon;
    
public static javax.swing.IcongetCheckBoxMenuItemIcon()

	if (checkBoxMenuItemIcon == null) {
	    checkBoxMenuItemIcon = new CheckBoxMenuItemIcon();
	}
	return checkBoxMenuItemIcon;
    
public static javax.swing.IcongetMenuArrowIcon()

	if (menuArrowIcon == null) {
	    menuArrowIcon = new MenuArrowIcon();
	}
	return menuArrowIcon;
    
public static javax.swing.IcongetMenuItemArrowIcon()

	if (menuItemArrowIcon == null) {
	    menuItemArrowIcon = new MenuItemArrowIcon();
	}
	return menuItemArrowIcon;
    
public static javax.swing.IcongetMenuItemCheckIcon()

	if (menuItemCheckIcon == null) {
	    menuItemCheckIcon = new MenuItemCheckIcon();
	}
	return menuItemCheckIcon;
    
public static javax.swing.IcongetRadioButtonIcon()

	if (radioButtonIcon == null) {
	    radioButtonIcon = new RadioButtonIcon();
	}
	return radioButtonIcon;
    
public static javax.swing.IcongetRadioButtonMenuItemIcon()

	if (radioButtonMenuItemIcon == null) {
	    radioButtonMenuItemIcon = new RadioButtonMenuItemIcon();
	}
	return radioButtonMenuItemIcon;