|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for a drawable 2 dimensional node that occupies a cell in a grid. Nodes to be displayed in a Network2DGridDisplay should implement this interface.
| Method Summary | |
void |
draw(SimGraphics g)
Draws this Drawable2DGridNode. |
java.util.ArrayList |
getOutEdges()
Returns an ArrayList of DrawableEdges as the outgoing edges from this Drawable2DGridNode. |
double |
getX()
Returns the x (column) coordinate of the cell in which this node resides. |
double |
getY()
Returns the y (row) coordinate of the cell in which this node resides. |
| Method Detail |
public java.util.ArrayList getOutEdges()
public double getX()
public double getY()
public void draw(SimGraphics g)
g - the SimGraphics object used for drawing
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||