uchicago.src.sim.gui
Class SquareIcon
java.lang.Object
uchicago.src.sim.gui.LegendIcon
uchicago.src.sim.gui.SquareIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class SquareIcon
- extends LegendIcon
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SquareIcon
public SquareIcon(java.awt.Color color,
boolean hollow)
SquareIcon
public SquareIcon(int width,
int height,
java.awt.Color color,
boolean hollow)
paintIcon
public void paintIcon(java.awt.Component comp,
java.awt.Graphics g,
int x,
int y)