|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphElementAccessor<V,E>
Interface for coordinate-based selection of graph components.
| Method Summary | |
|---|---|
E |
getEdge(Layout<V,E> layout,
double x,
double y)
Returns an edge which is associated with the location (x,y). |
V |
getVertex(Layout<V,E> layout,
double x,
double y)
Returns a vertex which is associated with the location (x,y). |
Collection<V> |
getVertices(Layout<V,E> layout,
Shape rectangle)
Returns the vertices contained within rectangle relative
to layout. |
| Method Detail |
|---|
V getVertex(Layout<V,E> layout,
double x,
double y)
(x,y). This is typically determined
with respect to the vertex's location as specified
by a Layout.
Collection<V> getVertices(Layout<V,E> layout,
Shape rectangle)
rectangle relative
to layout.
E getEdge(Layout<V,E> layout,
double x,
double y)
(x,y). This is typically determined
with respect to the edge's location as specified
by a Layout.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||