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

public class QuaquaColorPreviewPanel extends JPanel implements UIResource
QuaquaColorPreviewPanel.
Version:
1.2 2005-12-18 Tweaked insets.
1.1 2005-09-20 Added tooltip. This is not what the native NSColorPicker does, but it is very useful.
1.0 30 March 2005 Created.
See Also:
  • Constructor Details

    • QuaquaColorPreviewPanel

      public QuaquaColorPreviewPanel()
      Creates new form.
  • Method Details

    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • getToolTipText

      public String getToolTipText(MouseEvent evt)
      Overrides:
      getToolTipText in class JComponent
    • 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.