uchicago.src.sim.analysis
Class MarkIcon

java.lang.Object
  extended by uchicago.src.sim.analysis.MarkIcon
All Implemented Interfaces:
javax.swing.Icon

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

Icon that represents plot point shape integer constants in the appropriate shape.

Version:
$Revision: 1.4 $ $Date: 2004/11/03 19:51:00 $

Constructor Summary
MarkIcon(int size)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component comp, java.awt.Graphics graphics, int x, int y)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkIcon

public MarkIcon(int size)
Method Detail

setType

public void setType(int type)

getIconHeight

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

getIconWidth

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

paintIcon

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