FileDocCategorySizeDatePackage
ColorChooserComponentFactory.javaAPI DocJava SE 5 API1364Fri Aug 26 14:58:00 BST 2005javax.swing.colorchooser

ColorChooserComponentFactory

public class ColorChooserComponentFactory extends Object
A class designed to produce preconfigured "accessory" objects to insert into color choosers.

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.17 12/19/03
author
Steve Wilson

Fields Summary
Constructors Summary
private ColorChooserComponentFactory()

 
Methods Summary
public static javax.swing.colorchooser.AbstractColorChooserPanel[]getDefaultChooserPanels()

        AbstractColorChooserPanel[] choosers = { new DefaultSwatchChooserPanel(),
						 new DefaultHSBChooserPanel(),
						 new DefaultRGBChooserPanel() };
        return choosers;
    
public static javax.swing.JComponentgetPreviewPanel()

        return new DefaultPreviewPanel();