org.shiftone.jrat.ui.util
Class DotIcon

java.lang.Object
  extended by org.shiftone.jrat.ui.util.DotIcon
All Implemented Interfaces:
javax.swing.Icon

public class DotIcon
extends java.lang.Object
implements javax.swing.Icon

Class DotIcon

Author:
jeff@shiftone.org (Jeff Drost)

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

Constructor Detail

DotIcon

public DotIcon(int size,
               java.awt.Color color)
Constructor DotIcon

Parameters:
size -
color -
Method Detail

getIconHeight

public int getIconHeight()
Method getIconHeight

Specified by:
getIconHeight in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Method getIconWidth

Specified by:
getIconWidth in interface javax.swing.Icon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Method paintIcon

Specified by:
paintIcon in interface javax.swing.Icon