|
||||||||||
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)
|
Method Detail |
---|
V getVertex(Layout<V,E> layout, 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
.
Collection<V> getVertices(Layout<V,E> layout, Shape rectangle)
E getEdge(Layout<V,E> layout, 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |