com.jidesoft.grid
Class ColorCellRenderer.ColorIcon
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorCellRenderer.ColorIcon
public ColorCellRenderer.ColorIcon()
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