edu.mit.util
Class DotIcon
java.lang.Object
|
+--edu.mit.util.DotIcon
- All Implemented Interfaces:
- Icon
- public class DotIcon
- extends Object
- implements Icon
DotIcon.java
Created: Sun Feb 04 17:58:16 2001
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DotIcon
public DotIcon(Color color)
DotIcon
public DotIcon(Color color,
int size)
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 color)
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon