javax.swing.colorchooser

Class ColorChooserComponentFactory

public class ColorChooserComponentFactory extends Object

ColorChooserComponentFactory
Method Summary
static AbstractColorChooserPanel[]getDefaultChooserPanels()
This method returns the three default chooser panels to be used in JColorChooser.
static JComponentgetPreviewPanel()
This method returns the default preview panel to be used with JColorChoosers.

Method Detail

getDefaultChooserPanels

public static AbstractColorChooserPanel[] getDefaultChooserPanels()
This method returns the three default chooser panels to be used in JColorChooser.

Returns: The default chooser panels.

getPreviewPanel

public static JComponent getPreviewPanel()
This method returns the default preview panel to be used with JColorChoosers.

Returns: The default preview panel.