java.lang.Object
org.pushingpixels.radiance.theming.internal.contrib.randelshofer.quaqua.colorchooser.PaletteEntryCellRenderer.ColorIcon
All Implemented Interfaces:
Icon
Enclosing class:
PaletteEntryCellRenderer

static class PaletteEntryCellRenderer.ColorIcon extends Object implements Icon
  • Field Details

    • color

      private Color color
  • Constructor Details

    • ColorIcon

      ColorIcon()
  • Method Details

    • setColor

      public void setColor(Color c)
    • getColor

      public Color getColor()
    • getIconHeight

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon
    • getIconWidth

      public int getIconWidth()
      Specified by:
      getIconWidth in interface Icon
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon