com.jidesoft.combobox
Class ColorExComboBox.ColorIcon
java.lang.Object
com.jidesoft.combobox.ColorExComboBox.ColorIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- ColorExComboBox
public class ColorExComboBox.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 |
ColorExComboBox.ColorIcon
public ColorExComboBox.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