RePast
v. 2.0

uchicago.src.sim.gui
Class LegendIcon

java.lang.Object
  |
  +--uchicago.src.sim.gui.LegendIcon
All Implemented Interfaces:
Icon
Direct Known Subclasses:
CircleIcon, OvalIcon, SquareIcon

public abstract class LegendIcon
extends Object
implements Icon


Field Summary
protected  Color color
           
protected  int height
           
protected  boolean hollow
           
protected  int width
           
 
Constructor Summary
LegendIcon(Color color, boolean hollow)
           
LegendIcon(int width, int height, Color color, boolean hollow)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Icon
paintIcon
 

Field Detail

width

protected int width

height

protected int height

color

protected Color color

hollow

protected boolean hollow
Constructor Detail

LegendIcon

public LegendIcon(Color color,
                  boolean hollow)

LegendIcon

public LegendIcon(int width,
                  int height,
                  Color color,
                  boolean hollow)
Method Detail

getIconHeight

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

getIconWidth

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

RePast
v. 2.0

Bug reports and feature requests to RePast