FileDocCategorySizeDatePackage
WindowsIconFactory.javaAPI DocJava SE 6 API30135Tue Jun 10 00:21:58 BST 2008com.sun.java.swing.plaf.windows

WindowsIconFactory

public class WindowsIconFactory extends Object implements Serializable
Factory object that can vend Icons appropriate for the Windows 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. A future release of Swing will provide support for long term persistence.

version
1.31 12/15/06
author
David Kloba
author
Georges Saab
author
Rich Schiavi

Fields Summary
private static Icon
frame_closeIcon
private static Icon
frame_iconifyIcon
private static Icon
frame_maxIcon
private static Icon
frame_minIcon
private static Icon
frame_resizeIcon
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
private static VistaMenuItemCheckIconFactory
menuItemCheckIconFactory
Constructors Summary
Methods Summary
public static javax.swing.IconcreateFrameCloseIcon()

	if (frame_closeIcon == null) {
	    frame_closeIcon = new FrameButtonIcon(Part.WP_CLOSEBUTTON);
	}
	return frame_closeIcon;
    
public static javax.swing.IconcreateFrameIconifyIcon()

	if (frame_iconifyIcon == null) {
	    frame_iconifyIcon = new FrameButtonIcon(Part.WP_MINBUTTON);
	}
	return frame_iconifyIcon;
    
public static javax.swing.IconcreateFrameMaximizeIcon()

	if (frame_maxIcon == null) {
	    frame_maxIcon = new FrameButtonIcon(Part.WP_MAXBUTTON);
	}
	return frame_maxIcon;
    
public static javax.swing.IconcreateFrameMinimizeIcon()

	if (frame_minIcon == null) {
	    frame_minIcon = new FrameButtonIcon(Part.WP_RESTOREBUTTON);
	}
	return frame_minIcon;
    
public static javax.swing.IconcreateFrameResizeIcon()

	if(frame_resizeIcon == null)
	    frame_resizeIcon = new ResizeIcon();
	return frame_resizeIcon;
    
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;
    
static synchronized com.sun.java.swing.plaf.windows.WindowsIconFactory$VistaMenuItemCheckIconFactorygetMenuItemCheckIconFactory()

        if (menuItemCheckIconFactory == null) {
            menuItemCheckIconFactory =
                new VistaMenuItemCheckIconFactory();
        }
        return menuItemCheckIconFactory;
    
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;