RePast
v. 2.0

uchicago.src.sim.analysis
Class MarkIcon

java.lang.Object
  |
  +--uchicago.src.sim.analysis.MarkIcon
All Implemented Interfaces:
Icon

public class MarkIcon
extends Object
implements Icon

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


Constructor Summary
MarkIcon(int size)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component comp, 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 Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

paintIcon

public void paintIcon(Component comp,
                      Graphics graphics,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

RePast
v. 2.0

Bug reports and feature requests to RePast