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


Constructor Summary
DotIcon(Color color)
           
DotIcon(Color color, int size)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 void setColor(Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotIcon

public DotIcon(Color color)

DotIcon

public DotIcon(Color color,
               int size)
Method Detail

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