Class SimpleVertexSupport<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.control.SimpleVertexSupport<V,E>
- Type Parameters:
V- the vertex typeE- the edge type
- All Implemented Interfaces:
VertexSupport<V,E>
sample implementation showing how to use the VertexSupport interface member of the
EditingGraphMousePlugin.
override midVertexCreate and endVertexCreate for more elaborate implementations
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendVertexCreate(BasicVisualizationServer<V, E> vv, Point2D point) com.google.common.base.Supplier<V> voidmidVertexCreate(BasicVisualizationServer<V, E> vv, Point2D point) voidsetVertexFactory(com.google.common.base.Supplier<V> vertexFactory) voidstartVertexCreate(BasicVisualizationServer<V, E> vv, Point2D point)
-
Field Details
-
vertexFactory
-
-
Constructor Details
-
SimpleVertexSupport
-
-
Method Details
-
startVertexCreate
- Specified by:
startVertexCreatein interfaceVertexSupport<V,E>
-
midVertexCreate
- Specified by:
midVertexCreatein interfaceVertexSupport<V,E>
-
endVertexCreate
- Specified by:
endVertexCreatein interfaceVertexSupport<V,E>
-
getVertexFactory
-
setVertexFactory
-