Class ParallelEdgeShapeTransformer<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer<V,E>
-
- All Implemented Interfaces:
com.google.common.base.Function<E,java.awt.Shape>
,java.util.function.Function<E,java.awt.Shape>
- Direct Known Subclasses:
EdgeShape.BentLine
,EdgeShape.Box
,EdgeShape.CubicCurve
,EdgeShape.Loop
,EdgeShape.Orthogonal
,EdgeShape.QuadCurve
,EdgeShape.SimpleLoop
,EdgeShape.Wedge
public abstract class ParallelEdgeShapeTransformer<V,E> extends java.lang.Object implements com.google.common.base.Function<E,java.awt.Shape>
An abstract class for edge-to-Shape functions that work with parallel edges.
-
-
Field Summary
Fields Modifier and Type Field Description protected float
control_offset_increment
Specifies the distance between control points for edges being drawn in parallel.protected EdgeIndexFunction<V,E>
edgeIndexFunction
-
Constructor Summary
Constructors Constructor Description ParallelEdgeShapeTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgeIndexFunction<V,E>
getEdgeIndexFunction()
void
setControlOffsetIncrement(float y)
void
setEdgeIndexFunction(EdgeIndexFunction<V,E> edgeIndexFunction)
-
-
-
Field Detail
-
control_offset_increment
protected float control_offset_increment
Specifies the distance between control points for edges being drawn in parallel.
-
edgeIndexFunction
protected EdgeIndexFunction<V,E> edgeIndexFunction
-
-
Method Detail
-
setControlOffsetIncrement
public void setControlOffsetIncrement(float y)
-
setEdgeIndexFunction
public void setEdgeIndexFunction(EdgeIndexFunction<V,E> edgeIndexFunction)
-
getEdgeIndexFunction
public EdgeIndexFunction<V,E> getEdgeIndexFunction()
-
-