gov.noaa.pmel.swing
Class ThreeDotsIcon

java.lang.Object
  |
  +--gov.noaa.pmel.swing.ThreeDotsIcon
All Implemented Interfaces:
javax.swing.Icon

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

Creates icon of three dots to be used with a JButton to open a dialog.

Since:
3.0
Version:
$Revision: 1.2 $
Author:
Donald Denbo

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

Constructor Detail

ThreeDotsIcon

public ThreeDotsIcon()

ThreeDotsIcon

public ThreeDotsIcon(java.awt.Color color)

ThreeDotsIcon

public ThreeDotsIcon(java.awt.Color color,
                     int size)
Method Detail

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon


Send comments about the Scientific Graphics toolkit to Donald.W.Denbo@noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on October 9 2003