org.crosswire.common.config.swing
Class ColorField.CustomIcon
java.lang.Object
org.crosswire.common.config.swing.ColorField.CustomIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- ColorField
class ColorField.CustomIcon
- extends Object
- implements Icon
The CustomIcon that shows the selected color
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorField.CustomIcon
ColorField.CustomIcon()
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon