public class JGParallelEdgeRouter extends Object implements org.jgraph.graph.Edge.Routing
コンストラクタと説明 |
---|
JGParallelEdgeRouter() |
修飾子とタイプ | メソッドと説明 |
---|---|
static double |
getEdgeDeparture()
Getter to obtain the distance between intermediate and source/target
points
|
static double |
getEdgeSeparation()
Getter to obtain the distance between each parallel edge
|
int |
getPreferredLineStyle(org.jgraph.graph.EdgeView arg0) |
static JGParallelEdgeRouter |
getSharedInstance()
Getter for singleton managing parallel edges
|
List |
route(org.jgraph.graph.EdgeView edge) |
void |
route(org.jgraph.graph.EdgeView edge,
List points)
Calc of intermediates points
|
List |
route(org.jgraph.graph.GraphLayoutCache arg0,
org.jgraph.graph.EdgeView arg1) |
static void |
setEdgeDeparture(double edgeDeparture)
Setter to define distance between intermediate and source/target points
|
static void |
setEdgeSeparation(double edgeSeparation)
Setter to define distance between each parallel edge
|
public static JGParallelEdgeRouter getSharedInstance()
public void route(org.jgraph.graph.EdgeView edge, List points)
edge
- Edge for which routing is demandingpoints
- List of points for this edgepublic static double getEdgeSeparation()
public static void setEdgeSeparation(double edgeSeparation)
edgeSeparation
- New distancepublic static double getEdgeDeparture()
public static void setEdgeDeparture(double edgeDeparture)
edgeDeparture
- New distancepublic int getPreferredLineStyle(org.jgraph.graph.EdgeView arg0)
getPreferredLineStyle
インタフェース内 org.jgraph.graph.Edge.Routing
public List route(org.jgraph.graph.EdgeView edge)
public List route(org.jgraph.graph.GraphLayoutCache arg0, org.jgraph.graph.EdgeView arg1)
route
インタフェース内 org.jgraph.graph.Edge.Routing
Copyright © 2003–2015 mr3.sourceforge.net. All rights reserved.