org.xnap.commons.gui
Class ColorChooserPanel.ColorIcon
java.lang.Object
org.xnap.commons.gui.ColorChooserPanel.ColorIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- ColorChooserPanel
protected class ColorChooserPanel.ColorIcon
- extends Object
- implements Icon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorChooserPanel.ColorIcon
public ColorChooserPanel.ColorIcon(Color color)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
setColor
public void setColor(Color newValue)
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.