JIDE 3.5.15

com.jidesoft.grid
Class ColorCellRenderer.ColorIcon

java.lang.Object
  extended by com.jidesoft.grid.ColorCellRenderer.ColorIcon
All Implemented Interfaces:
Icon
Enclosing class:
ColorCellRenderer

public class ColorCellRenderer.ColorIcon
extends Object
implements Icon

The color label component to paint the selected color.


Constructor Summary
ColorCellRenderer.ColorIcon()
           
 
Method Summary
 Color getColor()
           
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 void setColor(Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorCellRenderer.ColorIcon

public ColorCellRenderer.ColorIcon()
Method Detail

getColor

public Color getColor()

setColor

public void setColor(Color color)

paintIcon

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

getIconWidth

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

getIconHeight

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

JIDE 3.5.15