public class SimpleEdgeSupport<V,E> extends Object implements EdgeSupport<V,E>
Modifier and Type | Field and Description |
---|---|
protected Point2D |
down |
protected EdgeEffects<V,E> |
edgeEffects |
protected com.google.common.base.Supplier<E> |
edgeFactory |
protected EdgeType |
edgeType |
protected V |
startVertex |
Constructor and Description |
---|
SimpleEdgeSupport(com.google.common.base.Supplier<E> edgeFactory) |
Modifier and Type | Method and Description |
---|---|
void |
endEdgeCreate(BasicVisualizationServer<V,E> vv,
V endVertex) |
EdgeEffects<V,E> |
getEdgeEffects() |
com.google.common.base.Supplier<E> |
getEdgeFactory() |
EdgeType |
getEdgeType() |
void |
midEdgeCreate(BasicVisualizationServer<V,E> vv,
Point2D midPoint) |
void |
setEdgeEffects(EdgeEffects<V,E> edgeEffects) |
void |
setEdgeFactory(com.google.common.base.Supplier<E> edgeFactory) |
void |
setEdgeType(EdgeType edgeType) |
void |
startEdgeCreate(BasicVisualizationServer<V,E> vv,
V startVertex,
Point2D startPoint,
EdgeType edgeType) |
protected Point2D down
protected EdgeEffects<V,E> edgeEffects
protected EdgeType edgeType
protected com.google.common.base.Supplier<E> edgeFactory
protected V startVertex
public SimpleEdgeSupport(com.google.common.base.Supplier<E> edgeFactory)
public void startEdgeCreate(BasicVisualizationServer<V,E> vv, V startVertex, Point2D startPoint, EdgeType edgeType)
startEdgeCreate
in interface EdgeSupport<V,E>
public void midEdgeCreate(BasicVisualizationServer<V,E> vv, Point2D midPoint)
midEdgeCreate
in interface EdgeSupport<V,E>
public void endEdgeCreate(BasicVisualizationServer<V,E> vv, V endVertex)
endEdgeCreate
in interface EdgeSupport<V,E>
public EdgeEffects<V,E> getEdgeEffects()
public void setEdgeEffects(EdgeEffects<V,E> edgeEffects)
public EdgeType getEdgeType()
public void setEdgeType(EdgeType edgeType)
public com.google.common.base.Supplier<E> getEdgeFactory()
public void setEdgeFactory(com.google.common.base.Supplier<E> edgeFactory)
Copyright © 2015. All rights reserved.