java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.pushingpixels.radiance.theming.internal.contrib.randelshofer.quaqua.colorchooser.ColorChooserMainPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ColorChooserMainPanel extends JPanel
The main panel of the color chooser UI.
Version:
1.4 2005-12-18 ColorPicker added.
1.3 2005-09-05 Get font from UIManager.
1.2 2005-08-27 Remember chooser panel.
1.1 2005-04-23 Removed main method.
1.0 30 March 2005 Created.
See Also:
  • Field Details

    • lastSelectedChooserName

      private static String lastSelectedChooserName
      We store here the name of the last selected chooser. When the ColorChooserMainPanel is recreated multiple times in the same applicatin, the application 'remembers' which panel the user had opened before.
    • chooserPanelHolder

      private JPanel chooserPanelHolder
    • mainPanel

      private JPanel mainPanel
    • northPanel

      private JPanel northPanel
    • previewPanelHolder

      private JPanel previewPanelHolder
    • toolBar

      private JToolBar toolBar
    • toolBarButtonGroup

      private ButtonGroup toolBarButtonGroup
  • Constructor Details

    • ColorChooserMainPanel

      public ColorChooserMainPanel()
      Creates new form.
  • Method Details

    • setPreviewPanel

      public void setPreviewPanel(JComponent c)
    • addColorChooserPanel

      public void addColorChooserPanel(RadianceColorChooserPanel ccp)
    • removeAllColorChooserPanels

      public void removeAllColorChooserPanels()
    • initComponents

      private void initComponents()
      This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.