JIDE 3.5.15

com.jidesoft.combobox
Class ColorExComboBox.ColorIcon

java.lang.Object
  extended by 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.


Constructor Summary
ColorExComboBox.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

ColorExComboBox.ColorIcon

public ColorExComboBox.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