uchicago.src.sim.gui
Class RectNetworkItem
java.lang.Object
|
+--uchicago.src.sim.gui.DrawableItem
|
+--uchicago.src.sim.gui.RectItem
|
+--uchicago.src.sim.gui.RectNetworkItem
- All Implemented Interfaces:
- NetworkDrawable, NonGridDrawable
- public class RectNetworkItem
- extends RectItem
- implements NetworkDrawable
A rectangular shaped NetworkDrawable.
- See Also:
DrawableItem
|
Field Summary |
protected double |
x
|
protected double |
y
|
| Fields inherited from class uchicago.src.sim.gui.DrawableItem |
allowResizing, borderColor, borderWidth, color, font, height, hollow, label, labelColor, recalc, stroke, width |
|
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.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 |
x
protected double x
y
protected double y
RectNetworkItem
public RectNetworkItem(double x,
double y)
setX
public void setX(double val)
- Description copied from interface:
NetworkDrawable
- Sets the X coordinate for the NetworkDrawable.
- Specified by:
setX in interface NetworkDrawable
getX
public double getX()
- Description copied from interface:
NonGridDrawable
- Gets the x coordinate of this drawable.
- Specified by:
getX in interface NonGridDrawable
setY
public void setY(double val)
- Description copied from interface:
NetworkDrawable
- Sets the Y coordinate for the NetworkDrawable.
- Specified by:
setY in interface NetworkDrawable
getY
public double getY()
- Description copied from interface:
NonGridDrawable
- Gets the y coordinate of the this drawable.
- Specified by:
getY in interface NonGridDrawable
Bug reports and feature requests to RePast