|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.gui.DrawableItem
uchicago.src.sim.gui.RoundRectItem
public abstract class RoundRectItem
A rounded rectangular shaped DrawableItem.
DrawableItem| Field Summary |
|---|
| Fields inherited from class uchicago.src.sim.gui.DrawableItem |
|---|
allowResizing, borderColor, borderWidth, color, font, height, hollow, label, labelColor, recalc, stroke, width |
| Constructor Summary | |
|---|---|
RoundRectItem()
|
|
| Method Summary | |
|---|---|
void |
calcSize(SimGraphics g)
Calculates the true size of this object including the border width. |
boolean |
contains(java.awt.Point p)
Does this RectItem contain Point p? |
void |
draw(SimGraphics g)
Draws this item using the specified context. |
| Methods inherited from class uchicago.src.sim.gui.DrawableItem |
|---|
allowResizing, getBorderColor, getBorderWidth, getColor, getFont, getHeight, getLabelColor, getWidth, isHollow, setBorderColor, setBorderWidth, setColor, setFont, setHeight, setHollow, setLabel, setLabelColor, setSize, setSize, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uchicago.src.sim.gui.NonGridDrawable |
|---|
getX, getY |
| Constructor Detail |
|---|
public RoundRectItem()
| Method Detail |
|---|
public void calcSize(SimGraphics g)
calcSize in class DrawableItempublic void draw(SimGraphics g)
public boolean contains(java.awt.Point p)
p - the point to test for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||