Package com.powsybl.sld.layout
Class AbstractVoltageLevelLayout
- java.lang.Object
-
- com.powsybl.sld.layout.AbstractLayout
-
- com.powsybl.sld.layout.AbstractVoltageLevelLayout
-
- All Implemented Interfaces:
VoltageLevelLayout
- Direct Known Subclasses:
PositionVoltageLevelLayout
,RandomVoltageLevelLayout
public abstract class AbstractVoltageLevelLayout extends AbstractLayout implements VoltageLevelLayout
- Author:
- Slimane Amar
-
-
Field Summary
Fields Modifier and Type Field Description protected InfosNbSnakeLinesHorizontal
infosNbSnakeLines
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractVoltageLevelLayout(VoltageLevelGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Point>
calculatePolylineSnakeLine(LayoutParameters layoutParam, Node node1, Node node2, boolean increment)
VoltageLevelGraph
getGraph()
void
manageSnakeLines(LayoutParameters layoutParameters)
-
Methods inherited from class com.powsybl.sld.layout.AbstractLayout
calculatePolylineSnakeLineForHorizontalLayout, getHeightSnakeLines, getNodeDirection, getWidthVerticalSnakeLines, manageSnakeLines, splitPolyline2, splitPolyline3
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.sld.layout.VoltageLevelLayout
run
-
-
-
-
Field Detail
-
infosNbSnakeLines
protected final InfosNbSnakeLinesHorizontal infosNbSnakeLines
-
-
Constructor Detail
-
AbstractVoltageLevelLayout
protected AbstractVoltageLevelLayout(VoltageLevelGraph graph)
-
-
Method Detail
-
getGraph
public VoltageLevelGraph getGraph()
- Specified by:
getGraph
in classAbstractLayout
-
calculatePolylineSnakeLine
protected List<Point> calculatePolylineSnakeLine(LayoutParameters layoutParam, Node node1, Node node2, boolean increment)
- Specified by:
calculatePolylineSnakeLine
in classAbstractLayout
-
manageSnakeLines
public void manageSnakeLines(LayoutParameters layoutParameters)
- Specified by:
manageSnakeLines
in classAbstractLayout
-
-