Class EdgeShape<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.EdgeShape<V,E>
-
- Type Parameters:
Edge-
public class EdgeShape<V,E> extends java.lang.ObjectAn interface for decorators that return aShapefor a specified edge. All edge shapes must be defined so that their endpoints are at (0,0) and (1,0). They will be scaled, rotated and translated into position by the PluggableRenderer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEdgeShape.BentLine<V,E>An edge shape that renders as a bent-line between the vertex endpoints.static classEdgeShape.Box<V,E>An edge shape that renders as a loop with its nadir at the center of the vertex.static classEdgeShape.CubicCurve<V,E>An edge shape that renders as a CubicCurve between vertex endpoints.static interfaceEdgeShape.IndexedRendering<V,E>static classEdgeShape.Line<V,E>An edge shape that renders as a straight line between the vertex endpoints.static classEdgeShape.Loop<V,E>An edge shape that renders as a loop with its nadir at the center of the vertex.static classEdgeShape.Orthogonal<V,E>An edge shape that renders as a bent-line between the vertex endpoints.static classEdgeShape.QuadCurve<V,E>An edge shape that renders as a QuadCurve between vertex endpoints.static classEdgeShape.SimpleLoop<V,E>An edge shape that renders as a loop with its nadir at the center of the vertex.static classEdgeShape.Wedge<V,E>An edge shape that renders as an isosceles triangle whose apex is at the destination vertex for directed edges, and as a "bowtie" shape for undirected edges.
-
Field Summary
Fields Modifier and Type Field Description protected static EdgeShape.Boxboxprotected static EdgeShape.Looploopa convenience instance for other edge shapes to use for self-loop edges where parallel instances will not overlay each other.protected static EdgeShape.SimpleLoopsimpleLoopa convenience instance for other edge shapes to use for self-loop edges where parallel instances overlay each other
-
Constructor Summary
Constructors Constructor Description EdgeShape()
-
-
-
Field Detail
-
loop
protected static EdgeShape.Loop loop
a convenience instance for other edge shapes to use for self-loop edges where parallel instances will not overlay each other.
-
simpleLoop
protected static EdgeShape.SimpleLoop simpleLoop
a convenience instance for other edge shapes to use for self-loop edges where parallel instances overlay each other
-
box
protected static EdgeShape.Box box
-
-