uchicago.src.guiUtils
Class ColorIcon
java.lang.Object
|
+--uchicago.src.guiUtils.ColorIcon
- All Implemented Interfaces:
- Icon
- public class ColorIcon
- extends Object
- implements Icon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIZE
protected static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
BORDER_SIZE
protected static final int BORDER_SIZE
- See Also:
- Constant Field Values
color
protected Color color
shadowColor
protected Color shadowColor
width
protected int width
height
protected int height
borderSize
protected int borderSize
fillHeight
protected int fillHeight
fillWidth
protected int fillWidth
ColorIcon
public ColorIcon(Color color,
int width,
int height,
int borderSize)
ColorIcon
public ColorIcon(Color color,
int size)
ColorIcon
public ColorIcon(Color color)
setColor
public void setColor(Color c)
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 comp,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon
Bug reports and feature requests to RePast