V - the vertex typeE - the edge typepublic class SimpleVertexSupport<V,E> extends Object implements VertexSupport<V,E>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Supplier<V> |
vertexFactory |
| Constructor and Description |
|---|
SimpleVertexSupport(com.google.common.base.Supplier<V> vertexFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
endVertexCreate(BasicVisualizationServer<V,E> vv,
Point2D point) |
com.google.common.base.Supplier<V> |
getVertexFactory() |
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) |
protected com.google.common.base.Supplier<V> vertexFactory
public SimpleVertexSupport(com.google.common.base.Supplier<V> vertexFactory)
public void startVertexCreate(BasicVisualizationServer<V,E> vv, Point2D point)
startVertexCreate in interface VertexSupport<V,E>public void midVertexCreate(BasicVisualizationServer<V,E> vv, Point2D point)
midVertexCreate in interface VertexSupport<V,E>public void endVertexCreate(BasicVisualizationServer<V,E> vv, Point2D point)
endVertexCreate in interface VertexSupport<V,E>public com.google.common.base.Supplier<V> getVertexFactory()
public void setVertexFactory(com.google.common.base.Supplier<V> vertexFactory)
Copyright © 2016. All rights reserved.