Package com.powsybl.nad.svg.iidm
Class DefaultLabelProvider
- java.lang.Object
-
- com.powsybl.nad.svg.iidm.DefaultLabelProvider
-
- All Implemented Interfaces:
LabelProvider
public class DefaultLabelProvider extends Object implements LabelProvider
- Author:
- Florian Dupuy
-
-
Constructor Summary
Constructors Constructor Description DefaultLabelProvider(com.powsybl.iidm.network.Network network, SvgParameters svgParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArrowPathDIn()
String
getArrowPathDOut()
String
getBusDescription(BusNode busNode)
List<EdgeInfo>
getEdgeInfos(Graph graph, BranchEdge edge, BranchEdge.Side side)
List<EdgeInfo>
getEdgeInfos(Graph graph, ThreeWtEdge edge)
String
getLabel(Edge edge)
List<String>
getVoltageLevelDescription(VoltageLevelNode voltageLevelNode)
List<String>
getVoltageLevelDetails(VoltageLevelNode vlNode)
-
-
-
Constructor Detail
-
DefaultLabelProvider
public DefaultLabelProvider(com.powsybl.iidm.network.Network network, SvgParameters svgParameters)
-
-
Method Detail
-
getEdgeInfos
public List<EdgeInfo> getEdgeInfos(Graph graph, BranchEdge edge, BranchEdge.Side side)
- Specified by:
getEdgeInfos
in interfaceLabelProvider
-
getEdgeInfos
public List<EdgeInfo> getEdgeInfos(Graph graph, ThreeWtEdge edge)
- Specified by:
getEdgeInfos
in interfaceLabelProvider
-
getLabel
public String getLabel(Edge edge)
- Specified by:
getLabel
in interfaceLabelProvider
-
getVoltageLevelDescription
public List<String> getVoltageLevelDescription(VoltageLevelNode voltageLevelNode)
- Specified by:
getVoltageLevelDescription
in interfaceLabelProvider
-
getBusDescription
public String getBusDescription(BusNode busNode)
- Specified by:
getBusDescription
in interfaceLabelProvider
-
getVoltageLevelDetails
public List<String> getVoltageLevelDetails(VoltageLevelNode vlNode)
- Specified by:
getVoltageLevelDetails
in interfaceLabelProvider
-
getArrowPathDIn
public String getArrowPathDIn()
- Specified by:
getArrowPathDIn
in interfaceLabelProvider
-
getArrowPathDOut
public String getArrowPathDOut()
- Specified by:
getArrowPathDOut
in interfaceLabelProvider
-
-