FileDocCategorySizeDatePackage
WindowsIconFactory.javaAPI DocJava SE 5 API16725Fri Aug 26 14:54:50 BST 2005com.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.21 12/19/03
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
Constructors Summary
Methods Summary
public static javax.swing.IconcreateFrameCloseIcon()

	if (frame_closeIcon == null) {
	    frame_closeIcon = new FrameButtonIcon("window.closebutton");
	}
	return frame_closeIcon;
    
public static javax.swing.IconcreateFrameIconifyIcon()

	if (frame_iconifyIcon == null) {
	    frame_iconifyIcon = new FrameButtonIcon("window.minbutton");
	}
	return frame_iconifyIcon;
    
public static javax.swing.IconcreateFrameMaximizeIcon()

	if (frame_maxIcon == null) {
	    frame_maxIcon = new FrameButtonIcon("window.maxbutton");
	}
	return frame_maxIcon;
    
public static javax.swing.IconcreateFrameMinimizeIcon()

	if (frame_minIcon == null) {
	    frame_minIcon = new FrameButtonIcon("window.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;
    
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;