Package com.powsybl.sld.layout
Class AbstractLayout
- java.lang.Object
-
- com.powsybl.sld.layout.AbstractLayout
-
- Direct Known Subclasses:
AbstractSubstationLayout
,AbstractVoltageLevelLayout
public abstract class AbstractLayout extends Object
- Author:
- Franck Lecuyer
, Slimane Amar
-
-
Constructor Summary
Constructors Constructor Description AbstractLayout()
-
Method Summary
-
-
-
Method Detail
-
getGraph
public abstract AbstractBaseGraph getGraph()
-
manageSnakeLines
protected abstract void manageSnakeLines(LayoutParameters layoutParameters)
-
manageSnakeLines
protected void manageSnakeLines(AbstractBaseGraph graph, LayoutParameters layoutParameters)
-
calculatePolylineSnakeLine
protected abstract List<Point> calculatePolylineSnakeLine(LayoutParameters layoutParam, Node node1, Node node2, boolean increment)
-
getNodeDirection
protected static BusCell.Direction getNodeDirection(Node node, int nb)
-
calculatePolylineSnakeLineForHorizontalLayout
protected static List<Point> calculatePolylineSnakeLineForHorizontalLayout(LayoutParameters layoutParam, Node node1, Node node2, boolean increment, InfosNbSnakeLinesHorizontal infosNbSnakeLines)
-
splitPolyline3
protected List<List<Point>> splitPolyline3(List<Point> points1, List<Point> points2, Node coord)
-
getWidthVerticalSnakeLines
protected static double getWidthVerticalSnakeLines(String vlGraphId, LayoutParameters layoutParameters, InfosNbSnakeLinesHorizontal infosNbSnakeLines)
-
getHeightSnakeLines
protected static double getHeightSnakeLines(LayoutParameters layoutParameters, BusCell.Direction top, InfosNbSnakeLinesHorizontal infosNbSnakeLines)
-
-