Class SimpleEdgeSupport<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.control.SimpleEdgeSupport<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Implemented Interfaces:
EdgeSupport<V,E>
public class SimpleEdgeSupport<V,E> extends Object implements EdgeSupport<V,E>
-
-
Field Summary
Fields Modifier and Type Field Description protected Point2D
down
protected EdgeEffects<V,E>
edgeEffects
protected Supplier<E>
edgeFactory
protected V
startVertex
-
Constructor Summary
Constructors Constructor Description SimpleEdgeSupport(Supplier<E> edgeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort(VisualizationServer<V,E> vv)
void
endEdgeCreate(VisualizationServer<V,E> vv, V endVertex)
EdgeEffects<V,E>
getEdgeEffects()
Supplier<E>
getEdgeFactory()
void
midEdgeCreate(VisualizationServer<V,E> vv, Point2D midPoint)
void
setEdgeEffects(EdgeEffects<V,E> edgeEffects)
void
setEdgeFactory(Supplier<E> edgeFactory)
void
startEdgeCreate(VisualizationServer<V,E> vv, V startVertex, Point2D startPoint)
-
-
-
Method Detail
-
startEdgeCreate
public void startEdgeCreate(VisualizationServer<V,E> vv, V startVertex, Point2D startPoint)
- Specified by:
startEdgeCreate
in interfaceEdgeSupport<V,E>
-
midEdgeCreate
public void midEdgeCreate(VisualizationServer<V,E> vv, Point2D midPoint)
- Specified by:
midEdgeCreate
in interfaceEdgeSupport<V,E>
-
endEdgeCreate
public void endEdgeCreate(VisualizationServer<V,E> vv, V endVertex)
- Specified by:
endEdgeCreate
in interfaceEdgeSupport<V,E>
-
abort
public void abort(VisualizationServer<V,E> vv)
- Specified by:
abort
in interfaceEdgeSupport<V,E>
-
getEdgeEffects
public EdgeEffects<V,E> getEdgeEffects()
-
setEdgeEffects
public void setEdgeEffects(EdgeEffects<V,E> edgeEffects)
-
-