Class ShowAndPickColorPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ShowAndPickColorPanel extends JPanel
See Also:
  • Constructor Details

    • ShowAndPickColorPanel

      public ShowAndPickColorPanel()
  • Method Details

    • setBackground

      public void setBackground(Color color)
      Overrides:
      setBackground in class JComponent
    • getToolTipText

      public String getToolTipText()
      Overrides:
      getToolTipText in class JComponent
    • setHexPrefix

      public void setHexPrefix(String prefix)
      This sets the prefix used by getToolTipText. The default is "#"
      Parameters:
      prefix - The new prefix to put before color.getRGB()
    • getHexPrefix

      public String getHexPrefix()
      This gets the hex prefix used by getToolTipText. By default it is "#"
      Returns:
      The hex prefix used by getToolTipText