uchicago.src.sim.gui
Class LegendIcon
java.lang.Object
uchicago.src.sim.gui.LegendIcon
- All Implemented Interfaces:
- javax.swing.Icon
- Direct Known Subclasses:
- CircleIcon, OvalIcon, SquareIcon
public abstract class LegendIcon
- extends java.lang.Object
- implements javax.swing.Icon
|
Field Summary |
protected java.awt.Color |
color
|
protected int |
height
|
protected boolean |
hollow
|
protected int |
width
|
|
Constructor Summary |
LegendIcon(java.awt.Color color,
boolean hollow)
|
LegendIcon(int width,
int height,
java.awt.Color color,
boolean hollow)
|
| 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 |
width
protected int width
height
protected int height
color
protected java.awt.Color color
hollow
protected boolean hollow
LegendIcon
public LegendIcon(java.awt.Color color,
boolean hollow)
LegendIcon
public LegendIcon(int width,
int height,
java.awt.Color color,
boolean hollow)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface javax.swing.Icon