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 TypeMethodDescriptionvoid
endVertexCreate
(BasicVisualizationServer<V, E> vv, Point2D point) com.google.common.base.Supplier
<V> void
midVertexCreate
(BasicVisualizationServer<V, E> vv, Point2D point) void
setVertexFactory
(com.google.common.base.Supplier<V> vertexFactory) void
startVertexCreate
(BasicVisualizationServer<V, E> vv, Point2D point)
-
Field Details
-
vertexFactory
-
-
Constructor Details
-
SimpleVertexSupport
-
-
Method Details
-
startVertexCreate
- Specified by:
startVertexCreate
in interfaceVertexSupport<V,
E>
-
midVertexCreate
- Specified by:
midVertexCreate
in interfaceVertexSupport<V,
E>
-
endVertexCreate
- Specified by:
endVertexCreate
in interfaceVertexSupport<V,
E>
-
getVertexFactory
-
setVertexFactory
-