|
||||||||||
| 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.RectItem
uchicago.src.sim.gui.RectNetworkItem
public class RectNetworkItem
A rectangular shaped NetworkDrawable.
DrawableItem| Field Summary | |
|---|---|
protected double |
x
|
protected double |
y
|
| Fields inherited from class uchicago.src.sim.gui.RectItem |
|---|
recalcBorder |
| Fields inherited from class uchicago.src.sim.gui.DrawableItem |
|---|
allowResizing, borderColor, borderWidth, color, font, height, hollow, label, labelColor, recalc, stroke, width |
| Constructor Summary | |
|---|---|
RectNetworkItem(double x,
double y)
|
|
| Method Summary | |
|---|---|
double |
getX()
Gets the x coordinate of this drawable. |
double |
getY()
Gets the y coordinate of the this drawable. |
void |
setX(double val)
Sets the X coordinate for the NetworkDrawable. |
void |
setY(double val)
Sets the Y coordinate for the NetworkDrawable. |
| Methods inherited from class uchicago.src.sim.gui.RectItem |
|---|
calcSize, contains, draw |
| 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.NetworkDrawable |
|---|
allowResizing, calcSize, getBorderColor, getBorderWidth, getColor, getFont, getHeight, getLabelColor, getWidth, setBorderColor, setBorderWidth, setColor, setFont, setHeight, setLabel, setLabelColor, setWidth |
| Methods inherited from interface uchicago.src.sim.gui.NonGridDrawable |
|---|
contains, draw |
| Field Detail |
|---|
protected double x
protected double y
| Constructor Detail |
|---|
public RectNetworkItem(double x,
double y)
| Method Detail |
|---|
public void setX(double val)
NetworkDrawable
setX in interface NetworkDrawablepublic double getX()
NonGridDrawable
getX in interface NonGridDrawablepublic void setY(double val)
NetworkDrawable
setY in interface NetworkDrawablepublic double getY()
NonGridDrawable
getY in interface NonGridDrawable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||