uchicago.src.sim.gui
Class SquareIcon

java.lang.Object
  extended by uchicago.src.sim.gui.LegendIcon
      extended by uchicago.src.sim.gui.SquareIcon
All Implemented Interfaces:
javax.swing.Icon

public class SquareIcon
extends LegendIcon


Field Summary
 
Fields inherited from class uchicago.src.sim.gui.LegendIcon
color, height, hollow, width
 
Constructor Summary
SquareIcon(java.awt.Color color, boolean hollow)
           
SquareIcon(int width, int height, java.awt.Color color, boolean hollow)
           
 
Method Summary
 void paintIcon(java.awt.Component comp, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class uchicago.src.sim.gui.LegendIcon
getIconHeight, getIconWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareIcon

public SquareIcon(java.awt.Color color,
                  boolean hollow)

SquareIcon

public SquareIcon(int width,
                  int height,
                  java.awt.Color color,
                  boolean hollow)
Method Detail

paintIcon

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