Class ParallelEdgeShapeTransformer<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer<V,E>
- 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 Object
implements com.google.common.base.Function<E,Shape>
An abstract class for edge-to-Shape functions that work with parallel edges.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
Specifies the distance between control points for edges being drawn in parallel.protected EdgeIndexFunction
<V, E> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setControlOffsetIncrement
(float y) void
setEdgeIndexFunction
(EdgeIndexFunction<V, E> edgeIndexFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
apply, equals
-
Field Details
-
control_offset_increment
protected float control_offset_incrementSpecifies the distance between control points for edges being drawn in parallel. -
edgeIndexFunction
-
-
Constructor Details
-
ParallelEdgeShapeTransformer
public ParallelEdgeShapeTransformer()
-
-
Method Details
-
setControlOffsetIncrement
public void setControlOffsetIncrement(float y) -
setEdgeIndexFunction
-
getEdgeIndexFunction
-