uci.ui
Class Swatch
java.lang.Object
|
+--uci.ui.Swatch
- public class Swatch
- extends Object
- implements Icon
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
_swatches
protected static Hashtable _swatches
Swatch
public Swatch(Color c)
forColor
public static Swatch forColor(Color c)
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