org.jgraph.graph

Class DefaultEdge.LoopRouting

Enclosing Class:
DefaultEdge
Implemented Interfaces:
Edge.Routing, Serializable
Known Direct Subclasses:
DefaultEdge.DefaultRouting, ParallelEdgeRouter

public static class DefaultEdge.LoopRouting
extends java.lang.Object
implements Edge.Routing

Fields inherited from interface org.jgraph.graph.Edge.Routing

NO_PREFERENCE

Method Summary

protected int
getEdgeStyle()
protected int
getLoopStyle()
int
getPreferredLineStyle(EdgeView edge)
List
route(GraphLayoutCache cache, EdgeView edge)
protected List
routeEdge(GraphLayoutCache cache, EdgeView edge)
protected List
routeLoop(GraphLayoutCache cache, EdgeView edge)

Method Details

getEdgeStyle

protected int getEdgeStyle()

getLoopStyle

protected int getLoopStyle()

getPreferredLineStyle

public int getPreferredLineStyle(EdgeView edge)
Specified by:
getPreferredLineStyle in interface Edge.Routing

route

public List route(GraphLayoutCache cache,
                  EdgeView edge)
Specified by:
route in interface Edge.Routing

routeEdge

protected List routeEdge(GraphLayoutCache cache,
                         EdgeView edge)

routeLoop

protected List routeLoop(GraphLayoutCache cache,
                         EdgeView edge)

Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.