Interface JungGraphElementAccessor
-
- All Known Implementing Classes:
JungRadiusGraphElementAccessor
public interface JungGraphElementAccessor
Interface for coordinate-based selection of graph components. See JungGraphElementAccessor for further details- Author:
- M. Altaweel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepastEdge
getEdge(double x, double y)
Returns anEdge
which is associated with the location(x,y)
.Object
getVertex(double x, double y)
Returns aVertex
which is associated with the location(x,y)
.void
setLayout(JungNetworkLayout layout)
Sets theNetwork
that is used to specify the locations of vertices and edges in this instance tolayout
.
-
-
-
Method Detail
-
getVertex
Object getVertex(double x, double y)
Returns aVertex
which is associated with the location(x,y)
. This is typically determined with respect to theVertex
's location as specified by aLayout
.
-
getEdge
RepastEdge getEdge(double x, double y)
Returns anEdge
which is associated with the location(x,y)
. This is typically determined with respect to theEdge
's location as specified by a Layout.
-
setLayout
void setLayout(JungNetworkLayout layout)
Sets theNetwork
that is used to specify the locations of vertices and edges in this instance tolayout
.
-
-