Class EdgeShape.Orthogonal<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer<V,E>
-
- edu.uci.ics.jung.visualization.decorators.EdgeShape.Orthogonal<V,E>
-
- All Implemented Interfaces:
EdgeShape.IndexedRendering<V,E>
,org.apache.commons.collections4.Transformer<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>,java.awt.Shape>
public static class EdgeShape.Orthogonal<V,E> extends AbstractEdgeShapeTransformer<V,E> implements EdgeShape.IndexedRendering<V,E>
An edge shape that renders as a bent-line between the vertex endpoints.
-
-
Field Summary
Fields Modifier and Type Field Description protected edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E>
edgeIndexFunction
-
Fields inherited from class edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer
control_offset_increment
-
-
Constructor Summary
Constructors Constructor Description Orthogonal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E>
getEdgeIndexFunction()
void
setEdgeIndexFunction(edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> edgeIndexFunction)
java.awt.Shape
transform(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the Loop shared instance.-
Methods inherited from class edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer
setControlOffsetIncrement
-
-
-
-
Method Detail
-
setEdgeIndexFunction
public void setEdgeIndexFunction(edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> edgeIndexFunction)
- Specified by:
setEdgeIndexFunction
in interfaceEdgeShape.IndexedRendering<V,E>
-
getEdgeIndexFunction
public edu.uci.ics.jung.graph.util.EdgeIndexFunction<V,E> getEdgeIndexFunction()
- Specified by:
getEdgeIndexFunction
in interfaceEdgeShape.IndexedRendering<V,E>
- Returns:
- the parallelEdgeIndexFunction
-
-