|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphElementAccessor
Interface for coordinate-based selection of graph components.
| Method Summary | |
|---|---|
Edge |
getEdge(double x,
double y)
Returns an Edge which is associated with the
location (x,y). |
Vertex |
getVertex(double x,
double y)
Returns a Vertex which is associated with the
location (x,y). |
void |
setLayout(Layout layout)
Sets the Layout that is used to specify the locations
of vertices and edges in this instance to layout. |
| Method Detail |
|---|
Vertex getVertex(double x,
double y)
Vertex which is associated with the
location (x,y). This is typically determined
with respect to the Vertex's location as specified
by a Layout.
Edge getEdge(double x,
double y)
Edge which is associated with the
location (x,y). This is typically determined
with respect to the Edge's location as specified
by a Layout.
void setLayout(Layout layout)
Layout that is used to specify the locations
of vertices and edges in this instance to layout.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||