Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

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 java.awt.Color color

### hollow

    protected boolean hollow

Constructor Detail

### LegendIcon

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

### LegendIcon

    public LegendIcon(int width,
                      int height,
                      java.awt.Color color,
                      boolean hollow)

Method Detail

### getIconHeight

    public int getIconHeight()

  Specified by:
    `getIconHeight` in interface `javax.swing.Icon`

### getIconWidth

    public int getIconWidth()

  Specified by:
    `getIconWidth` in interface `javax.swing.Icon`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD